@aws-sdk/client-apprunner 3.987.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +56 -1265
- package/dist-cjs/models/AppRunnerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +79 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1010 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +43 -37
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultAppRunnerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2020-05-15",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.apprunner",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
xmlNamespace: "http://apprunner.amazonaws.com/doc/2020-05-15/",
|
|
30
32
|
version: "2020-05-15",
|
|
31
33
|
serviceTarget: "AppRunner",
|
|
@@ -147,12 +147,12 @@ const _LVIC = "ListVpcIngressConnections";
|
|
|
147
147
|
const _LVICF = "ListVpcIngressConnectionsFilter";
|
|
148
148
|
const _LVICR = "ListVpcIngressConnectionsRequest";
|
|
149
149
|
const _LVICRi = "ListVpcIngressConnectionsResponse";
|
|
150
|
-
const _M = "
|
|
150
|
+
const _M = "Message";
|
|
151
151
|
const _MC = "MaxConcurrency";
|
|
152
152
|
const _MR = "MaxResults";
|
|
153
153
|
const _MS = "MinSize";
|
|
154
154
|
const _MSa = "MaxSize";
|
|
155
|
-
const _Me = "
|
|
155
|
+
const _Me = "Memory";
|
|
156
156
|
const _N = "Name";
|
|
157
157
|
const _NC = "NetworkConfiguration";
|
|
158
158
|
const _NT = "NextToken";
|
|
@@ -253,12 +253,50 @@ const _aQE = "awsQueryError";
|
|
|
253
253
|
const _c = "client";
|
|
254
254
|
const _e = "error";
|
|
255
255
|
const _hE = "httpError";
|
|
256
|
-
const _s = "
|
|
257
|
-
const
|
|
256
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.apprunner";
|
|
257
|
+
const _se = "server";
|
|
258
258
|
const n0 = "com.amazonaws.apprunner";
|
|
259
259
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
260
260
|
import { AppRunnerServiceException } from "../models/AppRunnerServiceException";
|
|
261
261
|
import { InternalServiceErrorException, InvalidRequestException, InvalidStateException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/errors";
|
|
262
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
263
|
+
export var AppRunnerServiceException$ = [-3, _s, "AppRunnerServiceException", 0, [], []];
|
|
264
|
+
_s_registry.registerError(AppRunnerServiceException$, AppRunnerServiceException);
|
|
265
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
266
|
+
export var InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
267
|
+
{ [_aQE]: [`InternalServiceError`, 500], [_e]: _se, [_hE]: 500 },
|
|
268
|
+
[_M],
|
|
269
|
+
[0]
|
|
270
|
+
];
|
|
271
|
+
n0_registry.registerError(InternalServiceErrorException$, InternalServiceErrorException);
|
|
272
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
273
|
+
{ [_aQE]: [`InvalidRequest`, 400], [_e]: _c, [_hE]: 400 },
|
|
274
|
+
[_M],
|
|
275
|
+
[0]
|
|
276
|
+
];
|
|
277
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
278
|
+
export var InvalidStateException$ = [-3, n0, _ISE,
|
|
279
|
+
{ [_aQE]: [`InvalidState`, 400], [_e]: _c, [_hE]: 400 },
|
|
280
|
+
[_M],
|
|
281
|
+
[0]
|
|
282
|
+
];
|
|
283
|
+
n0_registry.registerError(InvalidStateException$, InvalidStateException);
|
|
284
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
285
|
+
{ [_aQE]: [`ResourceNotfound`, 400], [_e]: _c, [_hE]: 400 },
|
|
286
|
+
[_M],
|
|
287
|
+
[0]
|
|
288
|
+
];
|
|
289
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
290
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
291
|
+
{ [_aQE]: [`ServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
|
|
292
|
+
[_M],
|
|
293
|
+
[0]
|
|
294
|
+
];
|
|
295
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
296
|
+
export const errorTypeRegistries = [
|
|
297
|
+
_s_registry,
|
|
298
|
+
n0_registry,
|
|
299
|
+
];
|
|
262
300
|
var BuildCommand = [0, n0, _BC, 8, 0];
|
|
263
301
|
var RuntimeEnvironmentSecretsName = [0, n0, _RESN, 8, 0];
|
|
264
302
|
var RuntimeEnvironmentSecretsValue = [0, n0, _RESV, 8, 0];
|
|
@@ -552,27 +590,9 @@ export var IngressVpcConfiguration$ = [3, n0, _IVC,
|
|
|
552
590
|
];
|
|
553
591
|
export var InstanceConfiguration$ = [3, n0, _IC,
|
|
554
592
|
0,
|
|
555
|
-
[_Cp,
|
|
593
|
+
[_Cp, _Me, _IRA],
|
|
556
594
|
[0, 0, 0]
|
|
557
595
|
];
|
|
558
|
-
export var InternalServiceErrorException$ = [-3, n0, _ISEE,
|
|
559
|
-
{ [_aQE]: [`InternalServiceError`, 500], [_e]: _s, [_hE]: 500 },
|
|
560
|
-
[_Me],
|
|
561
|
-
[0]
|
|
562
|
-
];
|
|
563
|
-
TypeRegistry.for(n0).registerError(InternalServiceErrorException$, InternalServiceErrorException);
|
|
564
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
565
|
-
{ [_aQE]: [`InvalidRequest`, 400], [_e]: _c, [_hE]: 400 },
|
|
566
|
-
[_Me],
|
|
567
|
-
[0]
|
|
568
|
-
];
|
|
569
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
570
|
-
export var InvalidStateException$ = [-3, n0, _ISE,
|
|
571
|
-
{ [_aQE]: [`InvalidState`, 400], [_e]: _c, [_hE]: 400 },
|
|
572
|
-
[_Me],
|
|
573
|
-
[0]
|
|
574
|
-
];
|
|
575
|
-
TypeRegistry.for(n0).registerError(InvalidStateException$, InvalidStateException);
|
|
576
596
|
export var ListAutoScalingConfigurationsRequest$ = [3, n0, _LASCR,
|
|
577
597
|
0,
|
|
578
598
|
[_ASCN, _LO, _MR, _NT],
|
|
@@ -698,12 +718,6 @@ export var PauseServiceResponse$ = [3, n0, _PSRa,
|
|
|
698
718
|
[_Se, _OI],
|
|
699
719
|
[[() => Service$, 0], 0], 1
|
|
700
720
|
];
|
|
701
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
702
|
-
{ [_aQE]: [`ResourceNotfound`, 400], [_e]: _c, [_hE]: 400 },
|
|
703
|
-
[_Me],
|
|
704
|
-
[0]
|
|
705
|
-
];
|
|
706
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
707
721
|
export var ResumeServiceRequest$ = [3, n0, _RSR,
|
|
708
722
|
0,
|
|
709
723
|
[_SA],
|
|
@@ -724,12 +738,6 @@ export var ServiceObservabilityConfiguration$ = [3, n0, _SOC,
|
|
|
724
738
|
[_OE, _OCA],
|
|
725
739
|
[2, 0], 1
|
|
726
740
|
];
|
|
727
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
728
|
-
{ [_aQE]: [`ServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
|
|
729
|
-
[_Me],
|
|
730
|
-
[0]
|
|
731
|
-
];
|
|
732
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
733
741
|
export var ServiceSummary$ = [3, n0, _SS,
|
|
734
742
|
0,
|
|
735
743
|
[_SN, _SI, _SA, _SU, _CAr, _UA, _S],
|
|
@@ -835,8 +843,6 @@ export var VpcIngressConnectionSummary$ = [3, n0, _VICS,
|
|
|
835
843
|
[_VICA, _SA],
|
|
836
844
|
[0, 0]
|
|
837
845
|
];
|
|
838
|
-
export var AppRunnerServiceException$ = [-3, _sm, "AppRunnerServiceException", 0, [], []];
|
|
839
|
-
TypeRegistry.for(_sm).registerError(AppRunnerServiceException$, AppRunnerServiceException);
|
|
840
846
|
var AutoScalingConfigurationSummaryList = [1, n0, _ASCSL,
|
|
841
847
|
0, () => AutoScalingConfigurationSummary$
|
|
842
848
|
];
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var AppRunnerServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var InternalServiceErrorException$: StaticErrorSchema;
|
|
5
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
6
|
+
export declare var InvalidStateException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
|
+
/**
|
|
10
|
+
* TypeRegistry instances containing modeled errors.
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
15
|
export declare var AssociateCustomDomainRequest$: StaticStructureSchema;
|
|
3
16
|
export declare var AssociateCustomDomainResponse$: StaticStructureSchema;
|
|
4
17
|
export declare var AuthenticationConfiguration$: StaticStructureSchema;
|
|
@@ -57,9 +70,6 @@ export declare var ImageRepository$: StaticStructureSchema;
|
|
|
57
70
|
export declare var IngressConfiguration$: StaticStructureSchema;
|
|
58
71
|
export declare var IngressVpcConfiguration$: StaticStructureSchema;
|
|
59
72
|
export declare var InstanceConfiguration$: StaticStructureSchema;
|
|
60
|
-
export declare var InternalServiceErrorException$: StaticErrorSchema;
|
|
61
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
62
|
-
export declare var InvalidStateException$: StaticErrorSchema;
|
|
63
73
|
export declare var ListAutoScalingConfigurationsRequest$: StaticStructureSchema;
|
|
64
74
|
export declare var ListAutoScalingConfigurationsResponse$: StaticStructureSchema;
|
|
65
75
|
export declare var ListConnectionsRequest$: StaticStructureSchema;
|
|
@@ -85,12 +95,10 @@ export declare var ObservabilityConfigurationSummary$: StaticStructureSchema;
|
|
|
85
95
|
export declare var OperationSummary$: StaticStructureSchema;
|
|
86
96
|
export declare var PauseServiceRequest$: StaticStructureSchema;
|
|
87
97
|
export declare var PauseServiceResponse$: StaticStructureSchema;
|
|
88
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
89
98
|
export declare var ResumeServiceRequest$: StaticStructureSchema;
|
|
90
99
|
export declare var ResumeServiceResponse$: StaticStructureSchema;
|
|
91
100
|
export declare var Service$: StaticStructureSchema;
|
|
92
101
|
export declare var ServiceObservabilityConfiguration$: StaticStructureSchema;
|
|
93
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
94
102
|
export declare var ServiceSummary$: StaticStructureSchema;
|
|
95
103
|
export declare var SourceCodeVersion$: StaticStructureSchema;
|
|
96
104
|
export declare var SourceConfiguration$: StaticStructureSchema;
|
|
@@ -112,7 +120,6 @@ export declare var VpcConnector$: StaticStructureSchema;
|
|
|
112
120
|
export declare var VpcDNSTarget$: StaticStructureSchema;
|
|
113
121
|
export declare var VpcIngressConnection$: StaticStructureSchema;
|
|
114
122
|
export declare var VpcIngressConnectionSummary$: StaticStructureSchema;
|
|
115
|
-
export declare var AppRunnerServiceException$: StaticErrorSchema;
|
|
116
123
|
export declare var AssociateCustomDomain$: StaticOperationSchema;
|
|
117
124
|
export declare var CreateAutoScalingConfiguration$: StaticOperationSchema;
|
|
118
125
|
export declare var CreateConnection$: StaticOperationSchema;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var AppRunnerServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var InternalServiceErrorException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
10
|
+
export declare var InvalidStateException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
14
|
export declare var AssociateCustomDomainRequest$: StaticStructureSchema;
|
|
7
15
|
export declare var AssociateCustomDomainResponse$: StaticStructureSchema;
|
|
8
16
|
export declare var AuthenticationConfiguration$: StaticStructureSchema;
|
|
@@ -61,9 +69,6 @@ export declare var ImageRepository$: StaticStructureSchema;
|
|
|
61
69
|
export declare var IngressConfiguration$: StaticStructureSchema;
|
|
62
70
|
export declare var IngressVpcConfiguration$: StaticStructureSchema;
|
|
63
71
|
export declare var InstanceConfiguration$: StaticStructureSchema;
|
|
64
|
-
export declare var InternalServiceErrorException$: StaticErrorSchema;
|
|
65
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
66
|
-
export declare var InvalidStateException$: StaticErrorSchema;
|
|
67
72
|
export declare var ListAutoScalingConfigurationsRequest$: StaticStructureSchema;
|
|
68
73
|
export declare var ListAutoScalingConfigurationsResponse$: StaticStructureSchema;
|
|
69
74
|
export declare var ListConnectionsRequest$: StaticStructureSchema;
|
|
@@ -89,12 +94,10 @@ export declare var ObservabilityConfigurationSummary$: StaticStructureSchema;
|
|
|
89
94
|
export declare var OperationSummary$: StaticStructureSchema;
|
|
90
95
|
export declare var PauseServiceRequest$: StaticStructureSchema;
|
|
91
96
|
export declare var PauseServiceResponse$: StaticStructureSchema;
|
|
92
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
93
97
|
export declare var ResumeServiceRequest$: StaticStructureSchema;
|
|
94
98
|
export declare var ResumeServiceResponse$: StaticStructureSchema;
|
|
95
99
|
export declare var Service$: StaticStructureSchema;
|
|
96
100
|
export declare var ServiceObservabilityConfiguration$: StaticStructureSchema;
|
|
97
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
98
101
|
export declare var ServiceSummary$: StaticStructureSchema;
|
|
99
102
|
export declare var SourceCodeVersion$: StaticStructureSchema;
|
|
100
103
|
export declare var SourceConfiguration$: StaticStructureSchema;
|
|
@@ -116,7 +119,6 @@ export declare var VpcConnector$: StaticStructureSchema;
|
|
|
116
119
|
export declare var VpcDNSTarget$: StaticStructureSchema;
|
|
117
120
|
export declare var VpcIngressConnection$: StaticStructureSchema;
|
|
118
121
|
export declare var VpcIngressConnectionSummary$: StaticStructureSchema;
|
|
119
|
-
export declare var AppRunnerServiceException$: StaticErrorSchema;
|
|
120
122
|
export declare var AssociateCustomDomain$: StaticOperationSchema;
|
|
121
123
|
export declare var CreateAutoScalingConfiguration$: StaticOperationSchema;
|
|
122
124
|
export declare var CreateConnection$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-apprunner",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|