@aws-sdk/client-apprunner 3.50.0 → 3.53.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/CHANGELOG.md +31 -0
- package/dist-cjs/AppRunner.js +60 -0
- package/dist-cjs/commands/CreateVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/DeleteVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/DescribeVpcConnectorCommand.js +36 -0
- package/dist-cjs/commands/ListVpcConnectorsCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AppRunnerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +153 -2
- package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +544 -675
- package/dist-es/AppRunner.js +60 -0
- package/dist-es/commands/CreateVpcConnectorCommand.js +39 -0
- package/dist-es/commands/DeleteVpcConnectorCommand.js +39 -0
- package/dist-es/commands/DescribeVpcConnectorCommand.js +39 -0
- package/dist-es/commands/ListVpcConnectorsCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppRunnerServiceException.js +12 -0
- package/dist-es/models/models_0.js +125 -2
- package/dist-es/pagination/ListVpcConnectorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +844 -759
- package/dist-types/AppRunner.d.ts +33 -3
- package/dist-types/AppRunnerClient.d.ts +6 -2
- package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcConnectorCommand.d.ts +36 -0
- package/dist-types/commands/DeleteVpcConnectorCommand.d.ts +36 -0
- package/dist-types/commands/DescribeVpcConnectorCommand.d.ts +35 -0
- package/dist-types/commands/ListVpcConnectorsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppRunnerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +294 -27
- package/dist-types/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/ts3.4/AppRunner.d.ts +135 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +99 -0
- package/dist-types/ts3.4/commands/AssociateCustomDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAutoScalingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAutoScalingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAutoScalingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCustomDomainsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateCustomDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAutoScalingConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListVpcConnectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PauseServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResumeServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/AppRunnerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1027 -0
- package/dist-types/ts3.4/pagination/DescribeCustomDomainsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAutoScalingConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOperationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -4,18 +4,22 @@ import { AssociateCustomDomainCommandInput, AssociateCustomDomainCommandOutput }
|
|
|
4
4
|
import { CreateAutoScalingConfigurationCommandInput, CreateAutoScalingConfigurationCommandOutput } from "./commands/CreateAutoScalingConfigurationCommand";
|
|
5
5
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
6
6
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
7
|
+
import { CreateVpcConnectorCommandInput, CreateVpcConnectorCommandOutput } from "./commands/CreateVpcConnectorCommand";
|
|
7
8
|
import { DeleteAutoScalingConfigurationCommandInput, DeleteAutoScalingConfigurationCommandOutput } from "./commands/DeleteAutoScalingConfigurationCommand";
|
|
8
9
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
9
10
|
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
11
|
+
import { DeleteVpcConnectorCommandInput, DeleteVpcConnectorCommandOutput } from "./commands/DeleteVpcConnectorCommand";
|
|
10
12
|
import { DescribeAutoScalingConfigurationCommandInput, DescribeAutoScalingConfigurationCommandOutput } from "./commands/DescribeAutoScalingConfigurationCommand";
|
|
11
13
|
import { DescribeCustomDomainsCommandInput, DescribeCustomDomainsCommandOutput } from "./commands/DescribeCustomDomainsCommand";
|
|
12
14
|
import { DescribeServiceCommandInput, DescribeServiceCommandOutput } from "./commands/DescribeServiceCommand";
|
|
15
|
+
import { DescribeVpcConnectorCommandInput, DescribeVpcConnectorCommandOutput } from "./commands/DescribeVpcConnectorCommand";
|
|
13
16
|
import { DisassociateCustomDomainCommandInput, DisassociateCustomDomainCommandOutput } from "./commands/DisassociateCustomDomainCommand";
|
|
14
17
|
import { ListAutoScalingConfigurationsCommandInput, ListAutoScalingConfigurationsCommandOutput } from "./commands/ListAutoScalingConfigurationsCommand";
|
|
15
18
|
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
16
19
|
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
17
20
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
18
21
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput } from "./commands/ListVpcConnectorsCommand";
|
|
19
23
|
import { PauseServiceCommandInput, PauseServiceCommandOutput } from "./commands/PauseServiceCommand";
|
|
20
24
|
import { ResumeServiceCommandInput, ResumeServiceCommandOutput } from "./commands/ResumeServiceCommand";
|
|
21
25
|
import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
@@ -59,9 +63,9 @@ export declare class AppRunner extends AppRunnerClient {
|
|
|
59
63
|
* <p>Create an App Runner automatic scaling configuration resource. App Runner requires this resource
|
|
60
64
|
* when you create App Runner services that require non-default auto scaling settings. You can share an
|
|
61
65
|
* auto scaling configuration across multiple services.</p>
|
|
62
|
-
* <p>Create multiple revisions of a configuration by using the same <code>AutoScalingConfigurationName</code
|
|
63
|
-
*
|
|
64
|
-
* configuration or a specific revision.</p>
|
|
66
|
+
* <p>Create multiple revisions of a configuration by calling this action multiple times using the same <code>AutoScalingConfigurationName</code>. The call
|
|
67
|
+
* returns incremental <code>AutoScalingConfigurationRevision</code> values. When you create a service, you can set it to use the latest active revision of
|
|
68
|
+
* an auto scaling configuration or a specific revision.</p>
|
|
65
69
|
* <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 tradeoff is
|
|
66
70
|
* a higher minimal cost.</p>
|
|
67
71
|
* <p>Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak demand.</p>
|
|
@@ -85,6 +89,13 @@ export declare class AppRunner extends AppRunnerClient {
|
|
|
85
89
|
createService(args: CreateServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceCommandOutput>;
|
|
86
90
|
createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
|
|
87
91
|
createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* <p>Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud
|
|
94
|
+
* (Amazon VPC).</p>
|
|
95
|
+
*/
|
|
96
|
+
createVpcConnector(args: CreateVpcConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcConnectorCommandOutput>;
|
|
97
|
+
createVpcConnector(args: CreateVpcConnectorCommandInput, cb: (err: any, data?: CreateVpcConnectorCommandOutput) => void): void;
|
|
98
|
+
createVpcConnector(args: CreateVpcConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcConnectorCommandOutput) => void): void;
|
|
88
99
|
/**
|
|
89
100
|
* <p>Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a
|
|
90
101
|
* configuration that's used by one or more App Runner services.</p>
|
|
@@ -107,6 +118,13 @@ export declare class AppRunner extends AppRunnerClient {
|
|
|
107
118
|
deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
|
|
108
119
|
deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
|
|
109
120
|
deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>Delete an App Runner VPC connector resource. You can't delete a
|
|
123
|
+
* connector that's used by one or more App Runner services.</p>
|
|
124
|
+
*/
|
|
125
|
+
deleteVpcConnector(args: DeleteVpcConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcConnectorCommandOutput>;
|
|
126
|
+
deleteVpcConnector(args: DeleteVpcConnectorCommandInput, cb: (err: any, data?: DeleteVpcConnectorCommandOutput) => void): void;
|
|
127
|
+
deleteVpcConnector(args: DeleteVpcConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcConnectorCommandOutput) => void): void;
|
|
110
128
|
/**
|
|
111
129
|
* <p>Return a full description of an App Runner automatic scaling configuration resource.</p>
|
|
112
130
|
*/
|
|
@@ -125,6 +143,12 @@ export declare class AppRunner extends AppRunnerClient {
|
|
|
125
143
|
describeService(args: DescribeServiceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceCommandOutput>;
|
|
126
144
|
describeService(args: DescribeServiceCommandInput, cb: (err: any, data?: DescribeServiceCommandOutput) => void): void;
|
|
127
145
|
describeService(args: DescribeServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceCommandOutput) => void): void;
|
|
146
|
+
/**
|
|
147
|
+
* <p>Return a description of an App Runner VPC connector resource.</p>
|
|
148
|
+
*/
|
|
149
|
+
describeVpcConnector(args: DescribeVpcConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcConnectorCommandOutput>;
|
|
150
|
+
describeVpcConnector(args: DescribeVpcConnectorCommandInput, cb: (err: any, data?: DescribeVpcConnectorCommandOutput) => void): void;
|
|
151
|
+
describeVpcConnector(args: DescribeVpcConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcConnectorCommandOutput) => void): void;
|
|
128
152
|
/**
|
|
129
153
|
* <p>Disassociate a custom domain name from an App Runner service.</p>
|
|
130
154
|
* <p>Certificates tracking domain validity are associated with a custom domain and are stored in <a href="https://docs.aws.amazon.com/acm/latest/userguide">AWS
|
|
@@ -167,6 +191,12 @@ export declare class AppRunner extends AppRunnerClient {
|
|
|
167
191
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
168
192
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
169
193
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
194
|
+
/**
|
|
195
|
+
* <p>Returns a list of App Runner VPC connectors in your Amazon Web Services account.</p>
|
|
196
|
+
*/
|
|
197
|
+
listVpcConnectors(args: ListVpcConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcConnectorsCommandOutput>;
|
|
198
|
+
listVpcConnectors(args: ListVpcConnectorsCommandInput, cb: (err: any, data?: ListVpcConnectorsCommandOutput) => void): void;
|
|
199
|
+
listVpcConnectors(args: ListVpcConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcConnectorsCommandOutput) => void): void;
|
|
170
200
|
/**
|
|
171
201
|
* <p>Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is
|
|
172
202
|
* removed).</p>
|
|
@@ -10,26 +10,30 @@ import { AssociateCustomDomainCommandInput, AssociateCustomDomainCommandOutput }
|
|
|
10
10
|
import { CreateAutoScalingConfigurationCommandInput, CreateAutoScalingConfigurationCommandOutput } from "./commands/CreateAutoScalingConfigurationCommand";
|
|
11
11
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
12
12
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
13
|
+
import { CreateVpcConnectorCommandInput, CreateVpcConnectorCommandOutput } from "./commands/CreateVpcConnectorCommand";
|
|
13
14
|
import { DeleteAutoScalingConfigurationCommandInput, DeleteAutoScalingConfigurationCommandOutput } from "./commands/DeleteAutoScalingConfigurationCommand";
|
|
14
15
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
15
16
|
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
17
|
+
import { DeleteVpcConnectorCommandInput, DeleteVpcConnectorCommandOutput } from "./commands/DeleteVpcConnectorCommand";
|
|
16
18
|
import { DescribeAutoScalingConfigurationCommandInput, DescribeAutoScalingConfigurationCommandOutput } from "./commands/DescribeAutoScalingConfigurationCommand";
|
|
17
19
|
import { DescribeCustomDomainsCommandInput, DescribeCustomDomainsCommandOutput } from "./commands/DescribeCustomDomainsCommand";
|
|
18
20
|
import { DescribeServiceCommandInput, DescribeServiceCommandOutput } from "./commands/DescribeServiceCommand";
|
|
21
|
+
import { DescribeVpcConnectorCommandInput, DescribeVpcConnectorCommandOutput } from "./commands/DescribeVpcConnectorCommand";
|
|
19
22
|
import { DisassociateCustomDomainCommandInput, DisassociateCustomDomainCommandOutput } from "./commands/DisassociateCustomDomainCommand";
|
|
20
23
|
import { ListAutoScalingConfigurationsCommandInput, ListAutoScalingConfigurationsCommandOutput } from "./commands/ListAutoScalingConfigurationsCommand";
|
|
21
24
|
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
22
25
|
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
23
26
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
24
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
|
+
import { ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput } from "./commands/ListVpcConnectorsCommand";
|
|
25
29
|
import { PauseServiceCommandInput, PauseServiceCommandOutput } from "./commands/PauseServiceCommand";
|
|
26
30
|
import { ResumeServiceCommandInput, ResumeServiceCommandOutput } from "./commands/ResumeServiceCommand";
|
|
27
31
|
import { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
28
32
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
34
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
31
|
-
export declare type ServiceInputTypes = AssociateCustomDomainCommandInput | CreateAutoScalingConfigurationCommandInput | CreateConnectionCommandInput | CreateServiceCommandInput | DeleteAutoScalingConfigurationCommandInput | DeleteConnectionCommandInput | DeleteServiceCommandInput | DescribeAutoScalingConfigurationCommandInput | DescribeCustomDomainsCommandInput | DescribeServiceCommandInput | DisassociateCustomDomainCommandInput | ListAutoScalingConfigurationsCommandInput | ListConnectionsCommandInput | ListOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PauseServiceCommandInput | ResumeServiceCommandInput | StartDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceCommandInput;
|
|
32
|
-
export declare type ServiceOutputTypes = AssociateCustomDomainCommandOutput | CreateAutoScalingConfigurationCommandOutput | CreateConnectionCommandOutput | CreateServiceCommandOutput | DeleteAutoScalingConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteServiceCommandOutput | DescribeAutoScalingConfigurationCommandOutput | DescribeCustomDomainsCommandOutput | DescribeServiceCommandOutput | DisassociateCustomDomainCommandOutput | ListAutoScalingConfigurationsCommandOutput | ListConnectionsCommandOutput | ListOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PauseServiceCommandOutput | ResumeServiceCommandOutput | StartDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceCommandOutput;
|
|
35
|
+
export declare type ServiceInputTypes = AssociateCustomDomainCommandInput | CreateAutoScalingConfigurationCommandInput | CreateConnectionCommandInput | CreateServiceCommandInput | CreateVpcConnectorCommandInput | DeleteAutoScalingConfigurationCommandInput | DeleteConnectionCommandInput | DeleteServiceCommandInput | DeleteVpcConnectorCommandInput | DescribeAutoScalingConfigurationCommandInput | DescribeCustomDomainsCommandInput | DescribeServiceCommandInput | DescribeVpcConnectorCommandInput | DisassociateCustomDomainCommandInput | ListAutoScalingConfigurationsCommandInput | ListConnectionsCommandInput | ListOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListVpcConnectorsCommandInput | PauseServiceCommandInput | ResumeServiceCommandInput | StartDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceCommandInput;
|
|
36
|
+
export declare type ServiceOutputTypes = AssociateCustomDomainCommandOutput | CreateAutoScalingConfigurationCommandOutput | CreateConnectionCommandOutput | CreateServiceCommandOutput | CreateVpcConnectorCommandOutput | DeleteAutoScalingConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteServiceCommandOutput | DeleteVpcConnectorCommandOutput | DescribeAutoScalingConfigurationCommandOutput | DescribeCustomDomainsCommandOutput | DescribeServiceCommandOutput | DescribeVpcConnectorCommandOutput | DisassociateCustomDomainCommandOutput | ListAutoScalingConfigurationsCommandOutput | ListConnectionsCommandOutput | ListOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectorsCommandOutput | PauseServiceCommandOutput | ResumeServiceCommandOutput | StartDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceCommandOutput;
|
|
33
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
34
38
|
/**
|
|
35
39
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -10,9 +10,9 @@ export interface CreateAutoScalingConfigurationCommandOutput extends CreateAutoS
|
|
|
10
10
|
* <p>Create an App Runner automatic scaling configuration resource. App Runner requires this resource
|
|
11
11
|
* when you create App Runner services that require non-default auto scaling settings. You can share an
|
|
12
12
|
* auto scaling configuration across multiple services.</p>
|
|
13
|
-
* <p>Create multiple revisions of a configuration by using the same <code>AutoScalingConfigurationName</code
|
|
14
|
-
*
|
|
15
|
-
* configuration or a specific revision.</p>
|
|
13
|
+
* <p>Create multiple revisions of a configuration by calling this action multiple times using the same <code>AutoScalingConfigurationName</code>. The call
|
|
14
|
+
* returns incremental <code>AutoScalingConfigurationRevision</code> values. When you create a service, you can set it to use the latest active revision of
|
|
15
|
+
* an auto scaling configuration or a specific revision.</p>
|
|
16
16
|
* <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 tradeoff is
|
|
17
17
|
* a higher minimal cost.</p>
|
|
18
18
|
* <p>Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak demand.</p>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient";
|
|
4
|
+
import { CreateVpcConnectorRequest, CreateVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateVpcConnectorCommandInput extends CreateVpcConnectorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateVpcConnectorCommandOutput extends CreateVpcConnectorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud
|
|
11
|
+
* (Amazon VPC).</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { AppRunnerClient, CreateVpcConnectorCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
|
|
16
|
+
* // const { AppRunnerClient, CreateVpcConnectorCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
|
|
17
|
+
* const client = new AppRunnerClient(config);
|
|
18
|
+
* const command = new CreateVpcConnectorCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateVpcConnectorCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateVpcConnectorCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateVpcConnectorCommand extends $Command<CreateVpcConnectorCommandInput, CreateVpcConnectorCommandOutput, AppRunnerClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateVpcConnectorCommandInput;
|
|
29
|
+
constructor(input: CreateVpcConnectorCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVpcConnectorCommandInput, CreateVpcConnectorCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient";
|
|
4
|
+
import { DeleteVpcConnectorRequest, DeleteVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteVpcConnectorCommandInput extends DeleteVpcConnectorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteVpcConnectorCommandOutput extends DeleteVpcConnectorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Delete an App Runner VPC connector resource. You can't delete a
|
|
11
|
+
* connector that's used by one or more App Runner services.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { AppRunnerClient, DeleteVpcConnectorCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
|
|
16
|
+
* // const { AppRunnerClient, DeleteVpcConnectorCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
|
|
17
|
+
* const client = new AppRunnerClient(config);
|
|
18
|
+
* const command = new DeleteVpcConnectorCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteVpcConnectorCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteVpcConnectorCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteVpcConnectorCommand extends $Command<DeleteVpcConnectorCommandInput, DeleteVpcConnectorCommandOutput, AppRunnerClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteVpcConnectorCommandInput;
|
|
29
|
+
constructor(input: DeleteVpcConnectorCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVpcConnectorCommandInput, DeleteVpcConnectorCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient";
|
|
4
|
+
import { DescribeVpcConnectorRequest, DescribeVpcConnectorResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeVpcConnectorCommandInput extends DescribeVpcConnectorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeVpcConnectorCommandOutput extends DescribeVpcConnectorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Return a description of an App Runner VPC connector resource.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppRunnerClient, DescribeVpcConnectorCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
|
|
15
|
+
* // const { AppRunnerClient, DescribeVpcConnectorCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
|
|
16
|
+
* const client = new AppRunnerClient(config);
|
|
17
|
+
* const command = new DescribeVpcConnectorCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeVpcConnectorCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeVpcConnectorCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeVpcConnectorCommand extends $Command<DescribeVpcConnectorCommandInput, DescribeVpcConnectorCommandOutput, AppRunnerClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeVpcConnectorCommandInput;
|
|
28
|
+
constructor(input: DescribeVpcConnectorCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVpcConnectorCommandInput, DescribeVpcConnectorCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient";
|
|
4
|
+
import { ListVpcConnectorsRequest, ListVpcConnectorsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListVpcConnectorsCommandInput extends ListVpcConnectorsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListVpcConnectorsCommandOutput extends ListVpcConnectorsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns a list of App Runner VPC connectors in your Amazon Web Services account.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { AppRunnerClient, ListVpcConnectorsCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
|
|
15
|
+
* // const { AppRunnerClient, ListVpcConnectorsCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
|
|
16
|
+
* const client = new AppRunnerClient(config);
|
|
17
|
+
* const command = new ListVpcConnectorsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListVpcConnectorsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListVpcConnectorsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListVpcConnectorsCommand extends $Command<ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput, AppRunnerClientResolvedConfig> {
|
|
27
|
+
readonly input: ListVpcConnectorsCommandInput;
|
|
28
|
+
constructor(input: ListVpcConnectorsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcConnectorsCommandInput, ListVpcConnectorsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -2,18 +2,22 @@ export * from "./AssociateCustomDomainCommand";
|
|
|
2
2
|
export * from "./CreateAutoScalingConfigurationCommand";
|
|
3
3
|
export * from "./CreateConnectionCommand";
|
|
4
4
|
export * from "./CreateServiceCommand";
|
|
5
|
+
export * from "./CreateVpcConnectorCommand";
|
|
5
6
|
export * from "./DeleteAutoScalingConfigurationCommand";
|
|
6
7
|
export * from "./DeleteConnectionCommand";
|
|
7
8
|
export * from "./DeleteServiceCommand";
|
|
9
|
+
export * from "./DeleteVpcConnectorCommand";
|
|
8
10
|
export * from "./DescribeAutoScalingConfigurationCommand";
|
|
9
11
|
export * from "./DescribeCustomDomainsCommand";
|
|
10
12
|
export * from "./DescribeServiceCommand";
|
|
13
|
+
export * from "./DescribeVpcConnectorCommand";
|
|
11
14
|
export * from "./DisassociateCustomDomainCommand";
|
|
12
15
|
export * from "./ListAutoScalingConfigurationsCommand";
|
|
13
16
|
export * from "./ListConnectionsCommand";
|
|
14
17
|
export * from "./ListOperationsCommand";
|
|
15
18
|
export * from "./ListServicesCommand";
|
|
16
19
|
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ListVpcConnectorsCommand";
|
|
17
21
|
export * from "./PauseServiceCommand";
|
|
18
22
|
export * from "./ResumeServiceCommand";
|
|
19
23
|
export * from "./StartDeploymentCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from AppRunner service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AppRunnerServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|