@aws-sdk/client-support 3.1120.0 → 3.1122.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.
Files changed (53) hide show
  1. package/README.md +32 -4
  2. package/dist-cjs/index.js +252 -28
  3. package/dist-es/Support.js +8 -0
  4. package/dist-es/commands/CompleteAttachmentUploadCommand.js +4 -0
  5. package/dist-es/commands/DescribeAttachmentUploadStatusCommand.js +4 -0
  6. package/dist-es/commands/GetAttachmentDownloadLinkCommand.js +4 -0
  7. package/dist-es/commands/GetAttachmentUploadLinksCommand.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/index.js +1 -0
  10. package/dist-es/models/enums.js +5 -0
  11. package/dist-es/models/errors.js +26 -0
  12. package/dist-es/schemas/schemas_0.js +178 -28
  13. package/dist-types/Support.d.ts +32 -4
  14. package/dist-types/SupportClient.d.ts +10 -6
  15. package/dist-types/commands/AddAttachmentsToSetCommand.d.ts +9 -4
  16. package/dist-types/commands/AddCommunicationToCaseCommand.d.ts +34 -7
  17. package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +94 -0
  18. package/dist-types/commands/CreateCaseCommand.d.ts +31 -5
  19. package/dist-types/commands/DescribeAttachmentCommand.d.ts +19 -4
  20. package/dist-types/commands/DescribeAttachmentUploadStatusCommand.d.ts +109 -0
  21. package/dist-types/commands/DescribeCasesCommand.d.ts +37 -7
  22. package/dist-types/commands/DescribeCommunicationsCommand.d.ts +37 -7
  23. package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +9 -4
  24. package/dist-types/commands/DescribeServicesCommand.d.ts +9 -4
  25. package/dist-types/commands/DescribeSeverityLevelsCommand.d.ts +9 -4
  26. package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +9 -4
  27. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +4 -4
  29. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +8 -4
  30. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +2 -2
  31. package/dist-types/commands/GetAttachmentDownloadLinkCommand.d.ts +104 -0
  32. package/dist-types/commands/GetAttachmentUploadLinksCommand.d.ts +125 -0
  33. package/dist-types/commands/RefreshTrustedAdvisorCheckCommand.d.ts +4 -4
  34. package/dist-types/commands/ResolveCaseCommand.d.ts +9 -4
  35. package/dist-types/commands/index.d.ts +4 -0
  36. package/dist-types/index.d.ts +5 -4
  37. package/dist-types/models/enums.d.ts +13 -0
  38. package/dist-types/models/errors.d.ts +31 -0
  39. package/dist-types/models/models_0.d.ts +457 -22
  40. package/dist-types/schemas/schemas_0.d.ts +20 -0
  41. package/dist-types/ts3.4/Support.d.ts +68 -0
  42. package/dist-types/ts3.4/SupportClient.d.ts +24 -0
  43. package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DescribeAttachmentUploadStatusCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/GetAttachmentDownloadLinkCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/GetAttachmentUploadLinksCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  50. package/dist-types/ts3.4/models/errors.d.ts +12 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +79 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  53. package/package.json +1 -1
@@ -9,8 +9,10 @@ export declare var AttachmentSetSizeLimitExceeded$: StaticErrorSchema;
9
9
  export declare var CaseCreationLimitExceeded$: StaticErrorSchema;
10
10
  export declare var CaseIdNotFound$: StaticErrorSchema;
11
11
  export declare var DescribeAttachmentLimitExceeded$: StaticErrorSchema;
12
+ export declare var DryRunOperationException$: StaticErrorSchema;
12
13
  export declare var InternalServerError$: StaticErrorSchema;
13
14
  export declare var ThrottlingException$: StaticErrorSchema;
15
+ export declare var UploadIdNotFound$: StaticErrorSchema;
14
16
  /**
15
17
  * TypeRegistry instances containing modeled errors.
16
18
  * @internal
@@ -27,11 +29,16 @@ export declare var CaseDetails$: StaticStructureSchema;
27
29
  export declare var Category$: StaticStructureSchema;
28
30
  export declare var Communication$: StaticStructureSchema;
29
31
  export declare var CommunicationTypeOptions$: StaticStructureSchema;
32
+ export declare var CompleteAttachmentUploadRequest$: StaticStructureSchema;
33
+ export declare var CompleteAttachmentUploadResponse$: StaticStructureSchema;
34
+ export declare var CompletedUpload$: StaticStructureSchema;
30
35
  export declare var CreateCaseRequest$: StaticStructureSchema;
31
36
  export declare var CreateCaseResponse$: StaticStructureSchema;
32
37
  export declare var DateInterval$: StaticStructureSchema;
33
38
  export declare var DescribeAttachmentRequest$: StaticStructureSchema;
34
39
  export declare var DescribeAttachmentResponse$: StaticStructureSchema;
40
+ export declare var DescribeAttachmentUploadStatusRequest$: StaticStructureSchema;
41
+ export declare var DescribeAttachmentUploadStatusResponse$: StaticStructureSchema;
35
42
  export declare var DescribeCasesRequest$: StaticStructureSchema;
36
43
  export declare var DescribeCasesResponse$: StaticStructureSchema;
37
44
  export declare var DescribeCommunicationsRequest$: StaticStructureSchema;
@@ -52,6 +59,11 @@ export declare var DescribeTrustedAdvisorChecksRequest$: StaticStructureSchema;
52
59
  export declare var DescribeTrustedAdvisorChecksResponse$: StaticStructureSchema;
53
60
  export declare var DescribeTrustedAdvisorCheckSummariesRequest$: StaticStructureSchema;
54
61
  export declare var DescribeTrustedAdvisorCheckSummariesResponse$: StaticStructureSchema;
62
+ export declare var DownloadUrl$: StaticStructureSchema;
63
+ export declare var GetAttachmentDownloadLinkRequest$: StaticStructureSchema;
64
+ export declare var GetAttachmentDownloadLinkResponse$: StaticStructureSchema;
65
+ export declare var GetAttachmentUploadLinksRequest$: StaticStructureSchema;
66
+ export declare var GetAttachmentUploadLinksResponse$: StaticStructureSchema;
55
67
  export declare var RecentCaseCommunications$: StaticStructureSchema;
56
68
  export declare var RefreshTrustedAdvisorCheckRequest$: StaticStructureSchema;
57
69
  export declare var RefreshTrustedAdvisorCheckResponse$: StaticStructureSchema;
@@ -61,6 +73,7 @@ export declare var Service$: StaticStructureSchema;
61
73
  export declare var SeverityLevel$: StaticStructureSchema;
62
74
  export declare var SupportedHour$: StaticStructureSchema;
63
75
  export declare var SupportedLanguage$: StaticStructureSchema;
76
+ export declare var ThrottlingReason$: StaticStructureSchema;
64
77
  export declare var TrustedAdvisorCategorySpecificSummary$: StaticStructureSchema;
65
78
  export declare var TrustedAdvisorCheckDescription$: StaticStructureSchema;
66
79
  export declare var TrustedAdvisorCheckRefreshStatus$: StaticStructureSchema;
@@ -69,10 +82,15 @@ export declare var TrustedAdvisorCheckSummary$: StaticStructureSchema;
69
82
  export declare var TrustedAdvisorCostOptimizingSummary$: StaticStructureSchema;
70
83
  export declare var TrustedAdvisorResourceDetail$: StaticStructureSchema;
71
84
  export declare var TrustedAdvisorResourcesSummary$: StaticStructureSchema;
85
+ export declare var UploadProgress$: StaticStructureSchema;
86
+ export declare var UploadRange$: StaticStructureSchema;
87
+ export declare var UploadUrl$: StaticStructureSchema;
72
88
  export declare var AddAttachmentsToSet$: StaticOperationSchema;
73
89
  export declare var AddCommunicationToCase$: StaticOperationSchema;
90
+ export declare var CompleteAttachmentUpload$: StaticOperationSchema;
74
91
  export declare var CreateCase$: StaticOperationSchema;
75
92
  export declare var DescribeAttachment$: StaticOperationSchema;
93
+ export declare var DescribeAttachmentUploadStatus$: StaticOperationSchema;
76
94
  export declare var DescribeCases$: StaticOperationSchema;
77
95
  export declare var DescribeCommunications$: StaticOperationSchema;
78
96
  export declare var DescribeCreateCaseOptions$: StaticOperationSchema;
@@ -83,5 +101,7 @@ export declare var DescribeTrustedAdvisorCheckRefreshStatuses$: StaticOperationS
83
101
  export declare var DescribeTrustedAdvisorCheckResult$: StaticOperationSchema;
84
102
  export declare var DescribeTrustedAdvisorChecks$: StaticOperationSchema;
85
103
  export declare var DescribeTrustedAdvisorCheckSummaries$: StaticOperationSchema;
104
+ export declare var GetAttachmentDownloadLink$: StaticOperationSchema;
105
+ export declare var GetAttachmentUploadLinks$: StaticOperationSchema;
86
106
  export declare var RefreshTrustedAdvisorCheck$: StaticOperationSchema;
87
107
  export declare var ResolveCase$: StaticOperationSchema;
@@ -11,11 +11,19 @@ import {
11
11
  AddCommunicationToCaseCommandInput,
12
12
  AddCommunicationToCaseCommandOutput,
13
13
  } from "./commands/AddCommunicationToCaseCommand";
14
+ import {
15
+ CompleteAttachmentUploadCommandInput,
16
+ CompleteAttachmentUploadCommandOutput,
17
+ } from "./commands/CompleteAttachmentUploadCommand";
14
18
  import { CreateCaseCommandInput, CreateCaseCommandOutput } from "./commands/CreateCaseCommand";
15
19
  import {
16
20
  DescribeAttachmentCommandInput,
17
21
  DescribeAttachmentCommandOutput,
18
22
  } from "./commands/DescribeAttachmentCommand";
23
+ import {
24
+ DescribeAttachmentUploadStatusCommandInput,
25
+ DescribeAttachmentUploadStatusCommandOutput,
26
+ } from "./commands/DescribeAttachmentUploadStatusCommand";
19
27
  import {
20
28
  DescribeCasesCommandInput,
21
29
  DescribeCasesCommandOutput,
@@ -56,6 +64,14 @@ import {
56
64
  DescribeTrustedAdvisorCheckSummariesCommandInput,
57
65
  DescribeTrustedAdvisorCheckSummariesCommandOutput,
58
66
  } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
67
+ import {
68
+ GetAttachmentDownloadLinkCommandInput,
69
+ GetAttachmentDownloadLinkCommandOutput,
70
+ } from "./commands/GetAttachmentDownloadLinkCommand";
71
+ import {
72
+ GetAttachmentUploadLinksCommandInput,
73
+ GetAttachmentUploadLinksCommandOutput,
74
+ } from "./commands/GetAttachmentUploadLinksCommand";
59
75
  import {
60
76
  RefreshTrustedAdvisorCheckCommandInput,
61
77
  RefreshTrustedAdvisorCheckCommandOutput,
@@ -89,6 +105,19 @@ export interface Support {
89
105
  options: __HttpHandlerOptions,
90
106
  cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void,
91
107
  ): void;
108
+ completeAttachmentUpload(
109
+ args: CompleteAttachmentUploadCommandInput,
110
+ options?: __HttpHandlerOptions,
111
+ ): Promise<CompleteAttachmentUploadCommandOutput>;
112
+ completeAttachmentUpload(
113
+ args: CompleteAttachmentUploadCommandInput,
114
+ cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void,
115
+ ): void;
116
+ completeAttachmentUpload(
117
+ args: CompleteAttachmentUploadCommandInput,
118
+ options: __HttpHandlerOptions,
119
+ cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void,
120
+ ): void;
92
121
  createCase(
93
122
  args: CreateCaseCommandInput,
94
123
  options?: __HttpHandlerOptions,
@@ -115,6 +144,19 @@ export interface Support {
115
144
  options: __HttpHandlerOptions,
116
145
  cb: (err: any, data?: DescribeAttachmentCommandOutput) => void,
117
146
  ): void;
147
+ describeAttachmentUploadStatus(
148
+ args: DescribeAttachmentUploadStatusCommandInput,
149
+ options?: __HttpHandlerOptions,
150
+ ): Promise<DescribeAttachmentUploadStatusCommandOutput>;
151
+ describeAttachmentUploadStatus(
152
+ args: DescribeAttachmentUploadStatusCommandInput,
153
+ cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void,
154
+ ): void;
155
+ describeAttachmentUploadStatus(
156
+ args: DescribeAttachmentUploadStatusCommandInput,
157
+ options: __HttpHandlerOptions,
158
+ cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void,
159
+ ): void;
118
160
  describeCases(): Promise<DescribeCasesCommandOutput>;
119
161
  describeCases(
120
162
  args: DescribeCasesCommandInput,
@@ -248,6 +290,32 @@ export interface Support {
248
290
  options: __HttpHandlerOptions,
249
291
  cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void,
250
292
  ): void;
293
+ getAttachmentDownloadLink(
294
+ args: GetAttachmentDownloadLinkCommandInput,
295
+ options?: __HttpHandlerOptions,
296
+ ): Promise<GetAttachmentDownloadLinkCommandOutput>;
297
+ getAttachmentDownloadLink(
298
+ args: GetAttachmentDownloadLinkCommandInput,
299
+ cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void,
300
+ ): void;
301
+ getAttachmentDownloadLink(
302
+ args: GetAttachmentDownloadLinkCommandInput,
303
+ options: __HttpHandlerOptions,
304
+ cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void,
305
+ ): void;
306
+ getAttachmentUploadLinks(
307
+ args: GetAttachmentUploadLinksCommandInput,
308
+ options?: __HttpHandlerOptions,
309
+ ): Promise<GetAttachmentUploadLinksCommandOutput>;
310
+ getAttachmentUploadLinks(
311
+ args: GetAttachmentUploadLinksCommandInput,
312
+ cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void,
313
+ ): void;
314
+ getAttachmentUploadLinks(
315
+ args: GetAttachmentUploadLinksCommandInput,
316
+ options: __HttpHandlerOptions,
317
+ cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void,
318
+ ): void;
251
319
  refreshTrustedAdvisorCheck(
252
320
  args: RefreshTrustedAdvisorCheckCommandInput,
253
321
  options?: __HttpHandlerOptions,
@@ -41,11 +41,19 @@ import {
41
41
  AddCommunicationToCaseCommandInput,
42
42
  AddCommunicationToCaseCommandOutput,
43
43
  } from "./commands/AddCommunicationToCaseCommand";
44
+ import {
45
+ CompleteAttachmentUploadCommandInput,
46
+ CompleteAttachmentUploadCommandOutput,
47
+ } from "./commands/CompleteAttachmentUploadCommand";
44
48
  import { CreateCaseCommandInput, CreateCaseCommandOutput } from "./commands/CreateCaseCommand";
45
49
  import {
46
50
  DescribeAttachmentCommandInput,
47
51
  DescribeAttachmentCommandOutput,
48
52
  } from "./commands/DescribeAttachmentCommand";
53
+ import {
54
+ DescribeAttachmentUploadStatusCommandInput,
55
+ DescribeAttachmentUploadStatusCommandOutput,
56
+ } from "./commands/DescribeAttachmentUploadStatusCommand";
49
57
  import {
50
58
  DescribeCasesCommandInput,
51
59
  DescribeCasesCommandOutput,
@@ -86,6 +94,14 @@ import {
86
94
  DescribeTrustedAdvisorCheckSummariesCommandInput,
87
95
  DescribeTrustedAdvisorCheckSummariesCommandOutput,
88
96
  } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
97
+ import {
98
+ GetAttachmentDownloadLinkCommandInput,
99
+ GetAttachmentDownloadLinkCommandOutput,
100
+ } from "./commands/GetAttachmentDownloadLinkCommand";
101
+ import {
102
+ GetAttachmentUploadLinksCommandInput,
103
+ GetAttachmentUploadLinksCommandOutput,
104
+ } from "./commands/GetAttachmentUploadLinksCommand";
89
105
  import {
90
106
  RefreshTrustedAdvisorCheckCommandInput,
91
107
  RefreshTrustedAdvisorCheckCommandOutput,
@@ -101,8 +117,10 @@ export { __Client };
101
117
  export type ServiceInputTypes =
102
118
  | AddAttachmentsToSetCommandInput
103
119
  | AddCommunicationToCaseCommandInput
120
+ | CompleteAttachmentUploadCommandInput
104
121
  | CreateCaseCommandInput
105
122
  | DescribeAttachmentCommandInput
123
+ | DescribeAttachmentUploadStatusCommandInput
106
124
  | DescribeCasesCommandInput
107
125
  | DescribeCommunicationsCommandInput
108
126
  | DescribeCreateCaseOptionsCommandInput
@@ -113,13 +131,17 @@ export type ServiceInputTypes =
113
131
  | DescribeTrustedAdvisorCheckResultCommandInput
114
132
  | DescribeTrustedAdvisorCheckSummariesCommandInput
115
133
  | DescribeTrustedAdvisorChecksCommandInput
134
+ | GetAttachmentDownloadLinkCommandInput
135
+ | GetAttachmentUploadLinksCommandInput
116
136
  | RefreshTrustedAdvisorCheckCommandInput
117
137
  | ResolveCaseCommandInput;
118
138
  export type ServiceOutputTypes =
119
139
  | AddAttachmentsToSetCommandOutput
120
140
  | AddCommunicationToCaseCommandOutput
141
+ | CompleteAttachmentUploadCommandOutput
121
142
  | CreateCaseCommandOutput
122
143
  | DescribeAttachmentCommandOutput
144
+ | DescribeAttachmentUploadStatusCommandOutput
123
145
  | DescribeCasesCommandOutput
124
146
  | DescribeCommunicationsCommandOutput
125
147
  | DescribeCreateCaseOptionsCommandOutput
@@ -130,6 +152,8 @@ export type ServiceOutputTypes =
130
152
  | DescribeTrustedAdvisorCheckResultCommandOutput
131
153
  | DescribeTrustedAdvisorCheckSummariesCommandOutput
132
154
  | DescribeTrustedAdvisorChecksCommandOutput
155
+ | GetAttachmentDownloadLinkCommandOutput
156
+ | GetAttachmentUploadLinksCommandOutput
133
157
  | RefreshTrustedAdvisorCheckCommandOutput
134
158
  | ResolveCaseCommandOutput;
135
159
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ CompleteAttachmentUploadRequest,
4
+ CompleteAttachmentUploadResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface CompleteAttachmentUploadCommandInput extends CompleteAttachmentUploadRequest {}
8
+ export interface CompleteAttachmentUploadCommandOutput
9
+ extends CompleteAttachmentUploadResponse, __MetadataBearer {}
10
+ declare const CompleteAttachmentUploadCommand_base: {
11
+ new (
12
+ input: CompleteAttachmentUploadCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ CompleteAttachmentUploadCommandInput,
15
+ CompleteAttachmentUploadCommandOutput,
16
+ import("..").SupportClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: CompleteAttachmentUploadCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CompleteAttachmentUploadCommandInput,
24
+ CompleteAttachmentUploadCommandOutput,
25
+ import("..").SupportClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class CompleteAttachmentUploadCommand extends CompleteAttachmentUploadCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: CompleteAttachmentUploadRequest;
35
+ output: CompleteAttachmentUploadResponse;
36
+ };
37
+ sdk: {
38
+ input: CompleteAttachmentUploadCommandInput;
39
+ output: CompleteAttachmentUploadCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ DescribeAttachmentUploadStatusRequest,
4
+ DescribeAttachmentUploadStatusResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface DescribeAttachmentUploadStatusCommandInput extends DescribeAttachmentUploadStatusRequest {}
8
+ export interface DescribeAttachmentUploadStatusCommandOutput
9
+ extends DescribeAttachmentUploadStatusResponse, __MetadataBearer {}
10
+ declare const DescribeAttachmentUploadStatusCommand_base: {
11
+ new (
12
+ input: DescribeAttachmentUploadStatusCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ DescribeAttachmentUploadStatusCommandInput,
15
+ DescribeAttachmentUploadStatusCommandOutput,
16
+ import("..").SupportClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: DescribeAttachmentUploadStatusCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DescribeAttachmentUploadStatusCommandInput,
24
+ DescribeAttachmentUploadStatusCommandOutput,
25
+ import("..").SupportClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class DescribeAttachmentUploadStatusCommand extends DescribeAttachmentUploadStatusCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: DescribeAttachmentUploadStatusRequest;
35
+ output: DescribeAttachmentUploadStatusResponse;
36
+ };
37
+ sdk: {
38
+ input: DescribeAttachmentUploadStatusCommandInput;
39
+ output: DescribeAttachmentUploadStatusCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetAttachmentDownloadLinkRequest,
4
+ GetAttachmentDownloadLinkResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetAttachmentDownloadLinkCommandInput extends GetAttachmentDownloadLinkRequest {}
8
+ export interface GetAttachmentDownloadLinkCommandOutput
9
+ extends GetAttachmentDownloadLinkResponse, __MetadataBearer {}
10
+ declare const GetAttachmentDownloadLinkCommand_base: {
11
+ new (
12
+ input: GetAttachmentDownloadLinkCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetAttachmentDownloadLinkCommandInput,
15
+ GetAttachmentDownloadLinkCommandOutput,
16
+ import("..").SupportClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetAttachmentDownloadLinkCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetAttachmentDownloadLinkCommandInput,
24
+ GetAttachmentDownloadLinkCommandOutput,
25
+ import("..").SupportClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetAttachmentDownloadLinkCommand extends GetAttachmentDownloadLinkCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetAttachmentDownloadLinkRequest;
35
+ output: GetAttachmentDownloadLinkResponse;
36
+ };
37
+ sdk: {
38
+ input: GetAttachmentDownloadLinkCommandInput;
39
+ output: GetAttachmentDownloadLinkCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetAttachmentUploadLinksRequest,
4
+ GetAttachmentUploadLinksResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetAttachmentUploadLinksCommandInput extends GetAttachmentUploadLinksRequest {}
8
+ export interface GetAttachmentUploadLinksCommandOutput
9
+ extends GetAttachmentUploadLinksResponse, __MetadataBearer {}
10
+ declare const GetAttachmentUploadLinksCommand_base: {
11
+ new (
12
+ input: GetAttachmentUploadLinksCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetAttachmentUploadLinksCommandInput,
15
+ GetAttachmentUploadLinksCommandOutput,
16
+ import("..").SupportClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetAttachmentUploadLinksCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetAttachmentUploadLinksCommandInput,
24
+ GetAttachmentUploadLinksCommandOutput,
25
+ import("..").SupportClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetAttachmentUploadLinksCommand extends GetAttachmentUploadLinksCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetAttachmentUploadLinksRequest;
35
+ output: GetAttachmentUploadLinksResponse;
36
+ };
37
+ sdk: {
38
+ input: GetAttachmentUploadLinksCommandInput;
39
+ output: GetAttachmentUploadLinksCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,7 +1,9 @@
1
1
  export * from "./AddAttachmentsToSetCommand";
2
2
  export * from "./AddCommunicationToCaseCommand";
3
+ export * from "./CompleteAttachmentUploadCommand";
3
4
  export * from "./CreateCaseCommand";
4
5
  export * from "./DescribeAttachmentCommand";
6
+ export * from "./DescribeAttachmentUploadStatusCommand";
5
7
  export * from "./DescribeCasesCommand";
6
8
  export * from "./DescribeCommunicationsCommand";
7
9
  export * from "./DescribeCreateCaseOptionsCommand";
@@ -12,5 +14,7 @@ export * from "./DescribeTrustedAdvisorCheckRefreshStatusesCommand";
12
14
  export * from "./DescribeTrustedAdvisorCheckResultCommand";
13
15
  export * from "./DescribeTrustedAdvisorCheckSummariesCommand";
14
16
  export * from "./DescribeTrustedAdvisorChecksCommand";
17
+ export * from "./GetAttachmentDownloadLinkCommand";
18
+ export * from "./GetAttachmentUploadLinksCommand";
15
19
  export * from "./RefreshTrustedAdvisorCheckCommand";
16
20
  export * from "./ResolveCaseCommand";
@@ -7,6 +7,7 @@ export * from "./commands";
7
7
  export { Command as $Command } from "@smithy/core/client";
8
8
  export * from "./pagination";
9
9
  export * from "./schemas/schemas_0";
10
+ export * from "./models/enums";
10
11
  export * from "./models/errors";
11
12
  export * from "./models/models_0";
12
13
  export { SupportServiceException } from "./models/SupportServiceException";
@@ -0,0 +1,6 @@
1
+ export declare const UploadStatus: {
2
+ readonly ATTACHMENT_NOT_READY: "attachment-not-ready";
3
+ readonly ATTACHMENT_READY: "attachment-ready";
4
+ readonly FAILED: "failed";
5
+ };
6
+ export type UploadStatus = (typeof UploadStatus)[keyof typeof UploadStatus];
@@ -1,4 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { ThrottlingReason } from "./models_0";
2
3
  import { SupportServiceException as __BaseException } from "./SupportServiceException";
3
4
  export declare class AttachmentLimitExceeded extends __BaseException {
4
5
  readonly name: "AttachmentLimitExceeded";
@@ -20,6 +21,11 @@ export declare class AttachmentSetSizeLimitExceeded extends __BaseException {
20
21
  readonly $fault: "client";
21
22
  constructor(opts: __ExceptionOptionType<AttachmentSetSizeLimitExceeded, __BaseException>);
22
23
  }
24
+ export declare class DryRunOperationException extends __BaseException {
25
+ readonly name: "DryRunOperationException";
26
+ readonly $fault: "client";
27
+ constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
28
+ }
23
29
  export declare class InternalServerError extends __BaseException {
24
30
  readonly name: "InternalServerError";
25
31
  readonly $fault: "server";
@@ -35,6 +41,11 @@ export declare class AttachmentIdNotFound extends __BaseException {
35
41
  readonly $fault: "client";
36
42
  constructor(opts: __ExceptionOptionType<AttachmentIdNotFound, __BaseException>);
37
43
  }
44
+ export declare class UploadIdNotFound extends __BaseException {
45
+ readonly name: "UploadIdNotFound";
46
+ readonly $fault: "client";
47
+ constructor(opts: __ExceptionOptionType<UploadIdNotFound, __BaseException>);
48
+ }
38
49
  export declare class CaseCreationLimitExceeded extends __BaseException {
39
50
  readonly name: "CaseCreationLimitExceeded";
40
51
  readonly $fault: "client";
@@ -48,5 +59,6 @@ export declare class DescribeAttachmentLimitExceeded extends __BaseException {
48
59
  export declare class ThrottlingException extends __BaseException {
49
60
  readonly name: "ThrottlingException";
50
61
  readonly $fault: "client";
62
+ throttlingReasons?: ThrottlingReason[] | undefined;
51
63
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
52
64
  }
@@ -1,3 +1,4 @@
1
+ import { UploadStatus } from "./enums";
1
2
  export interface Attachment {
2
3
  fileName?: string | undefined;
3
4
  data?: Uint8Array | undefined;
@@ -5,6 +6,7 @@ export interface Attachment {
5
6
  export interface AddAttachmentsToSetRequest {
6
7
  attachmentSetId?: string | undefined;
7
8
  attachments: Attachment[] | undefined;
9
+ dryRun?: boolean | undefined;
8
10
  }
9
11
  export interface AddAttachmentsToSetResponse {
10
12
  attachmentSetId?: string | undefined;
@@ -15,6 +17,8 @@ export interface AddCommunicationToCaseRequest {
15
17
  communicationBody: string | undefined;
16
18
  ccEmailAddresses?: string[] | undefined;
17
19
  attachmentSetId?: string | undefined;
20
+ uploadIds?: string[] | undefined;
21
+ dryRun?: boolean | undefined;
18
22
  }
19
23
  export interface AddCommunicationToCaseResponse {
20
24
  result?: boolean | undefined;
@@ -23,6 +27,18 @@ export interface AttachmentDetails {
23
27
  attachmentId?: string | undefined;
24
28
  fileName?: string | undefined;
25
29
  }
30
+ export interface CompletedUpload {
31
+ partIndex: number | undefined;
32
+ eTag: string | undefined;
33
+ }
34
+ export interface CompleteAttachmentUploadRequest {
35
+ uploadId: string | undefined;
36
+ completedUploads: CompletedUpload[] | undefined;
37
+ dryRun?: boolean | undefined;
38
+ }
39
+ export interface CompleteAttachmentUploadResponse {
40
+ uploadStatus: UploadStatus | undefined;
41
+ }
26
42
  export interface CreateCaseRequest {
27
43
  subject: string | undefined;
28
44
  serviceCode?: string | undefined;
@@ -33,16 +49,32 @@ export interface CreateCaseRequest {
33
49
  language?: string | undefined;
34
50
  issueType?: string | undefined;
35
51
  attachmentSetId?: string | undefined;
52
+ uploadIds?: string[] | undefined;
53
+ dryRun?: boolean | undefined;
36
54
  }
37
55
  export interface CreateCaseResponse {
38
56
  caseId?: string | undefined;
39
57
  }
40
58
  export interface DescribeAttachmentRequest {
41
59
  attachmentId: string | undefined;
60
+ dryRun?: boolean | undefined;
42
61
  }
43
62
  export interface DescribeAttachmentResponse {
44
63
  attachment?: Attachment | undefined;
45
64
  }
65
+ export interface DescribeAttachmentUploadStatusRequest {
66
+ uploadId: string | undefined;
67
+ dryRun?: boolean | undefined;
68
+ }
69
+ export interface UploadProgress {
70
+ totalParts?: number | undefined;
71
+ completedPartsCount?: number | undefined;
72
+ }
73
+ export interface DescribeAttachmentUploadStatusResponse {
74
+ uploadStatus: UploadStatus | undefined;
75
+ fileName: string | undefined;
76
+ uploadProgress?: UploadProgress | undefined;
77
+ }
46
78
  export interface DescribeCasesRequest {
47
79
  caseIdList?: string[] | undefined;
48
80
  displayId?: string | undefined;
@@ -53,12 +85,14 @@ export interface DescribeCasesRequest {
53
85
  maxResults?: number | undefined;
54
86
  language?: string | undefined;
55
87
  includeCommunications?: boolean | undefined;
88
+ dryRun?: boolean | undefined;
56
89
  }
57
90
  export interface Communication {
58
91
  caseId?: string | undefined;
59
92
  body?: string | undefined;
60
93
  submittedBy?: string | undefined;
61
94
  timeCreated?: string | undefined;
95
+ attachments?: AttachmentDetails[] | undefined;
62
96
  attachmentSet?: AttachmentDetails[] | undefined;
63
97
  }
64
98
  export interface RecentCaseCommunications {
@@ -89,6 +123,7 @@ export interface DescribeCommunicationsRequest {
89
123
  afterTime?: string | undefined;
90
124
  nextToken?: string | undefined;
91
125
  maxResults?: number | undefined;
126
+ dryRun?: boolean | undefined;
92
127
  }
93
128
  export interface DescribeCommunicationsResponse {
94
129
  communications?: Communication[] | undefined;
@@ -99,6 +134,7 @@ export interface DescribeCreateCaseOptionsRequest {
99
134
  serviceCode: string | undefined;
100
135
  language: string | undefined;
101
136
  categoryCode: string | undefined;
137
+ dryRun?: boolean | undefined;
102
138
  }
103
139
  export interface DateInterval {
104
140
  startDateTime?: string | undefined;
@@ -117,9 +153,14 @@ export interface DescribeCreateCaseOptionsResponse {
117
153
  languageAvailability?: string | undefined;
118
154
  communicationTypes?: CommunicationTypeOptions[] | undefined;
119
155
  }
156
+ export interface ThrottlingReason {
157
+ reason?: string | undefined;
158
+ resource?: string | undefined;
159
+ }
120
160
  export interface DescribeServicesRequest {
121
161
  serviceCodeList?: string[] | undefined;
122
162
  language?: string | undefined;
163
+ dryRun?: boolean | undefined;
123
164
  }
124
165
  export interface Category {
125
166
  code?: string | undefined;
@@ -135,6 +176,7 @@ export interface DescribeServicesResponse {
135
176
  }
136
177
  export interface DescribeSeverityLevelsRequest {
137
178
  language?: string | undefined;
179
+ dryRun?: boolean | undefined;
138
180
  }
139
181
  export interface SeverityLevel {
140
182
  code?: string | undefined;
@@ -147,6 +189,7 @@ export interface DescribeSupportedLanguagesRequest {
147
189
  issueType: string | undefined;
148
190
  serviceCode: string | undefined;
149
191
  categoryCode: string | undefined;
192
+ dryRun?: boolean | undefined;
150
193
  }
151
194
  export interface SupportedLanguage {
152
195
  code?: string | undefined;
@@ -229,6 +272,41 @@ export interface TrustedAdvisorCheckSummary {
229
272
  export interface DescribeTrustedAdvisorCheckSummariesResponse {
230
273
  summaries: TrustedAdvisorCheckSummary[] | undefined;
231
274
  }
275
+ export interface GetAttachmentDownloadLinkRequest {
276
+ attachmentId: string | undefined;
277
+ dryRun?: boolean | undefined;
278
+ }
279
+ export interface DownloadUrl {
280
+ url: string | undefined;
281
+ expiryDate: string | undefined;
282
+ }
283
+ export interface GetAttachmentDownloadLinkResponse {
284
+ fileName: string | undefined;
285
+ downloadUrl: DownloadUrl | undefined;
286
+ }
287
+ export interface UploadRange {
288
+ startIndex: number | undefined;
289
+ endIndex?: number | undefined;
290
+ }
291
+ export interface GetAttachmentUploadLinksRequest {
292
+ fileName: string | undefined;
293
+ fileSizeBytes?: number | undefined;
294
+ uploadId?: string | undefined;
295
+ uploadRange?: UploadRange | undefined;
296
+ dryRun?: boolean | undefined;
297
+ }
298
+ export interface UploadUrl {
299
+ url: string | undefined;
300
+ partIndex: number | undefined;
301
+ expiryDate: string | undefined;
302
+ }
303
+ export interface GetAttachmentUploadLinksResponse {
304
+ uploadId: string | undefined;
305
+ partSizeBytes: number | undefined;
306
+ totalParts: number | undefined;
307
+ nextIndex?: number | undefined;
308
+ uploadUrls: UploadUrl[] | undefined;
309
+ }
232
310
  export interface RefreshTrustedAdvisorCheckRequest {
233
311
  checkId: string | undefined;
234
312
  }
@@ -237,6 +315,7 @@ export interface RefreshTrustedAdvisorCheckResponse {
237
315
  }
238
316
  export interface ResolveCaseRequest {
239
317
  caseId?: string | undefined;
318
+ dryRun?: boolean | undefined;
240
319
  }
241
320
  export interface ResolveCaseResponse {
242
321
  initialCaseStatus?: string | undefined;