@aws-sdk/client-apprunner 3.301.0 → 3.306.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.
@@ -5,26 +5,30 @@ export interface AssociateCustomDomainRequest {
5
5
  DomainName: string | undefined;
6
6
  EnableWWWSubdomain?: boolean;
7
7
  }
8
- export declare enum CertificateValidationRecordStatus {
9
- FAILED = "FAILED",
10
- PENDING_VALIDATION = "PENDING_VALIDATION",
11
- SUCCESS = "SUCCESS",
12
- }
8
+ export declare const CertificateValidationRecordStatus: {
9
+ readonly FAILED: "FAILED";
10
+ readonly PENDING_VALIDATION: "PENDING_VALIDATION";
11
+ readonly SUCCESS: "SUCCESS";
12
+ };
13
+ export type CertificateValidationRecordStatus =
14
+ (typeof CertificateValidationRecordStatus)[keyof typeof CertificateValidationRecordStatus];
13
15
  export interface CertificateValidationRecord {
14
16
  Name?: string;
15
17
  Type?: string;
16
18
  Value?: string;
17
19
  Status?: CertificateValidationRecordStatus | string;
18
20
  }
19
- export declare enum CustomDomainAssociationStatus {
20
- ACTIVE = "ACTIVE",
21
- BINDING_CERTIFICATE = "BINDING_CERTIFICATE",
22
- CREATE_FAILED = "CREATE_FAILED",
23
- CREATING = "CREATING",
24
- DELETE_FAILED = "DELETE_FAILED",
25
- DELETING = "DELETING",
26
- PENDING_CERTIFICATE_DNS_VALIDATION = "PENDING_CERTIFICATE_DNS_VALIDATION",
27
- }
21
+ export declare const CustomDomainAssociationStatus: {
22
+ readonly ACTIVE: "ACTIVE";
23
+ readonly BINDING_CERTIFICATE: "BINDING_CERTIFICATE";
24
+ readonly CREATE_FAILED: "CREATE_FAILED";
25
+ readonly CREATING: "CREATING";
26
+ readonly DELETE_FAILED: "DELETE_FAILED";
27
+ readonly DELETING: "DELETING";
28
+ readonly PENDING_CERTIFICATE_DNS_VALIDATION: "PENDING_CERTIFICATE_DNS_VALIDATION";
29
+ };
30
+ export type CustomDomainAssociationStatus =
31
+ (typeof CustomDomainAssociationStatus)[keyof typeof CustomDomainAssociationStatus];
28
32
  export interface CustomDomain {
29
33
  DomainName: string | undefined;
30
34
  EnableWWWSubdomain: boolean | undefined;
@@ -77,10 +81,12 @@ export interface CreateAutoScalingConfigurationRequest {
77
81
  MaxSize?: number;
78
82
  Tags?: Tag[];
79
83
  }
80
- export declare enum AutoScalingConfigurationStatus {
81
- ACTIVE = "ACTIVE",
82
- INACTIVE = "INACTIVE",
83
- }
84
+ export declare const AutoScalingConfigurationStatus: {
85
+ readonly ACTIVE: "ACTIVE";
86
+ readonly INACTIVE: "INACTIVE";
87
+ };
88
+ export type AutoScalingConfigurationStatus =
89
+ (typeof AutoScalingConfigurationStatus)[keyof typeof AutoScalingConfigurationStatus];
84
90
  export interface AutoScalingConfiguration {
85
91
  AutoScalingConfigurationArn?: string;
86
92
  AutoScalingConfigurationName?: string;
@@ -104,20 +110,23 @@ export declare class ServiceQuotaExceededException extends __BaseException {
104
110
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
105
111
  );
106
112
  }
107
- export declare enum ProviderType {
108
- GITHUB = "GITHUB",
109
- }
113
+ export declare const ProviderType: {
114
+ readonly GITHUB: "GITHUB";
115
+ };
116
+ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
110
117
  export interface CreateConnectionRequest {
111
118
  ConnectionName: string | undefined;
112
119
  ProviderType: ProviderType | string | undefined;
113
120
  Tags?: Tag[];
114
121
  }
115
- export declare enum ConnectionStatus {
116
- AVAILABLE = "AVAILABLE",
117
- DELETED = "DELETED",
118
- ERROR = "ERROR",
119
- PENDING_HANDSHAKE = "PENDING_HANDSHAKE",
120
- }
122
+ export declare const ConnectionStatus: {
123
+ readonly AVAILABLE: "AVAILABLE";
124
+ readonly DELETED: "DELETED";
125
+ readonly ERROR: "ERROR";
126
+ readonly PENDING_HANDSHAKE: "PENDING_HANDSHAKE";
127
+ };
128
+ export type ConnectionStatus =
129
+ (typeof ConnectionStatus)[keyof typeof ConnectionStatus];
121
130
  export interface Connection {
122
131
  ConnectionName?: string;
123
132
  ConnectionArn?: string;
@@ -128,9 +137,10 @@ export interface Connection {
128
137
  export interface CreateConnectionResponse {
129
138
  Connection: Connection | undefined;
130
139
  }
131
- export declare enum TracingVendor {
132
- AWSXRAY = "AWSXRAY",
133
- }
140
+ export declare const TracingVendor: {
141
+ readonly AWSXRAY: "AWSXRAY";
142
+ };
143
+ export type TracingVendor = (typeof TracingVendor)[keyof typeof TracingVendor];
134
144
  export interface TraceConfiguration {
135
145
  Vendor: TracingVendor | string | undefined;
136
146
  }
@@ -139,10 +149,12 @@ export interface CreateObservabilityConfigurationRequest {
139
149
  TraceConfiguration?: TraceConfiguration;
140
150
  Tags?: Tag[];
141
151
  }
142
- export declare enum ObservabilityConfigurationStatus {
143
- ACTIVE = "ACTIVE",
144
- INACTIVE = "INACTIVE",
145
- }
152
+ export declare const ObservabilityConfigurationStatus: {
153
+ readonly ACTIVE: "ACTIVE";
154
+ readonly INACTIVE: "INACTIVE";
155
+ };
156
+ export type ObservabilityConfigurationStatus =
157
+ (typeof ObservabilityConfigurationStatus)[keyof typeof ObservabilityConfigurationStatus];
146
158
  export interface ObservabilityConfiguration {
147
159
  ObservabilityConfigurationArn?: string;
148
160
  ObservabilityConfigurationName?: string;
@@ -159,10 +171,12 @@ export interface CreateObservabilityConfigurationResponse {
159
171
  export interface EncryptionConfiguration {
160
172
  KmsKey: string | undefined;
161
173
  }
162
- export declare enum HealthCheckProtocol {
163
- HTTP = "HTTP",
164
- TCP = "TCP",
165
- }
174
+ export declare const HealthCheckProtocol: {
175
+ readonly HTTP: "HTTP";
176
+ readonly TCP: "TCP";
177
+ };
178
+ export type HealthCheckProtocol =
179
+ (typeof HealthCheckProtocol)[keyof typeof HealthCheckProtocol];
166
180
  export interface HealthCheckConfiguration {
167
181
  Protocol?: HealthCheckProtocol | string;
168
182
  Path?: string;
@@ -176,10 +190,11 @@ export interface InstanceConfiguration {
176
190
  Memory?: string;
177
191
  InstanceRoleArn?: string;
178
192
  }
179
- export declare enum EgressType {
180
- DEFAULT = "DEFAULT",
181
- VPC = "VPC",
182
- }
193
+ export declare const EgressType: {
194
+ readonly DEFAULT: "DEFAULT";
195
+ readonly VPC: "VPC";
196
+ };
197
+ export type EgressType = (typeof EgressType)[keyof typeof EgressType];
183
198
  export interface EgressConfiguration {
184
199
  EgressType?: EgressType | string;
185
200
  VpcConnectorArn?: string;
@@ -199,18 +214,19 @@ export interface AuthenticationConfiguration {
199
214
  ConnectionArn?: string;
200
215
  AccessRoleArn?: string;
201
216
  }
202
- export declare enum Runtime {
203
- CORRETTO_11 = "CORRETTO_11",
204
- CORRETTO_8 = "CORRETTO_8",
205
- DOTNET_6 = "DOTNET_6",
206
- GO_1 = "GO_1",
207
- NODEJS_12 = "NODEJS_12",
208
- NODEJS_14 = "NODEJS_14",
209
- NODEJS_16 = "NODEJS_16",
210
- PHP_81 = "PHP_81",
211
- PYTHON_3 = "PYTHON_3",
212
- RUBY_31 = "RUBY_31",
213
- }
217
+ export declare const Runtime: {
218
+ readonly CORRETTO_11: "CORRETTO_11";
219
+ readonly CORRETTO_8: "CORRETTO_8";
220
+ readonly DOTNET_6: "DOTNET_6";
221
+ readonly GO_1: "GO_1";
222
+ readonly NODEJS_12: "NODEJS_12";
223
+ readonly NODEJS_14: "NODEJS_14";
224
+ readonly NODEJS_16: "NODEJS_16";
225
+ readonly PHP_81: "PHP_81";
226
+ readonly PYTHON_3: "PYTHON_3";
227
+ readonly RUBY_31: "RUBY_31";
228
+ };
229
+ export type Runtime = (typeof Runtime)[keyof typeof Runtime];
214
230
  export interface CodeConfigurationValues {
215
231
  Runtime: Runtime | string | undefined;
216
232
  BuildCommand?: string;
@@ -219,17 +235,21 @@ export interface CodeConfigurationValues {
219
235
  RuntimeEnvironmentVariables?: Record<string, string>;
220
236
  RuntimeEnvironmentSecrets?: Record<string, string>;
221
237
  }
222
- export declare enum ConfigurationSource {
223
- API = "API",
224
- REPOSITORY = "REPOSITORY",
225
- }
238
+ export declare const ConfigurationSource: {
239
+ readonly API: "API";
240
+ readonly REPOSITORY: "REPOSITORY";
241
+ };
242
+ export type ConfigurationSource =
243
+ (typeof ConfigurationSource)[keyof typeof ConfigurationSource];
226
244
  export interface CodeConfiguration {
227
245
  ConfigurationSource: ConfigurationSource | string | undefined;
228
246
  CodeConfigurationValues?: CodeConfigurationValues;
229
247
  }
230
- export declare enum SourceCodeVersionType {
231
- BRANCH = "BRANCH",
232
- }
248
+ export declare const SourceCodeVersionType: {
249
+ readonly BRANCH: "BRANCH";
250
+ };
251
+ export type SourceCodeVersionType =
252
+ (typeof SourceCodeVersionType)[keyof typeof SourceCodeVersionType];
233
253
  export interface SourceCodeVersion {
234
254
  Type: SourceCodeVersionType | string | undefined;
235
255
  Value: string | undefined;
@@ -245,10 +265,12 @@ export interface ImageConfiguration {
245
265
  Port?: string;
246
266
  RuntimeEnvironmentSecrets?: Record<string, string>;
247
267
  }
248
- export declare enum ImageRepositoryType {
249
- ECR = "ECR",
250
- ECR_PUBLIC = "ECR_PUBLIC",
251
- }
268
+ export declare const ImageRepositoryType: {
269
+ readonly ECR: "ECR";
270
+ readonly ECR_PUBLIC: "ECR_PUBLIC";
271
+ };
272
+ export type ImageRepositoryType =
273
+ (typeof ImageRepositoryType)[keyof typeof ImageRepositoryType];
252
274
  export interface ImageRepository {
253
275
  ImageIdentifier: string | undefined;
254
276
  ImageConfiguration?: ImageConfiguration;
@@ -276,14 +298,15 @@ export interface AutoScalingConfigurationSummary {
276
298
  AutoScalingConfigurationName?: string;
277
299
  AutoScalingConfigurationRevision?: number;
278
300
  }
279
- export declare enum ServiceStatus {
280
- CREATE_FAILED = "CREATE_FAILED",
281
- DELETED = "DELETED",
282
- DELETE_FAILED = "DELETE_FAILED",
283
- OPERATION_IN_PROGRESS = "OPERATION_IN_PROGRESS",
284
- PAUSED = "PAUSED",
285
- RUNNING = "RUNNING",
286
- }
301
+ export declare const ServiceStatus: {
302
+ readonly CREATE_FAILED: "CREATE_FAILED";
303
+ readonly DELETED: "DELETED";
304
+ readonly DELETE_FAILED: "DELETE_FAILED";
305
+ readonly OPERATION_IN_PROGRESS: "OPERATION_IN_PROGRESS";
306
+ readonly PAUSED: "PAUSED";
307
+ readonly RUNNING: "RUNNING";
308
+ };
309
+ export type ServiceStatus = (typeof ServiceStatus)[keyof typeof ServiceStatus];
287
310
  export interface Service {
288
311
  ServiceName: string | undefined;
289
312
  ServiceId: string | undefined;
@@ -311,10 +334,12 @@ export interface CreateVpcConnectorRequest {
311
334
  SecurityGroups?: string[];
312
335
  Tags?: Tag[];
313
336
  }
314
- export declare enum VpcConnectorStatus {
315
- ACTIVE = "ACTIVE",
316
- INACTIVE = "INACTIVE",
317
- }
337
+ export declare const VpcConnectorStatus: {
338
+ readonly ACTIVE: "ACTIVE";
339
+ readonly INACTIVE: "INACTIVE";
340
+ };
341
+ export type VpcConnectorStatus =
342
+ (typeof VpcConnectorStatus)[keyof typeof VpcConnectorStatus];
318
343
  export interface VpcConnector {
319
344
  VpcConnectorName?: string;
320
345
  VpcConnectorArn?: string;
@@ -338,16 +363,18 @@ export interface CreateVpcIngressConnectionRequest {
338
363
  IngressVpcConfiguration: IngressVpcConfiguration | undefined;
339
364
  Tags?: Tag[];
340
365
  }
341
- export declare enum VpcIngressConnectionStatus {
342
- AVAILABLE = "AVAILABLE",
343
- DELETED = "DELETED",
344
- FAILED_CREATION = "FAILED_CREATION",
345
- FAILED_DELETION = "FAILED_DELETION",
346
- FAILED_UPDATE = "FAILED_UPDATE",
347
- PENDING_CREATION = "PENDING_CREATION",
348
- PENDING_DELETION = "PENDING_DELETION",
349
- PENDING_UPDATE = "PENDING_UPDATE",
350
- }
366
+ export declare const VpcIngressConnectionStatus: {
367
+ readonly AVAILABLE: "AVAILABLE";
368
+ readonly DELETED: "DELETED";
369
+ readonly FAILED_CREATION: "FAILED_CREATION";
370
+ readonly FAILED_DELETION: "FAILED_DELETION";
371
+ readonly FAILED_UPDATE: "FAILED_UPDATE";
372
+ readonly PENDING_CREATION: "PENDING_CREATION";
373
+ readonly PENDING_DELETION: "PENDING_DELETION";
374
+ readonly PENDING_UPDATE: "PENDING_UPDATE";
375
+ };
376
+ export type VpcIngressConnectionStatus =
377
+ (typeof VpcIngressConnectionStatus)[keyof typeof VpcIngressConnectionStatus];
351
378
  export interface VpcIngressConnection {
352
379
  VpcIngressConnectionArn?: string;
353
380
  VpcIngressConnectionName?: string;
@@ -509,23 +536,26 @@ export interface ListOperationsRequest {
509
536
  NextToken?: string;
510
537
  MaxResults?: number;
511
538
  }
512
- export declare enum OperationStatus {
513
- FAILED = "FAILED",
514
- IN_PROGRESS = "IN_PROGRESS",
515
- PENDING = "PENDING",
516
- ROLLBACK_FAILED = "ROLLBACK_FAILED",
517
- ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS",
518
- ROLLBACK_SUCCEEDED = "ROLLBACK_SUCCEEDED",
519
- SUCCEEDED = "SUCCEEDED",
520
- }
521
- export declare enum OperationType {
522
- CREATE_SERVICE = "CREATE_SERVICE",
523
- DELETE_SERVICE = "DELETE_SERVICE",
524
- PAUSE_SERVICE = "PAUSE_SERVICE",
525
- RESUME_SERVICE = "RESUME_SERVICE",
526
- START_DEPLOYMENT = "START_DEPLOYMENT",
527
- UPDATE_SERVICE = "UPDATE_SERVICE",
528
- }
539
+ export declare const OperationStatus: {
540
+ readonly FAILED: "FAILED";
541
+ readonly IN_PROGRESS: "IN_PROGRESS";
542
+ readonly PENDING: "PENDING";
543
+ readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
544
+ readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
545
+ readonly ROLLBACK_SUCCEEDED: "ROLLBACK_SUCCEEDED";
546
+ readonly SUCCEEDED: "SUCCEEDED";
547
+ };
548
+ export type OperationStatus =
549
+ (typeof OperationStatus)[keyof typeof OperationStatus];
550
+ export declare const OperationType: {
551
+ readonly CREATE_SERVICE: "CREATE_SERVICE";
552
+ readonly DELETE_SERVICE: "DELETE_SERVICE";
553
+ readonly PAUSE_SERVICE: "PAUSE_SERVICE";
554
+ readonly RESUME_SERVICE: "RESUME_SERVICE";
555
+ readonly START_DEPLOYMENT: "START_DEPLOYMENT";
556
+ readonly UPDATE_SERVICE: "UPDATE_SERVICE";
557
+ };
558
+ export type OperationType = (typeof OperationType)[keyof typeof OperationType];
529
559
  export interface OperationSummary {
530
560
  Id?: string;
531
561
  Type?: OperationType | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apprunner",
3
3
  "description": "AWS SDK for JavaScript Apprunner Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",