@aws-sdk/client-ssm-contacts 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.
@@ -42,7 +42,7 @@ export interface AcceptPageRequest {
42
42
  * @public
43
43
  * <p>The type indicates if the page was <code>DELIVERED</code> or <code>READ</code>.</p>
44
44
  */
45
- AcceptType: AcceptType | string | undefined;
45
+ AcceptType: AcceptType | undefined;
46
46
  /**
47
47
  * @public
48
48
  * <p>Information provided by the user when the user acknowledges the page.</p>
@@ -64,7 +64,7 @@ export interface AcceptPageRequest {
64
64
  * <code>AcceptCode</code> validation. Ignoring <code>AcceptCode</code> validation causes
65
65
  * Incident Manager to accept any value entered for the <code>AcceptCode</code>.</p>
66
66
  */
67
- AcceptCodeValidation?: AcceptCodeValidation | string;
67
+ AcceptCodeValidation?: AcceptCodeValidation;
68
68
  }
69
69
  /**
70
70
  * @public
@@ -196,7 +196,7 @@ export declare class ValidationException extends __BaseException {
196
196
  * @public
197
197
  * Reason the request failed validation
198
198
  */
199
- Reason?: ValidationExceptionReason | string;
199
+ Reason?: ValidationExceptionReason;
200
200
  /**
201
201
  * @public
202
202
  * The fields that caused the error
@@ -356,7 +356,7 @@ export interface Contact {
356
356
  * <p>Refers to the type of contact. A single contact is type <code>PERSONAL</code> and an
357
357
  * escalation plan is type <code>ESCALATION</code>.</p>
358
358
  */
359
- Type: ContactType | string | undefined;
359
+ Type: ContactType | undefined;
360
360
  }
361
361
  /**
362
362
  * @public
@@ -416,7 +416,7 @@ export interface ContactChannel {
416
416
  * </li>
417
417
  * </ul>
418
418
  */
419
- Type?: ChannelType | string;
419
+ Type?: ChannelType;
420
420
  /**
421
421
  * @public
422
422
  * <p>The details that Incident Manager uses when trying to engage the contact channel.</p>
@@ -427,7 +427,7 @@ export interface ContactChannel {
427
427
  * <p>A Boolean value describing if the contact channel has been activated or not. If the
428
428
  * contact channel isn't activated, Incident Manager can't engage the contact through it.</p>
429
429
  */
430
- ActivationStatus: ActivationStatus | string | undefined;
430
+ ActivationStatus: ActivationStatus | undefined;
431
431
  }
432
432
  /**
433
433
  * @public
@@ -569,7 +569,7 @@ export interface CreateContactRequest {
569
569
  * <p>To create an escalation plan use <code>ESCALATION</code>. To create a contact use
570
570
  * <code>PERSONAL</code>.</p>
571
571
  */
572
- Type: ContactType | string | undefined;
572
+ Type: ContactType | undefined;
573
573
  /**
574
574
  * @public
575
575
  * <p>A list of stages. A contact has an engagement plan with stages that contact specified
@@ -681,7 +681,7 @@ export interface CreateContactChannelRequest {
681
681
  * </li>
682
682
  * </ul>
683
683
  */
684
- Type: ChannelType | string | undefined;
684
+ Type: ChannelType | undefined;
685
685
  /**
686
686
  * @public
687
687
  * <p>The details that Incident Manager uses when trying to engage the contact channel. The format
@@ -765,7 +765,7 @@ export interface WeeklySetting {
765
765
  * @public
766
766
  * <p>The day of the week when weekly recurring on-call shift rotations begins.</p>
767
767
  */
768
- DayOfWeek: DayOfWeek | string | undefined;
768
+ DayOfWeek: DayOfWeek | undefined;
769
769
  /**
770
770
  * @public
771
771
  * <p>The time of day when a weekly recurring on-call shift rotation begins.</p>
@@ -804,7 +804,7 @@ export interface RecurrenceSettings {
804
804
  * @public
805
805
  * <p>Information about the days of the week included in on-call rotation coverage.</p>
806
806
  */
807
- ShiftCoverages?: Record<string, CoverageTime[]>;
807
+ ShiftCoverages?: Record<DayOfWeek, CoverageTime[]>;
808
808
  /**
809
809
  * @public
810
810
  * <p>The number of days, weeks, or months a single rotation lasts.</p>
@@ -1218,7 +1218,7 @@ export interface GetContactResult {
1218
1218
  * @public
1219
1219
  * <p>The type of contact, either <code>PERSONAL</code> or <code>ESCALATION</code>.</p>
1220
1220
  */
1221
- Type: ContactType | string | undefined;
1221
+ Type: ContactType | undefined;
1222
1222
  /**
1223
1223
  * @public
1224
1224
  * <p>Details about the specific timing or stages and targets of the escalation plan or
@@ -1260,7 +1260,7 @@ export interface GetContactChannelResult {
1260
1260
  * <p>The type of contact channel. The type is <code>SMS</code>, <code>VOICE</code>, or
1261
1261
  * <code>EMAIL</code>.</p>
1262
1262
  */
1263
- Type: ChannelType | string | undefined;
1263
+ Type: ChannelType | undefined;
1264
1264
  /**
1265
1265
  * @public
1266
1266
  * <p>The details that Incident Manager uses when trying to engage the contact channel.</p>
@@ -1270,7 +1270,7 @@ export interface GetContactChannelResult {
1270
1270
  * @public
1271
1271
  * <p>A Boolean value indicating if the contact channel has been activated or not.</p>
1272
1272
  */
1273
- ActivationStatus?: ActivationStatus | string;
1273
+ ActivationStatus?: ActivationStatus;
1274
1274
  }
1275
1275
  /**
1276
1276
  * @public
@@ -1458,7 +1458,7 @@ export interface ListContactsRequest {
1458
1458
  * <p>The type of contact. A contact is type <code>PERSONAL</code> and an escalation plan is
1459
1459
  * type <code>ESCALATION</code>.</p>
1460
1460
  */
1461
- Type?: ContactType | string;
1461
+ Type?: ContactType;
1462
1462
  }
1463
1463
  /**
1464
1464
  * @public
@@ -1582,7 +1582,7 @@ export interface Receipt {
1582
1582
  * <p>The type follows the engagement cycle, <code>SENT</code>, <code>DELIVERED</code>, and
1583
1583
  * <code>READ</code>.</p>
1584
1584
  */
1585
- ReceiptType: ReceiptType | string | undefined;
1585
+ ReceiptType: ReceiptType | undefined;
1586
1586
  /**
1587
1587
  * @public
1588
1588
  * <p>Information provided during the page acknowledgement.</p>
@@ -1645,7 +1645,7 @@ export interface ResolutionContact {
1645
1645
  * @public
1646
1646
  * <p>The type of contact for a resolution step.</p>
1647
1647
  */
1648
- Type: ContactType | string | undefined;
1648
+ Type: ContactType | undefined;
1649
1649
  /**
1650
1650
  * @public
1651
1651
  * <p>The stage in the escalation plan that resolves to this contact.</p>
@@ -1913,7 +1913,7 @@ export interface RotationShift {
1913
1913
  * @public
1914
1914
  * <p>The type of shift rotation.</p>
1915
1915
  */
1916
- Type?: ShiftType | string;
1916
+ Type?: ShiftType;
1917
1917
  /**
1918
1918
  * @public
1919
1919
  * <p>Additional information about an on-call rotation shift.</p>
@@ -14,10 +14,10 @@ export type AcceptType = (typeof AcceptType)[keyof typeof AcceptType];
14
14
  export interface AcceptPageRequest {
15
15
  PageId: string | undefined;
16
16
  ContactChannelId?: string;
17
- AcceptType: AcceptType | string | undefined;
17
+ AcceptType: AcceptType | undefined;
18
18
  Note?: string;
19
19
  AcceptCode: string | undefined;
20
- AcceptCodeValidation?: AcceptCodeValidation | string;
20
+ AcceptCodeValidation?: AcceptCodeValidation;
21
21
  }
22
22
  export interface AcceptPageResult {}
23
23
  export declare class AccessDeniedException extends __BaseException {
@@ -74,7 +74,7 @@ export declare class ValidationException extends __BaseException {
74
74
  readonly name: "ValidationException";
75
75
  readonly $fault: "client";
76
76
  Message: string | undefined;
77
- Reason?: ValidationExceptionReason | string;
77
+ Reason?: ValidationExceptionReason;
78
78
  Fields?: ValidationExceptionField[];
79
79
  constructor(
80
80
  opts: __ExceptionOptionType<ValidationException, __BaseException>
@@ -124,7 +124,7 @@ export interface Contact {
124
124
  ContactArn: string | undefined;
125
125
  Alias: string | undefined;
126
126
  DisplayName?: string;
127
- Type: ContactType | string | undefined;
127
+ Type: ContactType | undefined;
128
128
  }
129
129
  export interface ContactChannelAddress {
130
130
  SimpleAddress?: string;
@@ -133,9 +133,9 @@ export interface ContactChannel {
133
133
  ContactChannelArn: string | undefined;
134
134
  ContactArn: string | undefined;
135
135
  Name: string | undefined;
136
- Type?: ChannelType | string;
136
+ Type?: ChannelType;
137
137
  DeliveryAddress: ContactChannelAddress | undefined;
138
- ActivationStatus: ActivationStatus | string | undefined;
138
+ ActivationStatus: ActivationStatus | undefined;
139
139
  }
140
140
  export interface ContactTargetInfo {
141
141
  ContactId?: string;
@@ -168,7 +168,7 @@ export interface Tag {
168
168
  export interface CreateContactRequest {
169
169
  Alias: string | undefined;
170
170
  DisplayName?: string;
171
- Type: ContactType | string | undefined;
171
+ Type: ContactType | undefined;
172
172
  Plan: Plan | undefined;
173
173
  Tags?: Tag[];
174
174
  IdempotencyToken?: string;
@@ -199,7 +199,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
199
199
  export interface CreateContactChannelRequest {
200
200
  ContactId: string | undefined;
201
201
  Name: string | undefined;
202
- Type: ChannelType | string | undefined;
202
+ Type: ChannelType | undefined;
203
203
  DeliveryAddress: ContactChannelAddress | undefined;
204
204
  DeferActivation?: boolean;
205
205
  IdempotencyToken?: string;
@@ -222,7 +222,7 @@ export declare const DayOfWeek: {
222
222
  };
223
223
  export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
224
224
  export interface WeeklySetting {
225
- DayOfWeek: DayOfWeek | string | undefined;
225
+ DayOfWeek: DayOfWeek | undefined;
226
226
  HandOffTime: HandOffTime | undefined;
227
227
  }
228
228
  export interface RecurrenceSettings {
@@ -230,7 +230,7 @@ export interface RecurrenceSettings {
230
230
  WeeklySettings?: WeeklySetting[];
231
231
  DailySettings?: HandOffTime[];
232
232
  NumberOfOnCalls: number | undefined;
233
- ShiftCoverages?: Record<string, CoverageTime[]>;
233
+ ShiftCoverages?: Record<DayOfWeek, CoverageTime[]>;
234
234
  RecurrenceMultiplier: number | undefined;
235
235
  }
236
236
  export interface CreateRotationRequest {
@@ -323,7 +323,7 @@ export interface GetContactResult {
323
323
  ContactArn: string | undefined;
324
324
  Alias: string | undefined;
325
325
  DisplayName?: string;
326
- Type: ContactType | string | undefined;
326
+ Type: ContactType | undefined;
327
327
  Plan: Plan | undefined;
328
328
  }
329
329
  export interface GetContactChannelRequest {
@@ -333,9 +333,9 @@ export interface GetContactChannelResult {
333
333
  ContactArn: string | undefined;
334
334
  ContactChannelArn: string | undefined;
335
335
  Name: string | undefined;
336
- Type: ChannelType | string | undefined;
336
+ Type: ChannelType | undefined;
337
337
  DeliveryAddress: ContactChannelAddress | undefined;
338
- ActivationStatus?: ActivationStatus | string;
338
+ ActivationStatus?: ActivationStatus;
339
339
  }
340
340
  export interface GetContactPolicyRequest {
341
341
  ContactArn: string | undefined;
@@ -380,7 +380,7 @@ export interface ListContactsRequest {
380
380
  NextToken?: string;
381
381
  MaxResults?: number;
382
382
  AliasPrefix?: string;
383
- Type?: ContactType | string;
383
+ Type?: ContactType;
384
384
  }
385
385
  export interface ListContactsResult {
386
386
  NextToken?: string;
@@ -415,7 +415,7 @@ export declare const ReceiptType: {
415
415
  export type ReceiptType = (typeof ReceiptType)[keyof typeof ReceiptType];
416
416
  export interface Receipt {
417
417
  ContactChannelArn?: string;
418
- ReceiptType: ReceiptType | string | undefined;
418
+ ReceiptType: ReceiptType | undefined;
419
419
  ReceiptInfo?: string;
420
420
  ReceiptTime: Date | undefined;
421
421
  }
@@ -429,7 +429,7 @@ export interface ListPageResolutionsRequest {
429
429
  }
430
430
  export interface ResolutionContact {
431
431
  ContactArn: string | undefined;
432
- Type: ContactType | string | undefined;
432
+ Type: ContactType | undefined;
433
433
  StageIndex?: number;
434
434
  }
435
435
  export interface ListPageResolutionsResult {
@@ -492,7 +492,7 @@ export interface RotationShift {
492
492
  ContactIds?: string[];
493
493
  StartTime: Date | undefined;
494
494
  EndTime: Date | undefined;
495
- Type?: ShiftType | string;
495
+ Type?: ShiftType;
496
496
  ShiftDetails?: ShiftDetails;
497
497
  }
498
498
  export interface ListPreviewRotationShiftsResult {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-contacts",
3
3
  "description": "AWS SDK for JavaScript Ssm Contacts 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,39 +21,39 @@
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
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"