@aws-sdk/client-support 3.299.0 → 3.300.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/dist-types/commands/AddAttachmentsToSetCommand.d.ts +9 -0
- package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +8 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +13 -0
- package/dist-types/commands/DescribeAttachmentCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCasesCommand.d.ts +13 -0
- package/dist-types/commands/DescribeCommunicationsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +3 -0
- package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +3 -0
- package/dist-types/commands/ResolveCaseCommand.d.ts +3 -0
- package/package.json +8 -8
|
@@ -43,6 +43,15 @@ export interface AddAttachmentsToSetCommandOutput extends AddAttachmentsToSetRes
|
|
|
43
43
|
* import { SupportClient, AddAttachmentsToSetCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
44
44
|
* // const { SupportClient, AddAttachmentsToSetCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
45
45
|
* const client = new SupportClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* attachmentSetId: "STRING_VALUE",
|
|
48
|
+
* attachments: [ // required
|
|
49
|
+
* {
|
|
50
|
+
* fileName: "STRING_VALUE",
|
|
51
|
+
* data: "BLOB_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
46
55
|
* const command = new AddAttachmentsToSetCommand(input);
|
|
47
56
|
* const response = await client.send(command);
|
|
48
57
|
* ```
|
|
@@ -44,6 +44,14 @@ export interface AddCommunicationToCaseCommandOutput extends AddCommunicationToC
|
|
|
44
44
|
* import { SupportClient, AddCommunicationToCaseCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
45
45
|
* // const { SupportClient, AddCommunicationToCaseCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
46
46
|
* const client = new SupportClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* caseId: "STRING_VALUE",
|
|
49
|
+
* communicationBody: "STRING_VALUE", // required
|
|
50
|
+
* ccEmailAddresses: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* attachmentSetId: "STRING_VALUE",
|
|
54
|
+
* };
|
|
47
55
|
* const command = new AddCommunicationToCaseCommand(input);
|
|
48
56
|
* const response = await client.send(command);
|
|
49
57
|
* ```
|
|
@@ -58,6 +58,19 @@ export interface CreateCaseCommandOutput extends CreateCaseResponse, __MetadataB
|
|
|
58
58
|
* import { SupportClient, CreateCaseCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
59
59
|
* // const { SupportClient, CreateCaseCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
60
60
|
* const client = new SupportClient(config);
|
|
61
|
+
* const input = {
|
|
62
|
+
* subject: "STRING_VALUE", // required
|
|
63
|
+
* serviceCode: "STRING_VALUE",
|
|
64
|
+
* severityCode: "STRING_VALUE",
|
|
65
|
+
* categoryCode: "STRING_VALUE",
|
|
66
|
+
* communicationBody: "STRING_VALUE", // required
|
|
67
|
+
* ccEmailAddresses: [
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* language: "STRING_VALUE",
|
|
71
|
+
* issueType: "STRING_VALUE",
|
|
72
|
+
* attachmentSetId: "STRING_VALUE",
|
|
73
|
+
* };
|
|
61
74
|
* const command = new CreateCaseCommand(input);
|
|
62
75
|
* const response = await client.send(command);
|
|
63
76
|
* ```
|
|
@@ -44,6 +44,9 @@ export interface DescribeAttachmentCommandOutput extends DescribeAttachmentRespo
|
|
|
44
44
|
* import { SupportClient, DescribeAttachmentCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
45
45
|
* // const { SupportClient, DescribeAttachmentCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
46
46
|
* const client = new SupportClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* attachmentId: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
47
50
|
* const command = new DescribeAttachmentCommand(input);
|
|
48
51
|
* const response = await client.send(command);
|
|
49
52
|
* ```
|
|
@@ -56,6 +56,19 @@ export interface DescribeCasesCommandOutput extends DescribeCasesResponse, __Met
|
|
|
56
56
|
* import { SupportClient, DescribeCasesCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
57
57
|
* // const { SupportClient, DescribeCasesCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
58
58
|
* const client = new SupportClient(config);
|
|
59
|
+
* const input = {
|
|
60
|
+
* caseIdList: [
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* displayId: "STRING_VALUE",
|
|
64
|
+
* afterTime: "STRING_VALUE",
|
|
65
|
+
* beforeTime: "STRING_VALUE",
|
|
66
|
+
* includeResolvedCases: true || false,
|
|
67
|
+
* nextToken: "STRING_VALUE",
|
|
68
|
+
* maxResults: Number("int"),
|
|
69
|
+
* language: "STRING_VALUE",
|
|
70
|
+
* includeCommunications: true || false,
|
|
71
|
+
* };
|
|
59
72
|
* const command = new DescribeCasesCommand(input);
|
|
60
73
|
* const response = await client.send(command);
|
|
61
74
|
* ```
|
|
@@ -49,6 +49,13 @@ export interface DescribeCommunicationsCommandOutput extends DescribeCommunicati
|
|
|
49
49
|
* import { SupportClient, DescribeCommunicationsCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
50
50
|
* // const { SupportClient, DescribeCommunicationsCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
51
51
|
* const client = new SupportClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* caseId: "STRING_VALUE", // required
|
|
54
|
+
* beforeTime: "STRING_VALUE",
|
|
55
|
+
* afterTime: "STRING_VALUE",
|
|
56
|
+
* nextToken: "STRING_VALUE",
|
|
57
|
+
* maxResults: Number("int"),
|
|
58
|
+
* };
|
|
52
59
|
* const command = new DescribeCommunicationsCommand(input);
|
|
53
60
|
* const response = await client.send(command);
|
|
54
61
|
* ```
|
|
@@ -48,6 +48,12 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
48
48
|
* import { SupportClient, DescribeServicesCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
49
49
|
* // const { SupportClient, DescribeServicesCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
50
50
|
* const client = new SupportClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* serviceCodeList: [
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* language: "STRING_VALUE",
|
|
56
|
+
* };
|
|
51
57
|
* const command = new DescribeServicesCommand(input);
|
|
52
58
|
* const response = await client.send(command);
|
|
53
59
|
* ```
|
|
@@ -42,6 +42,9 @@ export interface DescribeSeverityLevelsCommandOutput extends DescribeSeverityLev
|
|
|
42
42
|
* import { SupportClient, DescribeSeverityLevelsCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
43
43
|
* // const { SupportClient, DescribeSeverityLevelsCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
44
44
|
* const client = new SupportClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* language: "STRING_VALUE",
|
|
47
|
+
* };
|
|
45
48
|
* const command = new DescribeSeverityLevelsCommand(input);
|
|
46
49
|
* const response = await client.send(command);
|
|
47
50
|
* ```
|
|
@@ -49,6 +49,11 @@ export interface DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput extends
|
|
|
49
49
|
* import { SupportClient, DescribeTrustedAdvisorCheckRefreshStatusesCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
50
50
|
* // const { SupportClient, DescribeTrustedAdvisorCheckRefreshStatusesCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
51
51
|
* const client = new SupportClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* checkIds: [ // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
52
57
|
* const command = new DescribeTrustedAdvisorCheckRefreshStatusesCommand(input);
|
|
53
58
|
* const response = await client.send(command);
|
|
54
59
|
* ```
|
|
@@ -84,6 +84,10 @@ export interface DescribeTrustedAdvisorCheckResultCommandOutput extends Describe
|
|
|
84
84
|
* import { SupportClient, DescribeTrustedAdvisorCheckResultCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
85
85
|
* // const { SupportClient, DescribeTrustedAdvisorCheckResultCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
86
86
|
* const client = new SupportClient(config);
|
|
87
|
+
* const input = {
|
|
88
|
+
* checkId: "STRING_VALUE", // required
|
|
89
|
+
* language: "STRING_VALUE",
|
|
90
|
+
* };
|
|
87
91
|
* const command = new DescribeTrustedAdvisorCheckResultCommand(input);
|
|
88
92
|
* const response = await client.send(command);
|
|
89
93
|
* ```
|
|
@@ -47,6 +47,11 @@ export interface DescribeTrustedAdvisorCheckSummariesCommandOutput extends Descr
|
|
|
47
47
|
* import { SupportClient, DescribeTrustedAdvisorCheckSummariesCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
48
48
|
* // const { SupportClient, DescribeTrustedAdvisorCheckSummariesCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
49
49
|
* const client = new SupportClient(config);
|
|
50
|
+
* const input = {
|
|
51
|
+
* checkIds: [ // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
50
55
|
* const command = new DescribeTrustedAdvisorCheckSummariesCommand(input);
|
|
51
56
|
* const response = await client.send(command);
|
|
52
57
|
* ```
|
|
@@ -51,6 +51,9 @@ export interface DescribeTrustedAdvisorChecksCommandOutput extends DescribeTrust
|
|
|
51
51
|
* import { SupportClient, DescribeTrustedAdvisorChecksCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
52
52
|
* // const { SupportClient, DescribeTrustedAdvisorChecksCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
53
53
|
* const client = new SupportClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* language: "STRING_VALUE", // required
|
|
56
|
+
* };
|
|
54
57
|
* const command = new DescribeTrustedAdvisorChecksCommand(input);
|
|
55
58
|
* const response = await client.send(command);
|
|
56
59
|
* ```
|
|
@@ -51,6 +51,9 @@ export interface RefreshTrustedAdvisorCheckCommandOutput extends RefreshTrustedA
|
|
|
51
51
|
* import { SupportClient, RefreshTrustedAdvisorCheckCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
52
52
|
* // const { SupportClient, RefreshTrustedAdvisorCheckCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
53
53
|
* const client = new SupportClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* checkId: "STRING_VALUE", // required
|
|
56
|
+
* };
|
|
54
57
|
* const command = new RefreshTrustedAdvisorCheckCommand(input);
|
|
55
58
|
* const response = await client.send(command);
|
|
56
59
|
* ```
|
|
@@ -41,6 +41,9 @@ export interface ResolveCaseCommandOutput extends ResolveCaseResponse, __Metadat
|
|
|
41
41
|
* import { SupportClient, ResolveCaseCommand } from "@aws-sdk/client-support"; // ES Modules import
|
|
42
42
|
* // const { SupportClient, ResolveCaseCommand } = require("@aws-sdk/client-support"); // CommonJS import
|
|
43
43
|
* const client = new SupportClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* caseId: "STRING_VALUE",
|
|
46
|
+
* };
|
|
44
47
|
* const command = new ResolveCaseCommand(input);
|
|
45
48
|
* const response = await client.send(command);
|
|
46
49
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|