@aws-sdk/client-security-ir 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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1138.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -495,10 +495,10 @@ const _w = "watchers";
495
495
  const _wTA = "watchersToAdd";
496
496
  const _wTD = "watchersToDelete";
497
497
  const n0 = "com.amazonaws.securityir";
498
- const _s_registry = TypeRegistry.for(_s);
498
+ const _s_registry = new TypeRegistry(_s);
499
499
  var SecurityIRServiceException$ = [-3, _s, "SecurityIRServiceException", 0, [], []];
500
500
  _s_registry.registerError(SecurityIRServiceException$, SecurityIRServiceException);
501
- const n0_registry = TypeRegistry.for(n0);
501
+ const n0_registry = new TypeRegistry(n0);
502
502
  var AccessDeniedException$ = [-3, n0, _ADE,
503
503
  { [_e]: _c, [_hE]: 403 },
504
504
  [_m],
@@ -239,10 +239,10 @@ const n0 = "com.amazonaws.securityir";
239
239
  import { TypeRegistry } from "@smithy/core/schema";
240
240
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidTokenException, ResourceNotFoundException, SecurityIncidentResponseNotActiveException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
241
241
  import { SecurityIRServiceException } from "../models/SecurityIRServiceException";
242
- const _s_registry = TypeRegistry.for(_s);
242
+ const _s_registry = new TypeRegistry(_s);
243
243
  export var SecurityIRServiceException$ = [-3, _s, "SecurityIRServiceException", 0, [], []];
244
244
  _s_registry.registerError(SecurityIRServiceException$, SecurityIRServiceException);
245
- const n0_registry = TypeRegistry.for(n0);
245
+ const n0_registry = new TypeRegistry(n0);
246
246
  export var AccessDeniedException$ = [-3, n0, _ADE,
247
247
  { [_e]: _c, [_hE]: 403 },
248
248
  [_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 BatchGetMemberAccountDetailsCommandInput, type BatchGetMemberAccountDetailsCommandOutput } from "./commands/BatchGetMemberAccountDetailsCommand";
3
3
  import { type CancelMembershipCommandInput, type CancelMembershipCommandOutput } from "./commands/CancelMembershipCommand";
4
4
  import { type CloseCaseCommandInput, type CloseCaseCommandOutput } from "./commands/CloseCaseCommand";
@@ -24,153 +24,159 @@ import { type UpdateCaseStatusCommandInput, type UpdateCaseStatusCommandOutput }
24
24
  import { type UpdateMembershipCommandInput, type UpdateMembershipCommandOutput } from "./commands/UpdateMembershipCommand";
25
25
  import { type UpdateResolverTypeCommandInput, type UpdateResolverTypeCommandOutput } from "./commands/UpdateResolverTypeCommand";
26
26
  import { SecurityIRClient } from "./SecurityIRClient";
27
+ /**
28
+ * @public
29
+ */
30
+ export interface SecurityIRRequestOptions extends __HttpHandlerOptions {
31
+ metricsRecorder?: __MetricsRecorder<unknown>;
32
+ }
27
33
  export interface SecurityIR {
28
34
  /**
29
35
  * @see {@link BatchGetMemberAccountDetailsCommand}
30
36
  */
31
- batchGetMemberAccountDetails(args: BatchGetMemberAccountDetailsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetMemberAccountDetailsCommandOutput>;
37
+ batchGetMemberAccountDetails(args: BatchGetMemberAccountDetailsCommandInput, options?: SecurityIRRequestOptions): Promise<BatchGetMemberAccountDetailsCommandOutput>;
32
38
  batchGetMemberAccountDetails(args: BatchGetMemberAccountDetailsCommandInput, cb: (err: any, data?: BatchGetMemberAccountDetailsCommandOutput) => void): void;
33
- batchGetMemberAccountDetails(args: BatchGetMemberAccountDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetMemberAccountDetailsCommandOutput) => void): void;
39
+ batchGetMemberAccountDetails(args: BatchGetMemberAccountDetailsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: BatchGetMemberAccountDetailsCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link CancelMembershipCommand}
36
42
  */
37
- cancelMembership(args: CancelMembershipCommandInput, options?: __HttpHandlerOptions): Promise<CancelMembershipCommandOutput>;
43
+ cancelMembership(args: CancelMembershipCommandInput, options?: SecurityIRRequestOptions): Promise<CancelMembershipCommandOutput>;
38
44
  cancelMembership(args: CancelMembershipCommandInput, cb: (err: any, data?: CancelMembershipCommandOutput) => void): void;
39
- cancelMembership(args: CancelMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelMembershipCommandOutput) => void): void;
45
+ cancelMembership(args: CancelMembershipCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: CancelMembershipCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link CloseCaseCommand}
42
48
  */
43
- closeCase(args: CloseCaseCommandInput, options?: __HttpHandlerOptions): Promise<CloseCaseCommandOutput>;
49
+ closeCase(args: CloseCaseCommandInput, options?: SecurityIRRequestOptions): Promise<CloseCaseCommandOutput>;
44
50
  closeCase(args: CloseCaseCommandInput, cb: (err: any, data?: CloseCaseCommandOutput) => void): void;
45
- closeCase(args: CloseCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CloseCaseCommandOutput) => void): void;
51
+ closeCase(args: CloseCaseCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: CloseCaseCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link CreateCaseCommand}
48
54
  */
49
- createCase(args: CreateCaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateCaseCommandOutput>;
55
+ createCase(args: CreateCaseCommandInput, options?: SecurityIRRequestOptions): Promise<CreateCaseCommandOutput>;
50
56
  createCase(args: CreateCaseCommandInput, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
51
- createCase(args: CreateCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
57
+ createCase(args: CreateCaseCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: CreateCaseCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link CreateCaseCommentCommand}
54
60
  */
55
- createCaseComment(args: CreateCaseCommentCommandInput, options?: __HttpHandlerOptions): Promise<CreateCaseCommentCommandOutput>;
61
+ createCaseComment(args: CreateCaseCommentCommandInput, options?: SecurityIRRequestOptions): Promise<CreateCaseCommentCommandOutput>;
56
62
  createCaseComment(args: CreateCaseCommentCommandInput, cb: (err: any, data?: CreateCaseCommentCommandOutput) => void): void;
57
- createCaseComment(args: CreateCaseCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCaseCommentCommandOutput) => void): void;
63
+ createCaseComment(args: CreateCaseCommentCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: CreateCaseCommentCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link CreateMembershipCommand}
60
66
  */
61
- createMembership(args: CreateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<CreateMembershipCommandOutput>;
67
+ createMembership(args: CreateMembershipCommandInput, options?: SecurityIRRequestOptions): Promise<CreateMembershipCommandOutput>;
62
68
  createMembership(args: CreateMembershipCommandInput, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
63
- createMembership(args: CreateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
69
+ createMembership(args: CreateMembershipCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link GetCaseCommand}
66
72
  */
67
- getCase(args: GetCaseCommandInput, options?: __HttpHandlerOptions): Promise<GetCaseCommandOutput>;
73
+ getCase(args: GetCaseCommandInput, options?: SecurityIRRequestOptions): Promise<GetCaseCommandOutput>;
68
74
  getCase(args: GetCaseCommandInput, cb: (err: any, data?: GetCaseCommandOutput) => void): void;
69
- getCase(args: GetCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCaseCommandOutput) => void): void;
75
+ getCase(args: GetCaseCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetCaseCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link GetCaseAttachmentDownloadUrlCommand}
72
78
  */
73
- getCaseAttachmentDownloadUrl(args: GetCaseAttachmentDownloadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetCaseAttachmentDownloadUrlCommandOutput>;
79
+ getCaseAttachmentDownloadUrl(args: GetCaseAttachmentDownloadUrlCommandInput, options?: SecurityIRRequestOptions): Promise<GetCaseAttachmentDownloadUrlCommandOutput>;
74
80
  getCaseAttachmentDownloadUrl(args: GetCaseAttachmentDownloadUrlCommandInput, cb: (err: any, data?: GetCaseAttachmentDownloadUrlCommandOutput) => void): void;
75
- getCaseAttachmentDownloadUrl(args: GetCaseAttachmentDownloadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCaseAttachmentDownloadUrlCommandOutput) => void): void;
81
+ getCaseAttachmentDownloadUrl(args: GetCaseAttachmentDownloadUrlCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetCaseAttachmentDownloadUrlCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link GetCaseAttachmentUploadUrlCommand}
78
84
  */
79
- getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetCaseAttachmentUploadUrlCommandOutput>;
85
+ getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options?: SecurityIRRequestOptions): Promise<GetCaseAttachmentUploadUrlCommandOutput>;
80
86
  getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void): void;
81
- getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void): void;
87
+ getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link GetMembershipCommand}
84
90
  */
85
- getMembership(args: GetMembershipCommandInput, options?: __HttpHandlerOptions): Promise<GetMembershipCommandOutput>;
91
+ getMembership(args: GetMembershipCommandInput, options?: SecurityIRRequestOptions): Promise<GetMembershipCommandOutput>;
86
92
  getMembership(args: GetMembershipCommandInput, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
87
- getMembership(args: GetMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
93
+ getMembership(args: GetMembershipCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link ListCaseEditsCommand}
90
96
  */
91
- listCaseEdits(args: ListCaseEditsCommandInput, options?: __HttpHandlerOptions): Promise<ListCaseEditsCommandOutput>;
97
+ listCaseEdits(args: ListCaseEditsCommandInput, options?: SecurityIRRequestOptions): Promise<ListCaseEditsCommandOutput>;
92
98
  listCaseEdits(args: ListCaseEditsCommandInput, cb: (err: any, data?: ListCaseEditsCommandOutput) => void): void;
93
- listCaseEdits(args: ListCaseEditsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCaseEditsCommandOutput) => void): void;
99
+ listCaseEdits(args: ListCaseEditsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListCaseEditsCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link ListCasesCommand}
96
102
  */
97
103
  listCases(): Promise<ListCasesCommandOutput>;
98
- listCases(args: ListCasesCommandInput, options?: __HttpHandlerOptions): Promise<ListCasesCommandOutput>;
104
+ listCases(args: ListCasesCommandInput, options?: SecurityIRRequestOptions): Promise<ListCasesCommandOutput>;
99
105
  listCases(args: ListCasesCommandInput, cb: (err: any, data?: ListCasesCommandOutput) => void): void;
100
- listCases(args: ListCasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCasesCommandOutput) => void): void;
106
+ listCases(args: ListCasesCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListCasesCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link ListCommentsCommand}
103
109
  */
104
- listComments(args: ListCommentsCommandInput, options?: __HttpHandlerOptions): Promise<ListCommentsCommandOutput>;
110
+ listComments(args: ListCommentsCommandInput, options?: SecurityIRRequestOptions): Promise<ListCommentsCommandOutput>;
105
111
  listComments(args: ListCommentsCommandInput, cb: (err: any, data?: ListCommentsCommandOutput) => void): void;
106
- listComments(args: ListCommentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCommentsCommandOutput) => void): void;
112
+ listComments(args: ListCommentsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListCommentsCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link ListInvestigationsCommand}
109
115
  */
110
- listInvestigations(args: ListInvestigationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationsCommandOutput>;
116
+ listInvestigations(args: ListInvestigationsCommandInput, options?: SecurityIRRequestOptions): Promise<ListInvestigationsCommandOutput>;
111
117
  listInvestigations(args: ListInvestigationsCommandInput, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
112
- listInvestigations(args: ListInvestigationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
118
+ listInvestigations(args: ListInvestigationsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link ListMembershipsCommand}
115
121
  */
116
122
  listMemberships(): Promise<ListMembershipsCommandOutput>;
117
- listMemberships(args: ListMembershipsCommandInput, options?: __HttpHandlerOptions): Promise<ListMembershipsCommandOutput>;
123
+ listMemberships(args: ListMembershipsCommandInput, options?: SecurityIRRequestOptions): Promise<ListMembershipsCommandOutput>;
118
124
  listMemberships(args: ListMembershipsCommandInput, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
119
- listMemberships(args: ListMembershipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
125
+ listMemberships(args: ListMembershipsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link ListTagsForResourceCommand}
122
128
  */
123
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
129
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: SecurityIRRequestOptions): Promise<ListTagsForResourceCommandOutput>;
124
130
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
125
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
131
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link SendFeedbackCommand}
128
134
  */
129
- sendFeedback(args: SendFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SendFeedbackCommandOutput>;
135
+ sendFeedback(args: SendFeedbackCommandInput, options?: SecurityIRRequestOptions): Promise<SendFeedbackCommandOutput>;
130
136
  sendFeedback(args: SendFeedbackCommandInput, cb: (err: any, data?: SendFeedbackCommandOutput) => void): void;
131
- sendFeedback(args: SendFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendFeedbackCommandOutput) => void): void;
137
+ sendFeedback(args: SendFeedbackCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: SendFeedbackCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link TagResourceCommand}
134
140
  */
135
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
141
+ tagResource(args: TagResourceCommandInput, options?: SecurityIRRequestOptions): Promise<TagResourceCommandOutput>;
136
142
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
137
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
143
+ tagResource(args: TagResourceCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link UntagResourceCommand}
140
146
  */
141
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
147
+ untagResource(args: UntagResourceCommandInput, options?: SecurityIRRequestOptions): Promise<UntagResourceCommandOutput>;
142
148
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
143
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
149
+ untagResource(args: UntagResourceCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link UpdateCaseCommand}
146
152
  */
147
- updateCase(args: UpdateCaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCaseCommandOutput>;
153
+ updateCase(args: UpdateCaseCommandInput, options?: SecurityIRRequestOptions): Promise<UpdateCaseCommandOutput>;
148
154
  updateCase(args: UpdateCaseCommandInput, cb: (err: any, data?: UpdateCaseCommandOutput) => void): void;
149
- updateCase(args: UpdateCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCaseCommandOutput) => void): void;
155
+ updateCase(args: UpdateCaseCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UpdateCaseCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link UpdateCaseCommentCommand}
152
158
  */
153
- updateCaseComment(args: UpdateCaseCommentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCaseCommentCommandOutput>;
159
+ updateCaseComment(args: UpdateCaseCommentCommandInput, options?: SecurityIRRequestOptions): Promise<UpdateCaseCommentCommandOutput>;
154
160
  updateCaseComment(args: UpdateCaseCommentCommandInput, cb: (err: any, data?: UpdateCaseCommentCommandOutput) => void): void;
155
- updateCaseComment(args: UpdateCaseCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCaseCommentCommandOutput) => void): void;
161
+ updateCaseComment(args: UpdateCaseCommentCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UpdateCaseCommentCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link UpdateCaseStatusCommand}
158
164
  */
159
- updateCaseStatus(args: UpdateCaseStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCaseStatusCommandOutput>;
165
+ updateCaseStatus(args: UpdateCaseStatusCommandInput, options?: SecurityIRRequestOptions): Promise<UpdateCaseStatusCommandOutput>;
160
166
  updateCaseStatus(args: UpdateCaseStatusCommandInput, cb: (err: any, data?: UpdateCaseStatusCommandOutput) => void): void;
161
- updateCaseStatus(args: UpdateCaseStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCaseStatusCommandOutput) => void): void;
167
+ updateCaseStatus(args: UpdateCaseStatusCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UpdateCaseStatusCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link UpdateMembershipCommand}
164
170
  */
165
- updateMembership(args: UpdateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMembershipCommandOutput>;
171
+ updateMembership(args: UpdateMembershipCommandInput, options?: SecurityIRRequestOptions): Promise<UpdateMembershipCommandOutput>;
166
172
  updateMembership(args: UpdateMembershipCommandInput, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
167
- updateMembership(args: UpdateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
173
+ updateMembership(args: UpdateMembershipCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
168
174
  /**
169
175
  * @see {@link UpdateResolverTypeCommand}
170
176
  */
171
- updateResolverType(args: UpdateResolverTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResolverTypeCommandOutput>;
177
+ updateResolverType(args: UpdateResolverTypeCommandInput, options?: SecurityIRRequestOptions): Promise<UpdateResolverTypeCommandOutput>;
172
178
  updateResolverType(args: UpdateResolverTypeCommandInput, cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void): void;
173
- updateResolverType(args: UpdateResolverTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void): void;
179
+ updateResolverType(args: UpdateResolverTypeCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void): void;
174
180
  /**
175
181
  * @see {@link ListCaseEditsCommand}
176
182
  * @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";
@@ -82,10 +83,13 @@ import {
82
83
  UpdateResolverTypeCommandOutput,
83
84
  } from "./commands/UpdateResolverTypeCommand";
84
85
  import { SecurityIRClient } from "./SecurityIRClient";
86
+ export interface SecurityIRRequestOptions extends __HttpHandlerOptions {
87
+ metricsRecorder?: __MetricsRecorder<unknown>;
88
+ }
85
89
  export interface SecurityIR {
86
90
  batchGetMemberAccountDetails(
87
91
  args: BatchGetMemberAccountDetailsCommandInput,
88
- options?: __HttpHandlerOptions,
92
+ options?: SecurityIRRequestOptions,
89
93
  ): Promise<BatchGetMemberAccountDetailsCommandOutput>;
90
94
  batchGetMemberAccountDetails(
91
95
  args: BatchGetMemberAccountDetailsCommandInput,
@@ -93,12 +97,12 @@ export interface SecurityIR {
93
97
  ): void;
94
98
  batchGetMemberAccountDetails(
95
99
  args: BatchGetMemberAccountDetailsCommandInput,
96
- options: __HttpHandlerOptions,
100
+ options: SecurityIRRequestOptions,
97
101
  cb: (err: any, data?: BatchGetMemberAccountDetailsCommandOutput) => void,
98
102
  ): void;
99
103
  cancelMembership(
100
104
  args: CancelMembershipCommandInput,
101
- options?: __HttpHandlerOptions,
105
+ options?: SecurityIRRequestOptions,
102
106
  ): Promise<CancelMembershipCommandOutput>;
103
107
  cancelMembership(
104
108
  args: CancelMembershipCommandInput,
@@ -106,12 +110,12 @@ export interface SecurityIR {
106
110
  ): void;
107
111
  cancelMembership(
108
112
  args: CancelMembershipCommandInput,
109
- options: __HttpHandlerOptions,
113
+ options: SecurityIRRequestOptions,
110
114
  cb: (err: any, data?: CancelMembershipCommandOutput) => void,
111
115
  ): void;
112
116
  closeCase(
113
117
  args: CloseCaseCommandInput,
114
- options?: __HttpHandlerOptions,
118
+ options?: SecurityIRRequestOptions,
115
119
  ): Promise<CloseCaseCommandOutput>;
116
120
  closeCase(
117
121
  args: CloseCaseCommandInput,
@@ -119,12 +123,12 @@ export interface SecurityIR {
119
123
  ): void;
120
124
  closeCase(
121
125
  args: CloseCaseCommandInput,
122
- options: __HttpHandlerOptions,
126
+ options: SecurityIRRequestOptions,
123
127
  cb: (err: any, data?: CloseCaseCommandOutput) => void,
124
128
  ): void;
125
129
  createCase(
126
130
  args: CreateCaseCommandInput,
127
- options?: __HttpHandlerOptions,
131
+ options?: SecurityIRRequestOptions,
128
132
  ): Promise<CreateCaseCommandOutput>;
129
133
  createCase(
130
134
  args: CreateCaseCommandInput,
@@ -132,12 +136,12 @@ export interface SecurityIR {
132
136
  ): void;
133
137
  createCase(
134
138
  args: CreateCaseCommandInput,
135
- options: __HttpHandlerOptions,
139
+ options: SecurityIRRequestOptions,
136
140
  cb: (err: any, data?: CreateCaseCommandOutput) => void,
137
141
  ): void;
138
142
  createCaseComment(
139
143
  args: CreateCaseCommentCommandInput,
140
- options?: __HttpHandlerOptions,
144
+ options?: SecurityIRRequestOptions,
141
145
  ): Promise<CreateCaseCommentCommandOutput>;
142
146
  createCaseComment(
143
147
  args: CreateCaseCommentCommandInput,
@@ -145,12 +149,12 @@ export interface SecurityIR {
145
149
  ): void;
146
150
  createCaseComment(
147
151
  args: CreateCaseCommentCommandInput,
148
- options: __HttpHandlerOptions,
152
+ options: SecurityIRRequestOptions,
149
153
  cb: (err: any, data?: CreateCaseCommentCommandOutput) => void,
150
154
  ): void;
151
155
  createMembership(
152
156
  args: CreateMembershipCommandInput,
153
- options?: __HttpHandlerOptions,
157
+ options?: SecurityIRRequestOptions,
154
158
  ): Promise<CreateMembershipCommandOutput>;
155
159
  createMembership(
156
160
  args: CreateMembershipCommandInput,
@@ -158,19 +162,22 @@ export interface SecurityIR {
158
162
  ): void;
159
163
  createMembership(
160
164
  args: CreateMembershipCommandInput,
161
- options: __HttpHandlerOptions,
165
+ options: SecurityIRRequestOptions,
162
166
  cb: (err: any, data?: CreateMembershipCommandOutput) => void,
163
167
  ): void;
164
- getCase(args: GetCaseCommandInput, options?: __HttpHandlerOptions): Promise<GetCaseCommandOutput>;
168
+ getCase(
169
+ args: GetCaseCommandInput,
170
+ options?: SecurityIRRequestOptions,
171
+ ): Promise<GetCaseCommandOutput>;
165
172
  getCase(args: GetCaseCommandInput, cb: (err: any, data?: GetCaseCommandOutput) => void): void;
166
173
  getCase(
167
174
  args: GetCaseCommandInput,
168
- options: __HttpHandlerOptions,
175
+ options: SecurityIRRequestOptions,
169
176
  cb: (err: any, data?: GetCaseCommandOutput) => void,
170
177
  ): void;
171
178
  getCaseAttachmentDownloadUrl(
172
179
  args: GetCaseAttachmentDownloadUrlCommandInput,
173
- options?: __HttpHandlerOptions,
180
+ options?: SecurityIRRequestOptions,
174
181
  ): Promise<GetCaseAttachmentDownloadUrlCommandOutput>;
175
182
  getCaseAttachmentDownloadUrl(
176
183
  args: GetCaseAttachmentDownloadUrlCommandInput,
@@ -178,12 +185,12 @@ export interface SecurityIR {
178
185
  ): void;
179
186
  getCaseAttachmentDownloadUrl(
180
187
  args: GetCaseAttachmentDownloadUrlCommandInput,
181
- options: __HttpHandlerOptions,
188
+ options: SecurityIRRequestOptions,
182
189
  cb: (err: any, data?: GetCaseAttachmentDownloadUrlCommandOutput) => void,
183
190
  ): void;
184
191
  getCaseAttachmentUploadUrl(
185
192
  args: GetCaseAttachmentUploadUrlCommandInput,
186
- options?: __HttpHandlerOptions,
193
+ options?: SecurityIRRequestOptions,
187
194
  ): Promise<GetCaseAttachmentUploadUrlCommandOutput>;
188
195
  getCaseAttachmentUploadUrl(
189
196
  args: GetCaseAttachmentUploadUrlCommandInput,
@@ -191,12 +198,12 @@ export interface SecurityIR {
191
198
  ): void;
192
199
  getCaseAttachmentUploadUrl(
193
200
  args: GetCaseAttachmentUploadUrlCommandInput,
194
- options: __HttpHandlerOptions,
201
+ options: SecurityIRRequestOptions,
195
202
  cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void,
196
203
  ): void;
197
204
  getMembership(
198
205
  args: GetMembershipCommandInput,
199
- options?: __HttpHandlerOptions,
206
+ options?: SecurityIRRequestOptions,
200
207
  ): Promise<GetMembershipCommandOutput>;
201
208
  getMembership(
202
209
  args: GetMembershipCommandInput,
@@ -204,12 +211,12 @@ export interface SecurityIR {
204
211
  ): void;
205
212
  getMembership(
206
213
  args: GetMembershipCommandInput,
207
- options: __HttpHandlerOptions,
214
+ options: SecurityIRRequestOptions,
208
215
  cb: (err: any, data?: GetMembershipCommandOutput) => void,
209
216
  ): void;
210
217
  listCaseEdits(
211
218
  args: ListCaseEditsCommandInput,
212
- options?: __HttpHandlerOptions,
219
+ options?: SecurityIRRequestOptions,
213
220
  ): Promise<ListCaseEditsCommandOutput>;
214
221
  listCaseEdits(
215
222
  args: ListCaseEditsCommandInput,
@@ -217,13 +224,13 @@ export interface SecurityIR {
217
224
  ): void;
218
225
  listCaseEdits(
219
226
  args: ListCaseEditsCommandInput,
220
- options: __HttpHandlerOptions,
227
+ options: SecurityIRRequestOptions,
221
228
  cb: (err: any, data?: ListCaseEditsCommandOutput) => void,
222
229
  ): void;
223
230
  listCases(): Promise<ListCasesCommandOutput>;
224
231
  listCases(
225
232
  args: ListCasesCommandInput,
226
- options?: __HttpHandlerOptions,
233
+ options?: SecurityIRRequestOptions,
227
234
  ): Promise<ListCasesCommandOutput>;
228
235
  listCases(
229
236
  args: ListCasesCommandInput,
@@ -231,12 +238,12 @@ export interface SecurityIR {
231
238
  ): void;
232
239
  listCases(
233
240
  args: ListCasesCommandInput,
234
- options: __HttpHandlerOptions,
241
+ options: SecurityIRRequestOptions,
235
242
  cb: (err: any, data?: ListCasesCommandOutput) => void,
236
243
  ): void;
237
244
  listComments(
238
245
  args: ListCommentsCommandInput,
239
- options?: __HttpHandlerOptions,
246
+ options?: SecurityIRRequestOptions,
240
247
  ): Promise<ListCommentsCommandOutput>;
241
248
  listComments(
242
249
  args: ListCommentsCommandInput,
@@ -244,12 +251,12 @@ export interface SecurityIR {
244
251
  ): void;
245
252
  listComments(
246
253
  args: ListCommentsCommandInput,
247
- options: __HttpHandlerOptions,
254
+ options: SecurityIRRequestOptions,
248
255
  cb: (err: any, data?: ListCommentsCommandOutput) => void,
249
256
  ): void;
250
257
  listInvestigations(
251
258
  args: ListInvestigationsCommandInput,
252
- options?: __HttpHandlerOptions,
259
+ options?: SecurityIRRequestOptions,
253
260
  ): Promise<ListInvestigationsCommandOutput>;
254
261
  listInvestigations(
255
262
  args: ListInvestigationsCommandInput,
@@ -257,13 +264,13 @@ export interface SecurityIR {
257
264
  ): void;
258
265
  listInvestigations(
259
266
  args: ListInvestigationsCommandInput,
260
- options: __HttpHandlerOptions,
267
+ options: SecurityIRRequestOptions,
261
268
  cb: (err: any, data?: ListInvestigationsCommandOutput) => void,
262
269
  ): void;
263
270
  listMemberships(): Promise<ListMembershipsCommandOutput>;
264
271
  listMemberships(
265
272
  args: ListMembershipsCommandInput,
266
- options?: __HttpHandlerOptions,
273
+ options?: SecurityIRRequestOptions,
267
274
  ): Promise<ListMembershipsCommandOutput>;
268
275
  listMemberships(
269
276
  args: ListMembershipsCommandInput,
@@ -271,12 +278,12 @@ export interface SecurityIR {
271
278
  ): void;
272
279
  listMemberships(
273
280
  args: ListMembershipsCommandInput,
274
- options: __HttpHandlerOptions,
281
+ options: SecurityIRRequestOptions,
275
282
  cb: (err: any, data?: ListMembershipsCommandOutput) => void,
276
283
  ): void;
277
284
  listTagsForResource(
278
285
  args: ListTagsForResourceCommandInput,
279
- options?: __HttpHandlerOptions,
286
+ options?: SecurityIRRequestOptions,
280
287
  ): Promise<ListTagsForResourceCommandOutput>;
281
288
  listTagsForResource(
282
289
  args: ListTagsForResourceCommandInput,
@@ -284,12 +291,12 @@ export interface SecurityIR {
284
291
  ): void;
285
292
  listTagsForResource(
286
293
  args: ListTagsForResourceCommandInput,
287
- options: __HttpHandlerOptions,
294
+ options: SecurityIRRequestOptions,
288
295
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
289
296
  ): void;
290
297
  sendFeedback(
291
298
  args: SendFeedbackCommandInput,
292
- options?: __HttpHandlerOptions,
299
+ options?: SecurityIRRequestOptions,
293
300
  ): Promise<SendFeedbackCommandOutput>;
294
301
  sendFeedback(
295
302
  args: SendFeedbackCommandInput,
@@ -297,12 +304,12 @@ export interface SecurityIR {
297
304
  ): void;
298
305
  sendFeedback(
299
306
  args: SendFeedbackCommandInput,
300
- options: __HttpHandlerOptions,
307
+ options: SecurityIRRequestOptions,
301
308
  cb: (err: any, data?: SendFeedbackCommandOutput) => void,
302
309
  ): void;
303
310
  tagResource(
304
311
  args: TagResourceCommandInput,
305
- options?: __HttpHandlerOptions,
312
+ options?: SecurityIRRequestOptions,
306
313
  ): Promise<TagResourceCommandOutput>;
307
314
  tagResource(
308
315
  args: TagResourceCommandInput,
@@ -310,12 +317,12 @@ export interface SecurityIR {
310
317
  ): void;
311
318
  tagResource(
312
319
  args: TagResourceCommandInput,
313
- options: __HttpHandlerOptions,
320
+ options: SecurityIRRequestOptions,
314
321
  cb: (err: any, data?: TagResourceCommandOutput) => void,
315
322
  ): void;
316
323
  untagResource(
317
324
  args: UntagResourceCommandInput,
318
- options?: __HttpHandlerOptions,
325
+ options?: SecurityIRRequestOptions,
319
326
  ): Promise<UntagResourceCommandOutput>;
320
327
  untagResource(
321
328
  args: UntagResourceCommandInput,
@@ -323,12 +330,12 @@ export interface SecurityIR {
323
330
  ): void;
324
331
  untagResource(
325
332
  args: UntagResourceCommandInput,
326
- options: __HttpHandlerOptions,
333
+ options: SecurityIRRequestOptions,
327
334
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
328
335
  ): void;
329
336
  updateCase(
330
337
  args: UpdateCaseCommandInput,
331
- options?: __HttpHandlerOptions,
338
+ options?: SecurityIRRequestOptions,
332
339
  ): Promise<UpdateCaseCommandOutput>;
333
340
  updateCase(
334
341
  args: UpdateCaseCommandInput,
@@ -336,12 +343,12 @@ export interface SecurityIR {
336
343
  ): void;
337
344
  updateCase(
338
345
  args: UpdateCaseCommandInput,
339
- options: __HttpHandlerOptions,
346
+ options: SecurityIRRequestOptions,
340
347
  cb: (err: any, data?: UpdateCaseCommandOutput) => void,
341
348
  ): void;
342
349
  updateCaseComment(
343
350
  args: UpdateCaseCommentCommandInput,
344
- options?: __HttpHandlerOptions,
351
+ options?: SecurityIRRequestOptions,
345
352
  ): Promise<UpdateCaseCommentCommandOutput>;
346
353
  updateCaseComment(
347
354
  args: UpdateCaseCommentCommandInput,
@@ -349,12 +356,12 @@ export interface SecurityIR {
349
356
  ): void;
350
357
  updateCaseComment(
351
358
  args: UpdateCaseCommentCommandInput,
352
- options: __HttpHandlerOptions,
359
+ options: SecurityIRRequestOptions,
353
360
  cb: (err: any, data?: UpdateCaseCommentCommandOutput) => void,
354
361
  ): void;
355
362
  updateCaseStatus(
356
363
  args: UpdateCaseStatusCommandInput,
357
- options?: __HttpHandlerOptions,
364
+ options?: SecurityIRRequestOptions,
358
365
  ): Promise<UpdateCaseStatusCommandOutput>;
359
366
  updateCaseStatus(
360
367
  args: UpdateCaseStatusCommandInput,
@@ -362,12 +369,12 @@ export interface SecurityIR {
362
369
  ): void;
363
370
  updateCaseStatus(
364
371
  args: UpdateCaseStatusCommandInput,
365
- options: __HttpHandlerOptions,
372
+ options: SecurityIRRequestOptions,
366
373
  cb: (err: any, data?: UpdateCaseStatusCommandOutput) => void,
367
374
  ): void;
368
375
  updateMembership(
369
376
  args: UpdateMembershipCommandInput,
370
- options?: __HttpHandlerOptions,
377
+ options?: SecurityIRRequestOptions,
371
378
  ): Promise<UpdateMembershipCommandOutput>;
372
379
  updateMembership(
373
380
  args: UpdateMembershipCommandInput,
@@ -375,12 +382,12 @@ export interface SecurityIR {
375
382
  ): void;
376
383
  updateMembership(
377
384
  args: UpdateMembershipCommandInput,
378
- options: __HttpHandlerOptions,
385
+ options: SecurityIRRequestOptions,
379
386
  cb: (err: any, data?: UpdateMembershipCommandOutput) => void,
380
387
  ): void;
381
388
  updateResolverType(
382
389
  args: UpdateResolverTypeCommandInput,
383
- options?: __HttpHandlerOptions,
390
+ options?: SecurityIRRequestOptions,
384
391
  ): Promise<UpdateResolverTypeCommandOutput>;
385
392
  updateResolverType(
386
393
  args: UpdateResolverTypeCommandInput,
@@ -388,7 +395,7 @@ export interface SecurityIR {
388
395
  ): void;
389
396
  updateResolverType(
390
397
  args: UpdateResolverTypeCommandInput,
391
- options: __HttpHandlerOptions,
398
+ options: SecurityIRRequestOptions,
392
399
  cb: (err: any, data?: UpdateResolverTypeCommandOutput) => void,
393
400
  ): void;
394
401
  paginateListCaseEdits(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-security-ir",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Security Ir Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-security-ir",
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": {