@aws-sdk/client-supplychain 3.680.0 → 3.681.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.
@@ -114,6 +114,33 @@ declare const GetInstanceCommand_base: {
114
114
  * // example id: example-1
115
115
  * ```
116
116
  *
117
+ * @example Successful GetInstance request with error message
118
+ * ```javascript
119
+ * //
120
+ * const input = {
121
+ * "instanceId": "9e193580-7cc5-45f7-9609-c43ba0ada793"
122
+ * };
123
+ * const command = new GetInstanceCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response ==
126
+ * {
127
+ * "instance": {
128
+ * "awsAccountId": "123456789012",
129
+ * "createdTime": 172615383136,
130
+ * "errorMessage": "Access denied when attempting to create an S3 bucket. Please correct your IAM policy and try again.",
131
+ * "instanceDescription": "example instance description",
132
+ * "instanceId": "9e193580-7cc5-45f7-9609-c43ba0ada793",
133
+ * "instanceName": "example instance name",
134
+ * "kmsKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b14ffc39-b7d4-45ab-991a-6257a7f0d24d",
135
+ * "lastModifiedTime": 172615383136,
136
+ * "state": "CreateFailed",
137
+ * "versionNumber": 2
138
+ * }
139
+ * }
140
+ * *\/
141
+ * // example id: example-2
142
+ * ```
143
+ *
117
144
  */
118
145
  export declare class GetInstanceCommand extends GetInstanceCommand_base {
119
146
  /** @internal type navigation helper, not in runtime. */
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.680.0",
4
+ "version": "3.681.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",