@aws-sdk/client-ssm-incidents 3.427.0 → 3.429.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.
@@ -39,7 +39,7 @@ export declare namespace DynamicSsmParameterValue {
39
39
  * created.</p>
40
40
  */
41
41
  interface VariableMember {
42
- variable: VariableType | string;
42
+ variable: VariableType;
43
43
  $unknown?: never;
44
44
  }
45
45
  /**
@@ -50,7 +50,7 @@ export declare namespace DynamicSsmParameterValue {
50
50
  $unknown: [string, any];
51
51
  }
52
52
  interface Visitor<T> {
53
- variable: (value: VariableType | string) => T;
53
+ variable: (value: VariableType) => T;
54
54
  _: (name: string, value: any) => T;
55
55
  }
56
56
  const visit: <T>(value: DynamicSsmParameterValue, visitor: Visitor<T>) => T;
@@ -94,7 +94,7 @@ export interface SsmAutomation {
94
94
  * <p>The account that the automation document will be run in. This can be in either the
95
95
  * management account or an application account.</p>
96
96
  */
97
- targetAccount?: SsmTargetAccount | string;
97
+ targetAccount?: SsmTargetAccount;
98
98
  /**
99
99
  * @public
100
100
  * <p>The key-value pair parameters to use when running the automation document.</p>
@@ -369,7 +369,7 @@ export declare class ConflictException extends __BaseException {
369
369
  * @public
370
370
  * The resource type
371
371
  */
372
- resourceType?: ResourceType | string;
372
+ resourceType?: ResourceType;
373
373
  /**
374
374
  * @public
375
375
  * If present in the output, the operation can be retried after this time
@@ -464,12 +464,12 @@ export declare class ServiceQuotaExceededException extends __BaseException {
464
464
  * @public
465
465
  * The resource type
466
466
  */
467
- resourceType?: ResourceType | string;
467
+ resourceType?: ResourceType;
468
468
  /**
469
469
  * @public
470
470
  * Originating service code
471
471
  */
472
- serviceCode: ServiceCode | string | undefined;
472
+ serviceCode: ServiceCode | undefined;
473
473
  /**
474
474
  * @public
475
475
  * Originating quota code
@@ -491,7 +491,7 @@ export declare class ThrottlingException extends __BaseException {
491
491
  * @public
492
492
  * Originating service code
493
493
  */
494
- serviceCode: ServiceCode | string | undefined;
494
+ serviceCode: ServiceCode | undefined;
495
495
  /**
496
496
  * @public
497
497
  * Originating quota code
@@ -728,7 +728,7 @@ export declare class ResourceNotFoundException extends __BaseException {
728
728
  * @public
729
729
  * The resource type
730
730
  */
731
- resourceType?: ResourceType | string;
731
+ resourceType?: ResourceType;
732
732
  /**
733
733
  * @internal
734
734
  */
@@ -1062,7 +1062,7 @@ export interface IncidentRecord {
1062
1062
  * @public
1063
1063
  * <p>The current status of the incident.</p>
1064
1064
  */
1065
- status: IncidentRecordStatus | string | undefined;
1065
+ status: IncidentRecordStatus | undefined;
1066
1066
  /**
1067
1067
  * @public
1068
1068
  * <p>The impact of the incident on customers and applications.</p>
@@ -1176,7 +1176,7 @@ export interface RegionInfo {
1176
1176
  * @public
1177
1177
  * <p>The status of the Amazon Web Services Region in the replication set.</p>
1178
1178
  */
1179
- status: RegionStatus | string | undefined;
1179
+ status: RegionStatus | undefined;
1180
1180
  /**
1181
1181
  * @public
1182
1182
  * <p>Information displayed about the status of the Amazon Web Services Region.</p>
@@ -1239,7 +1239,7 @@ export interface ReplicationSet {
1239
1239
  * <p>The status of the replication set. If the replication set is still pending, you can't use
1240
1240
  * Incident Manager functionality.</p>
1241
1241
  */
1242
- status: ReplicationSetStatus | string | undefined;
1242
+ status: ReplicationSetStatus | undefined;
1243
1243
  /**
1244
1244
  * @public
1245
1245
  * <p>Determines if the replication set deletion protection is enabled or not. If deletion
@@ -1481,7 +1481,7 @@ export interface IncidentRecordSummary {
1481
1481
  * @public
1482
1482
  * <p>The current status of the incident.</p>
1483
1483
  */
1484
- status: IncidentRecordStatus | string | undefined;
1484
+ status: IncidentRecordStatus | undefined;
1485
1485
  /**
1486
1486
  * @public
1487
1487
  * <p>Defines the impact to customers and applications.</p>
@@ -1633,7 +1633,7 @@ export interface ItemIdentifier {
1633
1633
  * @public
1634
1634
  * <p>The type of related item. </p>
1635
1635
  */
1636
- type: ItemType | string | undefined;
1636
+ type: ItemType | undefined;
1637
1637
  }
1638
1638
  /**
1639
1639
  * @public
@@ -1936,13 +1936,13 @@ export interface ListTimelineEventsInput {
1936
1936
  * @public
1937
1937
  * <p>Sort timeline events by the specified key value pair.</p>
1938
1938
  */
1939
- sortBy?: TimelineEventSort | string;
1939
+ sortBy?: TimelineEventSort;
1940
1940
  /**
1941
1941
  * @public
1942
1942
  * <p>Sorts the order of timeline events by the value specified in the <code>sortBy</code>
1943
1943
  * field.</p>
1944
1944
  */
1945
- sortOrder?: SortOrder | string;
1945
+ sortOrder?: SortOrder;
1946
1946
  /**
1947
1947
  * @public
1948
1948
  * <p>The maximum number of results per page.</p>
@@ -2273,7 +2273,7 @@ export interface UpdateIncidentRecordInput {
2273
2273
  * <p>The status of the incident. Possible statuses are <code>Open</code> or
2274
2274
  * <code>Resolved</code>.</p>
2275
2275
  */
2276
- status?: IncidentRecordStatus | string;
2276
+ status?: IncidentRecordStatus;
2277
2277
  /**
2278
2278
  * @public
2279
2279
  * <p>The Chatbot chat channel where responders can collaborate.</p>
@@ -17,7 +17,7 @@ export type DynamicSsmParameterValue =
17
17
  | DynamicSsmParameterValue.$UnknownMember;
18
18
  export declare namespace DynamicSsmParameterValue {
19
19
  interface VariableMember {
20
- variable: VariableType | string;
20
+ variable: VariableType;
21
21
  $unknown?: never;
22
22
  }
23
23
  interface $UnknownMember {
@@ -25,7 +25,7 @@ export declare namespace DynamicSsmParameterValue {
25
25
  $unknown: [string, any];
26
26
  }
27
27
  interface Visitor<T> {
28
- variable: (value: VariableType | string) => T;
28
+ variable: (value: VariableType) => T;
29
29
  _: (name: string, value: any) => T;
30
30
  }
31
31
  const visit: <T>(value: DynamicSsmParameterValue, visitor: Visitor<T>) => T;
@@ -40,7 +40,7 @@ export interface SsmAutomation {
40
40
  roleArn: string | undefined;
41
41
  documentName: string | undefined;
42
42
  documentVersion?: string;
43
- targetAccount?: SsmTargetAccount | string;
43
+ targetAccount?: SsmTargetAccount;
44
44
  parameters?: Record<string, string[]>;
45
45
  dynamicParameters?: Record<string, DynamicSsmParameterValue>;
46
46
  }
@@ -187,7 +187,7 @@ export declare class ConflictException extends __BaseException {
187
187
  readonly name: "ConflictException";
188
188
  readonly $fault: "client";
189
189
  resourceIdentifier?: string;
190
- resourceType?: ResourceType | string;
190
+ resourceType?: ResourceType;
191
191
  retryAfter?: Date;
192
192
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
193
193
  }
@@ -217,8 +217,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
217
217
  readonly name: "ServiceQuotaExceededException";
218
218
  readonly $fault: "client";
219
219
  resourceIdentifier?: string;
220
- resourceType?: ResourceType | string;
221
- serviceCode: ServiceCode | string | undefined;
220
+ resourceType?: ResourceType;
221
+ serviceCode: ServiceCode | undefined;
222
222
  quotaCode: string | undefined;
223
223
  constructor(
224
224
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
@@ -227,7 +227,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
227
227
  export declare class ThrottlingException extends __BaseException {
228
228
  readonly name: "ThrottlingException";
229
229
  readonly $fault: "client";
230
- serviceCode: ServiceCode | string | undefined;
230
+ serviceCode: ServiceCode | undefined;
231
231
  quotaCode: string | undefined;
232
232
  constructor(
233
233
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
@@ -310,7 +310,7 @@ export declare class ResourceNotFoundException extends __BaseException {
310
310
  readonly name: "ResourceNotFoundException";
311
311
  readonly $fault: "client";
312
312
  resourceIdentifier?: string;
313
- resourceType?: ResourceType | string;
313
+ resourceType?: ResourceType;
314
314
  constructor(
315
315
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
316
316
  );
@@ -410,7 +410,7 @@ export interface IncidentRecord {
410
410
  arn: string | undefined;
411
411
  title: string | undefined;
412
412
  summary?: string;
413
- status: IncidentRecordStatus | string | undefined;
413
+ status: IncidentRecordStatus | undefined;
414
414
  impact: number | undefined;
415
415
  creationTime: Date | undefined;
416
416
  resolvedTime?: Date;
@@ -437,7 +437,7 @@ export declare const RegionStatus: {
437
437
  export type RegionStatus = (typeof RegionStatus)[keyof typeof RegionStatus];
438
438
  export interface RegionInfo {
439
439
  sseKmsKeyId?: string;
440
- status: RegionStatus | string | undefined;
440
+ status: RegionStatus | undefined;
441
441
  statusMessage?: string;
442
442
  statusUpdateDateTime: Date | undefined;
443
443
  }
@@ -453,7 +453,7 @@ export type ReplicationSetStatus =
453
453
  export interface ReplicationSet {
454
454
  arn?: string;
455
455
  regionMap: Record<string, RegionInfo> | undefined;
456
- status: ReplicationSetStatus | string | undefined;
456
+ status: ReplicationSetStatus | undefined;
457
457
  deletionProtected: boolean | undefined;
458
458
  createdTime: Date | undefined;
459
459
  createdBy: string | undefined;
@@ -509,7 +509,7 @@ export interface GetTimelineEventOutput {
509
509
  export interface IncidentRecordSummary {
510
510
  arn: string | undefined;
511
511
  title: string | undefined;
512
- status: IncidentRecordStatus | string | undefined;
512
+ status: IncidentRecordStatus | undefined;
513
513
  impact: number | undefined;
514
514
  creationTime: Date | undefined;
515
515
  resolvedTime?: Date;
@@ -585,7 +585,7 @@ export declare namespace ItemValue {
585
585
  }
586
586
  export interface ItemIdentifier {
587
587
  value: ItemValue | undefined;
588
- type: ItemType | string | undefined;
588
+ type: ItemType | undefined;
589
589
  }
590
590
  export interface ListIncidentRecordsInput {
591
591
  filters?: Filter[];
@@ -650,8 +650,8 @@ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
650
650
  export interface ListTimelineEventsInput {
651
651
  incidentRecordArn: string | undefined;
652
652
  filters?: Filter[];
653
- sortBy?: TimelineEventSort | string;
654
- sortOrder?: SortOrder | string;
653
+ sortBy?: TimelineEventSort;
654
+ sortOrder?: SortOrder;
655
655
  maxResults?: number;
656
656
  nextToken?: string;
657
657
  }
@@ -732,7 +732,7 @@ export interface UpdateIncidentRecordInput {
732
732
  title?: string;
733
733
  summary?: string;
734
734
  impact?: number;
735
- status?: IncidentRecordStatus | string;
735
+ status?: IncidentRecordStatus;
736
736
  chatChannel?: ChatChannel;
737
737
  notificationTargets?: NotificationTargetItem[];
738
738
  }
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.427.0",
4
+ "version": "3.429.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,41 +21,41 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },