@aws-sdk/client-api-gateway 3.686.0 → 3.691.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,39 +1,39 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
3
3
  export interface AccessLogSettings {
4
- format?: string;
5
- destinationArn?: string;
4
+ format?: string | undefined;
5
+ destinationArn?: string | undefined;
6
6
  }
7
7
  export interface ThrottleSettings {
8
- burstLimit?: number;
9
- rateLimit?: number;
8
+ burstLimit?: number | undefined;
9
+ rateLimit?: number | undefined;
10
10
  }
11
11
  export interface Account {
12
- cloudwatchRoleArn?: string;
13
- throttleSettings?: ThrottleSettings;
14
- features?: string[];
15
- apiKeyVersion?: string;
12
+ cloudwatchRoleArn?: string | undefined;
13
+ throttleSettings?: ThrottleSettings | undefined;
14
+ features?: string[] | undefined;
15
+ apiKeyVersion?: string | undefined;
16
16
  }
17
17
  export interface ApiKey {
18
- id?: string;
19
- value?: string;
20
- name?: string;
21
- customerId?: string;
22
- description?: string;
23
- enabled?: boolean;
24
- createdDate?: Date;
25
- lastUpdatedDate?: Date;
26
- stageKeys?: string[];
27
- tags?: Record<string, string>;
18
+ id?: string | undefined;
19
+ value?: string | undefined;
20
+ name?: string | undefined;
21
+ customerId?: string | undefined;
22
+ description?: string | undefined;
23
+ enabled?: boolean | undefined;
24
+ createdDate?: Date | undefined;
25
+ lastUpdatedDate?: Date | undefined;
26
+ stageKeys?: string[] | undefined;
27
+ tags?: Record<string, string> | undefined;
28
28
  }
29
29
  export interface ApiKeyIds {
30
- ids?: string[];
31
- warnings?: string[];
30
+ ids?: string[] | undefined;
31
+ warnings?: string[] | undefined;
32
32
  }
33
33
  export interface ApiKeys {
34
- warnings?: string[];
35
- items?: ApiKey[];
36
- position?: string;
34
+ warnings?: string[] | undefined;
35
+ items?: ApiKey[] | undefined;
36
+ position?: string | undefined;
37
37
  }
38
38
  export declare const ApiKeysFormat: {
39
39
  readonly csv: "csv";
@@ -46,9 +46,9 @@ export declare const ApiKeySourceType: {
46
46
  export type ApiKeySourceType =
47
47
  (typeof ApiKeySourceType)[keyof typeof ApiKeySourceType];
48
48
  export interface ApiStage {
49
- apiId?: string;
50
- stage?: string;
51
- throttle?: Record<string, ThrottleSettings>;
49
+ apiId?: string | undefined;
50
+ stage?: string | undefined;
51
+ throttle?: Record<string, ThrottleSettings> | undefined;
52
52
  }
53
53
  export declare const AuthorizerType: {
54
54
  readonly COGNITO_USER_POOLS: "COGNITO_USER_POOLS";
@@ -58,20 +58,20 @@ export declare const AuthorizerType: {
58
58
  export type AuthorizerType =
59
59
  (typeof AuthorizerType)[keyof typeof AuthorizerType];
60
60
  export interface Authorizer {
61
- id?: string;
62
- name?: string;
63
- type?: AuthorizerType;
64
- providerARNs?: string[];
65
- authType?: string;
66
- authorizerUri?: string;
67
- authorizerCredentials?: string;
68
- identitySource?: string;
69
- identityValidationExpression?: string;
70
- authorizerResultTtlInSeconds?: number;
61
+ id?: string | undefined;
62
+ name?: string | undefined;
63
+ type?: AuthorizerType | undefined;
64
+ providerARNs?: string[] | undefined;
65
+ authType?: string | undefined;
66
+ authorizerUri?: string | undefined;
67
+ authorizerCredentials?: string | undefined;
68
+ identitySource?: string | undefined;
69
+ identityValidationExpression?: string | undefined;
70
+ authorizerResultTtlInSeconds?: number | undefined;
71
71
  }
72
72
  export interface Authorizers {
73
- items?: Authorizer[];
74
- position?: string;
73
+ items?: Authorizer[] | undefined;
74
+ position?: string | undefined;
75
75
  }
76
76
  export declare class BadRequestException extends __BaseException {
77
77
  readonly name: "BadRequestException";
@@ -86,23 +86,23 @@ export declare class ConflictException extends __BaseException {
86
86
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
87
87
  }
88
88
  export interface StageKey {
89
- restApiId?: string;
90
- stageName?: string;
89
+ restApiId?: string | undefined;
90
+ stageName?: string | undefined;
91
91
  }
92
92
  export interface CreateApiKeyRequest {
93
- name?: string;
94
- description?: string;
95
- enabled?: boolean;
96
- generateDistinctId?: boolean;
97
- value?: string;
98
- stageKeys?: StageKey[];
99
- customerId?: string;
100
- tags?: Record<string, string>;
93
+ name?: string | undefined;
94
+ description?: string | undefined;
95
+ enabled?: boolean | undefined;
96
+ generateDistinctId?: boolean | undefined;
97
+ value?: string | undefined;
98
+ stageKeys?: StageKey[] | undefined;
99
+ customerId?: string | undefined;
100
+ tags?: Record<string, string> | undefined;
101
101
  }
102
102
  export declare class LimitExceededException extends __BaseException {
103
103
  readonly name: "LimitExceededException";
104
104
  readonly $fault: "client";
105
- retryAfterSeconds?: string;
105
+ retryAfterSeconds?: string | undefined;
106
106
  constructor(
107
107
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
108
108
  );
@@ -115,7 +115,7 @@ export declare class NotFoundException extends __BaseException {
115
115
  export declare class TooManyRequestsException extends __BaseException {
116
116
  readonly name: "TooManyRequestsException";
117
117
  readonly $fault: "client";
118
- retryAfterSeconds?: string;
118
+ retryAfterSeconds?: string | undefined;
119
119
  constructor(
120
120
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
121
121
  );
@@ -131,24 +131,24 @@ export interface CreateAuthorizerRequest {
131
131
  restApiId: string | undefined;
132
132
  name: string | undefined;
133
133
  type: AuthorizerType | undefined;
134
- providerARNs?: string[];
135
- authType?: string;
136
- authorizerUri?: string;
137
- authorizerCredentials?: string;
138
- identitySource?: string;
139
- identityValidationExpression?: string;
140
- authorizerResultTtlInSeconds?: number;
134
+ providerARNs?: string[] | undefined;
135
+ authType?: string | undefined;
136
+ authorizerUri?: string | undefined;
137
+ authorizerCredentials?: string | undefined;
138
+ identitySource?: string | undefined;
139
+ identityValidationExpression?: string | undefined;
140
+ authorizerResultTtlInSeconds?: number | undefined;
141
141
  }
142
142
  export interface BasePathMapping {
143
- basePath?: string;
144
- restApiId?: string;
145
- stage?: string;
143
+ basePath?: string | undefined;
144
+ restApiId?: string | undefined;
145
+ stage?: string | undefined;
146
146
  }
147
147
  export interface CreateBasePathMappingRequest {
148
148
  domainName: string | undefined;
149
- basePath?: string;
149
+ basePath?: string | undefined;
150
150
  restApiId: string | undefined;
151
- stage?: string;
151
+ stage?: string | undefined;
152
152
  }
153
153
  export declare const CacheClusterSize: {
154
154
  readonly SIZE_0_POINT_5_GB: "0.5";
@@ -163,35 +163,35 @@ export declare const CacheClusterSize: {
163
163
  export type CacheClusterSize =
164
164
  (typeof CacheClusterSize)[keyof typeof CacheClusterSize];
165
165
  export interface DeploymentCanarySettings {
166
- percentTraffic?: number;
167
- stageVariableOverrides?: Record<string, string>;
168
- useStageCache?: boolean;
166
+ percentTraffic?: number | undefined;
167
+ stageVariableOverrides?: Record<string, string> | undefined;
168
+ useStageCache?: boolean | undefined;
169
169
  }
170
170
  export interface CreateDeploymentRequest {
171
171
  restApiId: string | undefined;
172
- stageName?: string;
173
- stageDescription?: string;
174
- description?: string;
175
- cacheClusterEnabled?: boolean;
176
- cacheClusterSize?: CacheClusterSize;
177
- variables?: Record<string, string>;
178
- canarySettings?: DeploymentCanarySettings;
179
- tracingEnabled?: boolean;
172
+ stageName?: string | undefined;
173
+ stageDescription?: string | undefined;
174
+ description?: string | undefined;
175
+ cacheClusterEnabled?: boolean | undefined;
176
+ cacheClusterSize?: CacheClusterSize | undefined;
177
+ variables?: Record<string, string> | undefined;
178
+ canarySettings?: DeploymentCanarySettings | undefined;
179
+ tracingEnabled?: boolean | undefined;
180
180
  }
181
181
  export interface MethodSnapshot {
182
- authorizationType?: string;
183
- apiKeyRequired?: boolean;
182
+ authorizationType?: string | undefined;
183
+ apiKeyRequired?: boolean | undefined;
184
184
  }
185
185
  export interface Deployment {
186
- id?: string;
187
- description?: string;
188
- createdDate?: Date;
189
- apiSummary?: Record<string, Record<string, MethodSnapshot>>;
186
+ id?: string | undefined;
187
+ description?: string | undefined;
188
+ createdDate?: Date | undefined;
189
+ apiSummary?: Record<string, Record<string, MethodSnapshot>> | undefined;
190
190
  }
191
191
  export declare class ServiceUnavailableException extends __BaseException {
192
192
  readonly name: "ServiceUnavailableException";
193
193
  readonly $fault: "server";
194
- retryAfterSeconds?: string;
194
+ retryAfterSeconds?: string | undefined;
195
195
  constructor(
196
196
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
197
197
  );
@@ -214,10 +214,10 @@ export type DocumentationPartType =
214
214
  (typeof DocumentationPartType)[keyof typeof DocumentationPartType];
215
215
  export interface DocumentationPartLocation {
216
216
  type: DocumentationPartType | undefined;
217
- path?: string;
218
- method?: string;
219
- statusCode?: string;
220
- name?: string;
217
+ path?: string | undefined;
218
+ method?: string | undefined;
219
+ statusCode?: string | undefined;
220
+ name?: string | undefined;
221
221
  }
222
222
  export interface CreateDocumentationPartRequest {
223
223
  restApiId: string | undefined;
@@ -225,20 +225,20 @@ export interface CreateDocumentationPartRequest {
225
225
  properties: string | undefined;
226
226
  }
227
227
  export interface DocumentationPart {
228
- id?: string;
229
- location?: DocumentationPartLocation;
230
- properties?: string;
228
+ id?: string | undefined;
229
+ location?: DocumentationPartLocation | undefined;
230
+ properties?: string | undefined;
231
231
  }
232
232
  export interface CreateDocumentationVersionRequest {
233
233
  restApiId: string | undefined;
234
234
  documentationVersion: string | undefined;
235
- stageName?: string;
236
- description?: string;
235
+ stageName?: string | undefined;
236
+ description?: string | undefined;
237
237
  }
238
238
  export interface DocumentationVersion {
239
- version?: string;
240
- createdDate?: Date;
241
- description?: string;
239
+ version?: string | undefined;
240
+ createdDate?: Date | undefined;
241
+ description?: string | undefined;
242
242
  }
243
243
  export declare const EndpointType: {
244
244
  readonly EDGE: "EDGE";
@@ -247,12 +247,12 @@ export declare const EndpointType: {
247
247
  };
248
248
  export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
249
249
  export interface EndpointConfiguration {
250
- types?: EndpointType[];
251
- vpcEndpointIds?: string[];
250
+ types?: EndpointType[] | undefined;
251
+ vpcEndpointIds?: string[] | undefined;
252
252
  }
253
253
  export interface MutualTlsAuthenticationInput {
254
- truststoreUri?: string;
255
- truststoreVersion?: string;
254
+ truststoreUri?: string | undefined;
255
+ truststoreVersion?: string | undefined;
256
256
  }
257
257
  export declare const SecurityPolicy: {
258
258
  readonly TLS_1_0: "TLS_1_0";
@@ -262,18 +262,18 @@ export type SecurityPolicy =
262
262
  (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
263
263
  export interface CreateDomainNameRequest {
264
264
  domainName: string | undefined;
265
- certificateName?: string;
266
- certificateBody?: string;
267
- certificatePrivateKey?: string;
268
- certificateChain?: string;
269
- certificateArn?: string;
270
- regionalCertificateName?: string;
271
- regionalCertificateArn?: string;
272
- endpointConfiguration?: EndpointConfiguration;
273
- tags?: Record<string, string>;
274
- securityPolicy?: SecurityPolicy;
275
- mutualTlsAuthentication?: MutualTlsAuthenticationInput;
276
- ownershipVerificationCertificateArn?: string;
265
+ certificateName?: string | undefined;
266
+ certificateBody?: string | undefined;
267
+ certificatePrivateKey?: string | undefined;
268
+ certificateChain?: string | undefined;
269
+ certificateArn?: string | undefined;
270
+ regionalCertificateName?: string | undefined;
271
+ regionalCertificateArn?: string | undefined;
272
+ endpointConfiguration?: EndpointConfiguration | undefined;
273
+ tags?: Record<string, string> | undefined;
274
+ securityPolicy?: SecurityPolicy | undefined;
275
+ mutualTlsAuthentication?: MutualTlsAuthenticationInput | undefined;
276
+ ownershipVerificationCertificateArn?: string | undefined;
277
277
  }
278
278
  export declare const DomainNameStatus: {
279
279
  readonly AVAILABLE: "AVAILABLE";
@@ -285,54 +285,54 @@ export declare const DomainNameStatus: {
285
285
  export type DomainNameStatus =
286
286
  (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
287
287
  export interface MutualTlsAuthentication {
288
- truststoreUri?: string;
289
- truststoreVersion?: string;
290
- truststoreWarnings?: string[];
288
+ truststoreUri?: string | undefined;
289
+ truststoreVersion?: string | undefined;
290
+ truststoreWarnings?: string[] | undefined;
291
291
  }
292
292
  export interface DomainName {
293
- domainName?: string;
294
- certificateName?: string;
295
- certificateArn?: string;
296
- certificateUploadDate?: Date;
297
- regionalDomainName?: string;
298
- regionalHostedZoneId?: string;
299
- regionalCertificateName?: string;
300
- regionalCertificateArn?: string;
301
- distributionDomainName?: string;
302
- distributionHostedZoneId?: string;
303
- endpointConfiguration?: EndpointConfiguration;
304
- domainNameStatus?: DomainNameStatus;
305
- domainNameStatusMessage?: string;
306
- securityPolicy?: SecurityPolicy;
307
- tags?: Record<string, string>;
308
- mutualTlsAuthentication?: MutualTlsAuthentication;
309
- ownershipVerificationCertificateArn?: string;
293
+ domainName?: string | undefined;
294
+ certificateName?: string | undefined;
295
+ certificateArn?: string | undefined;
296
+ certificateUploadDate?: Date | undefined;
297
+ regionalDomainName?: string | undefined;
298
+ regionalHostedZoneId?: string | undefined;
299
+ regionalCertificateName?: string | undefined;
300
+ regionalCertificateArn?: string | undefined;
301
+ distributionDomainName?: string | undefined;
302
+ distributionHostedZoneId?: string | undefined;
303
+ endpointConfiguration?: EndpointConfiguration | undefined;
304
+ domainNameStatus?: DomainNameStatus | undefined;
305
+ domainNameStatusMessage?: string | undefined;
306
+ securityPolicy?: SecurityPolicy | undefined;
307
+ tags?: Record<string, string> | undefined;
308
+ mutualTlsAuthentication?: MutualTlsAuthentication | undefined;
309
+ ownershipVerificationCertificateArn?: string | undefined;
310
310
  }
311
311
  export interface CreateModelRequest {
312
312
  restApiId: string | undefined;
313
313
  name: string | undefined;
314
- description?: string;
315
- schema?: string;
314
+ description?: string | undefined;
315
+ schema?: string | undefined;
316
316
  contentType: string | undefined;
317
317
  }
318
318
  export interface Model {
319
- id?: string;
320
- name?: string;
321
- description?: string;
322
- schema?: string;
323
- contentType?: string;
319
+ id?: string | undefined;
320
+ name?: string | undefined;
321
+ description?: string | undefined;
322
+ schema?: string | undefined;
323
+ contentType?: string | undefined;
324
324
  }
325
325
  export interface CreateRequestValidatorRequest {
326
326
  restApiId: string | undefined;
327
- name?: string;
328
- validateRequestBody?: boolean;
329
- validateRequestParameters?: boolean;
327
+ name?: string | undefined;
328
+ validateRequestBody?: boolean | undefined;
329
+ validateRequestParameters?: boolean | undefined;
330
330
  }
331
331
  export interface RequestValidator {
332
- id?: string;
333
- name?: string;
334
- validateRequestBody?: boolean;
335
- validateRequestParameters?: boolean;
332
+ id?: string | undefined;
333
+ name?: string | undefined;
334
+ validateRequestBody?: boolean | undefined;
335
+ validateRequestParameters?: boolean | undefined;
336
336
  }
337
337
  export interface CreateResourceRequest {
338
338
  restApiId: string | undefined;
@@ -352,14 +352,14 @@ export declare const ContentHandlingStrategy: {
352
352
  export type ContentHandlingStrategy =
353
353
  (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
354
354
  export interface IntegrationResponse {
355
- statusCode?: string;
356
- selectionPattern?: string;
357
- responseParameters?: Record<string, string>;
358
- responseTemplates?: Record<string, string>;
359
- contentHandling?: ContentHandlingStrategy;
355
+ statusCode?: string | undefined;
356
+ selectionPattern?: string | undefined;
357
+ responseParameters?: Record<string, string> | undefined;
358
+ responseTemplates?: Record<string, string> | undefined;
359
+ contentHandling?: ContentHandlingStrategy | undefined;
360
360
  }
361
361
  export interface TlsConfig {
362
- insecureSkipVerification?: boolean;
362
+ insecureSkipVerification?: boolean | undefined;
363
363
  }
364
364
  export declare const IntegrationType: {
365
365
  readonly AWS: "AWS";
@@ -371,94 +371,94 @@ export declare const IntegrationType: {
371
371
  export type IntegrationType =
372
372
  (typeof IntegrationType)[keyof typeof IntegrationType];
373
373
  export interface Integration {
374
- type?: IntegrationType;
375
- httpMethod?: string;
376
- uri?: string;
377
- connectionType?: ConnectionType;
378
- connectionId?: string;
379
- credentials?: string;
380
- requestParameters?: Record<string, string>;
381
- requestTemplates?: Record<string, string>;
382
- passthroughBehavior?: string;
383
- contentHandling?: ContentHandlingStrategy;
384
- timeoutInMillis?: number;
385
- cacheNamespace?: string;
386
- cacheKeyParameters?: string[];
387
- integrationResponses?: Record<string, IntegrationResponse>;
388
- tlsConfig?: TlsConfig;
374
+ type?: IntegrationType | undefined;
375
+ httpMethod?: string | undefined;
376
+ uri?: string | undefined;
377
+ connectionType?: ConnectionType | undefined;
378
+ connectionId?: string | undefined;
379
+ credentials?: string | undefined;
380
+ requestParameters?: Record<string, string> | undefined;
381
+ requestTemplates?: Record<string, string> | undefined;
382
+ passthroughBehavior?: string | undefined;
383
+ contentHandling?: ContentHandlingStrategy | undefined;
384
+ timeoutInMillis?: number | undefined;
385
+ cacheNamespace?: string | undefined;
386
+ cacheKeyParameters?: string[] | undefined;
387
+ integrationResponses?: Record<string, IntegrationResponse> | undefined;
388
+ tlsConfig?: TlsConfig | undefined;
389
389
  }
390
390
  export interface MethodResponse {
391
- statusCode?: string;
392
- responseParameters?: Record<string, boolean>;
393
- responseModels?: Record<string, string>;
391
+ statusCode?: string | undefined;
392
+ responseParameters?: Record<string, boolean> | undefined;
393
+ responseModels?: Record<string, string> | undefined;
394
394
  }
395
395
  export interface Method {
396
- httpMethod?: string;
397
- authorizationType?: string;
398
- authorizerId?: string;
399
- apiKeyRequired?: boolean;
400
- requestValidatorId?: string;
401
- operationName?: string;
402
- requestParameters?: Record<string, boolean>;
403
- requestModels?: Record<string, string>;
404
- methodResponses?: Record<string, MethodResponse>;
405
- methodIntegration?: Integration;
406
- authorizationScopes?: string[];
396
+ httpMethod?: string | undefined;
397
+ authorizationType?: string | undefined;
398
+ authorizerId?: string | undefined;
399
+ apiKeyRequired?: boolean | undefined;
400
+ requestValidatorId?: string | undefined;
401
+ operationName?: string | undefined;
402
+ requestParameters?: Record<string, boolean> | undefined;
403
+ requestModels?: Record<string, string> | undefined;
404
+ methodResponses?: Record<string, MethodResponse> | undefined;
405
+ methodIntegration?: Integration | undefined;
406
+ authorizationScopes?: string[] | undefined;
407
407
  }
408
408
  export interface Resource {
409
- id?: string;
410
- parentId?: string;
411
- pathPart?: string;
412
- path?: string;
413
- resourceMethods?: Record<string, Method>;
409
+ id?: string | undefined;
410
+ parentId?: string | undefined;
411
+ pathPart?: string | undefined;
412
+ path?: string | undefined;
413
+ resourceMethods?: Record<string, Method> | undefined;
414
414
  }
415
415
  export interface CreateRestApiRequest {
416
416
  name: string | undefined;
417
- description?: string;
418
- version?: string;
419
- cloneFrom?: string;
420
- binaryMediaTypes?: string[];
421
- minimumCompressionSize?: number;
422
- apiKeySource?: ApiKeySourceType;
423
- endpointConfiguration?: EndpointConfiguration;
424
- policy?: string;
425
- tags?: Record<string, string>;
426
- disableExecuteApiEndpoint?: boolean;
417
+ description?: string | undefined;
418
+ version?: string | undefined;
419
+ cloneFrom?: string | undefined;
420
+ binaryMediaTypes?: string[] | undefined;
421
+ minimumCompressionSize?: number | undefined;
422
+ apiKeySource?: ApiKeySourceType | undefined;
423
+ endpointConfiguration?: EndpointConfiguration | undefined;
424
+ policy?: string | undefined;
425
+ tags?: Record<string, string> | undefined;
426
+ disableExecuteApiEndpoint?: boolean | undefined;
427
427
  }
428
428
  export interface RestApi {
429
- id?: string;
430
- name?: string;
431
- description?: string;
432
- createdDate?: Date;
433
- version?: string;
434
- warnings?: string[];
435
- binaryMediaTypes?: string[];
436
- minimumCompressionSize?: number;
437
- apiKeySource?: ApiKeySourceType;
438
- endpointConfiguration?: EndpointConfiguration;
439
- policy?: string;
440
- tags?: Record<string, string>;
441
- disableExecuteApiEndpoint?: boolean;
442
- rootResourceId?: string;
429
+ id?: string | undefined;
430
+ name?: string | undefined;
431
+ description?: string | undefined;
432
+ createdDate?: Date | undefined;
433
+ version?: string | undefined;
434
+ warnings?: string[] | undefined;
435
+ binaryMediaTypes?: string[] | undefined;
436
+ minimumCompressionSize?: number | undefined;
437
+ apiKeySource?: ApiKeySourceType | undefined;
438
+ endpointConfiguration?: EndpointConfiguration | undefined;
439
+ policy?: string | undefined;
440
+ tags?: Record<string, string> | undefined;
441
+ disableExecuteApiEndpoint?: boolean | undefined;
442
+ rootResourceId?: string | undefined;
443
443
  }
444
444
  export interface CanarySettings {
445
- percentTraffic?: number;
446
- deploymentId?: string;
447
- stageVariableOverrides?: Record<string, string>;
448
- useStageCache?: boolean;
445
+ percentTraffic?: number | undefined;
446
+ deploymentId?: string | undefined;
447
+ stageVariableOverrides?: Record<string, string> | undefined;
448
+ useStageCache?: boolean | undefined;
449
449
  }
450
450
  export interface CreateStageRequest {
451
451
  restApiId: string | undefined;
452
452
  stageName: string | undefined;
453
453
  deploymentId: string | undefined;
454
- description?: string;
455
- cacheClusterEnabled?: boolean;
456
- cacheClusterSize?: CacheClusterSize;
457
- variables?: Record<string, string>;
458
- documentationVersion?: string;
459
- canarySettings?: CanarySettings;
460
- tracingEnabled?: boolean;
461
- tags?: Record<string, string>;
454
+ description?: string | undefined;
455
+ cacheClusterEnabled?: boolean | undefined;
456
+ cacheClusterSize?: CacheClusterSize | undefined;
457
+ variables?: Record<string, string> | undefined;
458
+ documentationVersion?: string | undefined;
459
+ canarySettings?: CanarySettings | undefined;
460
+ tracingEnabled?: boolean | undefined;
461
+ tags?: Record<string, string> | undefined;
462
462
  }
463
463
  export declare const CacheClusterStatus: {
464
464
  readonly AVAILABLE: "AVAILABLE";
@@ -477,35 +477,37 @@ export declare const UnauthorizedCacheControlHeaderStrategy: {
477
477
  export type UnauthorizedCacheControlHeaderStrategy =
478
478
  (typeof UnauthorizedCacheControlHeaderStrategy)[keyof typeof UnauthorizedCacheControlHeaderStrategy];
479
479
  export interface MethodSetting {
480
- metricsEnabled?: boolean;
481
- loggingLevel?: string;
482
- dataTraceEnabled?: boolean;
483
- throttlingBurstLimit?: number;
484
- throttlingRateLimit?: number;
485
- cachingEnabled?: boolean;
486
- cacheTtlInSeconds?: number;
487
- cacheDataEncrypted?: boolean;
488
- requireAuthorizationForCacheControl?: boolean;
489
- unauthorizedCacheControlHeaderStrategy?: UnauthorizedCacheControlHeaderStrategy;
480
+ metricsEnabled?: boolean | undefined;
481
+ loggingLevel?: string | undefined;
482
+ dataTraceEnabled?: boolean | undefined;
483
+ throttlingBurstLimit?: number | undefined;
484
+ throttlingRateLimit?: number | undefined;
485
+ cachingEnabled?: boolean | undefined;
486
+ cacheTtlInSeconds?: number | undefined;
487
+ cacheDataEncrypted?: boolean | undefined;
488
+ requireAuthorizationForCacheControl?: boolean | undefined;
489
+ unauthorizedCacheControlHeaderStrategy?:
490
+ | UnauthorizedCacheControlHeaderStrategy
491
+ | undefined;
490
492
  }
491
493
  export interface Stage {
492
- deploymentId?: string;
493
- clientCertificateId?: string;
494
- stageName?: string;
495
- description?: string;
496
- cacheClusterEnabled?: boolean;
497
- cacheClusterSize?: CacheClusterSize;
498
- cacheClusterStatus?: CacheClusterStatus;
499
- methodSettings?: Record<string, MethodSetting>;
500
- variables?: Record<string, string>;
501
- documentationVersion?: string;
502
- accessLogSettings?: AccessLogSettings;
503
- canarySettings?: CanarySettings;
504
- tracingEnabled?: boolean;
505
- webAclArn?: string;
506
- tags?: Record<string, string>;
507
- createdDate?: Date;
508
- lastUpdatedDate?: Date;
494
+ deploymentId?: string | undefined;
495
+ clientCertificateId?: string | undefined;
496
+ stageName?: string | undefined;
497
+ description?: string | undefined;
498
+ cacheClusterEnabled?: boolean | undefined;
499
+ cacheClusterSize?: CacheClusterSize | undefined;
500
+ cacheClusterStatus?: CacheClusterStatus | undefined;
501
+ methodSettings?: Record<string, MethodSetting> | undefined;
502
+ variables?: Record<string, string> | undefined;
503
+ documentationVersion?: string | undefined;
504
+ accessLogSettings?: AccessLogSettings | undefined;
505
+ canarySettings?: CanarySettings | undefined;
506
+ tracingEnabled?: boolean | undefined;
507
+ webAclArn?: string | undefined;
508
+ tags?: Record<string, string> | undefined;
509
+ createdDate?: Date | undefined;
510
+ lastUpdatedDate?: Date | undefined;
509
511
  }
510
512
  export declare const QuotaPeriodType: {
511
513
  readonly DAY: "DAY";
@@ -515,27 +517,27 @@ export declare const QuotaPeriodType: {
515
517
  export type QuotaPeriodType =
516
518
  (typeof QuotaPeriodType)[keyof typeof QuotaPeriodType];
517
519
  export interface QuotaSettings {
518
- limit?: number;
519
- offset?: number;
520
- period?: QuotaPeriodType;
520
+ limit?: number | undefined;
521
+ offset?: number | undefined;
522
+ period?: QuotaPeriodType | undefined;
521
523
  }
522
524
  export interface CreateUsagePlanRequest {
523
525
  name: string | undefined;
524
- description?: string;
525
- apiStages?: ApiStage[];
526
- throttle?: ThrottleSettings;
527
- quota?: QuotaSettings;
528
- tags?: Record<string, string>;
526
+ description?: string | undefined;
527
+ apiStages?: ApiStage[] | undefined;
528
+ throttle?: ThrottleSettings | undefined;
529
+ quota?: QuotaSettings | undefined;
530
+ tags?: Record<string, string> | undefined;
529
531
  }
530
532
  export interface UsagePlan {
531
- id?: string;
532
- name?: string;
533
- description?: string;
534
- apiStages?: ApiStage[];
535
- throttle?: ThrottleSettings;
536
- quota?: QuotaSettings;
537
- productCode?: string;
538
- tags?: Record<string, string>;
533
+ id?: string | undefined;
534
+ name?: string | undefined;
535
+ description?: string | undefined;
536
+ apiStages?: ApiStage[] | undefined;
537
+ throttle?: ThrottleSettings | undefined;
538
+ quota?: QuotaSettings | undefined;
539
+ productCode?: string | undefined;
540
+ tags?: Record<string, string> | undefined;
539
541
  }
540
542
  export interface CreateUsagePlanKeyRequest {
541
543
  usagePlanId: string | undefined;
@@ -543,16 +545,16 @@ export interface CreateUsagePlanKeyRequest {
543
545
  keyType: string | undefined;
544
546
  }
545
547
  export interface UsagePlanKey {
546
- id?: string;
547
- type?: string;
548
- value?: string;
549
- name?: string;
548
+ id?: string | undefined;
549
+ type?: string | undefined;
550
+ value?: string | undefined;
551
+ name?: string | undefined;
550
552
  }
551
553
  export interface CreateVpcLinkRequest {
552
554
  name: string | undefined;
553
- description?: string;
555
+ description?: string | undefined;
554
556
  targetArns: string[] | undefined;
555
- tags?: Record<string, string>;
557
+ tags?: Record<string, string> | undefined;
556
558
  }
557
559
  export declare const VpcLinkStatus: {
558
560
  readonly AVAILABLE: "AVAILABLE";
@@ -562,13 +564,13 @@ export declare const VpcLinkStatus: {
562
564
  };
563
565
  export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
564
566
  export interface VpcLink {
565
- id?: string;
566
- name?: string;
567
- description?: string;
568
- targetArns?: string[];
569
- status?: VpcLinkStatus;
570
- statusMessage?: string;
571
- tags?: Record<string, string>;
567
+ id?: string | undefined;
568
+ name?: string | undefined;
569
+ description?: string | undefined;
570
+ targetArns?: string[] | undefined;
571
+ status?: VpcLinkStatus | undefined;
572
+ statusMessage?: string | undefined;
573
+ tags?: Record<string, string> | undefined;
572
574
  }
573
575
  export interface DeleteApiKeyRequest {
574
576
  apiKey: string | undefined;
@@ -688,28 +690,28 @@ export interface FlushStageCacheRequest {
688
690
  stageName: string | undefined;
689
691
  }
690
692
  export interface ClientCertificate {
691
- clientCertificateId?: string;
692
- description?: string;
693
- pemEncodedCertificate?: string;
694
- createdDate?: Date;
695
- expirationDate?: Date;
696
- tags?: Record<string, string>;
693
+ clientCertificateId?: string | undefined;
694
+ description?: string | undefined;
695
+ pemEncodedCertificate?: string | undefined;
696
+ createdDate?: Date | undefined;
697
+ expirationDate?: Date | undefined;
698
+ tags?: Record<string, string> | undefined;
697
699
  }
698
700
  export interface GenerateClientCertificateRequest {
699
- description?: string;
700
- tags?: Record<string, string>;
701
+ description?: string | undefined;
702
+ tags?: Record<string, string> | undefined;
701
703
  }
702
704
  export interface GetAccountRequest {}
703
705
  export interface GetApiKeyRequest {
704
706
  apiKey: string | undefined;
705
- includeValue?: boolean;
707
+ includeValue?: boolean | undefined;
706
708
  }
707
709
  export interface GetApiKeysRequest {
708
- position?: string;
709
- limit?: number;
710
- nameQuery?: string;
711
- customerId?: string;
712
- includeValues?: boolean;
710
+ position?: string | undefined;
711
+ limit?: number | undefined;
712
+ nameQuery?: string | undefined;
713
+ customerId?: string | undefined;
714
+ includeValues?: boolean | undefined;
713
715
  }
714
716
  export interface GetAuthorizerRequest {
715
717
  restApiId: string | undefined;
@@ -717,54 +719,54 @@ export interface GetAuthorizerRequest {
717
719
  }
718
720
  export interface GetAuthorizersRequest {
719
721
  restApiId: string | undefined;
720
- position?: string;
721
- limit?: number;
722
+ position?: string | undefined;
723
+ limit?: number | undefined;
722
724
  }
723
725
  export interface GetBasePathMappingRequest {
724
726
  domainName: string | undefined;
725
727
  basePath: string | undefined;
726
728
  }
727
729
  export interface BasePathMappings {
728
- items?: BasePathMapping[];
729
- position?: string;
730
+ items?: BasePathMapping[] | undefined;
731
+ position?: string | undefined;
730
732
  }
731
733
  export interface GetBasePathMappingsRequest {
732
734
  domainName: string | undefined;
733
- position?: string;
734
- limit?: number;
735
+ position?: string | undefined;
736
+ limit?: number | undefined;
735
737
  }
736
738
  export interface GetClientCertificateRequest {
737
739
  clientCertificateId: string | undefined;
738
740
  }
739
741
  export interface ClientCertificates {
740
- items?: ClientCertificate[];
741
- position?: string;
742
+ items?: ClientCertificate[] | undefined;
743
+ position?: string | undefined;
742
744
  }
743
745
  export interface GetClientCertificatesRequest {
744
- position?: string;
745
- limit?: number;
746
+ position?: string | undefined;
747
+ limit?: number | undefined;
746
748
  }
747
749
  export interface GetDeploymentRequest {
748
750
  restApiId: string | undefined;
749
751
  deploymentId: string | undefined;
750
- embed?: string[];
752
+ embed?: string[] | undefined;
751
753
  }
752
754
  export interface Deployments {
753
- items?: Deployment[];
754
- position?: string;
755
+ items?: Deployment[] | undefined;
756
+ position?: string | undefined;
755
757
  }
756
758
  export interface GetDeploymentsRequest {
757
759
  restApiId: string | undefined;
758
- position?: string;
759
- limit?: number;
760
+ position?: string | undefined;
761
+ limit?: number | undefined;
760
762
  }
761
763
  export interface GetDocumentationPartRequest {
762
764
  restApiId: string | undefined;
763
765
  documentationPartId: string | undefined;
764
766
  }
765
767
  export interface DocumentationParts {
766
- items?: DocumentationPart[];
767
- position?: string;
768
+ items?: DocumentationPart[] | undefined;
769
+ position?: string | undefined;
768
770
  }
769
771
  export declare const LocationStatusType: {
770
772
  readonly DOCUMENTED: "DOCUMENTED";
@@ -774,68 +776,68 @@ export type LocationStatusType =
774
776
  (typeof LocationStatusType)[keyof typeof LocationStatusType];
775
777
  export interface GetDocumentationPartsRequest {
776
778
  restApiId: string | undefined;
777
- type?: DocumentationPartType;
778
- nameQuery?: string;
779
- path?: string;
780
- position?: string;
781
- limit?: number;
782
- locationStatus?: LocationStatusType;
779
+ type?: DocumentationPartType | undefined;
780
+ nameQuery?: string | undefined;
781
+ path?: string | undefined;
782
+ position?: string | undefined;
783
+ limit?: number | undefined;
784
+ locationStatus?: LocationStatusType | undefined;
783
785
  }
784
786
  export interface GetDocumentationVersionRequest {
785
787
  restApiId: string | undefined;
786
788
  documentationVersion: string | undefined;
787
789
  }
788
790
  export interface DocumentationVersions {
789
- items?: DocumentationVersion[];
790
- position?: string;
791
+ items?: DocumentationVersion[] | undefined;
792
+ position?: string | undefined;
791
793
  }
792
794
  export interface GetDocumentationVersionsRequest {
793
795
  restApiId: string | undefined;
794
- position?: string;
795
- limit?: number;
796
+ position?: string | undefined;
797
+ limit?: number | undefined;
796
798
  }
797
799
  export interface GetDomainNameRequest {
798
800
  domainName: string | undefined;
799
801
  }
800
802
  export interface DomainNames {
801
- items?: DomainName[];
802
- position?: string;
803
+ items?: DomainName[] | undefined;
804
+ position?: string | undefined;
803
805
  }
804
806
  export interface GetDomainNamesRequest {
805
- position?: string;
806
- limit?: number;
807
+ position?: string | undefined;
808
+ limit?: number | undefined;
807
809
  }
808
810
  export interface ExportResponse {
809
- contentType?: string;
810
- contentDisposition?: string;
811
- body?: Uint8Array;
811
+ contentType?: string | undefined;
812
+ contentDisposition?: string | undefined;
813
+ body?: Uint8Array | undefined;
812
814
  }
813
815
  export interface GetExportRequest {
814
816
  restApiId: string | undefined;
815
817
  stageName: string | undefined;
816
818
  exportType: string | undefined;
817
- parameters?: Record<string, string>;
818
- accepts?: string;
819
+ parameters?: Record<string, string> | undefined;
820
+ accepts?: string | undefined;
819
821
  }
820
822
  export interface GatewayResponse {
821
- responseType?: GatewayResponseType;
822
- statusCode?: string;
823
- responseParameters?: Record<string, string>;
824
- responseTemplates?: Record<string, string>;
825
- defaultResponse?: boolean;
823
+ responseType?: GatewayResponseType | undefined;
824
+ statusCode?: string | undefined;
825
+ responseParameters?: Record<string, string> | undefined;
826
+ responseTemplates?: Record<string, string> | undefined;
827
+ defaultResponse?: boolean | undefined;
826
828
  }
827
829
  export interface GetGatewayResponseRequest {
828
830
  restApiId: string | undefined;
829
831
  responseType: GatewayResponseType | undefined;
830
832
  }
831
833
  export interface GatewayResponses {
832
- items?: GatewayResponse[];
833
- position?: string;
834
+ items?: GatewayResponse[] | undefined;
835
+ position?: string | undefined;
834
836
  }
835
837
  export interface GetGatewayResponsesRequest {
836
838
  restApiId: string | undefined;
837
- position?: string;
838
- limit?: number;
839
+ position?: string | undefined;
840
+ limit?: number | undefined;
839
841
  }
840
842
  export interface GetIntegrationRequest {
841
843
  restApiId: string | undefined;
@@ -862,23 +864,23 @@ export interface GetMethodResponseRequest {
862
864
  export interface GetModelRequest {
863
865
  restApiId: string | undefined;
864
866
  modelName: string | undefined;
865
- flatten?: boolean;
867
+ flatten?: boolean | undefined;
866
868
  }
867
869
  export interface GetModelsRequest {
868
870
  restApiId: string | undefined;
869
- position?: string;
870
- limit?: number;
871
+ position?: string | undefined;
872
+ limit?: number | undefined;
871
873
  }
872
874
  export interface Models {
873
- items?: Model[];
874
- position?: string;
875
+ items?: Model[] | undefined;
876
+ position?: string | undefined;
875
877
  }
876
878
  export interface GetModelTemplateRequest {
877
879
  restApiId: string | undefined;
878
880
  modelName: string | undefined;
879
881
  }
880
882
  export interface Template {
881
- value?: string;
883
+ value?: string | undefined;
882
884
  }
883
885
  export interface GetRequestValidatorRequest {
884
886
  restApiId: string | undefined;
@@ -886,72 +888,72 @@ export interface GetRequestValidatorRequest {
886
888
  }
887
889
  export interface GetRequestValidatorsRequest {
888
890
  restApiId: string | undefined;
889
- position?: string;
890
- limit?: number;
891
+ position?: string | undefined;
892
+ limit?: number | undefined;
891
893
  }
892
894
  export interface RequestValidators {
893
- items?: RequestValidator[];
894
- position?: string;
895
+ items?: RequestValidator[] | undefined;
896
+ position?: string | undefined;
895
897
  }
896
898
  export interface GetResourceRequest {
897
899
  restApiId: string | undefined;
898
900
  resourceId: string | undefined;
899
- embed?: string[];
901
+ embed?: string[] | undefined;
900
902
  }
901
903
  export interface GetResourcesRequest {
902
904
  restApiId: string | undefined;
903
- position?: string;
904
- limit?: number;
905
- embed?: string[];
905
+ position?: string | undefined;
906
+ limit?: number | undefined;
907
+ embed?: string[] | undefined;
906
908
  }
907
909
  export interface Resources {
908
- items?: Resource[];
909
- position?: string;
910
+ items?: Resource[] | undefined;
911
+ position?: string | undefined;
910
912
  }
911
913
  export interface GetRestApiRequest {
912
914
  restApiId: string | undefined;
913
915
  }
914
916
  export interface GetRestApisRequest {
915
- position?: string;
916
- limit?: number;
917
+ position?: string | undefined;
918
+ limit?: number | undefined;
917
919
  }
918
920
  export interface RestApis {
919
- items?: RestApi[];
920
- position?: string;
921
+ items?: RestApi[] | undefined;
922
+ position?: string | undefined;
921
923
  }
922
924
  export interface GetSdkRequest {
923
925
  restApiId: string | undefined;
924
926
  stageName: string | undefined;
925
927
  sdkType: string | undefined;
926
- parameters?: Record<string, string>;
928
+ parameters?: Record<string, string> | undefined;
927
929
  }
928
930
  export interface SdkResponse {
929
- contentType?: string;
930
- contentDisposition?: string;
931
- body?: Uint8Array;
931
+ contentType?: string | undefined;
932
+ contentDisposition?: string | undefined;
933
+ body?: Uint8Array | undefined;
932
934
  }
933
935
  export interface GetSdkTypeRequest {
934
936
  id: string | undefined;
935
937
  }
936
938
  export interface SdkConfigurationProperty {
937
- name?: string;
938
- friendlyName?: string;
939
- description?: string;
940
- required?: boolean;
941
- defaultValue?: string;
939
+ name?: string | undefined;
940
+ friendlyName?: string | undefined;
941
+ description?: string | undefined;
942
+ required?: boolean | undefined;
943
+ defaultValue?: string | undefined;
942
944
  }
943
945
  export interface SdkType {
944
- id?: string;
945
- friendlyName?: string;
946
- description?: string;
947
- configurationProperties?: SdkConfigurationProperty[];
946
+ id?: string | undefined;
947
+ friendlyName?: string | undefined;
948
+ description?: string | undefined;
949
+ configurationProperties?: SdkConfigurationProperty[] | undefined;
948
950
  }
949
951
  export interface GetSdkTypesRequest {
950
- position?: string;
951
- limit?: number;
952
+ position?: string | undefined;
953
+ limit?: number | undefined;
952
954
  }
953
955
  export interface SdkTypes {
954
- items?: SdkType[];
956
+ items?: SdkType[] | undefined;
955
957
  }
956
958
  export interface GetStageRequest {
957
959
  restApiId: string | undefined;
@@ -959,33 +961,33 @@ export interface GetStageRequest {
959
961
  }
960
962
  export interface GetStagesRequest {
961
963
  restApiId: string | undefined;
962
- deploymentId?: string;
964
+ deploymentId?: string | undefined;
963
965
  }
964
966
  export interface Stages {
965
- item?: Stage[];
967
+ item?: Stage[] | undefined;
966
968
  }
967
969
  export interface GetTagsRequest {
968
970
  resourceArn: string | undefined;
969
- position?: string;
970
- limit?: number;
971
+ position?: string | undefined;
972
+ limit?: number | undefined;
971
973
  }
972
974
  export interface Tags {
973
- tags?: Record<string, string>;
975
+ tags?: Record<string, string> | undefined;
974
976
  }
975
977
  export interface GetUsageRequest {
976
978
  usagePlanId: string | undefined;
977
- keyId?: string;
979
+ keyId?: string | undefined;
978
980
  startDate: string | undefined;
979
981
  endDate: string | undefined;
980
- position?: string;
981
- limit?: number;
982
+ position?: string | undefined;
983
+ limit?: number | undefined;
982
984
  }
983
985
  export interface Usage {
984
- usagePlanId?: string;
985
- startDate?: string;
986
- endDate?: string;
987
- items?: Record<string, number[][]>;
988
- position?: string;
986
+ usagePlanId?: string | undefined;
987
+ startDate?: string | undefined;
988
+ endDate?: string | undefined;
989
+ items?: Record<string, number[][]> | undefined;
990
+ position?: string | undefined;
989
991
  }
990
992
  export interface GetUsagePlanRequest {
991
993
  usagePlanId: string | undefined;
@@ -996,42 +998,42 @@ export interface GetUsagePlanKeyRequest {
996
998
  }
997
999
  export interface GetUsagePlanKeysRequest {
998
1000
  usagePlanId: string | undefined;
999
- position?: string;
1000
- limit?: number;
1001
- nameQuery?: string;
1001
+ position?: string | undefined;
1002
+ limit?: number | undefined;
1003
+ nameQuery?: string | undefined;
1002
1004
  }
1003
1005
  export interface UsagePlanKeys {
1004
- items?: UsagePlanKey[];
1005
- position?: string;
1006
+ items?: UsagePlanKey[] | undefined;
1007
+ position?: string | undefined;
1006
1008
  }
1007
1009
  export interface GetUsagePlansRequest {
1008
- position?: string;
1009
- keyId?: string;
1010
- limit?: number;
1010
+ position?: string | undefined;
1011
+ keyId?: string | undefined;
1012
+ limit?: number | undefined;
1011
1013
  }
1012
1014
  export interface UsagePlans {
1013
- items?: UsagePlan[];
1014
- position?: string;
1015
+ items?: UsagePlan[] | undefined;
1016
+ position?: string | undefined;
1015
1017
  }
1016
1018
  export interface GetVpcLinkRequest {
1017
1019
  vpcLinkId: string | undefined;
1018
1020
  }
1019
1021
  export interface GetVpcLinksRequest {
1020
- position?: string;
1021
- limit?: number;
1022
+ position?: string | undefined;
1023
+ limit?: number | undefined;
1022
1024
  }
1023
1025
  export interface VpcLinks {
1024
- items?: VpcLink[];
1025
- position?: string;
1026
+ items?: VpcLink[] | undefined;
1027
+ position?: string | undefined;
1026
1028
  }
1027
1029
  export interface ImportApiKeysRequest {
1028
1030
  body: Uint8Array | undefined;
1029
1031
  format: ApiKeysFormat | undefined;
1030
- failOnWarnings?: boolean;
1032
+ failOnWarnings?: boolean | undefined;
1031
1033
  }
1032
1034
  export interface DocumentationPartIds {
1033
- ids?: string[];
1034
- warnings?: string[];
1035
+ ids?: string[] | undefined;
1036
+ warnings?: string[] | undefined;
1035
1037
  }
1036
1038
  export declare const PutMode: {
1037
1039
  readonly Merge: "merge";
@@ -1040,77 +1042,77 @@ export declare const PutMode: {
1040
1042
  export type PutMode = (typeof PutMode)[keyof typeof PutMode];
1041
1043
  export interface ImportDocumentationPartsRequest {
1042
1044
  restApiId: string | undefined;
1043
- mode?: PutMode;
1044
- failOnWarnings?: boolean;
1045
+ mode?: PutMode | undefined;
1046
+ failOnWarnings?: boolean | undefined;
1045
1047
  body: Uint8Array | undefined;
1046
1048
  }
1047
1049
  export interface ImportRestApiRequest {
1048
- failOnWarnings?: boolean;
1049
- parameters?: Record<string, string>;
1050
+ failOnWarnings?: boolean | undefined;
1051
+ parameters?: Record<string, string> | undefined;
1050
1052
  body: Uint8Array | undefined;
1051
1053
  }
1052
1054
  export interface PutGatewayResponseRequest {
1053
1055
  restApiId: string | undefined;
1054
1056
  responseType: GatewayResponseType | undefined;
1055
- statusCode?: string;
1056
- responseParameters?: Record<string, string>;
1057
- responseTemplates?: Record<string, string>;
1057
+ statusCode?: string | undefined;
1058
+ responseParameters?: Record<string, string> | undefined;
1059
+ responseTemplates?: Record<string, string> | undefined;
1058
1060
  }
1059
1061
  export interface PutIntegrationRequest {
1060
1062
  restApiId: string | undefined;
1061
1063
  resourceId: string | undefined;
1062
1064
  httpMethod: string | undefined;
1063
1065
  type: IntegrationType | undefined;
1064
- integrationHttpMethod?: string;
1065
- uri?: string;
1066
- connectionType?: ConnectionType;
1067
- connectionId?: string;
1068
- credentials?: string;
1069
- requestParameters?: Record<string, string>;
1070
- requestTemplates?: Record<string, string>;
1071
- passthroughBehavior?: string;
1072
- cacheNamespace?: string;
1073
- cacheKeyParameters?: string[];
1074
- contentHandling?: ContentHandlingStrategy;
1075
- timeoutInMillis?: number;
1076
- tlsConfig?: TlsConfig;
1066
+ integrationHttpMethod?: string | undefined;
1067
+ uri?: string | undefined;
1068
+ connectionType?: ConnectionType | undefined;
1069
+ connectionId?: string | undefined;
1070
+ credentials?: string | undefined;
1071
+ requestParameters?: Record<string, string> | undefined;
1072
+ requestTemplates?: Record<string, string> | undefined;
1073
+ passthroughBehavior?: string | undefined;
1074
+ cacheNamespace?: string | undefined;
1075
+ cacheKeyParameters?: string[] | undefined;
1076
+ contentHandling?: ContentHandlingStrategy | undefined;
1077
+ timeoutInMillis?: number | undefined;
1078
+ tlsConfig?: TlsConfig | undefined;
1077
1079
  }
1078
1080
  export interface PutIntegrationResponseRequest {
1079
1081
  restApiId: string | undefined;
1080
1082
  resourceId: string | undefined;
1081
1083
  httpMethod: string | undefined;
1082
1084
  statusCode: string | undefined;
1083
- selectionPattern?: string;
1084
- responseParameters?: Record<string, string>;
1085
- responseTemplates?: Record<string, string>;
1086
- contentHandling?: ContentHandlingStrategy;
1085
+ selectionPattern?: string | undefined;
1086
+ responseParameters?: Record<string, string> | undefined;
1087
+ responseTemplates?: Record<string, string> | undefined;
1088
+ contentHandling?: ContentHandlingStrategy | undefined;
1087
1089
  }
1088
1090
  export interface PutMethodRequest {
1089
1091
  restApiId: string | undefined;
1090
1092
  resourceId: string | undefined;
1091
1093
  httpMethod: string | undefined;
1092
1094
  authorizationType: string | undefined;
1093
- authorizerId?: string;
1094
- apiKeyRequired?: boolean;
1095
- operationName?: string;
1096
- requestParameters?: Record<string, boolean>;
1097
- requestModels?: Record<string, string>;
1098
- requestValidatorId?: string;
1099
- authorizationScopes?: string[];
1095
+ authorizerId?: string | undefined;
1096
+ apiKeyRequired?: boolean | undefined;
1097
+ operationName?: string | undefined;
1098
+ requestParameters?: Record<string, boolean> | undefined;
1099
+ requestModels?: Record<string, string> | undefined;
1100
+ requestValidatorId?: string | undefined;
1101
+ authorizationScopes?: string[] | undefined;
1100
1102
  }
1101
1103
  export interface PutMethodResponseRequest {
1102
1104
  restApiId: string | undefined;
1103
1105
  resourceId: string | undefined;
1104
1106
  httpMethod: string | undefined;
1105
1107
  statusCode: string | undefined;
1106
- responseParameters?: Record<string, boolean>;
1107
- responseModels?: Record<string, string>;
1108
+ responseParameters?: Record<string, boolean> | undefined;
1109
+ responseModels?: Record<string, string> | undefined;
1108
1110
  }
1109
1111
  export interface PutRestApiRequest {
1110
1112
  restApiId: string | undefined;
1111
- mode?: PutMode;
1112
- failOnWarnings?: boolean;
1113
- parameters?: Record<string, string>;
1113
+ mode?: PutMode | undefined;
1114
+ failOnWarnings?: boolean | undefined;
1115
+ parameters?: Record<string, string> | undefined;
1114
1116
  body: Uint8Array | undefined;
1115
1117
  }
1116
1118
  export interface TagResourceRequest {
@@ -1120,40 +1122,40 @@ export interface TagResourceRequest {
1120
1122
  export interface TestInvokeAuthorizerRequest {
1121
1123
  restApiId: string | undefined;
1122
1124
  authorizerId: string | undefined;
1123
- headers?: Record<string, string>;
1124
- multiValueHeaders?: Record<string, string[]>;
1125
- pathWithQueryString?: string;
1126
- body?: string;
1127
- stageVariables?: Record<string, string>;
1128
- additionalContext?: Record<string, string>;
1125
+ headers?: Record<string, string> | undefined;
1126
+ multiValueHeaders?: Record<string, string[]> | undefined;
1127
+ pathWithQueryString?: string | undefined;
1128
+ body?: string | undefined;
1129
+ stageVariables?: Record<string, string> | undefined;
1130
+ additionalContext?: Record<string, string> | undefined;
1129
1131
  }
1130
1132
  export interface TestInvokeAuthorizerResponse {
1131
- clientStatus?: number;
1132
- log?: string;
1133
- latency?: number;
1134
- principalId?: string;
1135
- policy?: string;
1136
- authorization?: Record<string, string[]>;
1137
- claims?: Record<string, string>;
1133
+ clientStatus?: number | undefined;
1134
+ log?: string | undefined;
1135
+ latency?: number | undefined;
1136
+ principalId?: string | undefined;
1137
+ policy?: string | undefined;
1138
+ authorization?: Record<string, string[]> | undefined;
1139
+ claims?: Record<string, string> | undefined;
1138
1140
  }
1139
1141
  export interface TestInvokeMethodRequest {
1140
1142
  restApiId: string | undefined;
1141
1143
  resourceId: string | undefined;
1142
1144
  httpMethod: string | undefined;
1143
- pathWithQueryString?: string;
1144
- body?: string;
1145
- headers?: Record<string, string>;
1146
- multiValueHeaders?: Record<string, string[]>;
1147
- clientCertificateId?: string;
1148
- stageVariables?: Record<string, string>;
1145
+ pathWithQueryString?: string | undefined;
1146
+ body?: string | undefined;
1147
+ headers?: Record<string, string> | undefined;
1148
+ multiValueHeaders?: Record<string, string[]> | undefined;
1149
+ clientCertificateId?: string | undefined;
1150
+ stageVariables?: Record<string, string> | undefined;
1149
1151
  }
1150
1152
  export interface TestInvokeMethodResponse {
1151
- status?: number;
1152
- body?: string;
1153
- headers?: Record<string, string>;
1154
- multiValueHeaders?: Record<string, string[]>;
1155
- log?: string;
1156
- latency?: number;
1153
+ status?: number | undefined;
1154
+ body?: string | undefined;
1155
+ headers?: Record<string, string> | undefined;
1156
+ multiValueHeaders?: Record<string, string[]> | undefined;
1157
+ log?: string | undefined;
1158
+ latency?: number | undefined;
1157
1159
  }
1158
1160
  export interface UntagResourceRequest {
1159
1161
  resourceArn: string | undefined;
@@ -1169,116 +1171,116 @@ export declare const Op: {
1169
1171
  };
1170
1172
  export type Op = (typeof Op)[keyof typeof Op];
1171
1173
  export interface PatchOperation {
1172
- op?: Op;
1173
- path?: string;
1174
- value?: string;
1175
- from?: string;
1174
+ op?: Op | undefined;
1175
+ path?: string | undefined;
1176
+ value?: string | undefined;
1177
+ from?: string | undefined;
1176
1178
  }
1177
1179
  export interface UpdateAccountRequest {
1178
- patchOperations?: PatchOperation[];
1180
+ patchOperations?: PatchOperation[] | undefined;
1179
1181
  }
1180
1182
  export interface UpdateApiKeyRequest {
1181
1183
  apiKey: string | undefined;
1182
- patchOperations?: PatchOperation[];
1184
+ patchOperations?: PatchOperation[] | undefined;
1183
1185
  }
1184
1186
  export interface UpdateAuthorizerRequest {
1185
1187
  restApiId: string | undefined;
1186
1188
  authorizerId: string | undefined;
1187
- patchOperations?: PatchOperation[];
1189
+ patchOperations?: PatchOperation[] | undefined;
1188
1190
  }
1189
1191
  export interface UpdateBasePathMappingRequest {
1190
1192
  domainName: string | undefined;
1191
1193
  basePath: string | undefined;
1192
- patchOperations?: PatchOperation[];
1194
+ patchOperations?: PatchOperation[] | undefined;
1193
1195
  }
1194
1196
  export interface UpdateClientCertificateRequest {
1195
1197
  clientCertificateId: string | undefined;
1196
- patchOperations?: PatchOperation[];
1198
+ patchOperations?: PatchOperation[] | undefined;
1197
1199
  }
1198
1200
  export interface UpdateDeploymentRequest {
1199
1201
  restApiId: string | undefined;
1200
1202
  deploymentId: string | undefined;
1201
- patchOperations?: PatchOperation[];
1203
+ patchOperations?: PatchOperation[] | undefined;
1202
1204
  }
1203
1205
  export interface UpdateDocumentationPartRequest {
1204
1206
  restApiId: string | undefined;
1205
1207
  documentationPartId: string | undefined;
1206
- patchOperations?: PatchOperation[];
1208
+ patchOperations?: PatchOperation[] | undefined;
1207
1209
  }
1208
1210
  export interface UpdateDocumentationVersionRequest {
1209
1211
  restApiId: string | undefined;
1210
1212
  documentationVersion: string | undefined;
1211
- patchOperations?: PatchOperation[];
1213
+ patchOperations?: PatchOperation[] | undefined;
1212
1214
  }
1213
1215
  export interface UpdateDomainNameRequest {
1214
1216
  domainName: string | undefined;
1215
- patchOperations?: PatchOperation[];
1217
+ patchOperations?: PatchOperation[] | undefined;
1216
1218
  }
1217
1219
  export interface UpdateGatewayResponseRequest {
1218
1220
  restApiId: string | undefined;
1219
1221
  responseType: GatewayResponseType | undefined;
1220
- patchOperations?: PatchOperation[];
1222
+ patchOperations?: PatchOperation[] | undefined;
1221
1223
  }
1222
1224
  export interface UpdateIntegrationRequest {
1223
1225
  restApiId: string | undefined;
1224
1226
  resourceId: string | undefined;
1225
1227
  httpMethod: string | undefined;
1226
- patchOperations?: PatchOperation[];
1228
+ patchOperations?: PatchOperation[] | undefined;
1227
1229
  }
1228
1230
  export interface UpdateIntegrationResponseRequest {
1229
1231
  restApiId: string | undefined;
1230
1232
  resourceId: string | undefined;
1231
1233
  httpMethod: string | undefined;
1232
1234
  statusCode: string | undefined;
1233
- patchOperations?: PatchOperation[];
1235
+ patchOperations?: PatchOperation[] | undefined;
1234
1236
  }
1235
1237
  export interface UpdateMethodRequest {
1236
1238
  restApiId: string | undefined;
1237
1239
  resourceId: string | undefined;
1238
1240
  httpMethod: string | undefined;
1239
- patchOperations?: PatchOperation[];
1241
+ patchOperations?: PatchOperation[] | undefined;
1240
1242
  }
1241
1243
  export interface UpdateMethodResponseRequest {
1242
1244
  restApiId: string | undefined;
1243
1245
  resourceId: string | undefined;
1244
1246
  httpMethod: string | undefined;
1245
1247
  statusCode: string | undefined;
1246
- patchOperations?: PatchOperation[];
1248
+ patchOperations?: PatchOperation[] | undefined;
1247
1249
  }
1248
1250
  export interface UpdateModelRequest {
1249
1251
  restApiId: string | undefined;
1250
1252
  modelName: string | undefined;
1251
- patchOperations?: PatchOperation[];
1253
+ patchOperations?: PatchOperation[] | undefined;
1252
1254
  }
1253
1255
  export interface UpdateRequestValidatorRequest {
1254
1256
  restApiId: string | undefined;
1255
1257
  requestValidatorId: string | undefined;
1256
- patchOperations?: PatchOperation[];
1258
+ patchOperations?: PatchOperation[] | undefined;
1257
1259
  }
1258
1260
  export interface UpdateResourceRequest {
1259
1261
  restApiId: string | undefined;
1260
1262
  resourceId: string | undefined;
1261
- patchOperations?: PatchOperation[];
1263
+ patchOperations?: PatchOperation[] | undefined;
1262
1264
  }
1263
1265
  export interface UpdateRestApiRequest {
1264
1266
  restApiId: string | undefined;
1265
- patchOperations?: PatchOperation[];
1267
+ patchOperations?: PatchOperation[] | undefined;
1266
1268
  }
1267
1269
  export interface UpdateStageRequest {
1268
1270
  restApiId: string | undefined;
1269
1271
  stageName: string | undefined;
1270
- patchOperations?: PatchOperation[];
1272
+ patchOperations?: PatchOperation[] | undefined;
1271
1273
  }
1272
1274
  export interface UpdateUsageRequest {
1273
1275
  usagePlanId: string | undefined;
1274
1276
  keyId: string | undefined;
1275
- patchOperations?: PatchOperation[];
1277
+ patchOperations?: PatchOperation[] | undefined;
1276
1278
  }
1277
1279
  export interface UpdateUsagePlanRequest {
1278
1280
  usagePlanId: string | undefined;
1279
- patchOperations?: PatchOperation[];
1281
+ patchOperations?: PatchOperation[] | undefined;
1280
1282
  }
1281
1283
  export interface UpdateVpcLinkRequest {
1282
1284
  vpcLinkId: string | undefined;
1283
- patchOperations?: PatchOperation[];
1285
+ patchOperations?: PatchOperation[] | undefined;
1284
1286
  }