@aws-sdk/client-support 3.1137.0 → 3.1139.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-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -527,10 +527,10 @@ const _uR = "uploadRange";
527
527
  const _uS = "uploadStatus";
528
528
  const _uU = "uploadUrls";
529
529
  const n0 = "com.amazonaws.support";
530
- const _s_registry = TypeRegistry.for(_s);
530
+ const _s_registry = new TypeRegistry(_s);
531
531
  var SupportServiceException$ = [-3, _s, "SupportServiceException", 0, [], []];
532
532
  _s_registry.registerError(SupportServiceException$, SupportServiceException);
533
- const n0_registry = TypeRegistry.for(n0);
533
+ const n0_registry = new TypeRegistry(n0);
534
534
  var AttachmentIdNotFound$ = [-3, n0, _AINF,
535
535
  { [_e]: _c },
536
536
  [_m],
@@ -227,10 +227,10 @@ const n0 = "com.amazonaws.support";
227
227
  import { TypeRegistry } from "@smithy/core/schema";
228
228
  import { AttachmentIdNotFound, AttachmentLimitExceeded, AttachmentSetExpired, AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded, CaseIdNotFound, DescribeAttachmentLimitExceeded, DryRunOperationException, InternalServerError, ThrottlingException, UploadIdNotFound, } from "../models/errors";
229
229
  import { SupportServiceException } from "../models/SupportServiceException";
230
- const _s_registry = TypeRegistry.for(_s);
230
+ const _s_registry = new TypeRegistry(_s);
231
231
  export var SupportServiceException$ = [-3, _s, "SupportServiceException", 0, [], []];
232
232
  _s_registry.registerError(SupportServiceException$, SupportServiceException);
233
- const n0_registry = TypeRegistry.for(n0);
233
+ const n0_registry = new TypeRegistry(n0);
234
234
  export var AttachmentIdNotFound$ = [-3, n0, _AINF,
235
235
  { [_e]: _c },
236
236
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AddAttachmentsToSetCommandInput, type AddAttachmentsToSetCommandOutput } from "./commands/AddAttachmentsToSetCommand";
3
3
  import { type AddCommunicationToCaseCommandInput, type AddCommunicationToCaseCommandOutput } from "./commands/AddCommunicationToCaseCommand";
4
4
  import { type CompleteAttachmentUploadCommandInput, type CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
@@ -20,131 +20,137 @@ import { type GetAttachmentUploadLinksCommandInput, type GetAttachmentUploadLink
20
20
  import { type RefreshTrustedAdvisorCheckCommandInput, type RefreshTrustedAdvisorCheckCommandOutput } from "./commands/RefreshTrustedAdvisorCheckCommand";
21
21
  import { type ResolveCaseCommandInput, type ResolveCaseCommandOutput } from "./commands/ResolveCaseCommand";
22
22
  import { SupportClient } from "./SupportClient";
23
+ /**
24
+ * @public
25
+ */
26
+ export interface SupportRequestOptions extends __HttpHandlerOptions {
27
+ metricsRecorder?: __MetricsRecorder<unknown>;
28
+ }
23
29
  export interface Support {
24
30
  /**
25
31
  * @see {@link AddAttachmentsToSetCommand}
26
32
  */
27
- addAttachmentsToSet(args: AddAttachmentsToSetCommandInput, options?: __HttpHandlerOptions): Promise<AddAttachmentsToSetCommandOutput>;
33
+ addAttachmentsToSet(args: AddAttachmentsToSetCommandInput, options?: SupportRequestOptions): Promise<AddAttachmentsToSetCommandOutput>;
28
34
  addAttachmentsToSet(args: AddAttachmentsToSetCommandInput, cb: (err: any, data?: AddAttachmentsToSetCommandOutput) => void): void;
29
- addAttachmentsToSet(args: AddAttachmentsToSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddAttachmentsToSetCommandOutput) => void): void;
35
+ addAttachmentsToSet(args: AddAttachmentsToSetCommandInput, options: SupportRequestOptions, cb: (err: any, data?: AddAttachmentsToSetCommandOutput) => void): void;
30
36
  /**
31
37
  * @see {@link AddCommunicationToCaseCommand}
32
38
  */
33
- addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options?: __HttpHandlerOptions): Promise<AddCommunicationToCaseCommandOutput>;
39
+ addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options?: SupportRequestOptions): Promise<AddCommunicationToCaseCommandOutput>;
34
40
  addCommunicationToCase(args: AddCommunicationToCaseCommandInput, cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void): void;
35
- addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void): void;
41
+ addCommunicationToCase(args: AddCommunicationToCaseCommandInput, options: SupportRequestOptions, cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void): void;
36
42
  /**
37
43
  * @see {@link CompleteAttachmentUploadCommand}
38
44
  */
39
- completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options?: __HttpHandlerOptions): Promise<CompleteAttachmentUploadCommandOutput>;
45
+ completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options?: SupportRequestOptions): Promise<CompleteAttachmentUploadCommandOutput>;
40
46
  completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void): void;
41
- completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void): void;
47
+ completeAttachmentUpload(args: CompleteAttachmentUploadCommandInput, options: SupportRequestOptions, cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link CreateCaseCommand}
44
50
  */
45
- createCase(args: CreateCaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateCaseCommandOutput>;
51
+ createCase(args: CreateCaseCommandInput, options?: SupportRequestOptions): Promise<CreateCaseCommandOutput>;
46
52
  createCase(args: CreateCaseCommandInput, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
47
- createCase(args: CreateCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
53
+ createCase(args: CreateCaseCommandInput, options: SupportRequestOptions, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link DescribeAttachmentCommand}
50
56
  */
51
- describeAttachment(args: DescribeAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttachmentCommandOutput>;
57
+ describeAttachment(args: DescribeAttachmentCommandInput, options?: SupportRequestOptions): Promise<DescribeAttachmentCommandOutput>;
52
58
  describeAttachment(args: DescribeAttachmentCommandInput, cb: (err: any, data?: DescribeAttachmentCommandOutput) => void): void;
53
- describeAttachment(args: DescribeAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttachmentCommandOutput) => void): void;
59
+ describeAttachment(args: DescribeAttachmentCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeAttachmentCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link DescribeAttachmentUploadStatusCommand}
56
62
  */
57
- describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttachmentUploadStatusCommandOutput>;
63
+ describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options?: SupportRequestOptions): Promise<DescribeAttachmentUploadStatusCommandOutput>;
58
64
  describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void): void;
59
- describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void): void;
65
+ describeAttachmentUploadStatus(args: DescribeAttachmentUploadStatusCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link DescribeCasesCommand}
62
68
  */
63
69
  describeCases(): Promise<DescribeCasesCommandOutput>;
64
- describeCases(args: DescribeCasesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCasesCommandOutput>;
70
+ describeCases(args: DescribeCasesCommandInput, options?: SupportRequestOptions): Promise<DescribeCasesCommandOutput>;
65
71
  describeCases(args: DescribeCasesCommandInput, cb: (err: any, data?: DescribeCasesCommandOutput) => void): void;
66
- describeCases(args: DescribeCasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCasesCommandOutput) => void): void;
72
+ describeCases(args: DescribeCasesCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeCasesCommandOutput) => void): void;
67
73
  /**
68
74
  * @see {@link DescribeCommunicationsCommand}
69
75
  */
70
- describeCommunications(args: DescribeCommunicationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCommunicationsCommandOutput>;
76
+ describeCommunications(args: DescribeCommunicationsCommandInput, options?: SupportRequestOptions): Promise<DescribeCommunicationsCommandOutput>;
71
77
  describeCommunications(args: DescribeCommunicationsCommandInput, cb: (err: any, data?: DescribeCommunicationsCommandOutput) => void): void;
72
- describeCommunications(args: DescribeCommunicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCommunicationsCommandOutput) => void): void;
78
+ describeCommunications(args: DescribeCommunicationsCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeCommunicationsCommandOutput) => void): void;
73
79
  /**
74
80
  * @see {@link DescribeCreateCaseOptionsCommand}
75
81
  */
76
- describeCreateCaseOptions(args: DescribeCreateCaseOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCreateCaseOptionsCommandOutput>;
82
+ describeCreateCaseOptions(args: DescribeCreateCaseOptionsCommandInput, options?: SupportRequestOptions): Promise<DescribeCreateCaseOptionsCommandOutput>;
77
83
  describeCreateCaseOptions(args: DescribeCreateCaseOptionsCommandInput, cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void): void;
78
- describeCreateCaseOptions(args: DescribeCreateCaseOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void): void;
84
+ describeCreateCaseOptions(args: DescribeCreateCaseOptionsCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void): void;
79
85
  /**
80
86
  * @see {@link DescribeServicesCommand}
81
87
  */
82
88
  describeServices(): Promise<DescribeServicesCommandOutput>;
83
- describeServices(args: DescribeServicesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServicesCommandOutput>;
89
+ describeServices(args: DescribeServicesCommandInput, options?: SupportRequestOptions): Promise<DescribeServicesCommandOutput>;
84
90
  describeServices(args: DescribeServicesCommandInput, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
85
- describeServices(args: DescribeServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
91
+ describeServices(args: DescribeServicesCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
86
92
  /**
87
93
  * @see {@link DescribeSeverityLevelsCommand}
88
94
  */
89
95
  describeSeverityLevels(): Promise<DescribeSeverityLevelsCommandOutput>;
90
- describeSeverityLevels(args: DescribeSeverityLevelsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSeverityLevelsCommandOutput>;
96
+ describeSeverityLevels(args: DescribeSeverityLevelsCommandInput, options?: SupportRequestOptions): Promise<DescribeSeverityLevelsCommandOutput>;
91
97
  describeSeverityLevels(args: DescribeSeverityLevelsCommandInput, cb: (err: any, data?: DescribeSeverityLevelsCommandOutput) => void): void;
92
- describeSeverityLevels(args: DescribeSeverityLevelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSeverityLevelsCommandOutput) => void): void;
98
+ describeSeverityLevels(args: DescribeSeverityLevelsCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeSeverityLevelsCommandOutput) => void): void;
93
99
  /**
94
100
  * @see {@link DescribeSupportedLanguagesCommand}
95
101
  */
96
- describeSupportedLanguages(args: DescribeSupportedLanguagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSupportedLanguagesCommandOutput>;
102
+ describeSupportedLanguages(args: DescribeSupportedLanguagesCommandInput, options?: SupportRequestOptions): Promise<DescribeSupportedLanguagesCommandOutput>;
97
103
  describeSupportedLanguages(args: DescribeSupportedLanguagesCommandInput, cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void): void;
98
- describeSupportedLanguages(args: DescribeSupportedLanguagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void): void;
104
+ describeSupportedLanguages(args: DescribeSupportedLanguagesCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link DescribeTrustedAdvisorCheckRefreshStatusesCommand}
101
107
  */
102
- describeTrustedAdvisorCheckRefreshStatuses(args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput>;
108
+ describeTrustedAdvisorCheckRefreshStatuses(args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, options?: SupportRequestOptions): Promise<DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput>;
103
109
  describeTrustedAdvisorCheckRefreshStatuses(args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, cb: (err: any, data?: DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput) => void): void;
104
- describeTrustedAdvisorCheckRefreshStatuses(args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput) => void): void;
110
+ describeTrustedAdvisorCheckRefreshStatuses(args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link DescribeTrustedAdvisorCheckResultCommand}
107
113
  */
108
- describeTrustedAdvisorCheckResult(args: DescribeTrustedAdvisorCheckResultCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustedAdvisorCheckResultCommandOutput>;
114
+ describeTrustedAdvisorCheckResult(args: DescribeTrustedAdvisorCheckResultCommandInput, options?: SupportRequestOptions): Promise<DescribeTrustedAdvisorCheckResultCommandOutput>;
109
115
  describeTrustedAdvisorCheckResult(args: DescribeTrustedAdvisorCheckResultCommandInput, cb: (err: any, data?: DescribeTrustedAdvisorCheckResultCommandOutput) => void): void;
110
- describeTrustedAdvisorCheckResult(args: DescribeTrustedAdvisorCheckResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckResultCommandOutput) => void): void;
116
+ describeTrustedAdvisorCheckResult(args: DescribeTrustedAdvisorCheckResultCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckResultCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link DescribeTrustedAdvisorChecksCommand}
113
119
  */
114
- describeTrustedAdvisorChecks(args: DescribeTrustedAdvisorChecksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustedAdvisorChecksCommandOutput>;
120
+ describeTrustedAdvisorChecks(args: DescribeTrustedAdvisorChecksCommandInput, options?: SupportRequestOptions): Promise<DescribeTrustedAdvisorChecksCommandOutput>;
115
121
  describeTrustedAdvisorChecks(args: DescribeTrustedAdvisorChecksCommandInput, cb: (err: any, data?: DescribeTrustedAdvisorChecksCommandOutput) => void): void;
116
- describeTrustedAdvisorChecks(args: DescribeTrustedAdvisorChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustedAdvisorChecksCommandOutput) => void): void;
122
+ describeTrustedAdvisorChecks(args: DescribeTrustedAdvisorChecksCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeTrustedAdvisorChecksCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link DescribeTrustedAdvisorCheckSummariesCommand}
119
125
  */
120
- describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrustedAdvisorCheckSummariesCommandOutput>;
126
+ describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options?: SupportRequestOptions): Promise<DescribeTrustedAdvisorCheckSummariesCommandOutput>;
121
127
  describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void): void;
122
- describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void): void;
128
+ describeTrustedAdvisorCheckSummaries(args: DescribeTrustedAdvisorCheckSummariesCommandInput, options: SupportRequestOptions, cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void): void;
123
129
  /**
124
130
  * @see {@link GetAttachmentDownloadLinkCommand}
125
131
  */
126
- getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetAttachmentDownloadLinkCommandOutput>;
132
+ getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options?: SupportRequestOptions): Promise<GetAttachmentDownloadLinkCommandOutput>;
127
133
  getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void): void;
128
- getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void): void;
134
+ getAttachmentDownloadLink(args: GetAttachmentDownloadLinkCommandInput, options: SupportRequestOptions, cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void): void;
129
135
  /**
130
136
  * @see {@link GetAttachmentUploadLinksCommand}
131
137
  */
132
- getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options?: __HttpHandlerOptions): Promise<GetAttachmentUploadLinksCommandOutput>;
138
+ getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options?: SupportRequestOptions): Promise<GetAttachmentUploadLinksCommandOutput>;
133
139
  getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void): void;
134
- getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void): void;
140
+ getAttachmentUploadLinks(args: GetAttachmentUploadLinksCommandInput, options: SupportRequestOptions, cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void): void;
135
141
  /**
136
142
  * @see {@link RefreshTrustedAdvisorCheckCommand}
137
143
  */
138
- refreshTrustedAdvisorCheck(args: RefreshTrustedAdvisorCheckCommandInput, options?: __HttpHandlerOptions): Promise<RefreshTrustedAdvisorCheckCommandOutput>;
144
+ refreshTrustedAdvisorCheck(args: RefreshTrustedAdvisorCheckCommandInput, options?: SupportRequestOptions): Promise<RefreshTrustedAdvisorCheckCommandOutput>;
139
145
  refreshTrustedAdvisorCheck(args: RefreshTrustedAdvisorCheckCommandInput, cb: (err: any, data?: RefreshTrustedAdvisorCheckCommandOutput) => void): void;
140
- refreshTrustedAdvisorCheck(args: RefreshTrustedAdvisorCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RefreshTrustedAdvisorCheckCommandOutput) => void): void;
146
+ refreshTrustedAdvisorCheck(args: RefreshTrustedAdvisorCheckCommandInput, options: SupportRequestOptions, cb: (err: any, data?: RefreshTrustedAdvisorCheckCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link ResolveCaseCommand}
143
149
  */
144
150
  resolveCase(): Promise<ResolveCaseCommandOutput>;
145
- resolveCase(args: ResolveCaseCommandInput, options?: __HttpHandlerOptions): Promise<ResolveCaseCommandOutput>;
151
+ resolveCase(args: ResolveCaseCommandInput, options?: SupportRequestOptions): Promise<ResolveCaseCommandOutput>;
146
152
  resolveCase(args: ResolveCaseCommandInput, cb: (err: any, data?: ResolveCaseCommandOutput) => void): void;
147
- resolveCase(args: ResolveCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveCaseCommandOutput) => void): void;
153
+ resolveCase(args: ResolveCaseCommandInput, options: SupportRequestOptions, cb: (err: any, data?: ResolveCaseCommandOutput) => void): void;
148
154
  /**
149
155
  * @see {@link DescribeCasesCommand}
150
156
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -78,10 +79,13 @@ import {
78
79
  } from "./commands/RefreshTrustedAdvisorCheckCommand";
79
80
  import { ResolveCaseCommandInput, ResolveCaseCommandOutput } from "./commands/ResolveCaseCommand";
80
81
  import { SupportClient } from "./SupportClient";
82
+ export interface SupportRequestOptions extends __HttpHandlerOptions {
83
+ metricsRecorder?: __MetricsRecorder<unknown>;
84
+ }
81
85
  export interface Support {
82
86
  addAttachmentsToSet(
83
87
  args: AddAttachmentsToSetCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: SupportRequestOptions,
85
89
  ): Promise<AddAttachmentsToSetCommandOutput>;
86
90
  addAttachmentsToSet(
87
91
  args: AddAttachmentsToSetCommandInput,
@@ -89,12 +93,12 @@ export interface Support {
89
93
  ): void;
90
94
  addAttachmentsToSet(
91
95
  args: AddAttachmentsToSetCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: SupportRequestOptions,
93
97
  cb: (err: any, data?: AddAttachmentsToSetCommandOutput) => void,
94
98
  ): void;
95
99
  addCommunicationToCase(
96
100
  args: AddCommunicationToCaseCommandInput,
97
- options?: __HttpHandlerOptions,
101
+ options?: SupportRequestOptions,
98
102
  ): Promise<AddCommunicationToCaseCommandOutput>;
99
103
  addCommunicationToCase(
100
104
  args: AddCommunicationToCaseCommandInput,
@@ -102,12 +106,12 @@ export interface Support {
102
106
  ): void;
103
107
  addCommunicationToCase(
104
108
  args: AddCommunicationToCaseCommandInput,
105
- options: __HttpHandlerOptions,
109
+ options: SupportRequestOptions,
106
110
  cb: (err: any, data?: AddCommunicationToCaseCommandOutput) => void,
107
111
  ): void;
108
112
  completeAttachmentUpload(
109
113
  args: CompleteAttachmentUploadCommandInput,
110
- options?: __HttpHandlerOptions,
114
+ options?: SupportRequestOptions,
111
115
  ): Promise<CompleteAttachmentUploadCommandOutput>;
112
116
  completeAttachmentUpload(
113
117
  args: CompleteAttachmentUploadCommandInput,
@@ -115,12 +119,12 @@ export interface Support {
115
119
  ): void;
116
120
  completeAttachmentUpload(
117
121
  args: CompleteAttachmentUploadCommandInput,
118
- options: __HttpHandlerOptions,
122
+ options: SupportRequestOptions,
119
123
  cb: (err: any, data?: CompleteAttachmentUploadCommandOutput) => void,
120
124
  ): void;
121
125
  createCase(
122
126
  args: CreateCaseCommandInput,
123
- options?: __HttpHandlerOptions,
127
+ options?: SupportRequestOptions,
124
128
  ): Promise<CreateCaseCommandOutput>;
125
129
  createCase(
126
130
  args: CreateCaseCommandInput,
@@ -128,12 +132,12 @@ export interface Support {
128
132
  ): void;
129
133
  createCase(
130
134
  args: CreateCaseCommandInput,
131
- options: __HttpHandlerOptions,
135
+ options: SupportRequestOptions,
132
136
  cb: (err: any, data?: CreateCaseCommandOutput) => void,
133
137
  ): void;
134
138
  describeAttachment(
135
139
  args: DescribeAttachmentCommandInput,
136
- options?: __HttpHandlerOptions,
140
+ options?: SupportRequestOptions,
137
141
  ): Promise<DescribeAttachmentCommandOutput>;
138
142
  describeAttachment(
139
143
  args: DescribeAttachmentCommandInput,
@@ -141,12 +145,12 @@ export interface Support {
141
145
  ): void;
142
146
  describeAttachment(
143
147
  args: DescribeAttachmentCommandInput,
144
- options: __HttpHandlerOptions,
148
+ options: SupportRequestOptions,
145
149
  cb: (err: any, data?: DescribeAttachmentCommandOutput) => void,
146
150
  ): void;
147
151
  describeAttachmentUploadStatus(
148
152
  args: DescribeAttachmentUploadStatusCommandInput,
149
- options?: __HttpHandlerOptions,
153
+ options?: SupportRequestOptions,
150
154
  ): Promise<DescribeAttachmentUploadStatusCommandOutput>;
151
155
  describeAttachmentUploadStatus(
152
156
  args: DescribeAttachmentUploadStatusCommandInput,
@@ -154,13 +158,13 @@ export interface Support {
154
158
  ): void;
155
159
  describeAttachmentUploadStatus(
156
160
  args: DescribeAttachmentUploadStatusCommandInput,
157
- options: __HttpHandlerOptions,
161
+ options: SupportRequestOptions,
158
162
  cb: (err: any, data?: DescribeAttachmentUploadStatusCommandOutput) => void,
159
163
  ): void;
160
164
  describeCases(): Promise<DescribeCasesCommandOutput>;
161
165
  describeCases(
162
166
  args: DescribeCasesCommandInput,
163
- options?: __HttpHandlerOptions,
167
+ options?: SupportRequestOptions,
164
168
  ): Promise<DescribeCasesCommandOutput>;
165
169
  describeCases(
166
170
  args: DescribeCasesCommandInput,
@@ -168,12 +172,12 @@ export interface Support {
168
172
  ): void;
169
173
  describeCases(
170
174
  args: DescribeCasesCommandInput,
171
- options: __HttpHandlerOptions,
175
+ options: SupportRequestOptions,
172
176
  cb: (err: any, data?: DescribeCasesCommandOutput) => void,
173
177
  ): void;
174
178
  describeCommunications(
175
179
  args: DescribeCommunicationsCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: SupportRequestOptions,
177
181
  ): Promise<DescribeCommunicationsCommandOutput>;
178
182
  describeCommunications(
179
183
  args: DescribeCommunicationsCommandInput,
@@ -181,12 +185,12 @@ export interface Support {
181
185
  ): void;
182
186
  describeCommunications(
183
187
  args: DescribeCommunicationsCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: SupportRequestOptions,
185
189
  cb: (err: any, data?: DescribeCommunicationsCommandOutput) => void,
186
190
  ): void;
187
191
  describeCreateCaseOptions(
188
192
  args: DescribeCreateCaseOptionsCommandInput,
189
- options?: __HttpHandlerOptions,
193
+ options?: SupportRequestOptions,
190
194
  ): Promise<DescribeCreateCaseOptionsCommandOutput>;
191
195
  describeCreateCaseOptions(
192
196
  args: DescribeCreateCaseOptionsCommandInput,
@@ -194,13 +198,13 @@ export interface Support {
194
198
  ): void;
195
199
  describeCreateCaseOptions(
196
200
  args: DescribeCreateCaseOptionsCommandInput,
197
- options: __HttpHandlerOptions,
201
+ options: SupportRequestOptions,
198
202
  cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void,
199
203
  ): void;
200
204
  describeServices(): Promise<DescribeServicesCommandOutput>;
201
205
  describeServices(
202
206
  args: DescribeServicesCommandInput,
203
- options?: __HttpHandlerOptions,
207
+ options?: SupportRequestOptions,
204
208
  ): Promise<DescribeServicesCommandOutput>;
205
209
  describeServices(
206
210
  args: DescribeServicesCommandInput,
@@ -208,13 +212,13 @@ export interface Support {
208
212
  ): void;
209
213
  describeServices(
210
214
  args: DescribeServicesCommandInput,
211
- options: __HttpHandlerOptions,
215
+ options: SupportRequestOptions,
212
216
  cb: (err: any, data?: DescribeServicesCommandOutput) => void,
213
217
  ): void;
214
218
  describeSeverityLevels(): Promise<DescribeSeverityLevelsCommandOutput>;
215
219
  describeSeverityLevels(
216
220
  args: DescribeSeverityLevelsCommandInput,
217
- options?: __HttpHandlerOptions,
221
+ options?: SupportRequestOptions,
218
222
  ): Promise<DescribeSeverityLevelsCommandOutput>;
219
223
  describeSeverityLevels(
220
224
  args: DescribeSeverityLevelsCommandInput,
@@ -222,12 +226,12 @@ export interface Support {
222
226
  ): void;
223
227
  describeSeverityLevels(
224
228
  args: DescribeSeverityLevelsCommandInput,
225
- options: __HttpHandlerOptions,
229
+ options: SupportRequestOptions,
226
230
  cb: (err: any, data?: DescribeSeverityLevelsCommandOutput) => void,
227
231
  ): void;
228
232
  describeSupportedLanguages(
229
233
  args: DescribeSupportedLanguagesCommandInput,
230
- options?: __HttpHandlerOptions,
234
+ options?: SupportRequestOptions,
231
235
  ): Promise<DescribeSupportedLanguagesCommandOutput>;
232
236
  describeSupportedLanguages(
233
237
  args: DescribeSupportedLanguagesCommandInput,
@@ -235,12 +239,12 @@ export interface Support {
235
239
  ): void;
236
240
  describeSupportedLanguages(
237
241
  args: DescribeSupportedLanguagesCommandInput,
238
- options: __HttpHandlerOptions,
242
+ options: SupportRequestOptions,
239
243
  cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void,
240
244
  ): void;
241
245
  describeTrustedAdvisorCheckRefreshStatuses(
242
246
  args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
243
- options?: __HttpHandlerOptions,
247
+ options?: SupportRequestOptions,
244
248
  ): Promise<DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput>;
245
249
  describeTrustedAdvisorCheckRefreshStatuses(
246
250
  args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
@@ -248,12 +252,12 @@ export interface Support {
248
252
  ): void;
249
253
  describeTrustedAdvisorCheckRefreshStatuses(
250
254
  args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
251
- options: __HttpHandlerOptions,
255
+ options: SupportRequestOptions,
252
256
  cb: (err: any, data?: DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput) => void,
253
257
  ): void;
254
258
  describeTrustedAdvisorCheckResult(
255
259
  args: DescribeTrustedAdvisorCheckResultCommandInput,
256
- options?: __HttpHandlerOptions,
260
+ options?: SupportRequestOptions,
257
261
  ): Promise<DescribeTrustedAdvisorCheckResultCommandOutput>;
258
262
  describeTrustedAdvisorCheckResult(
259
263
  args: DescribeTrustedAdvisorCheckResultCommandInput,
@@ -261,12 +265,12 @@ export interface Support {
261
265
  ): void;
262
266
  describeTrustedAdvisorCheckResult(
263
267
  args: DescribeTrustedAdvisorCheckResultCommandInput,
264
- options: __HttpHandlerOptions,
268
+ options: SupportRequestOptions,
265
269
  cb: (err: any, data?: DescribeTrustedAdvisorCheckResultCommandOutput) => void,
266
270
  ): void;
267
271
  describeTrustedAdvisorChecks(
268
272
  args: DescribeTrustedAdvisorChecksCommandInput,
269
- options?: __HttpHandlerOptions,
273
+ options?: SupportRequestOptions,
270
274
  ): Promise<DescribeTrustedAdvisorChecksCommandOutput>;
271
275
  describeTrustedAdvisorChecks(
272
276
  args: DescribeTrustedAdvisorChecksCommandInput,
@@ -274,12 +278,12 @@ export interface Support {
274
278
  ): void;
275
279
  describeTrustedAdvisorChecks(
276
280
  args: DescribeTrustedAdvisorChecksCommandInput,
277
- options: __HttpHandlerOptions,
281
+ options: SupportRequestOptions,
278
282
  cb: (err: any, data?: DescribeTrustedAdvisorChecksCommandOutput) => void,
279
283
  ): void;
280
284
  describeTrustedAdvisorCheckSummaries(
281
285
  args: DescribeTrustedAdvisorCheckSummariesCommandInput,
282
- options?: __HttpHandlerOptions,
286
+ options?: SupportRequestOptions,
283
287
  ): Promise<DescribeTrustedAdvisorCheckSummariesCommandOutput>;
284
288
  describeTrustedAdvisorCheckSummaries(
285
289
  args: DescribeTrustedAdvisorCheckSummariesCommandInput,
@@ -287,12 +291,12 @@ export interface Support {
287
291
  ): void;
288
292
  describeTrustedAdvisorCheckSummaries(
289
293
  args: DescribeTrustedAdvisorCheckSummariesCommandInput,
290
- options: __HttpHandlerOptions,
294
+ options: SupportRequestOptions,
291
295
  cb: (err: any, data?: DescribeTrustedAdvisorCheckSummariesCommandOutput) => void,
292
296
  ): void;
293
297
  getAttachmentDownloadLink(
294
298
  args: GetAttachmentDownloadLinkCommandInput,
295
- options?: __HttpHandlerOptions,
299
+ options?: SupportRequestOptions,
296
300
  ): Promise<GetAttachmentDownloadLinkCommandOutput>;
297
301
  getAttachmentDownloadLink(
298
302
  args: GetAttachmentDownloadLinkCommandInput,
@@ -300,12 +304,12 @@ export interface Support {
300
304
  ): void;
301
305
  getAttachmentDownloadLink(
302
306
  args: GetAttachmentDownloadLinkCommandInput,
303
- options: __HttpHandlerOptions,
307
+ options: SupportRequestOptions,
304
308
  cb: (err: any, data?: GetAttachmentDownloadLinkCommandOutput) => void,
305
309
  ): void;
306
310
  getAttachmentUploadLinks(
307
311
  args: GetAttachmentUploadLinksCommandInput,
308
- options?: __HttpHandlerOptions,
312
+ options?: SupportRequestOptions,
309
313
  ): Promise<GetAttachmentUploadLinksCommandOutput>;
310
314
  getAttachmentUploadLinks(
311
315
  args: GetAttachmentUploadLinksCommandInput,
@@ -313,12 +317,12 @@ export interface Support {
313
317
  ): void;
314
318
  getAttachmentUploadLinks(
315
319
  args: GetAttachmentUploadLinksCommandInput,
316
- options: __HttpHandlerOptions,
320
+ options: SupportRequestOptions,
317
321
  cb: (err: any, data?: GetAttachmentUploadLinksCommandOutput) => void,
318
322
  ): void;
319
323
  refreshTrustedAdvisorCheck(
320
324
  args: RefreshTrustedAdvisorCheckCommandInput,
321
- options?: __HttpHandlerOptions,
325
+ options?: SupportRequestOptions,
322
326
  ): Promise<RefreshTrustedAdvisorCheckCommandOutput>;
323
327
  refreshTrustedAdvisorCheck(
324
328
  args: RefreshTrustedAdvisorCheckCommandInput,
@@ -326,13 +330,13 @@ export interface Support {
326
330
  ): void;
327
331
  refreshTrustedAdvisorCheck(
328
332
  args: RefreshTrustedAdvisorCheckCommandInput,
329
- options: __HttpHandlerOptions,
333
+ options: SupportRequestOptions,
330
334
  cb: (err: any, data?: RefreshTrustedAdvisorCheckCommandOutput) => void,
331
335
  ): void;
332
336
  resolveCase(): Promise<ResolveCaseCommandOutput>;
333
337
  resolveCase(
334
338
  args: ResolveCaseCommandInput,
335
- options?: __HttpHandlerOptions,
339
+ options?: SupportRequestOptions,
336
340
  ): Promise<ResolveCaseCommandOutput>;
337
341
  resolveCase(
338
342
  args: ResolveCaseCommandInput,
@@ -340,7 +344,7 @@ export interface Support {
340
344
  ): void;
341
345
  resolveCase(
342
346
  args: ResolveCaseCommandInput,
343
- options: __HttpHandlerOptions,
347
+ options: SupportRequestOptions,
344
348
  cb: (err: any, data?: ResolveCaseCommandOutput) => void,
345
349
  ): void;
346
350
  paginateDescribeCases(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-support",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-support",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {