@aws-sdk/client-lambda-web 3.1149.0 → 3.1150.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/README.md +141 -8
- package/dist-cjs/index.js +1122 -4
- package/dist-es/LambdaWeb.js +61 -1
- package/dist-es/commands/CreateWebFunctionCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/CreateWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/DeleteWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/GetWebFunctionRevisionCommand.js +4 -0
- package/dist-es/commands/ListTagsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionEndpointsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionRevisionsCommand.js +4 -0
- package/dist-es/commands/ListWebFunctionsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateWebFunctionEndpointCommand.js +4 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/index.js +3 -0
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +68 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListWebFunctionEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionRevisionsPaginator.js +4 -0
- package/dist-es/pagination/ListWebFunctionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +515 -1
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForWebFunctionActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointActive.js +58 -0
- package/dist-es/waiters/waitForWebFunctionEndpointDeleted.js +34 -0
- package/dist-es/waiters/waitForWebFunctionEndpointUpdated.js +49 -0
- package/dist-es/waiters/waitForWebFunctionRevisionActive.js +49 -0
- package/dist-types/LambdaWeb.d.ts +195 -2
- package/dist-types/LambdaWebClient.d.ts +22 -3
- package/dist-types/commandBuilder.d.ts +4 -4
- package/dist-types/commands/CreateWebFunctionCommand.d.ts +189 -0
- package/dist-types/commands/CreateWebFunctionEndpointCommand.d.ts +162 -0
- package/dist-types/commands/CreateWebFunctionRevisionCommand.d.ts +164 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWebFunctionEndpointCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWebFunctionRevisionCommand.d.ts +88 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetWebAccountSettingsCommand.d.ts +6 -6
- package/dist-types/commands/GetWebFunctionCommand.d.ts +91 -0
- package/dist-types/commands/GetWebFunctionEndpointCommand.d.ts +137 -0
- package/dist-types/commands/GetWebFunctionRevisionCommand.d.ts +129 -0
- package/dist-types/commands/ListTagsCommand.d.ts +88 -0
- package/dist-types/commands/ListWebFunctionEndpointsCommand.d.ts +128 -0
- package/dist-types/commands/ListWebFunctionRevisionsCommand.d.ts +106 -0
- package/dist-types/commands/ListWebFunctionsCommand.d.ts +102 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateWebFunctionEndpointCommand.d.ts +158 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +95 -3
- package/dist-types/models/models_0.d.ts +1507 -6
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListWebFunctionEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionRevisionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWebFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/LambdaWeb.d.ts +395 -0
- package/dist-types/ts3.4/LambdaWebClient.d.ts +112 -2
- package/dist-types/ts3.4/commandBuilder.d.ts +10 -9
- package/dist-types/ts3.4/commands/CreateWebFunctionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWebFunctionRevisionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWebFunctionRevisionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebAccountSettingsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetWebFunctionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWebFunctionEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWebFunctionRevisionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWebFunctionEndpointsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionRevisionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWebFunctionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWebFunctionEndpointCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +351 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionRevisionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWebFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +73 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForWebFunctionActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointActive.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionEndpointDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForWebFunctionEndpointUpdated.d.ts +15 -0
- package/dist-types/waiters/waitForWebFunctionRevisionActive.d.ts +15 -0
- package/package.json +3 -3
|
@@ -1,33 +1,187 @@
|
|
|
1
1
|
const _ADE = "AccessDeniedException";
|
|
2
2
|
const _AQ = "AccountQuotas";
|
|
3
3
|
const _AU = "AccountUsage";
|
|
4
|
+
const _BC = "BuildConfig";
|
|
5
|
+
const _CC = "CodeConfig";
|
|
6
|
+
const _CE = "ConflictException";
|
|
7
|
+
const _CWF = "CreateWebFunction";
|
|
8
|
+
const _CWFE = "CreateWebFunctionEndpoint";
|
|
9
|
+
const _CWFER = "CreateWebFunctionEndpointRequest";
|
|
10
|
+
const _CWFERr = "CreateWebFunctionEndpointResponse";
|
|
11
|
+
const _CWFR = "CreateWebFunctionRequest";
|
|
12
|
+
const _CWFRR = "CreateWebFunctionRevisionRequest";
|
|
13
|
+
const _CWFRRr = "CreateWebFunctionRevisionResponse";
|
|
14
|
+
const _CWFRr = "CreateWebFunctionResponse";
|
|
15
|
+
const _CWFRre = "CreateWebFunctionRevision";
|
|
16
|
+
const _DRP = "DeleteResourcePolicy";
|
|
17
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
18
|
+
const _DWF = "DeleteWebFunction";
|
|
19
|
+
const _DWFE = "DeleteWebFunctionEndpoint";
|
|
20
|
+
const _DWFER = "DeleteWebFunctionEndpointRequest";
|
|
21
|
+
const _DWFR = "DeleteWebFunctionRequest";
|
|
22
|
+
const _DWFRR = "DeleteWebFunctionRevisionRequest";
|
|
23
|
+
const _DWFRe = "DeleteWebFunctionRevision";
|
|
24
|
+
const _EC = "EndpointConfig";
|
|
25
|
+
const _EV = "EnvironmentVariables";
|
|
26
|
+
const _F = "Filter";
|
|
27
|
+
const _FES = "FunctionEndpointSummary";
|
|
28
|
+
const _FESL = "FunctionEndpointSummaryList";
|
|
29
|
+
const _FL = "FilterList";
|
|
30
|
+
const _FRS = "FunctionRevisionSummary";
|
|
31
|
+
const _FRSL = "FunctionRevisionSummaryList";
|
|
32
|
+
const _FS = "FunctionSummary";
|
|
33
|
+
const _FSL = "FunctionSummaryList";
|
|
34
|
+
const _GRP = "GetResourcePolicy";
|
|
35
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
36
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
4
37
|
const _GWAS = "GetWebAccountSettings";
|
|
5
38
|
const _GWASR = "GetWebAccountSettingsRequest";
|
|
6
39
|
const _GWASRe = "GetWebAccountSettingsResponse";
|
|
40
|
+
const _GWF = "GetWebFunction";
|
|
41
|
+
const _GWFE = "GetWebFunctionEndpoint";
|
|
42
|
+
const _GWFER = "GetWebFunctionEndpointRequest";
|
|
43
|
+
const _GWFERe = "GetWebFunctionEndpointResponse";
|
|
44
|
+
const _GWFR = "GetWebFunctionRequest";
|
|
45
|
+
const _GWFRR = "GetWebFunctionRevisionRequest";
|
|
46
|
+
const _GWFRRe = "GetWebFunctionRevisionResponse";
|
|
47
|
+
const _GWFRe = "GetWebFunctionResponse";
|
|
48
|
+
const _GWFRet = "GetWebFunctionRevision";
|
|
7
49
|
const _ISE = "InternalServerException";
|
|
50
|
+
const _LC = "LoggingConfig";
|
|
51
|
+
const _LT = "ListTags";
|
|
52
|
+
const _LTR = "ListTagsRequest";
|
|
53
|
+
const _LTRi = "ListTagsResponse";
|
|
54
|
+
const _LWF = "ListWebFunctions";
|
|
55
|
+
const _LWFE = "ListWebFunctionEndpoints";
|
|
56
|
+
const _LWFER = "ListWebFunctionEndpointsRequest";
|
|
57
|
+
const _LWFERi = "ListWebFunctionEndpointsResponse";
|
|
58
|
+
const _LWFR = "ListWebFunctionsRequest";
|
|
59
|
+
const _LWFRR = "ListWebFunctionRevisionsRequest";
|
|
60
|
+
const _LWFRRi = "ListWebFunctionRevisionsResponse";
|
|
61
|
+
const _LWFRi = "ListWebFunctionsResponse";
|
|
62
|
+
const _LWFRis = "ListWebFunctionRevisions";
|
|
63
|
+
const _P = "Policy";
|
|
64
|
+
const _PRP = "PutResourcePolicy";
|
|
65
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
66
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
8
67
|
const _RA = "Retry-After";
|
|
68
|
+
const _RC = "RevisionConfig";
|
|
69
|
+
const _RCu = "RuntimeConfig";
|
|
70
|
+
const _RE = "RegionalEndpoint";
|
|
71
|
+
const _REe = "RevisionError";
|
|
72
|
+
const _REeg = "RegionalEndpoints";
|
|
73
|
+
const _REev = "RevisionErrors";
|
|
74
|
+
const _RI = "RevisionId";
|
|
75
|
+
const _RNFE = "ResourceNotFoundException";
|
|
76
|
+
const _RW = "RevisionWeight";
|
|
77
|
+
const _RWL = "RevisionWeightList";
|
|
78
|
+
const _SC = "ScalingConfig";
|
|
79
|
+
const _SCe = "ServiceConfig";
|
|
80
|
+
const _SO = "S3Object";
|
|
81
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
82
|
+
const _T = "Tags";
|
|
83
|
+
const _TC = "TelemetryConfig";
|
|
84
|
+
const _TCh = "ThrottleConfig";
|
|
9
85
|
const _TE = "ThrottlingException";
|
|
86
|
+
const _TR = "TagResource";
|
|
87
|
+
const _TRR = "TagResourceRequest";
|
|
88
|
+
const _UR = "UntagResource";
|
|
89
|
+
const _URR = "UntagResourceRequest";
|
|
90
|
+
const _UWFE = "UpdateWebFunctionEndpoint";
|
|
91
|
+
const _UWFER = "UpdateWebFunctionEndpointRequest";
|
|
92
|
+
const _UWFERp = "UpdateWebFunctionEndpointResponse";
|
|
93
|
+
const _VE = "ValidationException";
|
|
94
|
+
const _a = "attribute";
|
|
95
|
+
const _aDM = "autoDeploymentMode";
|
|
96
|
+
const _aLL = "applicationLogLevel";
|
|
10
97
|
const _aQ = "accountQuotas";
|
|
98
|
+
const _aT = "authType";
|
|
11
99
|
const _aU = "accountUsage";
|
|
100
|
+
const _b = "bucket";
|
|
101
|
+
const _bC = "buildConfig";
|
|
12
102
|
const _c = "client";
|
|
103
|
+
const _cA = "createdAt";
|
|
104
|
+
const _cC = "codeConfig";
|
|
105
|
+
const _d = "description";
|
|
106
|
+
const _dN = "domainName";
|
|
13
107
|
const _e = "error";
|
|
108
|
+
const _eA = "endpointArn";
|
|
109
|
+
const _eC = "endpointConfig";
|
|
110
|
+
const _eCr = "errorCode";
|
|
111
|
+
const _eM = "errorMessage";
|
|
112
|
+
const _eN = "endpointName";
|
|
113
|
+
const _eNCA = "egressNetworkConnectorArn";
|
|
114
|
+
const _eRA = "executionRoleArn";
|
|
115
|
+
const _eT = "endpointType";
|
|
116
|
+
const _eV = "environmentVariables";
|
|
117
|
+
const _en = "endpoint";
|
|
118
|
+
const _end = "endpoints";
|
|
119
|
+
const _er = "errors";
|
|
120
|
+
const _f = "filters";
|
|
121
|
+
const _fA = "functionArn";
|
|
14
122
|
const _fC = "functionCount";
|
|
123
|
+
const _fN = "functionName";
|
|
124
|
+
const _fu = "functions";
|
|
15
125
|
const _h = "http";
|
|
16
126
|
const _hE = "httpError";
|
|
17
127
|
const _hH = "httpHeader";
|
|
128
|
+
const _hQ = "httpQuery";
|
|
129
|
+
const _jN = "jsonName";
|
|
130
|
+
const _k = "key";
|
|
131
|
+
const _kKA = "kmsKeyArn";
|
|
132
|
+
const _lC = "loggingConfig";
|
|
133
|
+
const _lG = "logGroup";
|
|
18
134
|
const _m = "message";
|
|
135
|
+
const _mCPE = "maxConcurrencyPerEnvironment";
|
|
136
|
+
const _mE = "maxEnvironments";
|
|
19
137
|
const _mEPF = "maxEndpointsPerFunction";
|
|
138
|
+
const _mR = "maxResults";
|
|
20
139
|
const _mRPF = "maxRevisionsPerFunction";
|
|
21
140
|
const _mTAVC = "maxTotalArmVCpus";
|
|
22
141
|
const _mTRL = "maxTotalRateLimit";
|
|
142
|
+
const _n = "name";
|
|
143
|
+
const _nT = "nextToken";
|
|
144
|
+
const _p = "policy";
|
|
23
145
|
const _qC = "quotaCode";
|
|
146
|
+
const _r = "regions";
|
|
147
|
+
const _rA = "revisionArn";
|
|
24
148
|
const _rAS = "retryAfterSeconds";
|
|
149
|
+
const _rAe = "resourceArn";
|
|
150
|
+
const _rC = "runtimeConfig";
|
|
151
|
+
const _rCe = "revisionConfig";
|
|
152
|
+
const _rE = "regionalEndpoints";
|
|
153
|
+
const _rI = "resourceId";
|
|
154
|
+
const _rIe = "revisionId";
|
|
155
|
+
const _rL = "rateLimit";
|
|
156
|
+
const _rT = "resourceType";
|
|
157
|
+
const _rW = "revisionWeights";
|
|
158
|
+
const _re = "revision";
|
|
159
|
+
const _res = "resource";
|
|
160
|
+
const _rev = "revisions";
|
|
161
|
+
const _ru = "runtime";
|
|
25
162
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lambdaweb";
|
|
26
163
|
const _sC = "serviceCode";
|
|
164
|
+
const _sCc = "scalingConfig";
|
|
165
|
+
const _sCe = "serviceConfig";
|
|
166
|
+
const _sLL = "systemLogLevel";
|
|
167
|
+
const _sO = "s3Object";
|
|
168
|
+
const _sR = "stateReason";
|
|
27
169
|
const _se = "server";
|
|
170
|
+
const _st = "state";
|
|
171
|
+
const _t = "tags";
|
|
172
|
+
const _tC = "throttleConfig";
|
|
173
|
+
const _tCe = "telemetryConfig";
|
|
174
|
+
const _tK = "tagKeys";
|
|
175
|
+
const _tS = "timeoutSeconds";
|
|
176
|
+
const _uA = "updatedAt";
|
|
177
|
+
const _uS = "updateStatus";
|
|
178
|
+
const _uSR = "updateStatusReason";
|
|
179
|
+
const _v = "values";
|
|
180
|
+
const _vI = "versionId";
|
|
181
|
+
const _w = "weight";
|
|
28
182
|
const n0 = "com.amazonaws.lambdaweb";
|
|
29
183
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
30
|
-
import { AccessDeniedException, InternalServerException, ThrottlingException } from "../models/errors";
|
|
184
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
31
185
|
import { LambdaWebServiceException } from "../models/LambdaWebServiceException";
|
|
32
186
|
const _s_registry = new TypeRegistry(_s);
|
|
33
187
|
export var LambdaWebServiceException$ = [-3, _s, "LambdaWebServiceException", 0, [], []];
|
|
@@ -39,18 +193,42 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
39
193
|
[0], 1
|
|
40
194
|
];
|
|
41
195
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
196
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
197
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
198
|
+
[_m, _rI, _rT],
|
|
199
|
+
[0, 0, 0], 1
|
|
200
|
+
];
|
|
201
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
42
202
|
export var InternalServerException$ = [-3, n0, _ISE,
|
|
43
203
|
{ [_e]: _se, [_hE]: 500 },
|
|
44
204
|
[_m],
|
|
45
205
|
[0]
|
|
46
206
|
];
|
|
47
207
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
208
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
209
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
210
|
+
[_m, _rI, _rT],
|
|
211
|
+
[0, 0, 0], 1
|
|
212
|
+
];
|
|
213
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
214
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
215
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
216
|
+
[_m, _rI, _rT, _sC, _qC],
|
|
217
|
+
[0, 0, 0, 0, 0], 1
|
|
218
|
+
];
|
|
219
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
48
220
|
export var ThrottlingException$ = [-3, n0, _TE,
|
|
49
221
|
{ [_e]: _c, [_hE]: 429 },
|
|
50
222
|
[_m, _rAS, _sC, _qC],
|
|
51
223
|
[0, [1, { [_hH]: _RA }], 0, 0], 1
|
|
52
224
|
];
|
|
53
225
|
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
226
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
227
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
228
|
+
[_m],
|
|
229
|
+
[0], 1
|
|
230
|
+
];
|
|
231
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
54
232
|
export const errorTypeRegistries = [
|
|
55
233
|
_s_registry,
|
|
56
234
|
n0_registry,
|
|
@@ -65,6 +243,101 @@ export var AccountUsage$ = [3, n0, _AU,
|
|
|
65
243
|
[_fC],
|
|
66
244
|
[1], 1
|
|
67
245
|
];
|
|
246
|
+
export var BuildConfig$ = [3, n0, _BC,
|
|
247
|
+
0,
|
|
248
|
+
[_cC, _rC],
|
|
249
|
+
[() => CodeConfig$, () => RuntimeConfig$], 2
|
|
250
|
+
];
|
|
251
|
+
export var CodeConfig$ = [3, n0, _CC,
|
|
252
|
+
0,
|
|
253
|
+
[_sO],
|
|
254
|
+
[() => S3Object$], 1
|
|
255
|
+
];
|
|
256
|
+
export var CreateWebFunctionEndpointRequest$ = [3, n0, _CWFER,
|
|
257
|
+
0,
|
|
258
|
+
[_fN, _eN, _eT, _aT, _d, _aDM, _rW, _r, _sCc, _tC],
|
|
259
|
+
[[0, 1], 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, () => ScalingConfig$, () => ThrottleConfig$], 4
|
|
260
|
+
];
|
|
261
|
+
export var CreateWebFunctionEndpointResponse$ = [3, n0, _CWFERr,
|
|
262
|
+
0,
|
|
263
|
+
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
264
|
+
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
265
|
+
];
|
|
266
|
+
export var CreateWebFunctionRequest$ = [3, n0, _CWFR,
|
|
267
|
+
0,
|
|
268
|
+
[_fN, _rCe, _eC, _t],
|
|
269
|
+
[0, [() => RevisionConfig$, 0], () => EndpointConfig$, 128 | 0], 1
|
|
270
|
+
];
|
|
271
|
+
export var CreateWebFunctionResponse$ = [3, n0, _CWFRr,
|
|
272
|
+
0,
|
|
273
|
+
[_fN, _fA, _st, _sR, _cA, _uA, _re, _en, _t],
|
|
274
|
+
[0, 0, 0, 0, 5, 5, () => FunctionRevisionSummary$, () => FunctionEndpointSummary$, 128 | 0], 6
|
|
275
|
+
];
|
|
276
|
+
export var CreateWebFunctionRevisionRequest$ = [3, n0, _CWFRR,
|
|
277
|
+
0,
|
|
278
|
+
[_fN, _bC, _sCe, _d, _kKA],
|
|
279
|
+
[[0, 1], () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0], 3
|
|
280
|
+
];
|
|
281
|
+
export var CreateWebFunctionRevisionResponse$ = [3, n0, _CWFRRr,
|
|
282
|
+
0,
|
|
283
|
+
[_fA, _rA, _rIe, _bC, _sCe, _st, _sR, _cA, _d, _kKA, _er],
|
|
284
|
+
[0, 0, 0, () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0, 5, 0, 0, () => RevisionErrors], 8
|
|
285
|
+
];
|
|
286
|
+
export var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
|
|
287
|
+
0,
|
|
288
|
+
[_rAe, _rIe],
|
|
289
|
+
[[0, 1], [0, { [_hQ]: _RI }]], 1
|
|
290
|
+
];
|
|
291
|
+
export var DeleteWebFunctionEndpointRequest$ = [3, n0, _DWFER,
|
|
292
|
+
0,
|
|
293
|
+
[_fN, _eN],
|
|
294
|
+
[[0, 1], [0, 1]], 2
|
|
295
|
+
];
|
|
296
|
+
export var DeleteWebFunctionRequest$ = [3, n0, _DWFR,
|
|
297
|
+
0,
|
|
298
|
+
[_fN],
|
|
299
|
+
[[0, 1]], 1
|
|
300
|
+
];
|
|
301
|
+
export var DeleteWebFunctionRevisionRequest$ = [3, n0, _DWFRR,
|
|
302
|
+
0,
|
|
303
|
+
[_fN, _rIe],
|
|
304
|
+
[[0, 1], [0, 1]], 2
|
|
305
|
+
];
|
|
306
|
+
export var EndpointConfig$ = [3, n0, _EC,
|
|
307
|
+
0,
|
|
308
|
+
[_eN, _eT, _aT, _d, _aDM, _r, _sCc, _tC],
|
|
309
|
+
[0, 0, 0, 0, 0, 64 | 0, () => ScalingConfig$, () => ThrottleConfig$], 3
|
|
310
|
+
];
|
|
311
|
+
export var Filter$ = [3, n0, _F,
|
|
312
|
+
0,
|
|
313
|
+
[_n, _v],
|
|
314
|
+
[0, 64 | 0], 2
|
|
315
|
+
];
|
|
316
|
+
export var FunctionEndpointSummary$ = [3, n0, _FES,
|
|
317
|
+
0,
|
|
318
|
+
[_eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
319
|
+
[0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 12
|
|
320
|
+
];
|
|
321
|
+
export var FunctionRevisionSummary$ = [3, n0, _FRS,
|
|
322
|
+
0,
|
|
323
|
+
[_rA, _rIe, _st, _sR, _cA, _d],
|
|
324
|
+
[0, 0, 0, 0, 5, 0], 5
|
|
325
|
+
];
|
|
326
|
+
export var FunctionSummary$ = [3, n0, _FS,
|
|
327
|
+
0,
|
|
328
|
+
[_fN, _fA, _st, _sR, _cA, _uA],
|
|
329
|
+
[0, 0, 0, 0, 5, 5], 6
|
|
330
|
+
];
|
|
331
|
+
export var GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
332
|
+
0,
|
|
333
|
+
[_rAe],
|
|
334
|
+
[[0, 1]], 1
|
|
335
|
+
];
|
|
336
|
+
export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
337
|
+
0,
|
|
338
|
+
[_p, _rIe],
|
|
339
|
+
[[0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
340
|
+
];
|
|
68
341
|
export var GetWebAccountSettingsRequest$ = [3, n0, _GWASR,
|
|
69
342
|
0,
|
|
70
343
|
[],
|
|
@@ -75,6 +348,247 @@ export var GetWebAccountSettingsResponse$ = [3, n0, _GWASRe,
|
|
|
75
348
|
[_aQ, _aU],
|
|
76
349
|
[() => AccountQuotas$, () => AccountUsage$], 2
|
|
77
350
|
];
|
|
351
|
+
export var GetWebFunctionEndpointRequest$ = [3, n0, _GWFER,
|
|
352
|
+
0,
|
|
353
|
+
[_fN, _eN],
|
|
354
|
+
[[0, 1], [0, 1]], 2
|
|
355
|
+
];
|
|
356
|
+
export var GetWebFunctionEndpointResponse$ = [3, n0, _GWFERe,
|
|
357
|
+
0,
|
|
358
|
+
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
359
|
+
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
360
|
+
];
|
|
361
|
+
export var GetWebFunctionRequest$ = [3, n0, _GWFR,
|
|
362
|
+
0,
|
|
363
|
+
[_fN],
|
|
364
|
+
[[0, 1]], 1
|
|
365
|
+
];
|
|
366
|
+
export var GetWebFunctionResponse$ = [3, n0, _GWFRe,
|
|
367
|
+
0,
|
|
368
|
+
[_fN, _fA, _st, _sR, _cA, _uA],
|
|
369
|
+
[0, 0, 0, 0, 5, 5], 6
|
|
370
|
+
];
|
|
371
|
+
export var GetWebFunctionRevisionRequest$ = [3, n0, _GWFRR,
|
|
372
|
+
0,
|
|
373
|
+
[_fN, _rIe],
|
|
374
|
+
[[0, 1], [0, 1]], 2
|
|
375
|
+
];
|
|
376
|
+
export var GetWebFunctionRevisionResponse$ = [3, n0, _GWFRRe,
|
|
377
|
+
0,
|
|
378
|
+
[_fA, _rA, _rIe, _bC, _sCe, _st, _sR, _cA, _d, _kKA, _er],
|
|
379
|
+
[0, 0, 0, () => BuildConfig$, [() => ServiceConfig$, 0], 0, 0, 5, 0, 0, () => RevisionErrors], 8
|
|
380
|
+
];
|
|
381
|
+
export var ListTagsRequest$ = [3, n0, _LTR,
|
|
382
|
+
0,
|
|
383
|
+
[_res],
|
|
384
|
+
[[0, 1]], 1
|
|
385
|
+
];
|
|
386
|
+
export var ListTagsResponse$ = [3, n0, _LTRi,
|
|
387
|
+
0,
|
|
388
|
+
[_t],
|
|
389
|
+
[[128 | 0, { [_jN]: _T }]]
|
|
390
|
+
];
|
|
391
|
+
export var ListWebFunctionEndpointsRequest$ = [3, n0, _LWFER,
|
|
392
|
+
0,
|
|
393
|
+
[_fN, _f, _mR, _nT],
|
|
394
|
+
[[0, 1], () => FilterList, 1, 0], 1
|
|
395
|
+
];
|
|
396
|
+
export var ListWebFunctionEndpointsResponse$ = [3, n0, _LWFERi,
|
|
397
|
+
0,
|
|
398
|
+
[_end, _nT],
|
|
399
|
+
[() => FunctionEndpointSummaryList, 0], 1
|
|
400
|
+
];
|
|
401
|
+
export var ListWebFunctionRevisionsRequest$ = [3, n0, _LWFRR,
|
|
402
|
+
0,
|
|
403
|
+
[_fN, _f, _mR, _nT],
|
|
404
|
+
[[0, 1], () => FilterList, 1, 0], 1
|
|
405
|
+
];
|
|
406
|
+
export var ListWebFunctionRevisionsResponse$ = [3, n0, _LWFRRi,
|
|
407
|
+
0,
|
|
408
|
+
[_rev, _nT],
|
|
409
|
+
[() => FunctionRevisionSummaryList, 0], 1
|
|
410
|
+
];
|
|
411
|
+
export var ListWebFunctionsRequest$ = [3, n0, _LWFR,
|
|
412
|
+
0,
|
|
413
|
+
[_f, _mR, _nT],
|
|
414
|
+
[() => FilterList, 1, 0]
|
|
415
|
+
];
|
|
416
|
+
export var ListWebFunctionsResponse$ = [3, n0, _LWFRi,
|
|
417
|
+
0,
|
|
418
|
+
[_fu, _nT],
|
|
419
|
+
[() => FunctionSummaryList, 0], 1
|
|
420
|
+
];
|
|
421
|
+
export var LoggingConfig$ = [3, n0, _LC,
|
|
422
|
+
0,
|
|
423
|
+
[_lG, _aLL, _sLL],
|
|
424
|
+
[0, 0, 0]
|
|
425
|
+
];
|
|
426
|
+
export var PutResourcePolicyRequest$ = [3, n0, _PRPR,
|
|
427
|
+
0,
|
|
428
|
+
[_rAe, _p, _rIe],
|
|
429
|
+
[[0, 1], [0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
430
|
+
];
|
|
431
|
+
export var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
|
|
432
|
+
0,
|
|
433
|
+
[_p, _rIe],
|
|
434
|
+
[[0, { [_jN]: _P }], [0, { [_jN]: _RI }]], 2
|
|
435
|
+
];
|
|
436
|
+
export var RegionalEndpoint$ = [3, n0, _RE,
|
|
437
|
+
0,
|
|
438
|
+
[_aT, _rW, _st, _sR, _dN, _sCc, _tC, _uS, _uSR],
|
|
439
|
+
[0, () => RevisionWeightList, 0, 0, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 4
|
|
440
|
+
];
|
|
441
|
+
export var RevisionConfig$ = [3, n0, _RC,
|
|
442
|
+
0,
|
|
443
|
+
[_bC, _sCe, _d, _kKA],
|
|
444
|
+
[() => BuildConfig$, [() => ServiceConfig$, 0], 0, 0], 2
|
|
445
|
+
];
|
|
446
|
+
export var RevisionError$ = [3, n0, _REe,
|
|
447
|
+
0,
|
|
448
|
+
[_a, _eCr, _eM],
|
|
449
|
+
[0, 0, 0], 3
|
|
450
|
+
];
|
|
451
|
+
export var RevisionWeight$ = [3, n0, _RW,
|
|
452
|
+
0,
|
|
453
|
+
[_rIe, _w],
|
|
454
|
+
[0, 1], 2
|
|
455
|
+
];
|
|
456
|
+
export var RuntimeConfig$ = [3, n0, _RCu,
|
|
457
|
+
0,
|
|
458
|
+
[_ru],
|
|
459
|
+
[0], 1
|
|
460
|
+
];
|
|
461
|
+
export var S3Object$ = [3, n0, _SO,
|
|
462
|
+
0,
|
|
463
|
+
[_b, _k, _vI],
|
|
464
|
+
[0, 0, 0], 2
|
|
465
|
+
];
|
|
466
|
+
export var ScalingConfig$ = [3, n0, _SC,
|
|
467
|
+
0,
|
|
468
|
+
[_mE],
|
|
469
|
+
[1]
|
|
470
|
+
];
|
|
471
|
+
export var ServiceConfig$ = [3, n0, _SCe,
|
|
472
|
+
0,
|
|
473
|
+
[_eRA, _tS, _eNCA, _mCPE, _eV, _tCe],
|
|
474
|
+
[0, 1, 0, 1, [() => EnvironmentVariables, 0], () => TelemetryConfig$], 1
|
|
475
|
+
];
|
|
476
|
+
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
477
|
+
0,
|
|
478
|
+
[_res, _t],
|
|
479
|
+
[[0, 1], [128 | 0, { [_jN]: _T }]], 2
|
|
480
|
+
];
|
|
481
|
+
export var TelemetryConfig$ = [3, n0, _TC,
|
|
482
|
+
0,
|
|
483
|
+
[_lC],
|
|
484
|
+
[() => LoggingConfig$]
|
|
485
|
+
];
|
|
486
|
+
export var ThrottleConfig$ = [3, n0, _TCh,
|
|
487
|
+
0,
|
|
488
|
+
[_rL],
|
|
489
|
+
[1]
|
|
490
|
+
];
|
|
491
|
+
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
492
|
+
0,
|
|
493
|
+
[_res, _tK],
|
|
494
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
495
|
+
];
|
|
496
|
+
export var UpdateWebFunctionEndpointRequest$ = [3, n0, _UWFER,
|
|
497
|
+
0,
|
|
498
|
+
[_fN, _eN, _d, _aT, _aDM, _rW, _sCc, _tC],
|
|
499
|
+
[[0, 1], [0, 1], 0, 0, 0, () => RevisionWeightList, () => ScalingConfig$, () => ThrottleConfig$], 2
|
|
500
|
+
];
|
|
501
|
+
export var UpdateWebFunctionEndpointResponse$ = [3, n0, _UWFERp,
|
|
502
|
+
0,
|
|
503
|
+
[_fA, _eA, _eN, _eT, _dN, _aT, _aDM, _rW, _r, _st, _sR, _rE, _cA, _uA, _d, _sCc, _tC, _uS, _uSR],
|
|
504
|
+
[0, 0, 0, 0, 0, 0, 0, () => RevisionWeightList, 64 | 0, 0, 0, () => RegionalEndpoints, 5, 5, 0, () => ScalingConfig$, () => ThrottleConfig$, 0, 0], 14
|
|
505
|
+
];
|
|
506
|
+
var __Unit = "unit";
|
|
507
|
+
var FilterList = [1, n0, _FL,
|
|
508
|
+
0, () => Filter$
|
|
509
|
+
];
|
|
510
|
+
var FilterValueList = 64 | 0;
|
|
511
|
+
var FunctionEndpointSummaryList = [1, n0, _FESL,
|
|
512
|
+
0, () => FunctionEndpointSummary$
|
|
513
|
+
];
|
|
514
|
+
var FunctionRevisionSummaryList = [1, n0, _FRSL,
|
|
515
|
+
0, () => FunctionRevisionSummary$
|
|
516
|
+
];
|
|
517
|
+
var FunctionSummaryList = [1, n0, _FSL,
|
|
518
|
+
0, () => FunctionSummary$
|
|
519
|
+
];
|
|
520
|
+
var RegionList = 64 | 0;
|
|
521
|
+
var RevisionErrors = [1, n0, _REev,
|
|
522
|
+
0, () => RevisionError$
|
|
523
|
+
];
|
|
524
|
+
var RevisionWeightList = [1, n0, _RWL,
|
|
525
|
+
0, () => RevisionWeight$
|
|
526
|
+
];
|
|
527
|
+
var TagKeyList = 64 | 0;
|
|
528
|
+
var EnvironmentVariables = [2, n0, _EV,
|
|
529
|
+
8, 0, 0
|
|
530
|
+
];
|
|
531
|
+
var RegionalEndpoints = [2, n0, _REeg,
|
|
532
|
+
0, 0, () => RegionalEndpoint$
|
|
533
|
+
];
|
|
534
|
+
var Tags = 128 | 0;
|
|
535
|
+
export var CreateWebFunction$ = [9, n0, _CWF,
|
|
536
|
+
{ [_h]: ["PUT", "/2025-03-07/web-functions", 202] }, () => CreateWebFunctionRequest$, () => CreateWebFunctionResponse$
|
|
537
|
+
];
|
|
538
|
+
export var CreateWebFunctionEndpoint$ = [9, n0, _CWFE,
|
|
539
|
+
{ [_h]: ["PUT", "/2025-03-07/web-functions/{functionName}/endpoints", 202] }, () => CreateWebFunctionEndpointRequest$, () => CreateWebFunctionEndpointResponse$
|
|
540
|
+
];
|
|
541
|
+
export var CreateWebFunctionRevision$ = [9, n0, _CWFRre,
|
|
542
|
+
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/revisions", 202] }, () => CreateWebFunctionRevisionRequest$, () => CreateWebFunctionRevisionResponse$
|
|
543
|
+
];
|
|
544
|
+
export var DeleteResourcePolicy$ = [9, n0, _DRP,
|
|
545
|
+
{ [_h]: ["DELETE", "/2025-03-07/resource-policy/{resourceArn}", 204] }, () => DeleteResourcePolicyRequest$, () => __Unit
|
|
546
|
+
];
|
|
547
|
+
export var DeleteWebFunction$ = [9, n0, _DWF,
|
|
548
|
+
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}", 204] }, () => DeleteWebFunctionRequest$, () => __Unit
|
|
549
|
+
];
|
|
550
|
+
export var DeleteWebFunctionEndpoint$ = [9, n0, _DWFE,
|
|
551
|
+
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 204] }, () => DeleteWebFunctionEndpointRequest$, () => __Unit
|
|
552
|
+
];
|
|
553
|
+
export var DeleteWebFunctionRevision$ = [9, n0, _DWFRe,
|
|
554
|
+
{ [_h]: ["DELETE", "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}", 204] }, () => DeleteWebFunctionRevisionRequest$, () => __Unit
|
|
555
|
+
];
|
|
556
|
+
export var GetResourcePolicy$ = [9, n0, _GRP,
|
|
557
|
+
{ [_h]: ["GET", "/2025-03-07/resource-policy/{resourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
558
|
+
];
|
|
78
559
|
export var GetWebAccountSettings$ = [9, n0, _GWAS,
|
|
79
560
|
{ [_h]: ["GET", "/2025-03-07/web-account-settings", 200] }, () => GetWebAccountSettingsRequest$, () => GetWebAccountSettingsResponse$
|
|
80
561
|
];
|
|
562
|
+
export var GetWebFunction$ = [9, n0, _GWF,
|
|
563
|
+
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}", 200] }, () => GetWebFunctionRequest$, () => GetWebFunctionResponse$
|
|
564
|
+
];
|
|
565
|
+
export var GetWebFunctionEndpoint$ = [9, n0, _GWFE,
|
|
566
|
+
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 200] }, () => GetWebFunctionEndpointRequest$, () => GetWebFunctionEndpointResponse$
|
|
567
|
+
];
|
|
568
|
+
export var GetWebFunctionRevision$ = [9, n0, _GWFRet,
|
|
569
|
+
{ [_h]: ["GET", "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}", 200] }, () => GetWebFunctionRevisionRequest$, () => GetWebFunctionRevisionResponse$
|
|
570
|
+
];
|
|
571
|
+
export var ListTags$ = [9, n0, _LT,
|
|
572
|
+
{ [_h]: ["GET", "/2025-03-07/tags/{resource}", 200] }, () => ListTagsRequest$, () => ListTagsResponse$
|
|
573
|
+
];
|
|
574
|
+
export var ListWebFunctionEndpoints$ = [9, n0, _LWFE,
|
|
575
|
+
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/list-endpoints", 200] }, () => ListWebFunctionEndpointsRequest$, () => ListWebFunctionEndpointsResponse$
|
|
576
|
+
];
|
|
577
|
+
export var ListWebFunctionRevisions$ = [9, n0, _LWFRis,
|
|
578
|
+
{ [_h]: ["POST", "/2025-03-07/web-functions/{functionName}/list-revisions", 200] }, () => ListWebFunctionRevisionsRequest$, () => ListWebFunctionRevisionsResponse$
|
|
579
|
+
];
|
|
580
|
+
export var ListWebFunctions$ = [9, n0, _LWF,
|
|
581
|
+
{ [_h]: ["POST", "/2025-03-07/web-functions", 200] }, () => ListWebFunctionsRequest$, () => ListWebFunctionsResponse$
|
|
582
|
+
];
|
|
583
|
+
export var PutResourcePolicy$ = [9, n0, _PRP,
|
|
584
|
+
{ [_h]: ["PUT", "/2025-03-07/resource-policy/{resourceArn}", 200] }, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
|
|
585
|
+
];
|
|
586
|
+
export var TagResource$ = [9, n0, _TR,
|
|
587
|
+
{ [_h]: ["POST", "/2025-03-07/tags/{resource}", 204] }, () => TagResourceRequest$, () => __Unit
|
|
588
|
+
];
|
|
589
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
590
|
+
{ [_h]: ["DELETE", "/2025-03-07/tags/{resource}", 204] }, () => UntagResourceRequest$, () => __Unit
|
|
591
|
+
];
|
|
592
|
+
export var UpdateWebFunctionEndpoint$ = [9, n0, _UWFE,
|
|
593
|
+
{ [_h]: ["PATCH", "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", 202] }, () => UpdateWebFunctionEndpointRequest$, () => UpdateWebFunctionEndpointResponse$
|
|
594
|
+
];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./waitForWebFunctionActive";
|
|
2
|
+
export * from "./waitForWebFunctionDeleted";
|
|
3
|
+
export * from "./waitForWebFunctionEndpointActive";
|
|
4
|
+
export * from "./waitForWebFunctionEndpointDeleted";
|
|
5
|
+
export * from "./waitForWebFunctionEndpointUpdated";
|
|
6
|
+
export * from "./waitForWebFunctionRevisionActive";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { GetWebFunctionCommand, } from "../commands/GetWebFunctionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetWebFunctionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.state;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "Active") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.state;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "Failed") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.state;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "Deleting") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
try {
|
|
36
|
+
const returnComparator = () => {
|
|
37
|
+
return result.state;
|
|
38
|
+
};
|
|
39
|
+
if (returnComparator() === "Pending") {
|
|
40
|
+
return { state: WaiterState.RETRY, reason };
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
catch (e) { }
|
|
44
|
+
}
|
|
45
|
+
catch (exception) {
|
|
46
|
+
reason = exception;
|
|
47
|
+
}
|
|
48
|
+
return { state: WaiterState.RETRY, reason };
|
|
49
|
+
};
|
|
50
|
+
export const waitForWebFunctionActive = async (params, input) => {
|
|
51
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
52
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
53
|
+
};
|
|
54
|
+
export const waitUntilWebFunctionActive = async (params, input) => {
|
|
55
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
56
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
57
|
+
return checkExceptions(result);
|
|
58
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { GetWebFunctionCommand, } from "../commands/GetWebFunctionCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetWebFunctionCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.state;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "Deleting") {
|
|
13
|
+
return { state: WaiterState.RETRY, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
}
|
|
18
|
+
catch (exception) {
|
|
19
|
+
reason = exception;
|
|
20
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return { state: WaiterState.RETRY, reason };
|
|
25
|
+
};
|
|
26
|
+
export const waitForWebFunctionDeleted = async (params, input) => {
|
|
27
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
28
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
+
};
|
|
30
|
+
export const waitUntilWebFunctionDeleted = async (params, input) => {
|
|
31
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 300 };
|
|
32
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
33
|
+
return checkExceptions(result);
|
|
34
|
+
};
|