@aws-sdk/client-apprunner 3.414.0 → 3.418.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 +16 -0
- package/dist-cjs/AppRunner.js +4 -0
- package/dist-cjs/commands/AssociateCustomDomainCommand.js +5 -0
- package/dist-cjs/commands/CreateAutoScalingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/CreateConnectionCommand.js +5 -0
- package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/CreateServiceCommand.js +5 -0
- package/dist-cjs/commands/CreateVpcConnectorCommand.js +5 -0
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +5 -0
- package/dist-cjs/commands/DeleteAutoScalingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +5 -0
- package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +5 -0
- package/dist-cjs/commands/DeleteVpcConnectorCommand.js +5 -0
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +5 -0
- package/dist-cjs/commands/DescribeAutoScalingConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DescribeCustomDomainsCommand.js +5 -0
- package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DescribeServiceCommand.js +5 -0
- package/dist-cjs/commands/DescribeVpcConnectorCommand.js +5 -0
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +5 -0
- package/dist-cjs/commands/DisassociateCustomDomainCommand.js +5 -0
- package/dist-cjs/commands/ListAutoScalingConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListConnectionsCommand.js +5 -0
- package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListOperationsCommand.js +5 -0
- package/dist-cjs/commands/ListServicesCommand.js +5 -0
- package/dist-cjs/commands/ListServicesForAutoScalingConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListVpcConnectorsCommand.js +5 -0
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +5 -0
- package/dist-cjs/commands/PauseServiceCommand.js +5 -0
- package/dist-cjs/commands/ResumeServiceCommand.js +5 -0
- package/dist-cjs/commands/StartDeploymentCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateDefaultAutoScalingConfigurationCommand.js +51 -0
- package/dist-cjs/commands/UpdateServiceCommand.js +5 -0
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +5 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/pagination/ListServicesForAutoScalingConfigurationPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +128 -4
- package/dist-es/AppRunner.js +4 -0
- package/dist-es/commands/AssociateCustomDomainCommand.js +5 -0
- package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +5 -0
- package/dist-es/commands/CreateConnectionCommand.js +5 -0
- package/dist-es/commands/CreateObservabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/CreateServiceCommand.js +5 -0
- package/dist-es/commands/CreateVpcConnectorCommand.js +5 -0
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +5 -0
- package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteConnectionCommand.js +5 -0
- package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteServiceCommand.js +5 -0
- package/dist-es/commands/DeleteVpcConnectorCommand.js +5 -0
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +5 -0
- package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +5 -0
- package/dist-es/commands/DescribeCustomDomainsCommand.js +5 -0
- package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +5 -0
- package/dist-es/commands/DescribeServiceCommand.js +5 -0
- package/dist-es/commands/DescribeVpcConnectorCommand.js +5 -0
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +5 -0
- package/dist-es/commands/DisassociateCustomDomainCommand.js +5 -0
- package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListConnectionsCommand.js +5 -0
- package/dist-es/commands/ListObservabilityConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListOperationsCommand.js +5 -0
- package/dist-es/commands/ListServicesCommand.js +5 -0
- package/dist-es/commands/ListServicesForAutoScalingConfigurationCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListVpcConnectorsCommand.js +5 -0
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +5 -0
- package/dist-es/commands/PauseServiceCommand.js +5 -0
- package/dist-es/commands/ResumeServiceCommand.js +5 -0
- package/dist-es/commands/StartDeploymentCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateDefaultAutoScalingConfigurationCommand.js +47 -0
- package/dist-es/commands/UpdateServiceCommand.js +5 -0
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +5 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/pagination/ListServicesForAutoScalingConfigurationPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +122 -2
- package/dist-types/AppRunner.d.ts +14 -0
- package/dist-types/AppRunnerClient.d.ts +4 -2
- package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +4 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAutoScalingConfigurationCommand.d.ts +6 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAutoScalingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeServiceCommand.d.ts +4 -0
- package/dist-types/commands/ListAutoScalingConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/PauseServiceCommand.d.ts +4 -0
- package/dist-types/commands/ResumeServiceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +135 -6
- package/dist-types/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/AppRunner.d.ts +46 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +31 -31
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateDefaultAutoScalingConfigurationCommand, se_UpdateDefaultAutoScalingConfigurationCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateDefaultAutoScalingConfigurationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDefaultAutoScalingConfigurationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "AppRunnerClient";
|
|
26
|
+
const commandName = "UpdateDefaultAutoScalingConfigurationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AppRunner",
|
|
35
|
+
operation: "UpdateDefaultAutoScalingConfiguration",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateDefaultAutoScalingConfigurationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateDefaultAutoScalingConfigurationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { UpdateServiceRequestFilterSensitiveLog, UpdateServiceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UpdateServiceCommand, se_UpdateServiceCommand } from "../protocols/Aws_json1_0";
|
|
6
7
|
export { $Command };
|
|
@@ -30,6 +31,10 @@ export class UpdateServiceCommand extends $Command {
|
|
|
30
31
|
commandName,
|
|
31
32
|
inputFilterSensitiveLog: UpdateServiceRequestFilterSensitiveLog,
|
|
32
33
|
outputFilterSensitiveLog: UpdateServiceResponseFilterSensitiveLog,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "AppRunner",
|
|
36
|
+
operation: "UpdateService",
|
|
37
|
+
},
|
|
33
38
|
};
|
|
34
39
|
const { requestHandler } = configuration;
|
|
35
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateVpcIngressConnectionCommand, se_UpdateVpcIngressConnectionCommand } from "../protocols/Aws_json1_0";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateVpcIngressConnectionCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateVpcIngressConnectionCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AppRunner",
|
|
35
|
+
operation: "UpdateVpcIngressConnection",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -23,6 +23,7 @@ export * from "./ListConnectionsCommand";
|
|
|
23
23
|
export * from "./ListObservabilityConfigurationsCommand";
|
|
24
24
|
export * from "./ListOperationsCommand";
|
|
25
25
|
export * from "./ListServicesCommand";
|
|
26
|
+
export * from "./ListServicesForAutoScalingConfigurationCommand";
|
|
26
27
|
export * from "./ListTagsForResourceCommand";
|
|
27
28
|
export * from "./ListVpcConnectorsCommand";
|
|
28
29
|
export * from "./ListVpcIngressConnectionsCommand";
|
|
@@ -31,5 +32,6 @@ export * from "./ResumeServiceCommand";
|
|
|
31
32
|
export * from "./StartDeploymentCommand";
|
|
32
33
|
export * from "./TagResourceCommand";
|
|
33
34
|
export * from "./UntagResourceCommand";
|
|
35
|
+
export * from "./UpdateDefaultAutoScalingConfigurationCommand";
|
|
34
36
|
export * from "./UpdateServiceCommand";
|
|
35
37
|
export * from "./UpdateVpcIngressConnectionCommand";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AppRunnerClient } from "../AppRunnerClient";
|
|
2
|
+
import { ListServicesForAutoScalingConfigurationCommand, } from "../commands/ListServicesForAutoScalingConfigurationCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListServicesForAutoScalingConfigurationCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListServicesForAutoScalingConfiguration(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof AppRunnerClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected AppRunner | AppRunnerClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./ListAutoScalingConfigurationsPaginator";
|
|
|
4
4
|
export * from "./ListConnectionsPaginator";
|
|
5
5
|
export * from "./ListObservabilityConfigurationsPaginator";
|
|
6
6
|
export * from "./ListOperationsPaginator";
|
|
7
|
+
export * from "./ListServicesForAutoScalingConfigurationPaginator";
|
|
7
8
|
export * from "./ListServicesPaginator";
|
|
8
9
|
export * from "./ListVpcConnectorsPaginator";
|
|
9
10
|
export * from "./ListVpcIngressConnectionsPaginator";
|
|
@@ -152,6 +152,12 @@ export const se_ListServicesCommand = async (input, context) => {
|
|
|
152
152
|
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
|
+
export const se_ListServicesForAutoScalingConfigurationCommand = async (input, context) => {
|
|
156
|
+
const headers = sharedHeaders("ListServicesForAutoScalingConfiguration");
|
|
157
|
+
let body;
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
|
+
};
|
|
155
161
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
156
162
|
const headers = sharedHeaders("ListTagsForResource");
|
|
157
163
|
let body;
|
|
@@ -200,6 +206,12 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
200
206
|
body = JSON.stringify(_json(input));
|
|
201
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
208
|
};
|
|
209
|
+
export const se_UpdateDefaultAutoScalingConfigurationCommand = async (input, context) => {
|
|
210
|
+
const headers = sharedHeaders("UpdateDefaultAutoScalingConfiguration");
|
|
211
|
+
let body;
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
|
+
};
|
|
203
215
|
export const se_UpdateServiceCommand = async (input, context) => {
|
|
204
216
|
const headers = sharedHeaders("UpdateService");
|
|
205
217
|
let body;
|
|
@@ -990,7 +1002,7 @@ export const de_ListAutoScalingConfigurationsCommand = async (output, context) =
|
|
|
990
1002
|
}
|
|
991
1003
|
const data = await parseBody(output.body, context);
|
|
992
1004
|
let contents = {};
|
|
993
|
-
contents =
|
|
1005
|
+
contents = de_ListAutoScalingConfigurationsResponse(data, context);
|
|
994
1006
|
const response = {
|
|
995
1007
|
$metadata: deserializeMetadata(output),
|
|
996
1008
|
...contents,
|
|
@@ -1162,6 +1174,44 @@ const de_ListServicesCommandError = async (output, context) => {
|
|
|
1162
1174
|
});
|
|
1163
1175
|
}
|
|
1164
1176
|
};
|
|
1177
|
+
export const de_ListServicesForAutoScalingConfigurationCommand = async (output, context) => {
|
|
1178
|
+
if (output.statusCode >= 300) {
|
|
1179
|
+
return de_ListServicesForAutoScalingConfigurationCommandError(output, context);
|
|
1180
|
+
}
|
|
1181
|
+
const data = await parseBody(output.body, context);
|
|
1182
|
+
let contents = {};
|
|
1183
|
+
contents = _json(data);
|
|
1184
|
+
const response = {
|
|
1185
|
+
$metadata: deserializeMetadata(output),
|
|
1186
|
+
...contents,
|
|
1187
|
+
};
|
|
1188
|
+
return response;
|
|
1189
|
+
};
|
|
1190
|
+
const de_ListServicesForAutoScalingConfigurationCommandError = async (output, context) => {
|
|
1191
|
+
const parsedOutput = {
|
|
1192
|
+
...output,
|
|
1193
|
+
body: await parseErrorBody(output.body, context),
|
|
1194
|
+
};
|
|
1195
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1196
|
+
switch (errorCode) {
|
|
1197
|
+
case "InternalServiceErrorException":
|
|
1198
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1199
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1200
|
+
case "InvalidRequestException":
|
|
1201
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1202
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1203
|
+
case "ResourceNotFoundException":
|
|
1204
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1205
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1206
|
+
default:
|
|
1207
|
+
const parsedBody = parsedOutput.body;
|
|
1208
|
+
return throwDefaultError({
|
|
1209
|
+
output,
|
|
1210
|
+
parsedBody,
|
|
1211
|
+
errorCode,
|
|
1212
|
+
});
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1165
1215
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1166
1216
|
if (output.statusCode >= 300) {
|
|
1167
1217
|
return de_ListTagsForResourceCommandError(output, context);
|
|
@@ -1475,6 +1525,44 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1475
1525
|
});
|
|
1476
1526
|
}
|
|
1477
1527
|
};
|
|
1528
|
+
export const de_UpdateDefaultAutoScalingConfigurationCommand = async (output, context) => {
|
|
1529
|
+
if (output.statusCode >= 300) {
|
|
1530
|
+
return de_UpdateDefaultAutoScalingConfigurationCommandError(output, context);
|
|
1531
|
+
}
|
|
1532
|
+
const data = await parseBody(output.body, context);
|
|
1533
|
+
let contents = {};
|
|
1534
|
+
contents = de_UpdateDefaultAutoScalingConfigurationResponse(data, context);
|
|
1535
|
+
const response = {
|
|
1536
|
+
$metadata: deserializeMetadata(output),
|
|
1537
|
+
...contents,
|
|
1538
|
+
};
|
|
1539
|
+
return response;
|
|
1540
|
+
};
|
|
1541
|
+
const de_UpdateDefaultAutoScalingConfigurationCommandError = async (output, context) => {
|
|
1542
|
+
const parsedOutput = {
|
|
1543
|
+
...output,
|
|
1544
|
+
body: await parseErrorBody(output.body, context),
|
|
1545
|
+
};
|
|
1546
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1547
|
+
switch (errorCode) {
|
|
1548
|
+
case "InternalServiceErrorException":
|
|
1549
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1550
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1551
|
+
case "InvalidRequestException":
|
|
1552
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1553
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1554
|
+
case "ResourceNotFoundException":
|
|
1555
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1556
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1557
|
+
default:
|
|
1558
|
+
const parsedBody = parsedOutput.body;
|
|
1559
|
+
return throwDefaultError({
|
|
1560
|
+
output,
|
|
1561
|
+
parsedBody,
|
|
1562
|
+
errorCode,
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1565
|
+
};
|
|
1478
1566
|
export const de_UpdateServiceCommand = async (output, context) => {
|
|
1479
1567
|
if (output.statusCode >= 300) {
|
|
1480
1568
|
return de_UpdateServiceCommandError(output, context);
|
|
@@ -1609,6 +1697,8 @@ const de_AutoScalingConfiguration = (output, context) => {
|
|
|
1609
1697
|
AutoScalingConfigurationRevision: __expectInt32,
|
|
1610
1698
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1611
1699
|
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1700
|
+
HasAssociatedService: __expectBoolean,
|
|
1701
|
+
IsDefault: __expectBoolean,
|
|
1612
1702
|
Latest: __expectBoolean,
|
|
1613
1703
|
MaxConcurrency: __expectInt32,
|
|
1614
1704
|
MaxSize: __expectInt32,
|
|
@@ -1616,6 +1706,25 @@ const de_AutoScalingConfiguration = (output, context) => {
|
|
|
1616
1706
|
Status: __expectString,
|
|
1617
1707
|
});
|
|
1618
1708
|
};
|
|
1709
|
+
const de_AutoScalingConfigurationSummary = (output, context) => {
|
|
1710
|
+
return take(output, {
|
|
1711
|
+
AutoScalingConfigurationArn: __expectString,
|
|
1712
|
+
AutoScalingConfigurationName: __expectString,
|
|
1713
|
+
AutoScalingConfigurationRevision: __expectInt32,
|
|
1714
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1715
|
+
HasAssociatedService: __expectBoolean,
|
|
1716
|
+
IsDefault: __expectBoolean,
|
|
1717
|
+
Status: __expectString,
|
|
1718
|
+
});
|
|
1719
|
+
};
|
|
1720
|
+
const de_AutoScalingConfigurationSummaryList = (output, context) => {
|
|
1721
|
+
const retVal = (output || [])
|
|
1722
|
+
.filter((e) => e != null)
|
|
1723
|
+
.map((entry) => {
|
|
1724
|
+
return de_AutoScalingConfigurationSummary(entry, context);
|
|
1725
|
+
});
|
|
1726
|
+
return retVal;
|
|
1727
|
+
};
|
|
1619
1728
|
const de_Connection = (output, context) => {
|
|
1620
1729
|
return take(output, {
|
|
1621
1730
|
ConnectionArn: __expectString,
|
|
@@ -1729,6 +1838,12 @@ const de_DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
|
1729
1838
|
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
1730
1839
|
});
|
|
1731
1840
|
};
|
|
1841
|
+
const de_ListAutoScalingConfigurationsResponse = (output, context) => {
|
|
1842
|
+
return take(output, {
|
|
1843
|
+
AutoScalingConfigurationSummaryList: (_) => de_AutoScalingConfigurationSummaryList(_, context),
|
|
1844
|
+
NextToken: __expectString,
|
|
1845
|
+
});
|
|
1846
|
+
};
|
|
1732
1847
|
const de_ListConnectionsResponse = (output, context) => {
|
|
1733
1848
|
return take(output, {
|
|
1734
1849
|
ConnectionSummaryList: (_) => de_ConnectionSummaryList(_, context),
|
|
@@ -1798,7 +1913,7 @@ const de_ResumeServiceResponse = (output, context) => {
|
|
|
1798
1913
|
};
|
|
1799
1914
|
const de_Service = (output, context) => {
|
|
1800
1915
|
return take(output, {
|
|
1801
|
-
AutoScalingConfigurationSummary:
|
|
1916
|
+
AutoScalingConfigurationSummary: (_) => de_AutoScalingConfigurationSummary(_, context),
|
|
1802
1917
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1803
1918
|
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1804
1919
|
EncryptionConfiguration: _json,
|
|
@@ -1834,6 +1949,11 @@ const de_ServiceSummaryList = (output, context) => {
|
|
|
1834
1949
|
});
|
|
1835
1950
|
return retVal;
|
|
1836
1951
|
};
|
|
1952
|
+
const de_UpdateDefaultAutoScalingConfigurationResponse = (output, context) => {
|
|
1953
|
+
return take(output, {
|
|
1954
|
+
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
1955
|
+
});
|
|
1956
|
+
};
|
|
1837
1957
|
const de_UpdateServiceResponse = (output, context) => {
|
|
1838
1958
|
return take(output, {
|
|
1839
1959
|
OperationId: __expectString,
|
|
@@ -25,6 +25,7 @@ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./com
|
|
|
25
25
|
import { ListObservabilityConfigurationsCommandInput, ListObservabilityConfigurationsCommandOutput } from "./commands/ListObservabilityConfigurationsCommand";
|
|
26
26
|
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
27
27
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
28
|
+
import { ListServicesForAutoScalingConfigurationCommandInput, ListServicesForAutoScalingConfigurationCommandOutput } from "./commands/ListServicesForAutoScalingConfigurationCommand";
|
|
28
29
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
29
30
|
import { ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput } from "./commands/ListVpcConnectorsCommand";
|
|
30
31
|
import { ListVpcIngressConnectionsCommandInput, ListVpcIngressConnectionsCommandOutput } from "./commands/ListVpcIngressConnectionsCommand";
|
|
@@ -33,6 +34,7 @@ import { ResumeServiceCommandInput, ResumeServiceCommandOutput } from "./command
|
|
|
33
34
|
import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
34
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
35
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
+
import { UpdateDefaultAutoScalingConfigurationCommandInput, UpdateDefaultAutoScalingConfigurationCommandOutput } from "./commands/UpdateDefaultAutoScalingConfigurationCommand";
|
|
36
38
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
37
39
|
import { UpdateVpcIngressConnectionCommandInput, UpdateVpcIngressConnectionCommandOutput } from "./commands/UpdateVpcIngressConnectionCommand";
|
|
38
40
|
export interface AppRunner {
|
|
@@ -186,6 +188,12 @@ export interface AppRunner {
|
|
|
186
188
|
listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
|
|
187
189
|
listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
|
|
188
190
|
listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link ListServicesForAutoScalingConfigurationCommand}
|
|
193
|
+
*/
|
|
194
|
+
listServicesForAutoScalingConfiguration(args: ListServicesForAutoScalingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesForAutoScalingConfigurationCommandOutput>;
|
|
195
|
+
listServicesForAutoScalingConfiguration(args: ListServicesForAutoScalingConfigurationCommandInput, cb: (err: any, data?: ListServicesForAutoScalingConfigurationCommandOutput) => void): void;
|
|
196
|
+
listServicesForAutoScalingConfiguration(args: ListServicesForAutoScalingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesForAutoScalingConfigurationCommandOutput) => void): void;
|
|
189
197
|
/**
|
|
190
198
|
* @see {@link ListTagsForResourceCommand}
|
|
191
199
|
*/
|
|
@@ -234,6 +242,12 @@ export interface AppRunner {
|
|
|
234
242
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
235
243
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
236
244
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link UpdateDefaultAutoScalingConfigurationCommand}
|
|
247
|
+
*/
|
|
248
|
+
updateDefaultAutoScalingConfiguration(args: UpdateDefaultAutoScalingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDefaultAutoScalingConfigurationCommandOutput>;
|
|
249
|
+
updateDefaultAutoScalingConfiguration(args: UpdateDefaultAutoScalingConfigurationCommandInput, cb: (err: any, data?: UpdateDefaultAutoScalingConfigurationCommandOutput) => void): void;
|
|
250
|
+
updateDefaultAutoScalingConfiguration(args: UpdateDefaultAutoScalingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDefaultAutoScalingConfigurationCommandOutput) => void): void;
|
|
237
251
|
/**
|
|
238
252
|
* @see {@link UpdateServiceCommand}
|
|
239
253
|
*/
|
|
@@ -33,6 +33,7 @@ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./com
|
|
|
33
33
|
import { ListObservabilityConfigurationsCommandInput, ListObservabilityConfigurationsCommandOutput } from "./commands/ListObservabilityConfigurationsCommand";
|
|
34
34
|
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
35
35
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
36
|
+
import { ListServicesForAutoScalingConfigurationCommandInput, ListServicesForAutoScalingConfigurationCommandOutput } from "./commands/ListServicesForAutoScalingConfigurationCommand";
|
|
36
37
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
37
38
|
import { ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput } from "./commands/ListVpcConnectorsCommand";
|
|
38
39
|
import { ListVpcIngressConnectionsCommandInput, ListVpcIngressConnectionsCommandOutput } from "./commands/ListVpcIngressConnectionsCommand";
|
|
@@ -41,6 +42,7 @@ import { ResumeServiceCommandInput, ResumeServiceCommandOutput } from "./command
|
|
|
41
42
|
import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
42
43
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
43
44
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
|
+
import { UpdateDefaultAutoScalingConfigurationCommandInput, UpdateDefaultAutoScalingConfigurationCommandOutput } from "./commands/UpdateDefaultAutoScalingConfigurationCommand";
|
|
44
46
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
45
47
|
import { UpdateVpcIngressConnectionCommandInput, UpdateVpcIngressConnectionCommandOutput } from "./commands/UpdateVpcIngressConnectionCommand";
|
|
46
48
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -49,11 +51,11 @@ export { __Client };
|
|
|
49
51
|
/**
|
|
50
52
|
* @public
|
|
51
53
|
*/
|
|
52
|
-
export type ServiceInputTypes = AssociateCustomDomainCommandInput | CreateAutoScalingConfigurationCommandInput | CreateConnectionCommandInput | CreateObservabilityConfigurationCommandInput | CreateServiceCommandInput | CreateVpcConnectorCommandInput | CreateVpcIngressConnectionCommandInput | DeleteAutoScalingConfigurationCommandInput | DeleteConnectionCommandInput | DeleteObservabilityConfigurationCommandInput | DeleteServiceCommandInput | DeleteVpcConnectorCommandInput | DeleteVpcIngressConnectionCommandInput | DescribeAutoScalingConfigurationCommandInput | DescribeCustomDomainsCommandInput | DescribeObservabilityConfigurationCommandInput | DescribeServiceCommandInput | DescribeVpcConnectorCommandInput | DescribeVpcIngressConnectionCommandInput | DisassociateCustomDomainCommandInput | ListAutoScalingConfigurationsCommandInput | ListConnectionsCommandInput | ListObservabilityConfigurationsCommandInput | ListOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListVpcConnectorsCommandInput | ListVpcIngressConnectionsCommandInput | PauseServiceCommandInput | ResumeServiceCommandInput | StartDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceCommandInput | UpdateVpcIngressConnectionCommandInput;
|
|
54
|
+
export type ServiceInputTypes = AssociateCustomDomainCommandInput | CreateAutoScalingConfigurationCommandInput | CreateConnectionCommandInput | CreateObservabilityConfigurationCommandInput | CreateServiceCommandInput | CreateVpcConnectorCommandInput | CreateVpcIngressConnectionCommandInput | DeleteAutoScalingConfigurationCommandInput | DeleteConnectionCommandInput | DeleteObservabilityConfigurationCommandInput | DeleteServiceCommandInput | DeleteVpcConnectorCommandInput | DeleteVpcIngressConnectionCommandInput | DescribeAutoScalingConfigurationCommandInput | DescribeCustomDomainsCommandInput | DescribeObservabilityConfigurationCommandInput | DescribeServiceCommandInput | DescribeVpcConnectorCommandInput | DescribeVpcIngressConnectionCommandInput | DisassociateCustomDomainCommandInput | ListAutoScalingConfigurationsCommandInput | ListConnectionsCommandInput | ListObservabilityConfigurationsCommandInput | ListOperationsCommandInput | ListServicesCommandInput | ListServicesForAutoScalingConfigurationCommandInput | ListTagsForResourceCommandInput | ListVpcConnectorsCommandInput | ListVpcIngressConnectionsCommandInput | PauseServiceCommandInput | ResumeServiceCommandInput | StartDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDefaultAutoScalingConfigurationCommandInput | UpdateServiceCommandInput | UpdateVpcIngressConnectionCommandInput;
|
|
53
55
|
/**
|
|
54
56
|
* @public
|
|
55
57
|
*/
|
|
56
|
-
export type ServiceOutputTypes = AssociateCustomDomainCommandOutput | CreateAutoScalingConfigurationCommandOutput | CreateConnectionCommandOutput | CreateObservabilityConfigurationCommandOutput | CreateServiceCommandOutput | CreateVpcConnectorCommandOutput | CreateVpcIngressConnectionCommandOutput | DeleteAutoScalingConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteObservabilityConfigurationCommandOutput | DeleteServiceCommandOutput | DeleteVpcConnectorCommandOutput | DeleteVpcIngressConnectionCommandOutput | DescribeAutoScalingConfigurationCommandOutput | DescribeCustomDomainsCommandOutput | DescribeObservabilityConfigurationCommandOutput | DescribeServiceCommandOutput | DescribeVpcConnectorCommandOutput | DescribeVpcIngressConnectionCommandOutput | DisassociateCustomDomainCommandOutput | ListAutoScalingConfigurationsCommandOutput | ListConnectionsCommandOutput | ListObservabilityConfigurationsCommandOutput | ListOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectorsCommandOutput | ListVpcIngressConnectionsCommandOutput | PauseServiceCommandOutput | ResumeServiceCommandOutput | StartDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceCommandOutput | UpdateVpcIngressConnectionCommandOutput;
|
|
58
|
+
export type ServiceOutputTypes = AssociateCustomDomainCommandOutput | CreateAutoScalingConfigurationCommandOutput | CreateConnectionCommandOutput | CreateObservabilityConfigurationCommandOutput | CreateServiceCommandOutput | CreateVpcConnectorCommandOutput | CreateVpcIngressConnectionCommandOutput | DeleteAutoScalingConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteObservabilityConfigurationCommandOutput | DeleteServiceCommandOutput | DeleteVpcConnectorCommandOutput | DeleteVpcIngressConnectionCommandOutput | DescribeAutoScalingConfigurationCommandOutput | DescribeCustomDomainsCommandOutput | DescribeObservabilityConfigurationCommandOutput | DescribeServiceCommandOutput | DescribeVpcConnectorCommandOutput | DescribeVpcIngressConnectionCommandOutput | DisassociateCustomDomainCommandOutput | ListAutoScalingConfigurationsCommandOutput | ListConnectionsCommandOutput | ListObservabilityConfigurationsCommandOutput | ListOperationsCommandOutput | ListServicesCommandOutput | ListServicesForAutoScalingConfigurationCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectorsCommandOutput | ListVpcIngressConnectionsCommandOutput | PauseServiceCommandOutput | ResumeServiceCommandOutput | StartDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDefaultAutoScalingConfigurationCommandOutput | UpdateServiceCommandOutput | UpdateVpcIngressConnectionCommandOutput;
|
|
57
59
|
/**
|
|
58
60
|
* @public
|
|
59
61
|
*/
|
|
@@ -29,8 +29,8 @@ export interface CreateAutoScalingConfigurationCommandOutput extends CreateAutoS
|
|
|
29
29
|
* returns incremental <code>AutoScalingConfigurationRevision</code> values. When you create a service and configure an auto scaling configuration resource,
|
|
30
30
|
* the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific
|
|
31
31
|
* revision.</p>
|
|
32
|
-
* <p>Configure a higher <code>MinSize</code> to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The
|
|
33
|
-
* a higher minimal cost.</p>
|
|
32
|
+
* <p>Configure a higher <code>MinSize</code> to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The
|
|
33
|
+
* tradeoff is a higher minimal cost.</p>
|
|
34
34
|
* <p>Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak demand.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -64,6 +64,8 @@ export interface CreateAutoScalingConfigurationCommandOutput extends CreateAutoS
|
|
|
64
64
|
* // MaxSize: Number("int"),
|
|
65
65
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
66
66
|
* // DeletedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // HasAssociatedService: true || false,
|
|
68
|
+
* // IsDefault: true || false,
|
|
67
69
|
* // },
|
|
68
70
|
* // };
|
|
69
71
|
*
|
|
@@ -188,6 +188,10 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
188
188
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
189
189
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
190
190
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
191
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
192
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
193
|
+
* // HasAssociatedService: true || false,
|
|
194
|
+
* // IsDefault: true || false,
|
|
191
195
|
* // },
|
|
192
196
|
* // NetworkConfiguration: { // NetworkConfiguration
|
|
193
197
|
* // EgressConfiguration: { // EgressConfiguration
|
|
@@ -23,8 +23,9 @@ export interface DeleteAutoScalingConfigurationCommandOutput extends DeleteAutoS
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Delete an App Runner automatic scaling configuration resource. You can delete a
|
|
27
|
-
* configuration that's used by one or
|
|
26
|
+
* <p>Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all
|
|
27
|
+
* revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or
|
|
28
|
+
* more App Runner services.</p>
|
|
28
29
|
* @example
|
|
29
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
31
|
* ```javascript
|
|
@@ -33,6 +34,7 @@ export interface DeleteAutoScalingConfigurationCommandOutput extends DeleteAutoS
|
|
|
33
34
|
* const client = new AppRunnerClient(config);
|
|
34
35
|
* const input = { // DeleteAutoScalingConfigurationRequest
|
|
35
36
|
* AutoScalingConfigurationArn: "STRING_VALUE", // required
|
|
37
|
+
* DeleteAllRevisions: true || false,
|
|
36
38
|
* };
|
|
37
39
|
* const command = new DeleteAutoScalingConfigurationCommand(input);
|
|
38
40
|
* const response = await client.send(command);
|
|
@@ -48,6 +50,8 @@ export interface DeleteAutoScalingConfigurationCommandOutput extends DeleteAutoS
|
|
|
48
50
|
* // MaxSize: Number("int"),
|
|
49
51
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
50
52
|
* // DeletedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // HasAssociatedService: true || false,
|
|
54
|
+
* // IsDefault: true || false,
|
|
51
55
|
* // },
|
|
52
56
|
* // };
|
|
53
57
|
*
|
|
@@ -114,6 +114,10 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
|
|
|
114
114
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
115
115
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
116
116
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
117
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
118
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
119
|
+
* // HasAssociatedService: true || false,
|
|
120
|
+
* // IsDefault: true || false,
|
|
117
121
|
* // },
|
|
118
122
|
* // NetworkConfiguration: { // NetworkConfiguration
|
|
119
123
|
* // EgressConfiguration: { // EgressConfiguration
|
|
@@ -47,6 +47,8 @@ export interface DescribeAutoScalingConfigurationCommandOutput extends DescribeA
|
|
|
47
47
|
* // MaxSize: Number("int"),
|
|
48
48
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
49
49
|
* // DeletedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // HasAssociatedService: true || false,
|
|
51
|
+
* // IsDefault: true || false,
|
|
50
52
|
* // },
|
|
51
53
|
* // };
|
|
52
54
|
*
|
|
@@ -108,6 +108,10 @@ export interface DescribeServiceCommandOutput extends DescribeServiceResponse, _
|
|
|
108
108
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
109
109
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
110
110
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
111
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
112
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
113
|
+
* // HasAssociatedService: true || false,
|
|
114
|
+
* // IsDefault: true || false,
|
|
111
115
|
* // },
|
|
112
116
|
* // NetworkConfiguration: { // NetworkConfiguration
|
|
113
117
|
* // EgressConfiguration: { // EgressConfiguration
|
|
@@ -48,6 +48,10 @@ export interface ListAutoScalingConfigurationsCommandOutput extends ListAutoScal
|
|
|
48
48
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
49
49
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
50
50
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
51
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // HasAssociatedService: true || false,
|
|
54
|
+
* // IsDefault: true || false,
|
|
51
55
|
* // },
|
|
52
56
|
* // ],
|
|
53
57
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient";
|
|
5
|
+
import { ListServicesForAutoScalingConfigurationRequest, ListServicesForAutoScalingConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListServicesForAutoScalingConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListServicesForAutoScalingConfigurationCommandInput extends ListServicesForAutoScalingConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListServicesForAutoScalingConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListServicesForAutoScalingConfigurationCommandOutput extends ListServicesForAutoScalingConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of the associated App Runner services using an auto scaling configuration.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { AppRunnerClient, ListServicesForAutoScalingConfigurationCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
|
|
31
|
+
* // const { AppRunnerClient, ListServicesForAutoScalingConfigurationCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
|
|
32
|
+
* const client = new AppRunnerClient(config);
|
|
33
|
+
* const input = { // ListServicesForAutoScalingConfigurationRequest
|
|
34
|
+
* AutoScalingConfigurationArn: "STRING_VALUE", // required
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListServicesForAutoScalingConfigurationCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListServicesForAutoScalingConfigurationResponse
|
|
41
|
+
* // ServiceArnList: [ // ServiceArnList // required
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // NextToken: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param ListServicesForAutoScalingConfigurationCommandInput - {@link ListServicesForAutoScalingConfigurationCommandInput}
|
|
50
|
+
* @returns {@link ListServicesForAutoScalingConfigurationCommandOutput}
|
|
51
|
+
* @see {@link ListServicesForAutoScalingConfigurationCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link ListServicesForAutoScalingConfigurationCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServiceErrorException} (server fault)
|
|
56
|
+
* <p>An unexpected service exception occurred.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
+
* <p>One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AppRunnerServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from AppRunner service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class ListServicesForAutoScalingConfigurationCommand extends $Command<ListServicesForAutoScalingConfigurationCommandInput, ListServicesForAutoScalingConfigurationCommandOutput, AppRunnerClientResolvedConfig> {
|
|
69
|
+
readonly input: ListServicesForAutoScalingConfigurationCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: ListServicesForAutoScalingConfigurationCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListServicesForAutoScalingConfigurationCommandInput, ListServicesForAutoScalingConfigurationCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -111,6 +111,10 @@ export interface PauseServiceCommandOutput extends PauseServiceResponse, __Metad
|
|
|
111
111
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
112
112
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
113
113
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
114
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
115
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
116
|
+
* // HasAssociatedService: true || false,
|
|
117
|
+
* // IsDefault: true || false,
|
|
114
118
|
* // },
|
|
115
119
|
* // NetworkConfiguration: { // NetworkConfiguration
|
|
116
120
|
* // EgressConfiguration: { // EgressConfiguration
|
|
@@ -110,6 +110,10 @@ export interface ResumeServiceCommandOutput extends ResumeServiceResponse, __Met
|
|
|
110
110
|
* // AutoScalingConfigurationArn: "STRING_VALUE",
|
|
111
111
|
* // AutoScalingConfigurationName: "STRING_VALUE",
|
|
112
112
|
* // AutoScalingConfigurationRevision: Number("int"),
|
|
113
|
+
* // Status: "ACTIVE" || "INACTIVE",
|
|
114
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
115
|
+
* // HasAssociatedService: true || false,
|
|
116
|
+
* // IsDefault: true || false,
|
|
113
117
|
* // },
|
|
114
118
|
* // NetworkConfiguration: { // NetworkConfiguration
|
|
115
119
|
* // EgressConfiguration: { // EgressConfiguration
|