@aws-sdk/client-apprunner 3.413.0 → 3.417.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 (48) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/AppRunner.js +4 -0
  3. package/dist-cjs/commands/ListServicesForAutoScalingConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/UpdateDefaultAutoScalingConfigurationCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/pagination/ListServicesForAutoScalingConfigurationPaginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_json1_0.js +128 -4
  9. package/dist-cjs/runtimeExtensions.js +3 -0
  10. package/dist-es/AppRunner.js +4 -0
  11. package/dist-es/commands/ListServicesForAutoScalingConfigurationCommand.js +42 -0
  12. package/dist-es/commands/UpdateDefaultAutoScalingConfigurationCommand.js +42 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/pagination/ListServicesForAutoScalingConfigurationPaginator.js +25 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_json1_0.js +122 -2
  17. package/dist-es/runtimeExtensions.js +3 -0
  18. package/dist-types/AppRunner.d.ts +14 -0
  19. package/dist-types/AppRunnerClient.d.ts +4 -2
  20. package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +4 -2
  21. package/dist-types/commands/CreateServiceCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteAutoScalingConfigurationCommand.d.ts +6 -2
  23. package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeAutoScalingConfigurationCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeServiceCommand.d.ts +4 -0
  26. package/dist-types/commands/ListAutoScalingConfigurationsCommand.d.ts +4 -0
  27. package/dist-types/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +87 -0
  28. package/dist-types/commands/PauseServiceCommand.d.ts +4 -0
  29. package/dist-types/commands/ResumeServiceCommand.d.ts +4 -0
  30. package/dist-types/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +96 -0
  31. package/dist-types/commands/UpdateServiceCommand.d.ts +4 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/extensionConfiguration.d.ts +2 -1
  34. package/dist-types/models/models_0.d.ts +135 -6
  35. package/dist-types/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  38. package/dist-types/ts3.4/AppRunner.d.ts +46 -0
  39. package/dist-types/ts3.4/AppRunnerClient.d.ts +12 -0
  40. package/dist-types/ts3.4/commands/ListServicesForAutoScalingConfigurationCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/UpdateDefaultAutoScalingConfigurationCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  44. package/dist-types/ts3.4/models/models_0.d.ts +22 -0
  45. package/dist-types/ts3.4/pagination/ListServicesForAutoScalingConfigurationPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  48. package/package.json +4 -3
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface AppRunnerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface AppRunnerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -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";
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface AppRunnerExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
@@ -98,6 +98,8 @@ export interface AutoScalingConfiguration {
98
98
  MaxSize?: number;
99
99
  CreatedAt?: Date;
100
100
  DeletedAt?: Date;
101
+ HasAssociatedService?: boolean;
102
+ IsDefault?: boolean;
101
103
  }
102
104
  export interface CreateAutoScalingConfigurationResponse {
103
105
  AutoScalingConfiguration: AutoScalingConfiguration | undefined;
@@ -298,6 +300,10 @@ export interface AutoScalingConfigurationSummary {
298
300
  AutoScalingConfigurationArn?: string;
299
301
  AutoScalingConfigurationName?: string;
300
302
  AutoScalingConfigurationRevision?: number;
303
+ Status?: AutoScalingConfigurationStatus | string;
304
+ CreatedAt?: Date;
305
+ HasAssociatedService?: boolean;
306
+ IsDefault?: boolean;
301
307
  }
302
308
  export declare const ServiceStatus: {
303
309
  readonly CREATE_FAILED: "CREATE_FAILED";
@@ -392,6 +398,7 @@ export interface CreateVpcIngressConnectionResponse {
392
398
  }
393
399
  export interface DeleteAutoScalingConfigurationRequest {
394
400
  AutoScalingConfigurationArn: string | undefined;
401
+ DeleteAllRevisions?: boolean;
395
402
  }
396
403
  export interface DeleteAutoScalingConfigurationResponse {
397
404
  AutoScalingConfiguration: AutoScalingConfiguration | undefined;
@@ -587,6 +594,15 @@ export interface ListServicesResponse {
587
594
  ServiceSummaryList: ServiceSummary[] | undefined;
588
595
  NextToken?: string;
589
596
  }
597
+ export interface ListServicesForAutoScalingConfigurationRequest {
598
+ AutoScalingConfigurationArn: string | undefined;
599
+ MaxResults?: number;
600
+ NextToken?: string;
601
+ }
602
+ export interface ListServicesForAutoScalingConfigurationResponse {
603
+ ServiceArnList: string[] | undefined;
604
+ NextToken?: string;
605
+ }
590
606
  export interface ListTagsForResourceRequest {
591
607
  ResourceArn: string | undefined;
592
608
  }
@@ -648,6 +664,12 @@ export interface UntagResourceRequest {
648
664
  TagKeys: string[] | undefined;
649
665
  }
650
666
  export interface UntagResourceResponse {}
667
+ export interface UpdateDefaultAutoScalingConfigurationRequest {
668
+ AutoScalingConfigurationArn: string | undefined;
669
+ }
670
+ export interface UpdateDefaultAutoScalingConfigurationResponse {
671
+ AutoScalingConfiguration: AutoScalingConfiguration | undefined;
672
+ }
651
673
  export interface UpdateServiceRequest {
652
674
  ServiceArn: string | undefined;
653
675
  SourceConfiguration?: SourceConfiguration;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListServicesForAutoScalingConfigurationCommandInput,
4
+ ListServicesForAutoScalingConfigurationCommandOutput,
5
+ } from "../commands/ListServicesForAutoScalingConfigurationCommand";
6
+ import { AppRunnerPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListServicesForAutoScalingConfiguration(
8
+ config: AppRunnerPaginationConfiguration,
9
+ input: ListServicesForAutoScalingConfigurationCommandInput,
10
+ ...additionalArguments: any
11
+ ): 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";
@@ -103,6 +103,10 @@ import {
103
103
  ListServicesCommandInput,
104
104
  ListServicesCommandOutput,
105
105
  } from "../commands/ListServicesCommand";
106
+ import {
107
+ ListServicesForAutoScalingConfigurationCommandInput,
108
+ ListServicesForAutoScalingConfigurationCommandOutput,
109
+ } from "../commands/ListServicesForAutoScalingConfigurationCommand";
106
110
  import {
107
111
  ListTagsForResourceCommandInput,
108
112
  ListTagsForResourceCommandOutput,
@@ -135,6 +139,10 @@ import {
135
139
  UntagResourceCommandInput,
136
140
  UntagResourceCommandOutput,
137
141
  } from "../commands/UntagResourceCommand";
142
+ import {
143
+ UpdateDefaultAutoScalingConfigurationCommandInput,
144
+ UpdateDefaultAutoScalingConfigurationCommandOutput,
145
+ } from "../commands/UpdateDefaultAutoScalingConfigurationCommand";
138
146
  import {
139
147
  UpdateServiceCommandInput,
140
148
  UpdateServiceCommandOutput,
@@ -243,6 +251,10 @@ export declare const se_ListServicesCommand: (
243
251
  input: ListServicesCommandInput,
244
252
  context: __SerdeContext
245
253
  ) => Promise<__HttpRequest>;
254
+ export declare const se_ListServicesForAutoScalingConfigurationCommand: (
255
+ input: ListServicesForAutoScalingConfigurationCommandInput,
256
+ context: __SerdeContext
257
+ ) => Promise<__HttpRequest>;
246
258
  export declare const se_ListTagsForResourceCommand: (
247
259
  input: ListTagsForResourceCommandInput,
248
260
  context: __SerdeContext
@@ -275,6 +287,10 @@ export declare const se_UntagResourceCommand: (
275
287
  input: UntagResourceCommandInput,
276
288
  context: __SerdeContext
277
289
  ) => Promise<__HttpRequest>;
290
+ export declare const se_UpdateDefaultAutoScalingConfigurationCommand: (
291
+ input: UpdateDefaultAutoScalingConfigurationCommandInput,
292
+ context: __SerdeContext
293
+ ) => Promise<__HttpRequest>;
278
294
  export declare const se_UpdateServiceCommand: (
279
295
  input: UpdateServiceCommandInput,
280
296
  context: __SerdeContext
@@ -383,6 +399,10 @@ export declare const de_ListServicesCommand: (
383
399
  output: __HttpResponse,
384
400
  context: __SerdeContext
385
401
  ) => Promise<ListServicesCommandOutput>;
402
+ export declare const de_ListServicesForAutoScalingConfigurationCommand: (
403
+ output: __HttpResponse,
404
+ context: __SerdeContext
405
+ ) => Promise<ListServicesForAutoScalingConfigurationCommandOutput>;
386
406
  export declare const de_ListTagsForResourceCommand: (
387
407
  output: __HttpResponse,
388
408
  context: __SerdeContext
@@ -415,6 +435,10 @@ export declare const de_UntagResourceCommand: (
415
435
  output: __HttpResponse,
416
436
  context: __SerdeContext
417
437
  ) => Promise<UntagResourceCommandOutput>;
438
+ export declare const de_UpdateDefaultAutoScalingConfigurationCommand: (
439
+ output: __HttpResponse,
440
+ context: __SerdeContext
441
+ ) => Promise<UpdateDefaultAutoScalingConfigurationCommandOutput>;
418
442
  export declare const de_UpdateServiceCommand: (
419
443
  output: __HttpResponse,
420
444
  context: __SerdeContext