Class: Aws::SupplyChain::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SupplyChain::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-supplychain/client.rb
Overview
An API client for SupplyChain. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::SupplyChain::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_bill_of_materials_import_job(params = {}) ⇒ Types::CreateBillOfMaterialsImportJobResponse
CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity.
-
#create_data_integration_flow(params = {}) ⇒ Types::CreateDataIntegrationFlowResponse
Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
-
#create_data_lake_dataset(params = {}) ⇒ Types::CreateDataLakeDatasetResponse
Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset.
-
#create_instance(params = {}) ⇒ Types::CreateInstanceResponse
Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.
-
#delete_data_integration_flow(params = {}) ⇒ Types::DeleteDataIntegrationFlowResponse
Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
-
#delete_data_lake_dataset(params = {}) ⇒ Types::DeleteDataLakeDatasetResponse
Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset.
-
#delete_instance(params = {}) ⇒ Types::DeleteInstanceResponse
Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.
-
#get_bill_of_materials_import_job(params = {}) ⇒ Types::GetBillOfMaterialsImportJobResponse
Get status and details of a BillOfMaterialsImportJob.
-
#get_data_integration_flow(params = {}) ⇒ Types::GetDataIntegrationFlowResponse
Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
-
#get_data_lake_dataset(params = {}) ⇒ Types::GetDataLakeDatasetResponse
Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset.
-
#get_instance(params = {}) ⇒ Types::GetInstanceResponse
Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.
-
#list_data_integration_flows(params = {}) ⇒ Types::ListDataIntegrationFlowsResponse
Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.
-
#list_data_lake_datasets(params = {}) ⇒ Types::ListDataLakeDatasetsResponse
Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets.
-
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
List all Amazon Web Services Supply Chain instances for a specific account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all the tags for an Amazon Web ServicesSupply Chain resource.
-
#send_data_integration_event(params = {}) ⇒ Types::SendDataIntegrationEventResponse
Send the transactional data payload for the event with real-time data for analysis or monitoring.
-
#tag_resource(params = {}) ⇒ Struct
You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain.
-
#untag_resource(params = {}) ⇒ Struct
You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain.
-
#update_data_integration_flow(params = {}) ⇒ Types::UpdateDataIntegrationFlowResponse
Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
-
#update_data_lake_dataset(params = {}) ⇒ Types::UpdateDataLakeDatasetResponse
Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset.
-
#update_instance(params = {}) ⇒ Types::UpdateInstanceResponse
Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-supplychain/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3608 3609 3610 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3608 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3611 3612 3613 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3611 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3581 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::SupplyChain') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-supplychain' context[:gem_version] = '1.19.0' Seahorse::Client::Request.new(handlers, context) end |
#create_bill_of_materials_import_job(params = {}) ⇒ Types::CreateBillOfMaterialsImportJobResponse
CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide.
The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.
513 514 515 516 |
# File 'lib/aws-sdk-supplychain/client.rb', line 513 def create_bill_of_materials_import_job(params = {}, = {}) req = build_request(:create_bill_of_materials_import_job, params) req.send_request() end |
#create_data_integration_flow(params = {}) ⇒ Types::CreateDataIntegrationFlowResponse
Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
692 693 694 695 |
# File 'lib/aws-sdk-supplychain/client.rb', line 692 def create_data_integration_flow(params = {}, = {}) req = build_request(:create_data_integration_flow, params) req.send_request() end |
#create_data_lake_dataset(params = {}) ⇒ Types::CreateDataLakeDatasetResponse
Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset. Developers can create the datasets using their pre-defined or custom schema for a given instance ID, namespace, and dataset name.
1040 1041 1042 1043 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1040 def create_data_lake_dataset(params = {}, = {}) req = build_request(:create_data_lake_dataset, params) req.send_request() end |
#create_instance(params = {}) ⇒ Types::CreateInstanceResponse
Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a CreateInstance request, Amazon Web Services Supply Chain immediately returns the instance resource, instance ID, and the initializing state while simultaneously creating all required Amazon Web Services resources for an instance creation. You can use GetInstance to check the status of the instance. If the instance results in an unhealthy state, you need to check the error message, delete the current instance, and recreate a new one based on the mitigation from the error message.
1159 1160 1161 1162 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1159 def create_instance(params = {}, = {}) req = build_request(:create_instance, params) req.send_request() end |
#delete_data_integration_flow(params = {}) ⇒ Types::DeleteDataIntegrationFlowResponse
Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
1209 1210 1211 1212 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1209 def delete_data_integration_flow(params = {}, = {}) req = build_request(:delete_data_integration_flow, params) req.send_request() end |
#delete_data_lake_dataset(params = {}) ⇒ Types::DeleteDataLakeDatasetResponse
Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset. Developers can delete the existing datasets for a given instance ID, namespace, and instance name.
1295 1296 1297 1298 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1295 def delete_data_lake_dataset(params = {}, = {}) req = build_request(:delete_data_lake_dataset, params) req.send_request() end |
#delete_instance(params = {}) ⇒ Types::DeleteInstanceResponse
Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a DeleteInstance request, Amazon Web Services Supply Chain immediately returns a response with the instance resource, delete state while cleaning up all Amazon Web Services resources created during the instance creation process. You can use the GetInstance action to check the instance status.
1364 1365 1366 1367 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1364 def delete_instance(params = {}, = {}) req = build_request(:delete_instance, params) req.send_request() end |
#get_bill_of_materials_import_job(params = {}) ⇒ Types::GetBillOfMaterialsImportJobResponse
Get status and details of a BillOfMaterialsImportJob.
1436 1437 1438 1439 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1436 def get_bill_of_materials_import_job(params = {}, = {}) req = build_request(:get_bill_of_materials_import_job, params) req.send_request() end |
#get_data_integration_flow(params = {}) ⇒ Types::GetDataIntegrationFlowResponse
Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
1531 1532 1533 1534 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1531 def get_data_integration_flow(params = {}, = {}) req = build_request(:get_data_integration_flow, params) req.send_request() end |
#get_data_lake_dataset(params = {}) ⇒ Types::GetDataLakeDatasetResponse
Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset. Developers can view the data lake dataset information such as namespace, schema, and so on for a given instance ID, namespace, and dataset name.
1820 1821 1822 1823 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1820 def get_data_lake_dataset(params = {}, = {}) req = build_request(:get_data_lake_dataset, params) req.send_request() end |
#get_instance(params = {}) ⇒ Types::GetInstanceResponse
Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.
1903 1904 1905 1906 |
# File 'lib/aws-sdk-supplychain/client.rb', line 1903 def get_instance(params = {}, = {}) req = build_request(:get_instance, params) req.send_request() end |
#list_data_integration_flows(params = {}) ⇒ Types::ListDataIntegrationFlowsResponse
Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2043 2044 2045 2046 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2043 def list_data_integration_flows(params = {}, = {}) req = build_request(:list_data_integration_flows, params) req.send_request() end |
#list_data_lake_datasets(params = {}) ⇒ Types::ListDataLakeDatasetsResponse
Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets. Developers can view the datasets and the corresponding information such as namespace, schema, and so on for a given instance ID and namespace.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2362 2363 2364 2365 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2362 def list_data_lake_datasets(params = {}, = {}) req = build_request(:list_data_lake_datasets, params) req.send_request() end |
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
List all Amazon Web Services Supply Chain instances for a specific account. Enables you to programmatically list all Amazon Web Services Supply Chain instances based on their account ID, instance name, and state of the instance (active or delete).
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2529 2530 2531 2532 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2529 def list_instances(params = {}, = {}) req = build_request(:list_instances, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all the tags for an Amazon Web ServicesSupply Chain resource. You can list all the tags added to a resource. By listing the tags, developers can view the tag level information on a resource and perform actions such as, deleting a resource associated with a particular tag.
2577 2578 2579 2580 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2577 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#send_data_integration_event(params = {}) ⇒ Types::SendDataIntegrationEventResponse
Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.
2865 2866 2867 2868 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2865 def send_data_integration_event(params = {}, = {}) req = build_request(:send_data_integration_event, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.
2914 2915 2916 2917 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2914 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain. During the data ingestion process, you can delete tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets.
2960 2961 2962 2963 |
# File 'lib/aws-sdk-supplychain/client.rb', line 2960 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_data_integration_flow(params = {}) ⇒ Types::UpdateDataIntegrationFlowResponse
Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
3204 3205 3206 3207 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3204 def update_data_integration_flow(params = {}, = {}) req = build_request(:update_data_integration_flow, params) req.send_request() end |
#update_data_lake_dataset(params = {}) ⇒ Types::UpdateDataLakeDatasetResponse
Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset. Developers can update the description of a data lake dataset for a given instance ID, namespace, and dataset name.
3499 3500 3501 3502 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3499 def update_data_lake_dataset(params = {}, = {}) req = build_request(:update_data_lake_dataset, params) req.send_request() end |
#update_instance(params = {}) ⇒ Types::UpdateInstanceResponse
Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.
3572 3573 3574 3575 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3572 def update_instance(params = {}, = {}) req = build_request(:update_instance, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3601 3602 3603 |
# File 'lib/aws-sdk-supplychain/client.rb', line 3601 def waiter_names [] end |