@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.
Files changed (114) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/AppRunner.js +4 -0
  3. package/dist-cjs/commands/AssociateCustomDomainCommand.js +5 -0
  4. package/dist-cjs/commands/CreateAutoScalingConfigurationCommand.js +5 -0
  5. package/dist-cjs/commands/CreateConnectionCommand.js +5 -0
  6. package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +5 -0
  7. package/dist-cjs/commands/CreateServiceCommand.js +5 -0
  8. package/dist-cjs/commands/CreateVpcConnectorCommand.js +5 -0
  9. package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +5 -0
  10. package/dist-cjs/commands/DeleteAutoScalingConfigurationCommand.js +5 -0
  11. package/dist-cjs/commands/DeleteConnectionCommand.js +5 -0
  12. package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +5 -0
  13. package/dist-cjs/commands/DeleteServiceCommand.js +5 -0
  14. package/dist-cjs/commands/DeleteVpcConnectorCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +5 -0
  16. package/dist-cjs/commands/DescribeAutoScalingConfigurationCommand.js +5 -0
  17. package/dist-cjs/commands/DescribeCustomDomainsCommand.js +5 -0
  18. package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +5 -0
  19. package/dist-cjs/commands/DescribeServiceCommand.js +5 -0
  20. package/dist-cjs/commands/DescribeVpcConnectorCommand.js +5 -0
  21. package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +5 -0
  22. package/dist-cjs/commands/DisassociateCustomDomainCommand.js +5 -0
  23. package/dist-cjs/commands/ListAutoScalingConfigurationsCommand.js +5 -0
  24. package/dist-cjs/commands/ListConnectionsCommand.js +5 -0
  25. package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +5 -0
  26. package/dist-cjs/commands/ListOperationsCommand.js +5 -0
  27. package/dist-cjs/commands/ListServicesCommand.js +5 -0
  28. package/dist-cjs/commands/ListServicesForAutoScalingConfigurationCommand.js +51 -0
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  30. package/dist-cjs/commands/ListVpcConnectorsCommand.js +5 -0
  31. package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +5 -0
  32. package/dist-cjs/commands/PauseServiceCommand.js +5 -0
  33. package/dist-cjs/commands/ResumeServiceCommand.js +5 -0
  34. package/dist-cjs/commands/StartDeploymentCommand.js +5 -0
  35. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  36. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  37. package/dist-cjs/commands/UpdateDefaultAutoScalingConfigurationCommand.js +51 -0
  38. package/dist-cjs/commands/UpdateServiceCommand.js +5 -0
  39. package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +5 -0
  40. package/dist-cjs/commands/index.js +2 -0
  41. package/dist-cjs/pagination/ListServicesForAutoScalingConfigurationPaginator.js +29 -0
  42. package/dist-cjs/pagination/index.js +1 -0
  43. package/dist-cjs/protocols/Aws_json1_0.js +128 -4
  44. package/dist-es/AppRunner.js +4 -0
  45. package/dist-es/commands/AssociateCustomDomainCommand.js +5 -0
  46. package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +5 -0
  47. package/dist-es/commands/CreateConnectionCommand.js +5 -0
  48. package/dist-es/commands/CreateObservabilityConfigurationCommand.js +5 -0
  49. package/dist-es/commands/CreateServiceCommand.js +5 -0
  50. package/dist-es/commands/CreateVpcConnectorCommand.js +5 -0
  51. package/dist-es/commands/CreateVpcIngressConnectionCommand.js +5 -0
  52. package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +5 -0
  53. package/dist-es/commands/DeleteConnectionCommand.js +5 -0
  54. package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +5 -0
  55. package/dist-es/commands/DeleteServiceCommand.js +5 -0
  56. package/dist-es/commands/DeleteVpcConnectorCommand.js +5 -0
  57. package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +5 -0
  58. package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +5 -0
  59. package/dist-es/commands/DescribeCustomDomainsCommand.js +5 -0
  60. package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +5 -0
  61. package/dist-es/commands/DescribeServiceCommand.js +5 -0
  62. package/dist-es/commands/DescribeVpcConnectorCommand.js +5 -0
  63. package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +5 -0
  64. package/dist-es/commands/DisassociateCustomDomainCommand.js +5 -0
  65. package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +5 -0
  66. package/dist-es/commands/ListConnectionsCommand.js +5 -0
  67. package/dist-es/commands/ListObservabilityConfigurationsCommand.js +5 -0
  68. package/dist-es/commands/ListOperationsCommand.js +5 -0
  69. package/dist-es/commands/ListServicesCommand.js +5 -0
  70. package/dist-es/commands/ListServicesForAutoScalingConfigurationCommand.js +47 -0
  71. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  72. package/dist-es/commands/ListVpcConnectorsCommand.js +5 -0
  73. package/dist-es/commands/ListVpcIngressConnectionsCommand.js +5 -0
  74. package/dist-es/commands/PauseServiceCommand.js +5 -0
  75. package/dist-es/commands/ResumeServiceCommand.js +5 -0
  76. package/dist-es/commands/StartDeploymentCommand.js +5 -0
  77. package/dist-es/commands/TagResourceCommand.js +5 -0
  78. package/dist-es/commands/UntagResourceCommand.js +5 -0
  79. package/dist-es/commands/UpdateDefaultAutoScalingConfigurationCommand.js +47 -0
  80. package/dist-es/commands/UpdateServiceCommand.js +5 -0
  81. package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +5 -0
  82. package/dist-es/commands/index.js +2 -0
  83. package/dist-es/pagination/ListServicesForAutoScalingConfigurationPaginator.js +25 -0
  84. package/dist-es/pagination/index.js +1 -0
  85. package/dist-es/protocols/Aws_json1_0.js +122 -2
  86. package/dist-types/AppRunner.d.ts +14 -0
  87. package/dist-types/AppRunnerClient.d.ts +4 -2
  88. package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +4 -2
  89. package/dist-types/commands/CreateServiceCommand.d.ts +4 -0
  90. package/dist-types/commands/DeleteAutoScalingConfigurationCommand.d.ts +6 -2
  91. package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
  92. package/dist-types/commands/DescribeAutoScalingConfigurationCommand.d.ts +2 -0
  93. package/dist-types/commands/DescribeServiceCommand.d.ts +4 -0
  94. package/dist-types/commands/ListAutoScalingConfigurationsCommand.d.ts +4 -0
  95. package/dist-types/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +87 -0
  96. package/dist-types/commands/PauseServiceCommand.d.ts +4 -0
  97. package/dist-types/commands/ResumeServiceCommand.d.ts +4 -0
  98. package/dist-types/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +96 -0
  99. package/dist-types/commands/UpdateServiceCommand.d.ts +4 -0
  100. package/dist-types/commands/index.d.ts +2 -0
  101. package/dist-types/models/models_0.d.ts +135 -6
  102. package/dist-types/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +7 -0
  103. package/dist-types/pagination/index.d.ts +1 -0
  104. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  105. package/dist-types/ts3.4/AppRunner.d.ts +46 -0
  106. package/dist-types/ts3.4/AppRunnerClient.d.ts +12 -0
  107. package/dist-types/ts3.4/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  110. package/dist-types/ts3.4/models/models_0.d.ts +22 -0
  111. package/dist-types/ts3.4/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  113. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  114. package/package.json +31 -31
@@ -0,0 +1,96 @@
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 { UpdateDefaultAutoScalingConfigurationRequest, UpdateDefaultAutoScalingConfigurationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDefaultAutoScalingConfigurationCommand}.
14
+ */
15
+ export interface UpdateDefaultAutoScalingConfigurationCommandInput extends UpdateDefaultAutoScalingConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDefaultAutoScalingConfigurationCommand}.
21
+ */
22
+ export interface UpdateDefaultAutoScalingConfigurationCommandOutput extends UpdateDefaultAutoScalingConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default
27
+ * automatically.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AppRunnerClient, UpdateDefaultAutoScalingConfigurationCommand } from "@aws-sdk/client-apprunner"; // ES Modules import
32
+ * // const { AppRunnerClient, UpdateDefaultAutoScalingConfigurationCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import
33
+ * const client = new AppRunnerClient(config);
34
+ * const input = { // UpdateDefaultAutoScalingConfigurationRequest
35
+ * AutoScalingConfigurationArn: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new UpdateDefaultAutoScalingConfigurationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // UpdateDefaultAutoScalingConfigurationResponse
40
+ * // AutoScalingConfiguration: { // AutoScalingConfiguration
41
+ * // AutoScalingConfigurationArn: "STRING_VALUE",
42
+ * // AutoScalingConfigurationName: "STRING_VALUE",
43
+ * // AutoScalingConfigurationRevision: Number("int"),
44
+ * // Latest: true || false,
45
+ * // Status: "ACTIVE" || "INACTIVE",
46
+ * // MaxConcurrency: Number("int"),
47
+ * // MinSize: Number("int"),
48
+ * // MaxSize: Number("int"),
49
+ * // CreatedAt: new Date("TIMESTAMP"),
50
+ * // DeletedAt: new Date("TIMESTAMP"),
51
+ * // HasAssociatedService: true || false,
52
+ * // IsDefault: true || false,
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param UpdateDefaultAutoScalingConfigurationCommandInput - {@link UpdateDefaultAutoScalingConfigurationCommandInput}
59
+ * @returns {@link UpdateDefaultAutoScalingConfigurationCommandOutput}
60
+ * @see {@link UpdateDefaultAutoScalingConfigurationCommandInput} for command's `input` shape.
61
+ * @see {@link UpdateDefaultAutoScalingConfigurationCommandOutput} for command's `response` shape.
62
+ * @see {@link AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape.
63
+ *
64
+ * @throws {@link InternalServiceErrorException} (server fault)
65
+ * <p>An unexpected service exception occurred.</p>
66
+ *
67
+ * @throws {@link InvalidRequestException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.</p>
72
+ *
73
+ * @throws {@link AppRunnerServiceException}
74
+ * <p>Base exception class for all service exceptions from AppRunner service.</p>
75
+ *
76
+ */
77
+ export declare class UpdateDefaultAutoScalingConfigurationCommand extends $Command<UpdateDefaultAutoScalingConfigurationCommandInput, UpdateDefaultAutoScalingConfigurationCommandOutput, AppRunnerClientResolvedConfig> {
78
+ readonly input: UpdateDefaultAutoScalingConfigurationCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: UpdateDefaultAutoScalingConfigurationCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppRunnerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDefaultAutoScalingConfigurationCommandInput, UpdateDefaultAutoScalingConfigurationCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -183,6 +183,10 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
183
183
  * // AutoScalingConfigurationArn: "STRING_VALUE",
184
184
  * // AutoScalingConfigurationName: "STRING_VALUE",
185
185
  * // AutoScalingConfigurationRevision: Number("int"),
186
+ * // Status: "ACTIVE" || "INACTIVE",
187
+ * // CreatedAt: new Date("TIMESTAMP"),
188
+ * // HasAssociatedService: true || false,
189
+ * // IsDefault: true || false,
186
190
  * // },
187
191
  * // NetworkConfiguration: { // NetworkConfiguration
188
192
  * // EgressConfiguration: { // EgressConfiguration
@@ -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";
@@ -219,13 +219,29 @@ export interface Tag {
219
219
  export interface CreateAutoScalingConfigurationRequest {
220
220
  /**
221
221
  * @public
222
- * <p>A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number <code>1</code> of this
223
- * name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.</p>
222
+ * <p>A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number
223
+ * <code>1</code> of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.</p>
224
224
  * <note>
225
- * <p>The name <code>DefaultConfiguration</code> is reserved (it's the configuration that App Runner uses if you don't provide a custome one). You can't use it
226
- * to create a new auto scaling configuration, and you can't create a revision of it.</p>
227
- * <p>When you want to use your own auto scaling configuration for your App Runner service, <i>create a configuration with a different name</i>,
228
- * and then provide it when you create or update your service.</p>
225
+ * <p>Prior to the release of <a href="https://docs.aws.amazon.com/apprunner/latest/relnotes/release-yyyy-mm-dd-asc-improvements.html">Managing auto
226
+ * scaling</a>, the name <code>DefaultConfiguration</code> was reserved. </p>
227
+ * <p>This restriction is no longer in place. You can now manage <code>DefaultConfiguration</code> the same way you manage your custom auto scaling
228
+ * configurations. This means you can do the following with the <code>DefaultConfiguration</code> that App Runner provides:</p>
229
+ * <ul>
230
+ * <li>
231
+ * <p>Create new revisions of the <code>DefaultConfiguration</code>.</p>
232
+ * </li>
233
+ * <li>
234
+ * <p>Delete the revisions of the <code>DefaultConfiguration</code>.</p>
235
+ * </li>
236
+ * <li>
237
+ * <p>Delete the auto scaling configuration for which the App Runner <code>DefaultConfiguration</code> was created.</p>
238
+ * </li>
239
+ * <li>
240
+ * <p>If you delete the auto scaling configuration you can create another custom auto scaling configuration with the same
241
+ * <code>DefaultConfiguration</code> name. The original <code>DefaultConfiguration</code> resource provided by App Runner remains in your account unless
242
+ * you make changes to it.</p>
243
+ * </li>
244
+ * </ul>
229
245
  * </note>
230
246
  */
231
247
  AutoScalingConfigurationName: string | undefined;
@@ -339,6 +355,20 @@ export interface AutoScalingConfiguration {
339
355
  * <p>The time when the auto scaling configuration was deleted. It's in Unix time stamp format.</p>
340
356
  */
341
357
  DeletedAt?: Date;
358
+ /**
359
+ * @public
360
+ * <p>Indicates if this auto scaling configuration has an App Runner service associated with it. A value of <code>true</code> indicates one or more services are
361
+ * associated. A value of <code>false</code> indicates no services are associated.</p>
362
+ */
363
+ HasAssociatedService?: boolean;
364
+ /**
365
+ * @public
366
+ * <p>Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an
367
+ * auto scaling configuration ARN specified during creation. Each account can have only one
368
+ * default <code>AutoScalingConfiguration</code> per region. The default <code>AutoScalingConfiguration</code> can be any revision under
369
+ * the same <code>AutoScalingConfigurationName</code>.</p>
370
+ */
371
+ IsDefault?: boolean;
342
372
  }
343
373
  /**
344
374
  * @public
@@ -1144,6 +1174,31 @@ export interface AutoScalingConfigurationSummary {
1144
1174
  * <code>AutoScalingConfigurationName</code>.</p>
1145
1175
  */
1146
1176
  AutoScalingConfigurationRevision?: number;
1177
+ /**
1178
+ * @public
1179
+ * <p>The current state of the auto scaling configuration. If the status of a configuration revision is <code>INACTIVE</code>, it was deleted and can't be
1180
+ * used. Inactive configuration revisions are permanently removed some time after they are deleted.</p>
1181
+ */
1182
+ Status?: AutoScalingConfigurationStatus | string;
1183
+ /**
1184
+ * @public
1185
+ * <p>The time when the auto scaling configuration was created. It's in Unix time stamp format.</p>
1186
+ */
1187
+ CreatedAt?: Date;
1188
+ /**
1189
+ * @public
1190
+ * <p>Indicates if this auto scaling configuration has an App Runner service associated with it. A value of <code>true</code> indicates one or more services are
1191
+ * associated. A value of <code>false</code> indicates no services are associated.</p>
1192
+ */
1193
+ HasAssociatedService?: boolean;
1194
+ /**
1195
+ * @public
1196
+ * <p>Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an
1197
+ * auto scaling configuration ARN specified during creation. Each account can have only one
1198
+ * default <code>AutoScalingConfiguration</code> per region. The default <code>AutoScalingConfiguration</code> can be any revision under
1199
+ * the same <code>AutoScalingConfigurationName</code>.</p>
1200
+ */
1201
+ IsDefault?: boolean;
1147
1202
  }
1148
1203
  /**
1149
1204
  * @public
@@ -1550,6 +1605,13 @@ export interface DeleteAutoScalingConfigurationRequest {
1550
1605
  * </code>. If a revision isn't specified, the latest active revision is deleted.</p>
1551
1606
  */
1552
1607
  AutoScalingConfigurationArn: string | undefined;
1608
+ /**
1609
+ * @public
1610
+ * <p>Set to <code>true</code> to delete all of the revisions associated with the <code>AutoScalingConfigurationArn</code> parameter value.</p>
1611
+ * <p>When <code>DeleteAllRevisions</code> is set to <code>true</code>, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending
1612
+ * with: <code>.../name</code>.</p>
1613
+ */
1614
+ DeleteAllRevisions?: boolean;
1553
1615
  }
1554
1616
  /**
1555
1617
  * @public
@@ -2284,6 +2346,48 @@ export interface ListServicesResponse {
2284
2346
  */
2285
2347
  NextToken?: string;
2286
2348
  }
2349
+ /**
2350
+ * @public
2351
+ */
2352
+ export interface ListServicesForAutoScalingConfigurationRequest {
2353
+ /**
2354
+ * @public
2355
+ * <p>The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to list the services for.</p>
2356
+ * <p>The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either <code>.../<i>name</i>
2357
+ * </code> or
2358
+ * <code>.../<i>name</i>/<i>revision</i>
2359
+ * </code>. If a revision isn't specified, the latest active revision is used.</p>
2360
+ */
2361
+ AutoScalingConfigurationArn: string | undefined;
2362
+ /**
2363
+ * @public
2364
+ * <p>The maximum number of results to include in each response (result page). It's used for a paginated request.</p>
2365
+ * <p>If you don't specify <code>MaxResults</code>, the request retrieves all available results in a single response.</p>
2366
+ */
2367
+ MaxResults?: number;
2368
+ /**
2369
+ * @public
2370
+ * <p>A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be
2371
+ * identical to the ones specified in the initial request.</p>
2372
+ * <p>If you don't specify <code>NextToken</code>, the request retrieves the first result page.</p>
2373
+ */
2374
+ NextToken?: string;
2375
+ }
2376
+ /**
2377
+ * @public
2378
+ */
2379
+ export interface ListServicesForAutoScalingConfigurationResponse {
2380
+ /**
2381
+ * @public
2382
+ * <p>A list of service ARN records. In a paginated request, the request returns up to <code>MaxResults</code> records for each call.</p>
2383
+ */
2384
+ ServiceArnList: string[] | undefined;
2385
+ /**
2386
+ * @public
2387
+ * <p>The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.</p>
2388
+ */
2389
+ NextToken?: string;
2390
+ }
2287
2391
  /**
2288
2392
  * @public
2289
2393
  */
@@ -2529,6 +2633,31 @@ export interface UntagResourceRequest {
2529
2633
  */
2530
2634
  export interface UntagResourceResponse {
2531
2635
  }
2636
+ /**
2637
+ * @public
2638
+ */
2639
+ export interface UpdateDefaultAutoScalingConfigurationRequest {
2640
+ /**
2641
+ * @public
2642
+ * <p>The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to set as the default.</p>
2643
+ * <p>The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either <code>.../<i>name</i>
2644
+ * </code> or
2645
+ * <code>.../<i>name</i>/<i>revision</i>
2646
+ * </code>. If a revision isn't specified, the latest active revision is set as the
2647
+ * default.</p>
2648
+ */
2649
+ AutoScalingConfigurationArn: string | undefined;
2650
+ }
2651
+ /**
2652
+ * @public
2653
+ */
2654
+ export interface UpdateDefaultAutoScalingConfigurationResponse {
2655
+ /**
2656
+ * @public
2657
+ * <p>A description of the App Runner auto scaling configuration that was set as default.</p>
2658
+ */
2659
+ AutoScalingConfiguration: AutoScalingConfiguration | undefined;
2660
+ }
2532
2661
  /**
2533
2662
  * @public
2534
2663
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListServicesForAutoScalingConfigurationCommandInput, ListServicesForAutoScalingConfigurationCommandOutput } from "../commands/ListServicesForAutoScalingConfigurationCommand";
3
+ import { AppRunnerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListServicesForAutoScalingConfiguration(config: AppRunnerPaginationConfiguration, input: ListServicesForAutoScalingConfigurationCommandInput, ...additionalArguments: any): Paginator<ListServicesForAutoScalingConfigurationCommandOutput>;
@@ -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";
@@ -25,6 +25,7 @@ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "../co
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 "../comman
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
  /**
@@ -135,6 +137,10 @@ export declare const se_ListOperationsCommand: (input: ListOperationsCommandInpu
135
137
  * serializeAws_json1_0ListServicesCommand
136
138
  */
137
139
  export declare const se_ListServicesCommand: (input: ListServicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
140
+ /**
141
+ * serializeAws_json1_0ListServicesForAutoScalingConfigurationCommand
142
+ */
143
+ export declare const se_ListServicesForAutoScalingConfigurationCommand: (input: ListServicesForAutoScalingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
144
  /**
139
145
  * serializeAws_json1_0ListTagsForResourceCommand
140
146
  */
@@ -167,6 +173,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
167
173
  * serializeAws_json1_0UntagResourceCommand
168
174
  */
169
175
  export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
+ /**
177
+ * serializeAws_json1_0UpdateDefaultAutoScalingConfigurationCommand
178
+ */
179
+ export declare const se_UpdateDefaultAutoScalingConfigurationCommand: (input: UpdateDefaultAutoScalingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
170
180
  /**
171
181
  * serializeAws_json1_0UpdateServiceCommand
172
182
  */
@@ -275,6 +285,10 @@ export declare const de_ListOperationsCommand: (output: __HttpResponse, context:
275
285
  * deserializeAws_json1_0ListServicesCommand
276
286
  */
277
287
  export declare const de_ListServicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesCommandOutput>;
288
+ /**
289
+ * deserializeAws_json1_0ListServicesForAutoScalingConfigurationCommand
290
+ */
291
+ export declare const de_ListServicesForAutoScalingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesForAutoScalingConfigurationCommandOutput>;
278
292
  /**
279
293
  * deserializeAws_json1_0ListTagsForResourceCommand
280
294
  */
@@ -307,6 +321,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
307
321
  * deserializeAws_json1_0UntagResourceCommand
308
322
  */
309
323
  export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
324
+ /**
325
+ * deserializeAws_json1_0UpdateDefaultAutoScalingConfigurationCommand
326
+ */
327
+ export declare const de_UpdateDefaultAutoScalingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDefaultAutoScalingConfigurationCommandOutput>;
310
328
  /**
311
329
  * deserializeAws_json1_0UpdateServiceCommand
312
330
  */
@@ -100,6 +100,10 @@ import {
100
100
  ListServicesCommandInput,
101
101
  ListServicesCommandOutput,
102
102
  } from "./commands/ListServicesCommand";
103
+ import {
104
+ ListServicesForAutoScalingConfigurationCommandInput,
105
+ ListServicesForAutoScalingConfigurationCommandOutput,
106
+ } from "./commands/ListServicesForAutoScalingConfigurationCommand";
103
107
  import {
104
108
  ListTagsForResourceCommandInput,
105
109
  ListTagsForResourceCommandOutput,
@@ -132,6 +136,10 @@ import {
132
136
  UntagResourceCommandInput,
133
137
  UntagResourceCommandOutput,
134
138
  } from "./commands/UntagResourceCommand";
139
+ import {
140
+ UpdateDefaultAutoScalingConfigurationCommandInput,
141
+ UpdateDefaultAutoScalingConfigurationCommandOutput,
142
+ } from "./commands/UpdateDefaultAutoScalingConfigurationCommand";
135
143
  import {
136
144
  UpdateServiceCommandInput,
137
145
  UpdateServiceCommandOutput,
@@ -472,6 +480,25 @@ export interface AppRunner {
472
480
  options: __HttpHandlerOptions,
473
481
  cb: (err: any, data?: ListServicesCommandOutput) => void
474
482
  ): void;
483
+ listServicesForAutoScalingConfiguration(
484
+ args: ListServicesForAutoScalingConfigurationCommandInput,
485
+ options?: __HttpHandlerOptions
486
+ ): Promise<ListServicesForAutoScalingConfigurationCommandOutput>;
487
+ listServicesForAutoScalingConfiguration(
488
+ args: ListServicesForAutoScalingConfigurationCommandInput,
489
+ cb: (
490
+ err: any,
491
+ data?: ListServicesForAutoScalingConfigurationCommandOutput
492
+ ) => void
493
+ ): void;
494
+ listServicesForAutoScalingConfiguration(
495
+ args: ListServicesForAutoScalingConfigurationCommandInput,
496
+ options: __HttpHandlerOptions,
497
+ cb: (
498
+ err: any,
499
+ data?: ListServicesForAutoScalingConfigurationCommandOutput
500
+ ) => void
501
+ ): void;
475
502
  listTagsForResource(
476
503
  args: ListTagsForResourceCommandInput,
477
504
  options?: __HttpHandlerOptions
@@ -576,6 +603,25 @@ export interface AppRunner {
576
603
  options: __HttpHandlerOptions,
577
604
  cb: (err: any, data?: UntagResourceCommandOutput) => void
578
605
  ): void;
606
+ updateDefaultAutoScalingConfiguration(
607
+ args: UpdateDefaultAutoScalingConfigurationCommandInput,
608
+ options?: __HttpHandlerOptions
609
+ ): Promise<UpdateDefaultAutoScalingConfigurationCommandOutput>;
610
+ updateDefaultAutoScalingConfiguration(
611
+ args: UpdateDefaultAutoScalingConfigurationCommandInput,
612
+ cb: (
613
+ err: any,
614
+ data?: UpdateDefaultAutoScalingConfigurationCommandOutput
615
+ ) => void
616
+ ): void;
617
+ updateDefaultAutoScalingConfiguration(
618
+ args: UpdateDefaultAutoScalingConfigurationCommandInput,
619
+ options: __HttpHandlerOptions,
620
+ cb: (
621
+ err: any,
622
+ data?: UpdateDefaultAutoScalingConfigurationCommandOutput
623
+ ) => void
624
+ ): void;
579
625
  updateService(
580
626
  args: UpdateServiceCommandInput,
581
627
  options?: __HttpHandlerOptions
@@ -145,6 +145,10 @@ import {
145
145
  ListServicesCommandInput,
146
146
  ListServicesCommandOutput,
147
147
  } from "./commands/ListServicesCommand";
148
+ import {
149
+ ListServicesForAutoScalingConfigurationCommandInput,
150
+ ListServicesForAutoScalingConfigurationCommandOutput,
151
+ } from "./commands/ListServicesForAutoScalingConfigurationCommand";
148
152
  import {
149
153
  ListTagsForResourceCommandInput,
150
154
  ListTagsForResourceCommandOutput,
@@ -177,6 +181,10 @@ import {
177
181
  UntagResourceCommandInput,
178
182
  UntagResourceCommandOutput,
179
183
  } from "./commands/UntagResourceCommand";
184
+ import {
185
+ UpdateDefaultAutoScalingConfigurationCommandInput,
186
+ UpdateDefaultAutoScalingConfigurationCommandOutput,
187
+ } from "./commands/UpdateDefaultAutoScalingConfigurationCommand";
180
188
  import {
181
189
  UpdateServiceCommandInput,
182
190
  UpdateServiceCommandOutput,
@@ -218,6 +226,7 @@ export type ServiceInputTypes =
218
226
  | ListObservabilityConfigurationsCommandInput
219
227
  | ListOperationsCommandInput
220
228
  | ListServicesCommandInput
229
+ | ListServicesForAutoScalingConfigurationCommandInput
221
230
  | ListTagsForResourceCommandInput
222
231
  | ListVpcConnectorsCommandInput
223
232
  | ListVpcIngressConnectionsCommandInput
@@ -226,6 +235,7 @@ export type ServiceInputTypes =
226
235
  | StartDeploymentCommandInput
227
236
  | TagResourceCommandInput
228
237
  | UntagResourceCommandInput
238
+ | UpdateDefaultAutoScalingConfigurationCommandInput
229
239
  | UpdateServiceCommandInput
230
240
  | UpdateVpcIngressConnectionCommandInput;
231
241
  export type ServiceOutputTypes =
@@ -254,6 +264,7 @@ export type ServiceOutputTypes =
254
264
  | ListObservabilityConfigurationsCommandOutput
255
265
  | ListOperationsCommandOutput
256
266
  | ListServicesCommandOutput
267
+ | ListServicesForAutoScalingConfigurationCommandOutput
257
268
  | ListTagsForResourceCommandOutput
258
269
  | ListVpcConnectorsCommandOutput
259
270
  | ListVpcIngressConnectionsCommandOutput
@@ -262,6 +273,7 @@ export type ServiceOutputTypes =
262
273
  | StartDeploymentCommandOutput
263
274
  | TagResourceCommandOutput
264
275
  | UntagResourceCommandOutput
276
+ | UpdateDefaultAutoScalingConfigurationCommandOutput
265
277
  | UpdateServiceCommandOutput
266
278
  | UpdateVpcIngressConnectionCommandOutput;
267
279
  export interface ClientDefaults
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ AppRunnerClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AppRunnerClient";
14
+ import {
15
+ ListServicesForAutoScalingConfigurationRequest,
16
+ ListServicesForAutoScalingConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListServicesForAutoScalingConfigurationCommandInput
20
+ extends ListServicesForAutoScalingConfigurationRequest {}
21
+ export interface ListServicesForAutoScalingConfigurationCommandOutput
22
+ extends ListServicesForAutoScalingConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListServicesForAutoScalingConfigurationCommand extends $Command<
25
+ ListServicesForAutoScalingConfigurationCommandInput,
26
+ ListServicesForAutoScalingConfigurationCommandOutput,
27
+ AppRunnerClientResolvedConfig
28
+ > {
29
+ readonly input: ListServicesForAutoScalingConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListServicesForAutoScalingConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: AppRunnerClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListServicesForAutoScalingConfigurationCommandInput,
38
+ ListServicesForAutoScalingConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ AppRunnerClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AppRunnerClient";
14
+ import {
15
+ UpdateDefaultAutoScalingConfigurationRequest,
16
+ UpdateDefaultAutoScalingConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateDefaultAutoScalingConfigurationCommandInput
20
+ extends UpdateDefaultAutoScalingConfigurationRequest {}
21
+ export interface UpdateDefaultAutoScalingConfigurationCommandOutput
22
+ extends UpdateDefaultAutoScalingConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateDefaultAutoScalingConfigurationCommand extends $Command<
25
+ UpdateDefaultAutoScalingConfigurationCommandInput,
26
+ UpdateDefaultAutoScalingConfigurationCommandOutput,
27
+ AppRunnerClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateDefaultAutoScalingConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateDefaultAutoScalingConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: AppRunnerClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateDefaultAutoScalingConfigurationCommandInput,
38
+ UpdateDefaultAutoScalingConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -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";