Skip to content

Commit 08bfafb

Browse files
author
awstools
committed
feat(client-supplychain): API doc updates, and also support showing error message on a failed instance
1 parent cc7f367 commit 08bfafb

22 files changed

+83
-37
lines changed

clients/client-supplychain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All AWS Supply chain API operations are Amazon-authenticated and certificate-sig
1616

1717
## Installing
1818

19-
To install the this package, simply type add or install @aws-sdk/client-supplychain
19+
To install this package, simply type add or install @aws-sdk/client-supplychain
2020
using your favorite package manager:
2121

2222
- `npm install @aws-sdk/client-supplychain`

clients/client-supplychain/src/commands/CreateDataIntegrationFlowCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateDataIntegrationFlowCommandInput extends CreateDataIntegra
2828
export interface CreateDataIntegrationFlowCommandOutput extends CreateDataIntegrationFlowResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Create DataIntegrationFlow to map one or more different sources to one target using the SQL transformation query.</p>
31+
* <p>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.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/CreateDataLakeDatasetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface CreateDataLakeDatasetCommandInput extends CreateDataLakeDataset
2828
export interface CreateDataLakeDatasetCommandOutput extends CreateDataLakeDatasetResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Create a data lake dataset.</p>
31+
* <p>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.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/CreateInstanceCommand.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface CreateInstanceCommandInput extends CreateInstanceRequest {}
2828
export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Create a new instance for AWS Supply Chain. This is an asynchronous operation. Upon receiving a CreateInstance request, AWS Supply Chain immediately returns the instance resource, with 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.</p>
31+
* <p>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.</p>
32+
* <p>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.</p>
3233
* @example
3334
* Use a bare-bones client and the command you need to make an API call.
3435
* ```javascript
@@ -51,6 +52,7 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
5152
* // instanceId: "STRING_VALUE", // required
5253
* // awsAccountId: "STRING_VALUE", // required
5354
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
55+
* // errorMessage: "STRING_VALUE",
5456
* // webAppDnsDomain: "STRING_VALUE",
5557
* // createdTime: new Date("TIMESTAMP"),
5658
* // lastModifiedTime: new Date("TIMESTAMP"),

clients/client-supplychain/src/commands/DeleteDataIntegrationFlowCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DeleteDataIntegrationFlowCommandInput extends DeleteDataIntegra
2828
export interface DeleteDataIntegrationFlowCommandOutput extends DeleteDataIntegrationFlowResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Delete the DataIntegrationFlow.</p>
31+
* <p>Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/DeleteDataLakeDatasetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface DeleteDataLakeDatasetCommandInput extends DeleteDataLakeDataset
2828
export interface DeleteDataLakeDatasetCommandOutput extends DeleteDataLakeDatasetResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Delete a data lake dataset.</p>
31+
* <p>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.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/DeleteInstanceCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export interface DeleteInstanceCommandInput extends DeleteInstanceRequest {}
2828
export interface DeleteInstanceCommandOutput extends DeleteInstanceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Delete the instance. This is an asynchronous operation. Upon receiving a DeleteInstance request, AWS 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.</p>
31+
* <p>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.</p>
32+
* <p>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
33+
* the instance creation process. You can use the GetInstance action to check the instance status.</p>
3234
* @example
3335
* Use a bare-bones client and the command you need to make an API call.
3436
* ```javascript
@@ -45,6 +47,7 @@ export interface DeleteInstanceCommandOutput extends DeleteInstanceResponse, __M
4547
* // instanceId: "STRING_VALUE", // required
4648
* // awsAccountId: "STRING_VALUE", // required
4749
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
50+
* // errorMessage: "STRING_VALUE",
4851
* // webAppDnsDomain: "STRING_VALUE",
4952
* // createdTime: new Date("TIMESTAMP"),
5053
* // lastModifiedTime: new Date("TIMESTAMP"),

clients/client-supplychain/src/commands/GetDataIntegrationFlowCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface GetDataIntegrationFlowCommandInput extends GetDataIntegrationFl
2828
export interface GetDataIntegrationFlowCommandOutput extends GetDataIntegrationFlowResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>View the DataIntegrationFlow details.</p>
31+
* <p>Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/GetDataLakeDatasetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface GetDataLakeDatasetCommandInput extends GetDataLakeDatasetReques
2828
export interface GetDataLakeDatasetCommandOutput extends GetDataLakeDatasetResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Get a data lake dataset.</p>
31+
* <p>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.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

clients/client-supplychain/src/commands/GetInstanceCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface GetInstanceCommandInput extends GetInstanceRequest {}
2828
export interface GetInstanceCommandOutput extends GetInstanceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Get the AWS Supply Chain instance details.</p>
31+
* <p>Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript
@@ -45,6 +45,7 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
4545
* // instanceId: "STRING_VALUE", // required
4646
* // awsAccountId: "STRING_VALUE", // required
4747
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
48+
* // errorMessage: "STRING_VALUE",
4849
* // webAppDnsDomain: "STRING_VALUE",
4950
* // createdTime: new Date("TIMESTAMP"),
5051
* // lastModifiedTime: new Date("TIMESTAMP"),

0 commit comments

Comments
 (0)