@aws-sdk/client-apprunner 3.51.0 → 3.54.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist-cjs/AppRunner.js +60 -0
  3. package/dist-cjs/commands/CreateVpcConnectorCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteVpcConnectorCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeVpcConnectorCommand.js +36 -0
  6. package/dist-cjs/commands/ListVpcConnectorsCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoints.js +29 -1
  9. package/dist-cjs/index.js +3 -0
  10. package/dist-cjs/models/AppRunnerServiceException.js +11 -0
  11. package/dist-cjs/models/models_0.js +153 -2
  12. package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_0.js +544 -675
  15. package/dist-es/AppRunner.js +60 -0
  16. package/dist-es/commands/CreateVpcConnectorCommand.js +39 -0
  17. package/dist-es/commands/DeleteVpcConnectorCommand.js +39 -0
  18. package/dist-es/commands/DescribeVpcConnectorCommand.js +39 -0
  19. package/dist-es/commands/ListVpcConnectorsCommand.js +39 -0
  20. package/dist-es/commands/index.js +4 -0
  21. package/dist-es/endpoints.js +29 -1
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/models/AppRunnerServiceException.js +12 -0
  24. package/dist-es/models/models_0.js +125 -2
  25. package/dist-es/pagination/ListVpcConnectorsPaginator.js +74 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_0.js +844 -759
  28. package/dist-types/AppRunner.d.ts +33 -3
  29. package/dist-types/AppRunnerClient.d.ts +8 -4
  30. package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateVpcConnectorCommand.d.ts +36 -0
  32. package/dist-types/commands/DeleteVpcConnectorCommand.d.ts +36 -0
  33. package/dist-types/commands/DescribeVpcConnectorCommand.d.ts +35 -0
  34. package/dist-types/commands/ListVpcConnectorsCommand.d.ts +35 -0
  35. package/dist-types/commands/index.d.ts +4 -0
  36. package/dist-types/index.d.ts +1 -0
  37. package/dist-types/models/AppRunnerServiceException.d.ts +10 -0
  38. package/dist-types/models/models_0.d.ts +294 -27
  39. package/dist-types/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  43. package/dist-types/runtimeConfig.d.ts +1 -1
  44. package/dist-types/runtimeConfig.native.d.ts +1 -1
  45. package/dist-types/ts3.4/AppRunner.d.ts +20 -0
  46. package/dist-types/ts3.4/AppRunnerClient.d.ts +8 -4
  47. package/dist-types/ts3.4/commands/CreateVpcConnectorCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DeleteVpcConnectorCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DescribeVpcConnectorCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ListVpcConnectorsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  52. package/dist-types/ts3.4/index.d.ts +1 -0
  53. package/dist-types/ts3.4/models/AppRunnerServiceException.d.ts +6 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +161 -16
  55. package/dist-types/ts3.4/pagination/ListVpcConnectorsPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  61. 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> and different
63
- * <code>AutoScalingConfigurationRevision</code> values. When you create a service, you can set it to use the latest active revision of an auto scaling
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>
@@ -5,31 +5,35 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateCustomDomainCommandInput, AssociateCustomDomainCommandOutput } from "./commands/AssociateCustomDomainCommand";
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.
@@ -50,7 +54,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
50
54
  * A function that can calculate the length of a request body.
51
55
  * @internal
52
56
  */
53
- bodyLengthChecker?: (body: any) => number | undefined;
57
+ bodyLengthChecker?: __BodyLengthCalculator;
54
58
  /**
55
59
  * A function that converts a stream into an array of bytes.
56
60
  * @internal
@@ -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> and different
14
- * <code>AutoScalingConfigurationRevision</code> values. When you create a service, you can set it to use the latest active revision of an auto scaling
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";
@@ -3,3 +3,4 @@ export * from "./AppRunnerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AppRunnerServiceException } from "./models/AppRunnerServiceException";
@@ -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
+ }