@aws-sdk/client-ssm-contacts 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/SSMContactsServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +129 -2
- package/dist-cjs/protocols/Aws_json1_1.js +302 -1219
- package/dist-es/index.js +1 -0
- package/dist-es/models/SSMContactsServiceException.js +12 -0
- package/dist-es/models/models_0.js +120 -1
- package/dist-es/protocols/Aws_json1_1.js +669 -1312
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/SSMContactsServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -25
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/SSMContactsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -25
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from SSMContacts service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SSMContactsServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
2
3
|
export declare enum AcceptCodeValidation {
|
|
3
4
|
ENFORCE = "ENFORCE",
|
|
4
5
|
IGNORE = "IGNORE"
|
|
@@ -57,30 +58,38 @@ export declare namespace AcceptPageResult {
|
|
|
57
58
|
/**
|
|
58
59
|
* <p>You don't have sufficient access to perform this operation.</p>
|
|
59
60
|
*/
|
|
60
|
-
export
|
|
61
|
-
name: "AccessDeniedException";
|
|
62
|
-
$fault: "client";
|
|
61
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
62
|
+
readonly name: "AccessDeniedException";
|
|
63
|
+
readonly $fault: "client";
|
|
63
64
|
Message: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
64
69
|
}
|
|
65
70
|
/**
|
|
66
71
|
* <p>Unexpected error occurred while
|
|
67
72
|
* processing the request.</p>
|
|
68
73
|
*/
|
|
69
|
-
export
|
|
70
|
-
name: "InternalServerException";
|
|
71
|
-
$fault: "server";
|
|
74
|
+
export declare class InternalServerException extends __BaseException {
|
|
75
|
+
readonly name: "InternalServerException";
|
|
76
|
+
readonly $fault: "server";
|
|
72
77
|
Message: string | undefined;
|
|
73
78
|
/**
|
|
74
79
|
* Advice to clients on when the call can be safely retried
|
|
75
80
|
*/
|
|
76
81
|
RetryAfterSeconds?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
77
86
|
}
|
|
78
87
|
/**
|
|
79
88
|
* <p>Request references a resource that doesn't exist.</p>
|
|
80
89
|
*/
|
|
81
|
-
export
|
|
82
|
-
name: "ResourceNotFoundException";
|
|
83
|
-
$fault: "client";
|
|
90
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
91
|
+
readonly name: "ResourceNotFoundException";
|
|
92
|
+
readonly $fault: "client";
|
|
84
93
|
Message: string | undefined;
|
|
85
94
|
/**
|
|
86
95
|
* Hypothetical resource identifier that was not found
|
|
@@ -90,13 +99,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
90
99
|
* Hypothetical resource type that was not found
|
|
91
100
|
*/
|
|
92
101
|
ResourceType: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
93
106
|
}
|
|
94
107
|
/**
|
|
95
108
|
* <p>The request was denied due to request throttling.</p>
|
|
96
109
|
*/
|
|
97
|
-
export
|
|
98
|
-
name: "ThrottlingException";
|
|
99
|
-
$fault: "client";
|
|
110
|
+
export declare class ThrottlingException extends __BaseException {
|
|
111
|
+
readonly name: "ThrottlingException";
|
|
112
|
+
readonly $fault: "client";
|
|
100
113
|
Message: string | undefined;
|
|
101
114
|
/**
|
|
102
115
|
* Service Quotas requirement to identify originating service
|
|
@@ -110,6 +123,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
110
123
|
* Advice to clients on when the call can be safely retried
|
|
111
124
|
*/
|
|
112
125
|
RetryAfterSeconds?: number;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
113
130
|
}
|
|
114
131
|
/**
|
|
115
132
|
* <p>Provides information about which field caused the exception.</p>
|
|
@@ -140,9 +157,9 @@ export declare enum ValidationExceptionReason {
|
|
|
140
157
|
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
141
158
|
* service.</p>
|
|
142
159
|
*/
|
|
143
|
-
export
|
|
144
|
-
name: "ValidationException";
|
|
145
|
-
$fault: "client";
|
|
160
|
+
export declare class ValidationException extends __BaseException {
|
|
161
|
+
readonly name: "ValidationException";
|
|
162
|
+
readonly $fault: "client";
|
|
146
163
|
Message: string | undefined;
|
|
147
164
|
/**
|
|
148
165
|
* Reason the request failed validation
|
|
@@ -152,6 +169,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
152
169
|
* The fields that caused the error
|
|
153
170
|
*/
|
|
154
171
|
Fields?: ValidationExceptionField[];
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
155
176
|
}
|
|
156
177
|
export interface ActivateContactChannelRequest {
|
|
157
178
|
/**
|
|
@@ -210,9 +231,9 @@ export declare enum ChannelType {
|
|
|
210
231
|
/**
|
|
211
232
|
* <p>Updating or deleting a resource causes an inconsistent state.</p>
|
|
212
233
|
*/
|
|
213
|
-
export
|
|
214
|
-
name: "ConflictException";
|
|
215
|
-
$fault: "client";
|
|
234
|
+
export declare class ConflictException extends __BaseException {
|
|
235
|
+
readonly name: "ConflictException";
|
|
236
|
+
readonly $fault: "client";
|
|
216
237
|
Message: string | undefined;
|
|
217
238
|
/**
|
|
218
239
|
* Identifier of the resource in use
|
|
@@ -222,6 +243,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
222
243
|
* ype of the resource in use
|
|
223
244
|
*/
|
|
224
245
|
ResourceType: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
225
250
|
}
|
|
226
251
|
export declare enum ContactType {
|
|
227
252
|
ESCALATION = "ESCALATION",
|
|
@@ -481,17 +506,21 @@ export declare namespace CreateContactResult {
|
|
|
481
506
|
/**
|
|
482
507
|
* <p>The operation failed to due an encryption key error.</p>
|
|
483
508
|
*/
|
|
484
|
-
export
|
|
485
|
-
name: "DataEncryptionException";
|
|
486
|
-
$fault: "client";
|
|
509
|
+
export declare class DataEncryptionException extends __BaseException {
|
|
510
|
+
readonly name: "DataEncryptionException";
|
|
511
|
+
readonly $fault: "client";
|
|
487
512
|
Message: string | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* @internal
|
|
515
|
+
*/
|
|
516
|
+
constructor(opts: __ExceptionOptionType<DataEncryptionException, __BaseException>);
|
|
488
517
|
}
|
|
489
518
|
/**
|
|
490
519
|
* <p>Request would cause a service quota to be exceeded.</p>
|
|
491
520
|
*/
|
|
492
|
-
export
|
|
493
|
-
name: "ServiceQuotaExceededException";
|
|
494
|
-
$fault: "client";
|
|
521
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
522
|
+
readonly name: "ServiceQuotaExceededException";
|
|
523
|
+
readonly $fault: "client";
|
|
495
524
|
Message: string | undefined;
|
|
496
525
|
/**
|
|
497
526
|
* Identifier of the resource affected
|
|
@@ -509,6 +538,10 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
509
538
|
* Service Quotas requirement to identify originating quota
|
|
510
539
|
*/
|
|
511
540
|
ServiceCode: string | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* @internal
|
|
543
|
+
*/
|
|
544
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
512
545
|
}
|
|
513
546
|
export interface CreateContactChannelRequest {
|
|
514
547
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class SSMContactsServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
|
|
2
3
|
export declare enum AcceptCodeValidation {
|
|
3
4
|
ENFORCE = "ENFORCE",
|
|
4
5
|
IGNORE = "IGNORE"
|
|
@@ -32,33 +33,39 @@ export declare namespace AcceptPageResult {
|
|
|
32
33
|
const filterSensitiveLog: (obj: AcceptPageResult) => any;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
export
|
|
36
|
-
name: "AccessDeniedException";
|
|
37
|
-
$fault: "client";
|
|
36
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
37
|
+
readonly name: "AccessDeniedException";
|
|
38
|
+
readonly $fault: "client";
|
|
38
39
|
Message: string | undefined;
|
|
40
|
+
|
|
41
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
39
42
|
}
|
|
40
43
|
|
|
41
|
-
export
|
|
42
|
-
name: "InternalServerException";
|
|
43
|
-
$fault: "server";
|
|
44
|
+
export declare class InternalServerException extends __BaseException {
|
|
45
|
+
readonly name: "InternalServerException";
|
|
46
|
+
readonly $fault: "server";
|
|
44
47
|
Message: string | undefined;
|
|
45
48
|
|
|
46
49
|
RetryAfterSeconds?: number;
|
|
50
|
+
|
|
51
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
47
52
|
}
|
|
48
53
|
|
|
49
|
-
export
|
|
50
|
-
name: "ResourceNotFoundException";
|
|
51
|
-
$fault: "client";
|
|
54
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
55
|
+
readonly name: "ResourceNotFoundException";
|
|
56
|
+
readonly $fault: "client";
|
|
52
57
|
Message: string | undefined;
|
|
53
58
|
|
|
54
59
|
ResourceId: string | undefined;
|
|
55
60
|
|
|
56
61
|
ResourceType: string | undefined;
|
|
62
|
+
|
|
63
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
57
64
|
}
|
|
58
65
|
|
|
59
|
-
export
|
|
60
|
-
name: "ThrottlingException";
|
|
61
|
-
$fault: "client";
|
|
66
|
+
export declare class ThrottlingException extends __BaseException {
|
|
67
|
+
readonly name: "ThrottlingException";
|
|
68
|
+
readonly $fault: "client";
|
|
62
69
|
Message: string | undefined;
|
|
63
70
|
|
|
64
71
|
QuotaCode?: string;
|
|
@@ -66,6 +73,8 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
66
73
|
ServiceCode?: string;
|
|
67
74
|
|
|
68
75
|
RetryAfterSeconds?: number;
|
|
76
|
+
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
69
78
|
}
|
|
70
79
|
|
|
71
80
|
export interface ValidationExceptionField {
|
|
@@ -85,14 +94,16 @@ export declare enum ValidationExceptionReason {
|
|
|
85
94
|
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
86
95
|
}
|
|
87
96
|
|
|
88
|
-
export
|
|
89
|
-
name: "ValidationException";
|
|
90
|
-
$fault: "client";
|
|
97
|
+
export declare class ValidationException extends __BaseException {
|
|
98
|
+
readonly name: "ValidationException";
|
|
99
|
+
readonly $fault: "client";
|
|
91
100
|
Message: string | undefined;
|
|
92
101
|
|
|
93
102
|
Reason?: ValidationExceptionReason | string;
|
|
94
103
|
|
|
95
104
|
Fields?: ValidationExceptionField[];
|
|
105
|
+
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
96
107
|
}
|
|
97
108
|
export interface ActivateContactChannelRequest {
|
|
98
109
|
|
|
@@ -131,14 +142,16 @@ export declare enum ChannelType {
|
|
|
131
142
|
VOICE = "VOICE"
|
|
132
143
|
}
|
|
133
144
|
|
|
134
|
-
export
|
|
135
|
-
name: "ConflictException";
|
|
136
|
-
$fault: "client";
|
|
145
|
+
export declare class ConflictException extends __BaseException {
|
|
146
|
+
readonly name: "ConflictException";
|
|
147
|
+
readonly $fault: "client";
|
|
137
148
|
Message: string | undefined;
|
|
138
149
|
|
|
139
150
|
ResourceId: string | undefined;
|
|
140
151
|
|
|
141
152
|
ResourceType: string | undefined;
|
|
153
|
+
|
|
154
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
142
155
|
}
|
|
143
156
|
export declare enum ContactType {
|
|
144
157
|
ESCALATION = "ESCALATION",
|
|
@@ -267,15 +280,17 @@ export declare namespace CreateContactResult {
|
|
|
267
280
|
const filterSensitiveLog: (obj: CreateContactResult) => any;
|
|
268
281
|
}
|
|
269
282
|
|
|
270
|
-
export
|
|
271
|
-
name: "DataEncryptionException";
|
|
272
|
-
$fault: "client";
|
|
283
|
+
export declare class DataEncryptionException extends __BaseException {
|
|
284
|
+
readonly name: "DataEncryptionException";
|
|
285
|
+
readonly $fault: "client";
|
|
273
286
|
Message: string | undefined;
|
|
287
|
+
|
|
288
|
+
constructor(opts: __ExceptionOptionType<DataEncryptionException, __BaseException>);
|
|
274
289
|
}
|
|
275
290
|
|
|
276
|
-
export
|
|
277
|
-
name: "ServiceQuotaExceededException";
|
|
278
|
-
$fault: "client";
|
|
291
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
292
|
+
readonly name: "ServiceQuotaExceededException";
|
|
293
|
+
readonly $fault: "client";
|
|
279
294
|
Message: string | undefined;
|
|
280
295
|
|
|
281
296
|
ResourceId?: string;
|
|
@@ -285,6 +300,8 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
285
300
|
QuotaCode: string | undefined;
|
|
286
301
|
|
|
287
302
|
ServiceCode: string | undefined;
|
|
303
|
+
|
|
304
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
288
305
|
}
|
|
289
306
|
export interface CreateContactChannelRequest {
|
|
290
307
|
|
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.
|
|
4
|
+
"version": "3.53.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",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|