@aws-sdk/client-supplychain 3.678.0 → 3.680.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateDataIntegrationFlowCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataLakeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceCommand.d.ts +3 -1
- package/dist-types/commands/DeleteDataIntegrationFlowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataLakeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceCommand.d.ts +4 -1
- package/dist-types/commands/GetDataIntegrationFlowCommand.d.ts +1 -1
- package/dist-types/commands/GetDataLakeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceCommand.d.ts +2 -1
- package/dist-types/commands/ListDataIntegrationFlowsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataLakeDatasetsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDataIntegrationFlowCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataLakeDatasetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ All AWS Supply chain API operations are Amazon-authenticated and certificate-sig
|
|
|
16
16
|
|
|
17
17
|
## Installing
|
|
18
18
|
|
|
19
|
-
To install
|
|
19
|
+
To install this package, simply type add or install @aws-sdk/client-supplychain
|
|
20
20
|
using your favorite package manager:
|
|
21
21
|
|
|
22
22
|
- `npm install @aws-sdk/client-supplychain`
|
package/dist-cjs/index.js
CHANGED
|
@@ -1185,6 +1185,7 @@ var de_Instance = /* @__PURE__ */ __name((output, context) => {
|
|
|
1185
1185
|
return (0, import_smithy_client.take)(output, {
|
|
1186
1186
|
awsAccountId: import_smithy_client.expectString,
|
|
1187
1187
|
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1188
|
+
errorMessage: import_smithy_client.expectString,
|
|
1188
1189
|
instanceDescription: import_smithy_client.expectString,
|
|
1189
1190
|
instanceId: import_smithy_client.expectString,
|
|
1190
1191
|
instanceName: import_smithy_client.expectString,
|
|
@@ -749,6 +749,7 @@ const de_Instance = (output, context) => {
|
|
|
749
749
|
return take(output, {
|
|
750
750
|
awsAccountId: __expectString,
|
|
751
751
|
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
752
|
+
errorMessage: __expectString,
|
|
752
753
|
instanceDescription: __expectString,
|
|
753
754
|
instanceId: __expectString,
|
|
754
755
|
instanceName: __expectString,
|
|
@@ -27,7 +27,7 @@ declare const CreateDataIntegrationFlowCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreateDataLakeDatasetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const CreateInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
|
+
* <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>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -50,6 +51,7 @@ declare const CreateInstanceCommand_base: {
|
|
|
50
51
|
* // instanceId: "STRING_VALUE", // required
|
|
51
52
|
* // awsAccountId: "STRING_VALUE", // required
|
|
52
53
|
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
|
|
54
|
+
* // errorMessage: "STRING_VALUE",
|
|
53
55
|
* // webAppDnsDomain: "STRING_VALUE",
|
|
54
56
|
* // createdTime: new Date("TIMESTAMP"),
|
|
55
57
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,7 @@ declare const DeleteDataIntegrationFlowCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteDataLakeDatasetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,9 @@ declare const DeleteInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
|
+
* <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
|
|
32
|
+
* the instance creation process. You can use the GetInstance action to check the instance status.</p>
|
|
31
33
|
* @example
|
|
32
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
35
|
* ```javascript
|
|
@@ -44,6 +46,7 @@ declare const DeleteInstanceCommand_base: {
|
|
|
44
46
|
* // instanceId: "STRING_VALUE", // required
|
|
45
47
|
* // awsAccountId: "STRING_VALUE", // required
|
|
46
48
|
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
|
|
49
|
+
* // errorMessage: "STRING_VALUE",
|
|
47
50
|
* // webAppDnsDomain: "STRING_VALUE",
|
|
48
51
|
* // createdTime: new Date("TIMESTAMP"),
|
|
49
52
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,7 @@ declare const GetDataIntegrationFlowCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetDataLakeDatasetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <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>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -44,6 +44,7 @@ declare const GetInstanceCommand_base: {
|
|
|
44
44
|
* // instanceId: "STRING_VALUE", // required
|
|
45
45
|
* // awsAccountId: "STRING_VALUE", // required
|
|
46
46
|
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
|
|
47
|
+
* // errorMessage: "STRING_VALUE",
|
|
47
48
|
* // webAppDnsDomain: "STRING_VALUE",
|
|
48
49
|
* // createdTime: new Date("TIMESTAMP"),
|
|
49
50
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,7 @@ declare const ListDataIntegrationFlowsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListDataLakeDatasetsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List all
|
|
30
|
+
* <p>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).</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -52,6 +52,7 @@ declare const ListInstancesCommand_base: {
|
|
|
52
52
|
* // instanceId: "STRING_VALUE", // required
|
|
53
53
|
* // awsAccountId: "STRING_VALUE", // required
|
|
54
54
|
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
|
|
55
|
+
* // errorMessage: "STRING_VALUE",
|
|
55
56
|
* // webAppDnsDomain: "STRING_VALUE",
|
|
56
57
|
* // createdTime: new Date("TIMESTAMP"),
|
|
57
58
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List all the tags for an Amazon Web ServicesSupply Chain resource.</p>
|
|
30
|
+
* <p>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.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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
|
|
31
|
+
* 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.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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
|
|
31
|
+
* created during the data ingestion process in the AWS Supply Chain datasets. </p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UpdateDataIntegrationFlowCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UpdateDataLakeDatasetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UpdateInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>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.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -46,6 +46,7 @@ declare const UpdateInstanceCommand_base: {
|
|
|
46
46
|
* // instanceId: "STRING_VALUE", // required
|
|
47
47
|
* // awsAccountId: "STRING_VALUE", // required
|
|
48
48
|
* // state: "Initializing" || "Active" || "CreateFailed" || "DeleteFailed" || "Deleting" || "Deleted", // required
|
|
49
|
+
* // errorMessage: "STRING_VALUE",
|
|
49
50
|
* // webAppDnsDomain: "STRING_VALUE",
|
|
50
51
|
* // createdTime: new Date("TIMESTAMP"),
|
|
51
52
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
@@ -712,6 +712,11 @@ export interface Instance {
|
|
|
712
712
|
* @public
|
|
713
713
|
*/
|
|
714
714
|
state: InstanceState | undefined;
|
|
715
|
+
/**
|
|
716
|
+
* <p>The Amazon Web Services Supply Chain instance error message. If the instance results in an unhealthy state, customers need to check the error message, delete the current instance, and recreate a new one based on the mitigation from the error message.</p>
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
errorMessage?: string;
|
|
715
720
|
/**
|
|
716
721
|
* <p>The WebApp DNS domain name of the instance.</p>
|
|
717
722
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-supplychain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Supplychain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.680.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-supplychain",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.679.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.679.0",
|
|
25
|
+
"@aws-sdk/core": "3.679.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.679.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.679.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.679.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.679.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.679.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.679.0",
|
|
32
|
+
"@aws-sdk/types": "3.679.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.679.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.679.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.679.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.9",
|