@aws-sdk/client-notificationscontacts 3.948.0 → 3.953.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 (29) hide show
  1. package/dist-cjs/index.js +135 -98
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/ActivateEmailContactCommand.js +2 -2
  4. package/dist-es/commands/CreateEmailContactCommand.js +2 -2
  5. package/dist-es/commands/DeleteEmailContactCommand.js +2 -2
  6. package/dist-es/commands/GetEmailContactCommand.js +2 -2
  7. package/dist-es/commands/ListEmailContactsCommand.js +2 -2
  8. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  9. package/dist-es/commands/SendActivationCodeCommand.js +2 -2
  10. package/dist-es/commands/TagResourceCommand.js +2 -2
  11. package/dist-es/commands/UntagResourceCommand.js +2 -2
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/runtimeConfig.shared.js +6 -1
  14. package/dist-es/schemas/schemas_0.js +72 -72
  15. package/dist-types/NotificationsContactsClient.d.ts +1 -10
  16. package/dist-types/index.d.ts +1 -0
  17. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  18. package/dist-types/runtimeConfig.d.ts +6 -2
  19. package/dist-types/runtimeConfig.native.d.ts +6 -2
  20. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  21. package/dist-types/schemas/schemas_0.d.ts +38 -45
  22. package/dist-types/ts3.4/NotificationsContactsClient.d.ts +0 -4
  23. package/dist-types/ts3.4/index.d.ts +1 -0
  24. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  25. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  26. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  27. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -46
  29. package/package.json +34 -34
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./NotificationsContactsClient";
2
2
  export * from "./NotificationsContacts";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.notificationscontacts" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.notificationscontacts",
29
+ version: "2018-05-10",
30
+ serviceTarget: "NotificationsContacts",
31
+ },
27
32
  serviceId: config?.serviceId ?? "NotificationsContacts",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -72,14 +72,14 @@ const _tK = "tagKeys";
72
72
  const _uT = "updateTime";
73
73
  const n0 = "com.amazonaws.notificationscontacts";
74
74
  import { TypeRegistry } from "@smithy/core/schema";
75
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
76
- import { NotificationsContactsServiceException as __NotificationsContactsServiceException } from "../models/NotificationsContactsServiceException";
77
- export var EmailContactName = [0, n0, _ECN, 8, 0];
78
- export var SensitiveEmailContactAddress = [0, n0, _SECA, 8, 0];
79
- export var Token = [0, n0, _T, 8, 0];
80
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
81
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
82
- export var ActivateEmailContactRequest = [
75
+ import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
76
+ import { NotificationsContactsServiceException } from "../models/NotificationsContactsServiceException";
77
+ var EmailContactName = [0, n0, _ECN, 8, 0];
78
+ var SensitiveEmailContactAddress = [0, n0, _SECA, 8, 0];
79
+ var Token = [0, n0, _T, 8, 0];
80
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
81
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
82
+ export var ActivateEmailContactRequest$ = [
83
83
  3,
84
84
  n0,
85
85
  _AECR,
@@ -90,10 +90,10 @@ export var ActivateEmailContactRequest = [
90
90
  [() => Token, 1],
91
91
  ],
92
92
  ];
93
- export var ActivateEmailContactResponse = [3, n0, _AECRc, 0, [], []];
94
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
95
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
96
- export var CreateEmailContactRequest = [
93
+ export var ActivateEmailContactResponse$ = [3, n0, _AECRc, 0, [], []];
94
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
95
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
96
+ export var CreateEmailContactRequest$ = [
97
97
  3,
98
98
  n0,
99
99
  _CECR,
@@ -101,10 +101,10 @@ export var CreateEmailContactRequest = [
101
101
  [_n, _eA, _t],
102
102
  [[() => EmailContactName, 0], 0, 128 | 0],
103
103
  ];
104
- export var CreateEmailContactResponse = [3, n0, _CECRr, 0, [_a], [0]];
105
- export var DeleteEmailContactRequest = [3, n0, _DECR, 0, [_a], [[0, 1]]];
106
- export var DeleteEmailContactResponse = [3, n0, _DECRe, 0, [], []];
107
- export var EmailContact = [
104
+ export var CreateEmailContactResponse$ = [3, n0, _CECRr, 0, [_a], [0]];
105
+ export var DeleteEmailContactRequest$ = [3, n0, _DECR, 0, [_a], [[0, 1]]];
106
+ export var DeleteEmailContactResponse$ = [3, n0, _DECRe, 0, [], []];
107
+ export var EmailContact$ = [
108
108
  3,
109
109
  n0,
110
110
  _EC,
@@ -112,11 +112,11 @@ export var EmailContact = [
112
112
  [_a, _n, _ad, _s, _cT, _uT],
113
113
  [0, [() => EmailContactName, 0], [() => SensitiveEmailContactAddress, 0], 0, 5, 5],
114
114
  ];
115
- export var GetEmailContactRequest = [3, n0, _GECR, 0, [_a], [[0, 1]]];
116
- export var GetEmailContactResponse = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact, 0]]];
117
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
118
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
119
- export var ListEmailContactsRequest = [
115
+ export var GetEmailContactRequest$ = [3, n0, _GECR, 0, [_a], [[0, 1]]];
116
+ export var GetEmailContactResponse$ = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact$, 0]]];
117
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
118
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
119
+ export var ListEmailContactsRequest$ = [
120
120
  3,
121
121
  n0,
122
122
  _LECR,
@@ -127,7 +127,7 @@ export var ListEmailContactsRequest = [
127
127
  [0, { [_hQ]: _nT }],
128
128
  ],
129
129
  ];
130
- export var ListEmailContactsResponse = [
130
+ export var ListEmailContactsResponse$ = [
131
131
  3,
132
132
  n0,
133
133
  _LECRi,
@@ -135,9 +135,9 @@ export var ListEmailContactsResponse = [
135
135
  [_nT, _eCm],
136
136
  [0, [() => EmailContacts, 0]],
137
137
  ];
138
- export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_a], [[0, 1]]];
139
- export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
140
- export var ResourceNotFoundException = [
138
+ export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_a], [[0, 1]]];
139
+ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
140
+ export var ResourceNotFoundException$ = [
141
141
  -3,
142
142
  n0,
143
143
  _RNFE,
@@ -145,10 +145,10 @@ export var ResourceNotFoundException = [
145
145
  [_m, _rI, _rT],
146
146
  [0, 0, 0],
147
147
  ];
148
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
149
- export var SendActivationCodeRequest = [3, n0, _SACR, 0, [_a], [[0, 1]]];
150
- export var SendActivationCodeResponse = [3, n0, _SACRe, 0, [], []];
151
- export var ServiceQuotaExceededException = [
148
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
149
+ export var SendActivationCodeRequest$ = [3, n0, _SACR, 0, [_a], [[0, 1]]];
150
+ export var SendActivationCodeResponse$ = [3, n0, _SACRe, 0, [], []];
151
+ export var ServiceQuotaExceededException$ = [
152
152
  -3,
153
153
  n0,
154
154
  _SQEE,
@@ -156,10 +156,10 @@ export var ServiceQuotaExceededException = [
156
156
  [_m, _rI, _rT, _sC, _qC],
157
157
  [0, 0, 0, 0, 0],
158
158
  ];
159
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
160
- export var TagResourceRequest = [3, n0, _TRR, 0, [_a, _t], [[0, 1], 128 | 0]];
161
- export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
162
- export var ThrottlingException = [
159
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
160
+ export var TagResourceRequest$ = [3, n0, _TRR, 0, [_a, _t], [[0, 1], 128 | 0]];
161
+ export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
162
+ export var ThrottlingException$ = [
163
163
  -3,
164
164
  n0,
165
165
  _TE,
@@ -167,8 +167,8 @@ export var ThrottlingException = [
167
167
  [_m, _sC, _qC, _rAS],
168
168
  [0, 0, 0, [1, { [_hH]: _RA }]],
169
169
  ];
170
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
171
- export var UntagResourceRequest = [
170
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
171
+ export var UntagResourceRequest$ = [
172
172
  3,
173
173
  n0,
174
174
  _URR,
@@ -179,8 +179,8 @@ export var UntagResourceRequest = [
179
179
  [64 | 0, { [_hQ]: _tK }],
180
180
  ],
181
181
  ];
182
- export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
183
- export var ValidationException = [
182
+ export var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
183
+ export var ValidationException$ = [
184
184
  -3,
185
185
  n0,
186
186
  _VE,
@@ -188,9 +188,9 @@ export var ValidationException = [
188
188
  [_m, _r, _fL],
189
189
  [0, 0, () => ValidationExceptionFieldList],
190
190
  ];
191
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
192
- export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
193
- export var NotificationsContactsServiceException = [
191
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
192
+ export var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
193
+ export var NotificationsContactsServiceException$ = [
194
194
  -3,
195
195
  _sm,
196
196
  "NotificationsContactsServiceException",
@@ -198,80 +198,80 @@ export var NotificationsContactsServiceException = [
198
198
  [],
199
199
  [],
200
200
  ];
201
- TypeRegistry.for(_sm).registerError(NotificationsContactsServiceException, __NotificationsContactsServiceException);
202
- export var EmailContacts = [1, n0, _ECm, 0, [() => EmailContact, 0]];
203
- export var TagKeys = 64 | 0;
204
- export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
205
- export var TagMap = 128 | 0;
206
- export var ActivateEmailContact = [
201
+ TypeRegistry.for(_sm).registerError(NotificationsContactsServiceException$, NotificationsContactsServiceException);
202
+ var EmailContacts = [1, n0, _ECm, 0, [() => EmailContact$, 0]];
203
+ var TagKeys = 64 | 0;
204
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
205
+ var TagMap = 128 | 0;
206
+ export var ActivateEmailContact$ = [
207
207
  9,
208
208
  n0,
209
209
  _AEC,
210
210
  { [_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200] },
211
- () => ActivateEmailContactRequest,
212
- () => ActivateEmailContactResponse,
211
+ () => ActivateEmailContactRequest$,
212
+ () => ActivateEmailContactResponse$,
213
213
  ];
214
- export var CreateEmailContact = [
214
+ export var CreateEmailContact$ = [
215
215
  9,
216
216
  n0,
217
217
  _CEC,
218
218
  { [_h]: ["POST", "/2022-09-19/emailcontacts", 201] },
219
- () => CreateEmailContactRequest,
220
- () => CreateEmailContactResponse,
219
+ () => CreateEmailContactRequest$,
220
+ () => CreateEmailContactResponse$,
221
221
  ];
222
- export var DeleteEmailContact = [
222
+ export var DeleteEmailContact$ = [
223
223
  9,
224
224
  n0,
225
225
  _DEC,
226
226
  { [_h]: ["DELETE", "/emailcontacts/{arn}", 200] },
227
- () => DeleteEmailContactRequest,
228
- () => DeleteEmailContactResponse,
227
+ () => DeleteEmailContactRequest$,
228
+ () => DeleteEmailContactResponse$,
229
229
  ];
230
- export var GetEmailContact = [
230
+ export var GetEmailContact$ = [
231
231
  9,
232
232
  n0,
233
233
  _GEC,
234
234
  { [_h]: ["GET", "/emailcontacts/{arn}", 200] },
235
- () => GetEmailContactRequest,
236
- () => GetEmailContactResponse,
235
+ () => GetEmailContactRequest$,
236
+ () => GetEmailContactResponse$,
237
237
  ];
238
- export var ListEmailContacts = [
238
+ export var ListEmailContacts$ = [
239
239
  9,
240
240
  n0,
241
241
  _LEC,
242
242
  { [_h]: ["GET", "/emailcontacts", 200] },
243
- () => ListEmailContactsRequest,
244
- () => ListEmailContactsResponse,
243
+ () => ListEmailContactsRequest$,
244
+ () => ListEmailContactsResponse$,
245
245
  ];
246
- export var ListTagsForResource = [
246
+ export var ListTagsForResource$ = [
247
247
  9,
248
248
  n0,
249
249
  _LTFR,
250
250
  { [_h]: ["GET", "/tags/{arn}", 200] },
251
- () => ListTagsForResourceRequest,
252
- () => ListTagsForResourceResponse,
251
+ () => ListTagsForResourceRequest$,
252
+ () => ListTagsForResourceResponse$,
253
253
  ];
254
- export var SendActivationCode = [
254
+ export var SendActivationCode$ = [
255
255
  9,
256
256
  n0,
257
257
  _SAC,
258
258
  { [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] },
259
- () => SendActivationCodeRequest,
260
- () => SendActivationCodeResponse,
259
+ () => SendActivationCodeRequest$,
260
+ () => SendActivationCodeResponse$,
261
261
  ];
262
- export var TagResource = [
262
+ export var TagResource$ = [
263
263
  9,
264
264
  n0,
265
265
  _TR,
266
266
  { [_h]: ["POST", "/tags/{arn}", 200] },
267
- () => TagResourceRequest,
268
- () => TagResourceResponse,
267
+ () => TagResourceRequest$,
268
+ () => TagResourceResponse$,
269
269
  ];
270
- export var UntagResource = [
270
+ export var UntagResource$ = [
271
271
  9,
272
272
  n0,
273
273
  _UR,
274
274
  { [_h]: ["DELETE", "/tags/{arn}", 200] },
275
- () => UntagResourceRequest,
276
- () => UntagResourceResponse,
275
+ () => UntagResourceRequest$,
276
+ () => UntagResourceResponse$,
277
277
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "./commands/ActivateEmailContactCommand";
11
11
  import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "./commands/CreateEmailContactCommand";
@@ -150,15 +150,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
150
150
  * Optional extensions
151
151
  */
152
152
  extensions?: RuntimeExtension[];
153
- /**
154
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
155
- * may be overridden. A default will always be set by the client.
156
- * Available options depend on the service's supported protocols and will not be validated by
157
- * the client.
158
- * @alpha
159
- *
160
- */
161
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
162
153
  /**
163
154
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
164
155
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { NotificationsContactsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./pagination";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: NotificationsContactsClientConfi
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NotificationsContactsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,45 +1,38 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var EmailContactName: StaticSimpleSchema;
3
- export declare var SensitiveEmailContactAddress: StaticSimpleSchema;
4
- export declare var Token: StaticSimpleSchema;
5
- export declare var AccessDeniedException: StaticErrorSchema;
6
- export declare var ActivateEmailContactRequest: StaticStructureSchema;
7
- export declare var ActivateEmailContactResponse: StaticStructureSchema;
8
- export declare var ConflictException: StaticErrorSchema;
9
- export declare var CreateEmailContactRequest: StaticStructureSchema;
10
- export declare var CreateEmailContactResponse: StaticStructureSchema;
11
- export declare var DeleteEmailContactRequest: StaticStructureSchema;
12
- export declare var DeleteEmailContactResponse: StaticStructureSchema;
13
- export declare var EmailContact: StaticStructureSchema;
14
- export declare var GetEmailContactRequest: StaticStructureSchema;
15
- export declare var GetEmailContactResponse: StaticStructureSchema;
16
- export declare var InternalServerException: StaticErrorSchema;
17
- export declare var ListEmailContactsRequest: StaticStructureSchema;
18
- export declare var ListEmailContactsResponse: StaticStructureSchema;
19
- export declare var ListTagsForResourceRequest: StaticStructureSchema;
20
- export declare var ListTagsForResourceResponse: StaticStructureSchema;
21
- export declare var ResourceNotFoundException: StaticErrorSchema;
22
- export declare var SendActivationCodeRequest: StaticStructureSchema;
23
- export declare var SendActivationCodeResponse: StaticStructureSchema;
24
- export declare var ServiceQuotaExceededException: StaticErrorSchema;
25
- export declare var TagResourceRequest: StaticStructureSchema;
26
- export declare var TagResourceResponse: StaticStructureSchema;
27
- export declare var ThrottlingException: StaticErrorSchema;
28
- export declare var UntagResourceRequest: StaticStructureSchema;
29
- export declare var UntagResourceResponse: StaticStructureSchema;
30
- export declare var ValidationException: StaticErrorSchema;
31
- export declare var ValidationExceptionField: StaticStructureSchema;
32
- export declare var NotificationsContactsServiceException: StaticErrorSchema;
33
- export declare var EmailContacts: StaticListSchema;
34
- export declare var TagKeys: number;
35
- export declare var ValidationExceptionFieldList: StaticListSchema;
36
- export declare var TagMap: number;
37
- export declare var ActivateEmailContact: StaticOperationSchema;
38
- export declare var CreateEmailContact: StaticOperationSchema;
39
- export declare var DeleteEmailContact: StaticOperationSchema;
40
- export declare var GetEmailContact: StaticOperationSchema;
41
- export declare var ListEmailContacts: StaticOperationSchema;
42
- export declare var ListTagsForResource: StaticOperationSchema;
43
- export declare var SendActivationCode: StaticOperationSchema;
44
- export declare var TagResource: StaticOperationSchema;
45
- export declare var UntagResource: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var ActivateEmailContactRequest$: StaticStructureSchema;
4
+ export declare var ActivateEmailContactResponse$: StaticStructureSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var CreateEmailContactRequest$: StaticStructureSchema;
7
+ export declare var CreateEmailContactResponse$: StaticStructureSchema;
8
+ export declare var DeleteEmailContactRequest$: StaticStructureSchema;
9
+ export declare var DeleteEmailContactResponse$: StaticStructureSchema;
10
+ export declare var EmailContact$: StaticStructureSchema;
11
+ export declare var GetEmailContactRequest$: StaticStructureSchema;
12
+ export declare var GetEmailContactResponse$: StaticStructureSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var ListEmailContactsRequest$: StaticStructureSchema;
15
+ export declare var ListEmailContactsResponse$: StaticStructureSchema;
16
+ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
17
+ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
18
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
19
+ export declare var SendActivationCodeRequest$: StaticStructureSchema;
20
+ export declare var SendActivationCodeResponse$: StaticStructureSchema;
21
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
22
+ export declare var TagResourceRequest$: StaticStructureSchema;
23
+ export declare var TagResourceResponse$: StaticStructureSchema;
24
+ export declare var ThrottlingException$: StaticErrorSchema;
25
+ export declare var UntagResourceRequest$: StaticStructureSchema;
26
+ export declare var UntagResourceResponse$: StaticStructureSchema;
27
+ export declare var ValidationException$: StaticErrorSchema;
28
+ export declare var ValidationExceptionField$: StaticStructureSchema;
29
+ export declare var NotificationsContactsServiceException$: StaticErrorSchema;
30
+ export declare var ActivateEmailContact$: StaticOperationSchema;
31
+ export declare var CreateEmailContact$: StaticOperationSchema;
32
+ export declare var DeleteEmailContact$: StaticOperationSchema;
33
+ export declare var GetEmailContact$: StaticOperationSchema;
34
+ export declare var ListEmailContacts$: StaticOperationSchema;
35
+ export declare var ListTagsForResource$: StaticOperationSchema;
36
+ export declare var SendActivationCode$: StaticOperationSchema;
37
+ export declare var TagResource$: StaticOperationSchema;
38
+ export declare var UntagResource$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -135,7 +132,6 @@ export interface ClientDefaults
135
132
  retryMode?: string | __Provider<string>;
136
133
  logger?: __Logger;
137
134
  extensions?: RuntimeExtension[];
138
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
139
135
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
140
136
  }
141
137
  export type NotificationsContactsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { NotificationsContactsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  userAgentAppId?:
48
52
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (
38
46
  retryMode: string | import("@smithy/types").Provider<string>;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  defaultsMode:
46
50
  | import("@smithy/smithy-client").DefaultsMode
47
51
  | import("@smithy/types").Provider<