@aws-sdk/client-ssm-incidents 3.451.0 → 3.454.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 (37) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/SSMIncidents.js +4 -0
  3. package/dist-cjs/commands/BatchGetIncidentFindingsCommand.js +51 -0
  4. package/dist-cjs/commands/ListIncidentFindingsCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +77 -67
  7. package/dist-cjs/pagination/ListIncidentFindingsPaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +199 -2
  10. package/dist-es/SSMIncidents.js +4 -0
  11. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +47 -0
  12. package/dist-es/commands/ListIncidentFindingsCommand.js +47 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +72 -62
  15. package/dist-es/pagination/ListIncidentFindingsPaginator.js +25 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +193 -0
  18. package/dist-types/SSMIncidents.d.ts +14 -0
  19. package/dist-types/SSMIncidentsClient.d.ts +4 -2
  20. package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +122 -0
  21. package/dist-types/commands/ListIncidentFindingsCommand.d.ts +101 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/models_0.d.ts +467 -157
  25. package/dist-types/pagination/ListIncidentFindingsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  28. package/dist-types/ts3.4/SSMIncidents.d.ts +34 -0
  29. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +12 -0
  30. package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +42 -0
  31. package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +114 -44
  34. package/dist-types/ts3.4/pagination/ListIncidentFindingsPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  37. package/package.json +2 -2
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListIncidentFindingsCommandInput, ListIncidentFindingsCommandOutput } from "../commands/ListIncidentFindingsCommand";
3
+ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListIncidentFindings(config: SSMIncidentsPaginationConfiguration, input: ListIncidentFindingsCommandInput, ...additionalArguments: any): Paginator<ListIncidentFindingsCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./GetResourcePoliciesPaginator";
2
2
  export * from "./Interfaces";
3
+ export * from "./ListIncidentFindingsPaginator";
3
4
  export * from "./ListIncidentRecordsPaginator";
4
5
  export * from "./ListRelatedItemsPaginator";
5
6
  export * from "./ListReplicationSetsPaginator";
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { BatchGetIncidentFindingsCommandInput, BatchGetIncidentFindingsCommandOutput } from "../commands/BatchGetIncidentFindingsCommand";
3
4
  import { CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput } from "../commands/CreateReplicationSetCommand";
4
5
  import { CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput } from "../commands/CreateResponsePlanCommand";
5
6
  import { CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput } from "../commands/CreateTimelineEventCommand";
@@ -13,6 +14,7 @@ import { GetReplicationSetCommandInput, GetReplicationSetCommandOutput } from ".
13
14
  import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "../commands/GetResourcePoliciesCommand";
14
15
  import { GetResponsePlanCommandInput, GetResponsePlanCommandOutput } from "../commands/GetResponsePlanCommand";
15
16
  import { GetTimelineEventCommandInput, GetTimelineEventCommandOutput } from "../commands/GetTimelineEventCommand";
17
+ import { ListIncidentFindingsCommandInput, ListIncidentFindingsCommandOutput } from "../commands/ListIncidentFindingsCommand";
16
18
  import { ListIncidentRecordsCommandInput, ListIncidentRecordsCommandOutput } from "../commands/ListIncidentRecordsCommand";
17
19
  import { ListRelatedItemsCommandInput, ListRelatedItemsCommandOutput } from "../commands/ListRelatedItemsCommand";
18
20
  import { ListReplicationSetsCommandInput, ListReplicationSetsCommandOutput } from "../commands/ListReplicationSetsCommand";
@@ -29,6 +31,10 @@ import { UpdateRelatedItemsCommandInput, UpdateRelatedItemsCommandOutput } from
29
31
  import { UpdateReplicationSetCommandInput, UpdateReplicationSetCommandOutput } from "../commands/UpdateReplicationSetCommand";
30
32
  import { UpdateResponsePlanCommandInput, UpdateResponsePlanCommandOutput } from "../commands/UpdateResponsePlanCommand";
31
33
  import { UpdateTimelineEventCommandInput, UpdateTimelineEventCommandOutput } from "../commands/UpdateTimelineEventCommand";
34
+ /**
35
+ * serializeAws_restJson1BatchGetIncidentFindingsCommand
36
+ */
37
+ export declare const se_BatchGetIncidentFindingsCommand: (input: BatchGetIncidentFindingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
38
  /**
33
39
  * serializeAws_restJson1CreateReplicationSetCommand
34
40
  */
@@ -81,6 +87,10 @@ export declare const se_GetResponsePlanCommand: (input: GetResponsePlanCommandIn
81
87
  * serializeAws_restJson1GetTimelineEventCommand
82
88
  */
83
89
  export declare const se_GetTimelineEventCommand: (input: GetTimelineEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1ListIncidentFindingsCommand
92
+ */
93
+ export declare const se_ListIncidentFindingsCommand: (input: ListIncidentFindingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
94
  /**
85
95
  * serializeAws_restJson1ListIncidentRecordsCommand
86
96
  */
@@ -145,6 +155,10 @@ export declare const se_UpdateResponsePlanCommand: (input: UpdateResponsePlanCom
145
155
  * serializeAws_restJson1UpdateTimelineEventCommand
146
156
  */
147
157
  export declare const se_UpdateTimelineEventCommand: (input: UpdateTimelineEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
+ /**
159
+ * deserializeAws_restJson1BatchGetIncidentFindingsCommand
160
+ */
161
+ export declare const de_BatchGetIncidentFindingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetIncidentFindingsCommandOutput>;
148
162
  /**
149
163
  * deserializeAws_restJson1CreateReplicationSetCommand
150
164
  */
@@ -197,6 +211,10 @@ export declare const de_GetResponsePlanCommand: (output: __HttpResponse, context
197
211
  * deserializeAws_restJson1GetTimelineEventCommand
198
212
  */
199
213
  export declare const de_GetTimelineEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTimelineEventCommandOutput>;
214
+ /**
215
+ * deserializeAws_restJson1ListIncidentFindingsCommand
216
+ */
217
+ export declare const de_ListIncidentFindingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIncidentFindingsCommandOutput>;
200
218
  /**
201
219
  * deserializeAws_restJson1ListIncidentRecordsCommand
202
220
  */
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ BatchGetIncidentFindingsCommandInput,
4
+ BatchGetIncidentFindingsCommandOutput,
5
+ } from "./commands/BatchGetIncidentFindingsCommand";
2
6
  import {
3
7
  CreateReplicationSetCommandInput,
4
8
  CreateReplicationSetCommandOutput,
@@ -51,6 +55,10 @@ import {
51
55
  GetTimelineEventCommandInput,
52
56
  GetTimelineEventCommandOutput,
53
57
  } from "./commands/GetTimelineEventCommand";
58
+ import {
59
+ ListIncidentFindingsCommandInput,
60
+ ListIncidentFindingsCommandOutput,
61
+ } from "./commands/ListIncidentFindingsCommand";
54
62
  import {
55
63
  ListIncidentRecordsCommandInput,
56
64
  ListIncidentRecordsCommandOutput,
@@ -117,6 +125,19 @@ import {
117
125
  } from "./commands/UpdateTimelineEventCommand";
118
126
  import { SSMIncidentsClient } from "./SSMIncidentsClient";
119
127
  export interface SSMIncidents {
128
+ batchGetIncidentFindings(
129
+ args: BatchGetIncidentFindingsCommandInput,
130
+ options?: __HttpHandlerOptions
131
+ ): Promise<BatchGetIncidentFindingsCommandOutput>;
132
+ batchGetIncidentFindings(
133
+ args: BatchGetIncidentFindingsCommandInput,
134
+ cb: (err: any, data?: BatchGetIncidentFindingsCommandOutput) => void
135
+ ): void;
136
+ batchGetIncidentFindings(
137
+ args: BatchGetIncidentFindingsCommandInput,
138
+ options: __HttpHandlerOptions,
139
+ cb: (err: any, data?: BatchGetIncidentFindingsCommandOutput) => void
140
+ ): void;
120
141
  createReplicationSet(
121
142
  args: CreateReplicationSetCommandInput,
122
143
  options?: __HttpHandlerOptions
@@ -286,6 +307,19 @@ export interface SSMIncidents {
286
307
  options: __HttpHandlerOptions,
287
308
  cb: (err: any, data?: GetTimelineEventCommandOutput) => void
288
309
  ): void;
310
+ listIncidentFindings(
311
+ args: ListIncidentFindingsCommandInput,
312
+ options?: __HttpHandlerOptions
313
+ ): Promise<ListIncidentFindingsCommandOutput>;
314
+ listIncidentFindings(
315
+ args: ListIncidentFindingsCommandInput,
316
+ cb: (err: any, data?: ListIncidentFindingsCommandOutput) => void
317
+ ): void;
318
+ listIncidentFindings(
319
+ args: ListIncidentFindingsCommandInput,
320
+ options: __HttpHandlerOptions,
321
+ cb: (err: any, data?: ListIncidentFindingsCommandOutput) => void
322
+ ): void;
289
323
  listIncidentRecords(
290
324
  args: ListIncidentRecordsCommandInput,
291
325
  options?: __HttpHandlerOptions
@@ -45,6 +45,10 @@ import {
45
45
  UrlParser as __UrlParser,
46
46
  UserAgent as __UserAgent,
47
47
  } from "@smithy/types";
48
+ import {
49
+ BatchGetIncidentFindingsCommandInput,
50
+ BatchGetIncidentFindingsCommandOutput,
51
+ } from "./commands/BatchGetIncidentFindingsCommand";
48
52
  import {
49
53
  CreateReplicationSetCommandInput,
50
54
  CreateReplicationSetCommandOutput,
@@ -97,6 +101,10 @@ import {
97
101
  GetTimelineEventCommandInput,
98
102
  GetTimelineEventCommandOutput,
99
103
  } from "./commands/GetTimelineEventCommand";
104
+ import {
105
+ ListIncidentFindingsCommandInput,
106
+ ListIncidentFindingsCommandOutput,
107
+ } from "./commands/ListIncidentFindingsCommand";
100
108
  import {
101
109
  ListIncidentRecordsCommandInput,
102
110
  ListIncidentRecordsCommandOutput,
@@ -169,6 +177,7 @@ import {
169
177
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
170
178
  export { __Client };
171
179
  export type ServiceInputTypes =
180
+ | BatchGetIncidentFindingsCommandInput
172
181
  | CreateReplicationSetCommandInput
173
182
  | CreateResponsePlanCommandInput
174
183
  | CreateTimelineEventCommandInput
@@ -182,6 +191,7 @@ export type ServiceInputTypes =
182
191
  | GetResourcePoliciesCommandInput
183
192
  | GetResponsePlanCommandInput
184
193
  | GetTimelineEventCommandInput
194
+ | ListIncidentFindingsCommandInput
185
195
  | ListIncidentRecordsCommandInput
186
196
  | ListRelatedItemsCommandInput
187
197
  | ListReplicationSetsCommandInput
@@ -199,6 +209,7 @@ export type ServiceInputTypes =
199
209
  | UpdateResponsePlanCommandInput
200
210
  | UpdateTimelineEventCommandInput;
201
211
  export type ServiceOutputTypes =
212
+ | BatchGetIncidentFindingsCommandOutput
202
213
  | CreateReplicationSetCommandOutput
203
214
  | CreateResponsePlanCommandOutput
204
215
  | CreateTimelineEventCommandOutput
@@ -212,6 +223,7 @@ export type ServiceOutputTypes =
212
223
  | GetResourcePoliciesCommandOutput
213
224
  | GetResponsePlanCommandOutput
214
225
  | GetTimelineEventCommandOutput
226
+ | ListIncidentFindingsCommandOutput
215
227
  | ListIncidentRecordsCommandOutput
216
228
  | ListRelatedItemsCommandOutput
217
229
  | ListReplicationSetsCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BatchGetIncidentFindingsInput,
11
+ BatchGetIncidentFindingsOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SSMIncidentsClientResolvedConfig,
17
+ } from "../SSMIncidentsClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchGetIncidentFindingsCommandInput
20
+ extends BatchGetIncidentFindingsInput {}
21
+ export interface BatchGetIncidentFindingsCommandOutput
22
+ extends BatchGetIncidentFindingsOutput,
23
+ __MetadataBearer {}
24
+ export declare class BatchGetIncidentFindingsCommand extends $Command<
25
+ BatchGetIncidentFindingsCommandInput,
26
+ BatchGetIncidentFindingsCommandOutput,
27
+ SSMIncidentsClientResolvedConfig
28
+ > {
29
+ readonly input: BatchGetIncidentFindingsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: BatchGetIncidentFindingsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SSMIncidentsClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ BatchGetIncidentFindingsCommandInput,
38
+ BatchGetIncidentFindingsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListIncidentFindingsInput,
11
+ ListIncidentFindingsOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SSMIncidentsClientResolvedConfig,
17
+ } from "../SSMIncidentsClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListIncidentFindingsCommandInput
20
+ extends ListIncidentFindingsInput {}
21
+ export interface ListIncidentFindingsCommandOutput
22
+ extends ListIncidentFindingsOutput,
23
+ __MetadataBearer {}
24
+ export declare class ListIncidentFindingsCommand extends $Command<
25
+ ListIncidentFindingsCommandInput,
26
+ ListIncidentFindingsCommandOutput,
27
+ SSMIncidentsClientResolvedConfig
28
+ > {
29
+ readonly input: ListIncidentFindingsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListIncidentFindingsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SSMIncidentsClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListIncidentFindingsCommandInput,
38
+ ListIncidentFindingsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./BatchGetIncidentFindingsCommand";
1
2
  export * from "./CreateReplicationSetCommand";
2
3
  export * from "./CreateResponsePlanCommand";
3
4
  export * from "./CreateTimelineEventCommand";
@@ -11,6 +12,7 @@ export * from "./GetReplicationSetCommand";
11
12
  export * from "./GetResourcePoliciesCommand";
12
13
  export * from "./GetResponsePlanCommand";
13
14
  export * from "./GetTimelineEventCommand";
15
+ export * from "./ListIncidentFindingsCommand";
14
16
  export * from "./ListIncidentRecordsCommand";
15
17
  export * from "./ListRelatedItemsCommand";
16
18
  export * from "./ListReplicationSetsCommand";
@@ -109,6 +109,107 @@ export declare namespace AutomationExecution {
109
109
  }
110
110
  const visit: <T>(value: AutomationExecution, visitor: Visitor<T>) => T;
111
111
  }
112
+ export interface BatchGetIncidentFindingsInput {
113
+ incidentRecordArn: string | undefined;
114
+ findingIds: string[] | undefined;
115
+ }
116
+ export interface BatchGetIncidentFindingsError {
117
+ findingId: string | undefined;
118
+ code: string | undefined;
119
+ message: string | undefined;
120
+ }
121
+ export interface CloudFormationStackUpdate {
122
+ startTime: Date | undefined;
123
+ endTime?: Date;
124
+ stackArn: string | undefined;
125
+ }
126
+ export interface CodeDeployDeployment {
127
+ startTime: Date | undefined;
128
+ endTime?: Date;
129
+ deploymentGroupArn: string | undefined;
130
+ deploymentId: string | undefined;
131
+ }
132
+ export type FindingDetails =
133
+ | FindingDetails.CloudFormationStackUpdateMember
134
+ | FindingDetails.CodeDeployDeploymentMember
135
+ | FindingDetails.$UnknownMember;
136
+ export declare namespace FindingDetails {
137
+ interface CodeDeployDeploymentMember {
138
+ codeDeployDeployment: CodeDeployDeployment;
139
+ cloudFormationStackUpdate?: never;
140
+ $unknown?: never;
141
+ }
142
+ interface CloudFormationStackUpdateMember {
143
+ codeDeployDeployment?: never;
144
+ cloudFormationStackUpdate: CloudFormationStackUpdate;
145
+ $unknown?: never;
146
+ }
147
+ interface $UnknownMember {
148
+ codeDeployDeployment?: never;
149
+ cloudFormationStackUpdate?: never;
150
+ $unknown: [string, any];
151
+ }
152
+ interface Visitor<T> {
153
+ codeDeployDeployment: (value: CodeDeployDeployment) => T;
154
+ cloudFormationStackUpdate: (value: CloudFormationStackUpdate) => T;
155
+ _: (name: string, value: any) => T;
156
+ }
157
+ const visit: <T>(value: FindingDetails, visitor: Visitor<T>) => T;
158
+ }
159
+ export interface Finding {
160
+ id: string | undefined;
161
+ creationTime: Date | undefined;
162
+ lastModifiedTime: Date | undefined;
163
+ details?: FindingDetails;
164
+ }
165
+ export interface BatchGetIncidentFindingsOutput {
166
+ findings: Finding[] | undefined;
167
+ errors: BatchGetIncidentFindingsError[] | undefined;
168
+ }
169
+ export declare class InternalServerException extends __BaseException {
170
+ readonly name: "InternalServerException";
171
+ readonly $fault: "server";
172
+ constructor(
173
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
174
+ );
175
+ }
176
+ export declare const ResourceType: {
177
+ readonly INCIDENT_RECORD: "INCIDENT_RECORD";
178
+ readonly REPLICATION_SET: "REPLICATION_SET";
179
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
180
+ readonly RESPONSE_PLAN: "RESPONSE_PLAN";
181
+ readonly TIMELINE_EVENT: "TIMELINE_EVENT";
182
+ };
183
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
184
+ export declare class ResourceNotFoundException extends __BaseException {
185
+ readonly name: "ResourceNotFoundException";
186
+ readonly $fault: "client";
187
+ resourceIdentifier?: string;
188
+ resourceType?: ResourceType;
189
+ constructor(
190
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
191
+ );
192
+ }
193
+ export declare const ServiceCode: {
194
+ readonly SSM_INCIDENTS: "ssm-incidents";
195
+ };
196
+ export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
197
+ export declare class ThrottlingException extends __BaseException {
198
+ readonly name: "ThrottlingException";
199
+ readonly $fault: "client";
200
+ serviceCode: ServiceCode | undefined;
201
+ quotaCode: string | undefined;
202
+ constructor(
203
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
204
+ );
205
+ }
206
+ export declare class ValidationException extends __BaseException {
207
+ readonly name: "ValidationException";
208
+ readonly $fault: "client";
209
+ constructor(
210
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
211
+ );
212
+ }
112
213
  export interface EmptyChatChannel {}
113
214
  export type ChatChannel =
114
215
  | ChatChannel.ChatbotSnsMember
@@ -175,14 +276,6 @@ export declare namespace Condition {
175
276
  }
176
277
  const visit: <T>(value: Condition, visitor: Visitor<T>) => T;
177
278
  }
178
- export declare const ResourceType: {
179
- readonly INCIDENT_RECORD: "INCIDENT_RECORD";
180
- readonly REPLICATION_SET: "REPLICATION_SET";
181
- readonly RESOURCE_POLICY: "RESOURCE_POLICY";
182
- readonly RESPONSE_PLAN: "RESPONSE_PLAN";
183
- readonly TIMELINE_EVENT: "TIMELINE_EVENT";
184
- };
185
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
186
279
  export declare class ConflictException extends __BaseException {
187
280
  readonly name: "ConflictException";
188
281
  readonly $fault: "client";
@@ -202,17 +295,6 @@ export interface CreateReplicationSetInput {
202
295
  export interface CreateReplicationSetOutput {
203
296
  arn: string | undefined;
204
297
  }
205
- export declare class InternalServerException extends __BaseException {
206
- readonly name: "InternalServerException";
207
- readonly $fault: "server";
208
- constructor(
209
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
210
- );
211
- }
212
- export declare const ServiceCode: {
213
- readonly SSM_INCIDENTS: "ssm-incidents";
214
- };
215
- export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
216
298
  export declare class ServiceQuotaExceededException extends __BaseException {
217
299
  readonly name: "ServiceQuotaExceededException";
218
300
  readonly $fault: "client";
@@ -224,22 +306,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
224
306
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
225
307
  );
226
308
  }
227
- export declare class ThrottlingException extends __BaseException {
228
- readonly name: "ThrottlingException";
229
- readonly $fault: "client";
230
- serviceCode: ServiceCode | undefined;
231
- quotaCode: string | undefined;
232
- constructor(
233
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
234
- );
235
- }
236
- export declare class ValidationException extends __BaseException {
237
- readonly name: "ValidationException";
238
- readonly $fault: "client";
239
- constructor(
240
- opts: __ExceptionOptionType<ValidationException, __BaseException>
241
- );
242
- }
243
309
  export type NotificationTargetItem =
244
310
  | NotificationTargetItem.SnsTopicArnMember
245
311
  | NotificationTargetItem.$UnknownMember;
@@ -306,15 +372,6 @@ export interface CreateResponsePlanInput {
306
372
  export interface CreateResponsePlanOutput {
307
373
  arn: string | undefined;
308
374
  }
309
- export declare class ResourceNotFoundException extends __BaseException {
310
- readonly name: "ResourceNotFoundException";
311
- readonly $fault: "client";
312
- resourceIdentifier?: string;
313
- resourceType?: ResourceType;
314
- constructor(
315
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
316
- );
317
- }
318
375
  export type EventReference =
319
376
  | EventReference.RelatedItemIdMember
320
377
  | EventReference.ResourceMember
@@ -391,6 +448,10 @@ export interface Filter {
391
448
  key: string | undefined;
392
449
  condition: Condition | undefined;
393
450
  }
451
+ export interface FindingSummary {
452
+ id: string | undefined;
453
+ lastModifiedTime: Date | undefined;
454
+ }
394
455
  export interface GetIncidentRecordInput {
395
456
  arn: string | undefined;
396
457
  }
@@ -587,6 +648,15 @@ export interface ItemIdentifier {
587
648
  value: ItemValue | undefined;
588
649
  type: ItemType | undefined;
589
650
  }
651
+ export interface ListIncidentFindingsInput {
652
+ incidentRecordArn: string | undefined;
653
+ maxResults?: number;
654
+ nextToken?: string;
655
+ }
656
+ export interface ListIncidentFindingsOutput {
657
+ findings: FindingSummary[] | undefined;
658
+ nextToken?: string;
659
+ }
590
660
  export interface ListIncidentRecordsInput {
591
661
  filters?: Filter[];
592
662
  maxResults?: number;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListIncidentFindingsCommandInput,
4
+ ListIncidentFindingsCommandOutput,
5
+ } from "../commands/ListIncidentFindingsCommand";
6
+ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListIncidentFindings(
8
+ config: SSMIncidentsPaginationConfiguration,
9
+ input: ListIncidentFindingsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListIncidentFindingsCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./GetResourcePoliciesPaginator";
2
2
  export * from "./Interfaces";
3
+ export * from "./ListIncidentFindingsPaginator";
3
4
  export * from "./ListIncidentRecordsPaginator";
4
5
  export * from "./ListRelatedItemsPaginator";
5
6
  export * from "./ListReplicationSetsPaginator";
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ BatchGetIncidentFindingsCommandInput,
8
+ BatchGetIncidentFindingsCommandOutput,
9
+ } from "../commands/BatchGetIncidentFindingsCommand";
6
10
  import {
7
11
  CreateReplicationSetCommandInput,
8
12
  CreateReplicationSetCommandOutput,
@@ -55,6 +59,10 @@ import {
55
59
  GetTimelineEventCommandInput,
56
60
  GetTimelineEventCommandOutput,
57
61
  } from "../commands/GetTimelineEventCommand";
62
+ import {
63
+ ListIncidentFindingsCommandInput,
64
+ ListIncidentFindingsCommandOutput,
65
+ } from "../commands/ListIncidentFindingsCommand";
58
66
  import {
59
67
  ListIncidentRecordsCommandInput,
60
68
  ListIncidentRecordsCommandOutput,
@@ -119,6 +127,10 @@ import {
119
127
  UpdateTimelineEventCommandInput,
120
128
  UpdateTimelineEventCommandOutput,
121
129
  } from "../commands/UpdateTimelineEventCommand";
130
+ export declare const se_BatchGetIncidentFindingsCommand: (
131
+ input: BatchGetIncidentFindingsCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
122
134
  export declare const se_CreateReplicationSetCommand: (
123
135
  input: CreateReplicationSetCommandInput,
124
136
  context: __SerdeContext
@@ -171,6 +183,10 @@ export declare const se_GetTimelineEventCommand: (
171
183
  input: GetTimelineEventCommandInput,
172
184
  context: __SerdeContext
173
185
  ) => Promise<__HttpRequest>;
186
+ export declare const se_ListIncidentFindingsCommand: (
187
+ input: ListIncidentFindingsCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
174
190
  export declare const se_ListIncidentRecordsCommand: (
175
191
  input: ListIncidentRecordsCommandInput,
176
192
  context: __SerdeContext
@@ -235,6 +251,10 @@ export declare const se_UpdateTimelineEventCommand: (
235
251
  input: UpdateTimelineEventCommandInput,
236
252
  context: __SerdeContext
237
253
  ) => Promise<__HttpRequest>;
254
+ export declare const de_BatchGetIncidentFindingsCommand: (
255
+ output: __HttpResponse,
256
+ context: __SerdeContext
257
+ ) => Promise<BatchGetIncidentFindingsCommandOutput>;
238
258
  export declare const de_CreateReplicationSetCommand: (
239
259
  output: __HttpResponse,
240
260
  context: __SerdeContext
@@ -287,6 +307,10 @@ export declare const de_GetTimelineEventCommand: (
287
307
  output: __HttpResponse,
288
308
  context: __SerdeContext
289
309
  ) => Promise<GetTimelineEventCommandOutput>;
310
+ export declare const de_ListIncidentFindingsCommand: (
311
+ output: __HttpResponse,
312
+ context: __SerdeContext
313
+ ) => Promise<ListIncidentFindingsCommandOutput>;
290
314
  export declare const de_ListIncidentRecordsCommand: (
291
315
  output: __HttpResponse,
292
316
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-incidents",
3
3
  "description": "AWS SDK for JavaScript Ssm Incidents Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.454.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.454.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
26
  "@aws-sdk/credential-provider-node": "3.451.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",