@aws-sdk/client-ssm-contacts 3.933.0 → 3.935.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.
@@ -1,16 +1,13 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
3
- export declare const AcceptCodeValidation: {
4
- readonly ENFORCE: "ENFORCE";
5
- readonly IGNORE: "IGNORE";
6
- };
7
- export type AcceptCodeValidation =
8
- (typeof AcceptCodeValidation)[keyof typeof AcceptCodeValidation];
9
- export declare const AcceptType: {
10
- readonly DELIVERED: "DELIVERED";
11
- readonly READ: "READ";
12
- };
13
- export type AcceptType = (typeof AcceptType)[keyof typeof AcceptType];
1
+ import {
2
+ AcceptCodeValidation,
3
+ AcceptType,
4
+ ActivationStatus,
5
+ ChannelType,
6
+ ContactType,
7
+ DayOfWeek,
8
+ ReceiptType,
9
+ ShiftType,
10
+ } from "./enums";
14
11
  export interface AcceptPageRequest {
15
12
  PageId: string | undefined;
16
13
  ContactChannelId?: string | undefined;
@@ -20,106 +17,23 @@ export interface AcceptPageRequest {
20
17
  AcceptCodeValidation?: AcceptCodeValidation | undefined;
21
18
  }
22
19
  export interface AcceptPageResult {}
23
- export declare class AccessDeniedException extends __BaseException {
24
- readonly name: "AccessDeniedException";
25
- readonly $fault: "client";
26
- Message: string | undefined;
27
- constructor(
28
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
29
- );
30
- }
31
- export declare class InternalServerException extends __BaseException {
32
- readonly name: "InternalServerException";
33
- readonly $fault: "server";
34
- Message: string | undefined;
35
- RetryAfterSeconds?: number | undefined;
36
- constructor(
37
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
38
- );
39
- }
40
- export declare class ResourceNotFoundException extends __BaseException {
41
- readonly name: "ResourceNotFoundException";
42
- readonly $fault: "client";
43
- Message: string | undefined;
44
- ResourceId: string | undefined;
45
- ResourceType: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
48
- );
49
- }
50
- export declare class ThrottlingException extends __BaseException {
51
- readonly name: "ThrottlingException";
52
- readonly $fault: "client";
53
- Message: string | undefined;
54
- QuotaCode?: string | undefined;
55
- ServiceCode?: string | undefined;
56
- RetryAfterSeconds?: number | undefined;
57
- constructor(
58
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
59
- );
60
- }
61
20
  export interface ValidationExceptionField {
62
21
  Name: string | undefined;
63
22
  Message: string | undefined;
64
23
  }
65
- export declare const ValidationExceptionReason: {
66
- readonly CANNOT_PARSE: "CANNOT_PARSE";
67
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
68
- readonly OTHER: "OTHER";
69
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
70
- };
71
- export type ValidationExceptionReason =
72
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
73
- export declare class ValidationException extends __BaseException {
74
- readonly name: "ValidationException";
75
- readonly $fault: "client";
76
- Message: string | undefined;
77
- Reason?: ValidationExceptionReason | undefined;
78
- Fields?: ValidationExceptionField[] | undefined;
79
- constructor(
80
- opts: __ExceptionOptionType<ValidationException, __BaseException>
81
- );
82
- }
83
24
  export interface ActivateContactChannelRequest {
84
25
  ContactChannelId: string | undefined;
85
26
  ActivationCode: string | undefined;
86
27
  }
87
28
  export interface ActivateContactChannelResult {}
88
- export declare const ActivationStatus: {
89
- readonly ACTIVATED: "ACTIVATED";
90
- readonly NOT_ACTIVATED: "NOT_ACTIVATED";
91
- };
92
- export type ActivationStatus =
93
- (typeof ActivationStatus)[keyof typeof ActivationStatus];
94
29
  export interface ChannelTargetInfo {
95
30
  ContactChannelId: string | undefined;
96
31
  RetryIntervalInMinutes?: number | undefined;
97
32
  }
98
- export declare const ChannelType: {
99
- readonly EMAIL: "EMAIL";
100
- readonly SMS: "SMS";
101
- readonly VOICE: "VOICE";
102
- };
103
- export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
104
33
  export interface DependentEntity {
105
34
  RelationType: string | undefined;
106
35
  DependentResourceIds: string[] | undefined;
107
36
  }
108
- export declare class ConflictException extends __BaseException {
109
- readonly name: "ConflictException";
110
- readonly $fault: "client";
111
- Message: string | undefined;
112
- ResourceId: string | undefined;
113
- ResourceType: string | undefined;
114
- DependentEntities?: DependentEntity[] | undefined;
115
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
116
- }
117
- export declare const ContactType: {
118
- readonly ESCALATION: "ESCALATION";
119
- readonly ONCALL_SCHEDULE: "ONCALL_SCHEDULE";
120
- readonly PERSONAL: "PERSONAL";
121
- };
122
- export type ContactType = (typeof ContactType)[keyof typeof ContactType];
123
37
  export interface Contact {
124
38
  ContactArn: string | undefined;
125
39
  Alias: string | undefined;
@@ -176,26 +90,6 @@ export interface CreateContactRequest {
176
90
  export interface CreateContactResult {
177
91
  ContactArn: string | undefined;
178
92
  }
179
- export declare class DataEncryptionException extends __BaseException {
180
- readonly name: "DataEncryptionException";
181
- readonly $fault: "client";
182
- Message: string | undefined;
183
- constructor(
184
- opts: __ExceptionOptionType<DataEncryptionException, __BaseException>
185
- );
186
- }
187
- export declare class ServiceQuotaExceededException extends __BaseException {
188
- readonly name: "ServiceQuotaExceededException";
189
- readonly $fault: "client";
190
- Message: string | undefined;
191
- ResourceId?: string | undefined;
192
- ResourceType?: string | undefined;
193
- QuotaCode: string | undefined;
194
- ServiceCode: string | undefined;
195
- constructor(
196
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
197
- );
198
- }
199
93
  export interface CreateContactChannelRequest {
200
94
  ContactId: string | undefined;
201
95
  Name: string | undefined;
@@ -211,16 +105,6 @@ export interface MonthlySetting {
211
105
  DayOfMonth: number | undefined;
212
106
  HandOffTime: HandOffTime | undefined;
213
107
  }
214
- export declare const DayOfWeek: {
215
- readonly FRI: "FRI";
216
- readonly MON: "MON";
217
- readonly SAT: "SAT";
218
- readonly SUN: "SUN";
219
- readonly THU: "THU";
220
- readonly TUE: "TUE";
221
- readonly WED: "WED";
222
- };
223
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
224
108
  export interface WeeklySetting {
225
109
  DayOfWeek: DayOfWeek | undefined;
226
110
  HandOffTime: HandOffTime | undefined;
@@ -405,14 +289,6 @@ export interface ListPageReceiptsRequest {
405
289
  NextToken?: string | undefined;
406
290
  MaxResults?: number | undefined;
407
291
  }
408
- export declare const ReceiptType: {
409
- readonly DELIVERED: "DELIVERED";
410
- readonly ERROR: "ERROR";
411
- readonly READ: "READ";
412
- readonly SENT: "SENT";
413
- readonly STOP: "STOP";
414
- };
415
- export type ReceiptType = (typeof ReceiptType)[keyof typeof ReceiptType];
416
292
  export interface Receipt {
417
293
  ContactChannelArn?: string | undefined;
418
294
  ReceiptType: ReceiptType | undefined;
@@ -483,11 +359,6 @@ export interface ListPreviewRotationShiftsRequest {
483
359
  export interface ShiftDetails {
484
360
  OverriddenContactIds: string[] | undefined;
485
361
  }
486
- export declare const ShiftType: {
487
- readonly OVERRIDDEN: "OVERRIDDEN";
488
- readonly REGULAR: "REGULAR";
489
- };
490
- export type ShiftType = (typeof ShiftType)[keyof typeof ShiftType];
491
362
  export interface RotationShift {
492
363
  ContactIds?: string[] | undefined;
493
364
  StartTime: Date | undefined;
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ssm-contacts",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";