@aws-sdk/client-support 3.956.0 → 3.958.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 -22
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +314 -307
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +323 -316
- package/dist-types/pagination/index.d.ts +1 -1
- package/dist-types/ts3.4/pagination/index.d.ts +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript Support Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Web Services Support</fullname>
|
|
10
|
-
|
|
11
10
|
<p>The <i>Amazon Web Services Support API Reference</i> is intended for programmers who need detailed
|
|
12
11
|
information about the Amazon Web Services Support operations and data types. You can use the API to manage
|
|
13
12
|
your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return
|
|
@@ -53,10 +52,8 @@ Process</a>.</p>
|
|
|
53
52
|
Amazon Web Services Support API</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
|
|
54
53
|
|
|
55
54
|
## Installing
|
|
56
|
-
|
|
57
55
|
To install this package, simply type add or install @aws-sdk/client-support
|
|
58
56
|
using your favorite package manager:
|
|
59
|
-
|
|
60
57
|
- `npm install @aws-sdk/client-support`
|
|
61
58
|
- `yarn add @aws-sdk/client-support`
|
|
62
59
|
- `pnpm add @aws-sdk/client-support`
|
|
@@ -92,9 +89,7 @@ To send a request, you:
|
|
|
92
89
|
// a client can be shared by different commands.
|
|
93
90
|
const client = new SupportClient({ region: "REGION" });
|
|
94
91
|
|
|
95
|
-
const params = {
|
|
96
|
-
/** input parameters */
|
|
97
|
-
};
|
|
92
|
+
const params = { /** input parameters */ };
|
|
98
93
|
const command = new DescribeCasesCommand(params);
|
|
99
94
|
```
|
|
100
95
|
|
|
@@ -253,7 +248,6 @@ AddAttachmentsToSet
|
|
|
253
248
|
</summary>
|
|
254
249
|
|
|
255
250
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/AddAttachmentsToSetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/AddAttachmentsToSetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/AddAttachmentsToSetCommandOutput/)
|
|
256
|
-
|
|
257
251
|
</details>
|
|
258
252
|
<details>
|
|
259
253
|
<summary>
|
|
@@ -261,7 +255,6 @@ AddCommunicationToCase
|
|
|
261
255
|
</summary>
|
|
262
256
|
|
|
263
257
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/AddCommunicationToCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/AddCommunicationToCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/AddCommunicationToCaseCommandOutput/)
|
|
264
|
-
|
|
265
258
|
</details>
|
|
266
259
|
<details>
|
|
267
260
|
<summary>
|
|
@@ -269,7 +262,6 @@ CreateCase
|
|
|
269
262
|
</summary>
|
|
270
263
|
|
|
271
264
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/CreateCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/CreateCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/CreateCaseCommandOutput/)
|
|
272
|
-
|
|
273
265
|
</details>
|
|
274
266
|
<details>
|
|
275
267
|
<summary>
|
|
@@ -277,7 +269,6 @@ DescribeAttachment
|
|
|
277
269
|
</summary>
|
|
278
270
|
|
|
279
271
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeAttachmentCommandOutput/)
|
|
280
|
-
|
|
281
272
|
</details>
|
|
282
273
|
<details>
|
|
283
274
|
<summary>
|
|
@@ -285,7 +276,6 @@ DescribeCases
|
|
|
285
276
|
</summary>
|
|
286
277
|
|
|
287
278
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeCasesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCasesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCasesCommandOutput/)
|
|
288
|
-
|
|
289
279
|
</details>
|
|
290
280
|
<details>
|
|
291
281
|
<summary>
|
|
@@ -293,7 +283,6 @@ DescribeCommunications
|
|
|
293
283
|
</summary>
|
|
294
284
|
|
|
295
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeCommunicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCommunicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCommunicationsCommandOutput/)
|
|
296
|
-
|
|
297
286
|
</details>
|
|
298
287
|
<details>
|
|
299
288
|
<summary>
|
|
@@ -301,7 +290,6 @@ DescribeCreateCaseOptions
|
|
|
301
290
|
</summary>
|
|
302
291
|
|
|
303
292
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeCreateCaseOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCreateCaseOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeCreateCaseOptionsCommandOutput/)
|
|
304
|
-
|
|
305
293
|
</details>
|
|
306
294
|
<details>
|
|
307
295
|
<summary>
|
|
@@ -309,7 +297,6 @@ DescribeServices
|
|
|
309
297
|
</summary>
|
|
310
298
|
|
|
311
299
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeServicesCommandOutput/)
|
|
312
|
-
|
|
313
300
|
</details>
|
|
314
301
|
<details>
|
|
315
302
|
<summary>
|
|
@@ -317,7 +304,6 @@ DescribeSeverityLevels
|
|
|
317
304
|
</summary>
|
|
318
305
|
|
|
319
306
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeSeverityLevelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeSeverityLevelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeSeverityLevelsCommandOutput/)
|
|
320
|
-
|
|
321
307
|
</details>
|
|
322
308
|
<details>
|
|
323
309
|
<summary>
|
|
@@ -325,7 +311,6 @@ DescribeSupportedLanguages
|
|
|
325
311
|
</summary>
|
|
326
312
|
|
|
327
313
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeSupportedLanguagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeSupportedLanguagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeSupportedLanguagesCommandOutput/)
|
|
328
|
-
|
|
329
314
|
</details>
|
|
330
315
|
<details>
|
|
331
316
|
<summary>
|
|
@@ -333,7 +318,6 @@ DescribeTrustedAdvisorCheckRefreshStatuses
|
|
|
333
318
|
</summary>
|
|
334
319
|
|
|
335
320
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeTrustedAdvisorCheckRefreshStatusesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckRefreshStatusesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput/)
|
|
336
|
-
|
|
337
321
|
</details>
|
|
338
322
|
<details>
|
|
339
323
|
<summary>
|
|
@@ -341,7 +325,6 @@ DescribeTrustedAdvisorCheckResult
|
|
|
341
325
|
</summary>
|
|
342
326
|
|
|
343
327
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeTrustedAdvisorCheckResultCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckResultCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckResultCommandOutput/)
|
|
344
|
-
|
|
345
328
|
</details>
|
|
346
329
|
<details>
|
|
347
330
|
<summary>
|
|
@@ -349,7 +332,6 @@ DescribeTrustedAdvisorChecks
|
|
|
349
332
|
</summary>
|
|
350
333
|
|
|
351
334
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeTrustedAdvisorChecksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorChecksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorChecksCommandOutput/)
|
|
352
|
-
|
|
353
335
|
</details>
|
|
354
336
|
<details>
|
|
355
337
|
<summary>
|
|
@@ -357,7 +339,6 @@ DescribeTrustedAdvisorCheckSummaries
|
|
|
357
339
|
</summary>
|
|
358
340
|
|
|
359
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/DescribeTrustedAdvisorCheckSummariesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckSummariesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/DescribeTrustedAdvisorCheckSummariesCommandOutput/)
|
|
360
|
-
|
|
361
342
|
</details>
|
|
362
343
|
<details>
|
|
363
344
|
<summary>
|
|
@@ -365,7 +346,6 @@ RefreshTrustedAdvisorCheck
|
|
|
365
346
|
</summary>
|
|
366
347
|
|
|
367
348
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/RefreshTrustedAdvisorCheckCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/RefreshTrustedAdvisorCheckCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/RefreshTrustedAdvisorCheckCommandOutput/)
|
|
368
|
-
|
|
369
349
|
</details>
|
|
370
350
|
<details>
|
|
371
351
|
<summary>
|
|
@@ -373,5 +353,4 @@ ResolveCase
|
|
|
373
353
|
</summary>
|
|
374
354
|
|
|
375
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support/command/ResolveCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/ResolveCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support/Interface/ResolveCaseCommandOutput/)
|
|
376
|
-
|
|
377
356
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultSupportHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultSupportHttpAuthSchemeParametersProvider = defaultSupportHttpAuthSchemeParametersProvider;
|