aws-sdk-apprunner 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71123d355f923e6366bc040b2af8f64e61f8bc66edd6ec6dd5f2dbc0a6bd47b1
4
- data.tar.gz: 5ad944beda88e79ea5c5c92ac6e355fa289bb498e531fbe3c5bbf139b9a1cf13
3
+ metadata.gz: c743faa16249e8ca6b311ebcffeb01faab639054e5043e8107cd66cff63649b6
4
+ data.tar.gz: dfc0698db79072499183010fe7d3dc78097c37f87dd15a2410cbec2ebf34126a
5
5
  SHA512:
6
- metadata.gz: fe7d548d36da516d3bfe654ab47b1d5d07d2dc30825a56b9fbc585b4634ce2ab937d8e49fd2b23beec018f90a2155fa439af0473e95ab738809bc09a7a769d29
7
- data.tar.gz: 6847a6f3585fe6ff99a0540e4c7411648e9942e4f5f873f52f1b2f54921f4d827a653192bb90d7315a452eef3a3db34974e793691ca43c95c5ebd7c62ca5f0dc
6
+ metadata.gz: acbf5e3dfaed5632a880d5cc7c69a9686fc1ff6ab3bef2eabcafaa80f971efe1761e81ef4b9daf48d80a187839aafcf2c6e8076ff41959bebf435f425ca93a48
7
+ data.tar.gz: b3f4023affafa17127a17c37679b4361b085772ebeb539e530c74ebca723601e82d2bd7fbbfc79b9e8e02be379f19cdd7cf0b3cce1ff2ee05e687d06ba1aff25
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2023-09-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds improvements for managing App Runner auto scaling configuration resources. New APIs: UpdateDefaultAutoScalingConfiguration and ListServicesForAutoScalingConfiguration. Updated API: DeleteAutoScalingConfiguration.
8
+
4
9
  1.28.0 (2023-08-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -498,17 +498,33 @@ module Aws::AppRunner
498
498
  # subsequent calls, App Runner creates incremental revisions of the
499
499
  # configuration.
500
500
  #
501
- # <note markdown="1"> The name `DefaultConfiguration` is reserved (it's the configuration
502
- # that App Runner uses if you don't provide a custome one). You can't
503
- # use it to create a new auto scaling configuration, and you can't
504
- # create a revision of it.
501
+ # <note markdown="1"> Prior to the release of [Managing auto scaling][1], the name
502
+ # `DefaultConfiguration` was reserved.
505
503
  #
506
- # When you want to use your own auto scaling configuration for your App
507
- # Runner service, *create a configuration with a different name*, and
508
- # then provide it when you create or update your service.
504
+ # This restriction is no longer in place. You can now manage
505
+ # `DefaultConfiguration` the same way you manage your custom auto
506
+ # scaling configurations. This means you can do the following with the
507
+ # `DefaultConfiguration` that App Runner provides:
508
+ #
509
+ # * Create new revisions of the `DefaultConfiguration`.
510
+ #
511
+ # * Delete the revisions of the `DefaultConfiguration`.
512
+ #
513
+ # * Delete the auto scaling configuration for which the App Runner
514
+ # `DefaultConfiguration` was created.
515
+ #
516
+ # * If you delete the auto scaling configuration you can create another
517
+ # custom auto scaling configuration with the same
518
+ # `DefaultConfiguration` name. The original `DefaultConfiguration`
519
+ # resource provided by App Runner remains in your account unless you
520
+ # make changes to it.
509
521
  #
510
522
  # </note>
511
523
  #
524
+ #
525
+ #
526
+ # [1]: https://docs.aws.amazon.com/apprunner/latest/relnotes/release-yyyy-mm-dd-asc-improvements.html
527
+ #
512
528
  # @option params [Integer] :max_concurrency
513
529
  # The maximum number of concurrent requests that you want an instance to
514
530
  # process. If the number of concurrent requests exceeds this limit, App
@@ -572,6 +588,8 @@ module Aws::AppRunner
572
588
  # resp.auto_scaling_configuration.max_size #=> Integer
573
589
  # resp.auto_scaling_configuration.created_at #=> Time
574
590
  # resp.auto_scaling_configuration.deleted_at #=> Time
591
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
592
+ # resp.auto_scaling_configuration.is_default #=> Boolean
575
593
  #
576
594
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration AWS API Documentation
577
595
  #
@@ -914,6 +932,10 @@ module Aws::AppRunner
914
932
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
915
933
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
916
934
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
935
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
936
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
937
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
938
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
917
939
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
918
940
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
919
941
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -1063,9 +1085,10 @@ module Aws::AppRunner
1063
1085
  end
1064
1086
 
1065
1087
  # Delete an App Runner automatic scaling configuration resource. You can
1066
- # delete a specific revision or the latest active revision. You can't
1067
- # delete a configuration that's used by one or more App Runner
1068
- # services.
1088
+ # delete a top level auto scaling configuration, a specific revision of
1089
+ # one, or all revisions associated with the top level configuration. You
1090
+ # can't delete the default auto scaling configuration or a
1091
+ # configuration that's used by one or more App Runner services.
1069
1092
  #
1070
1093
  # @option params [required, String] :auto_scaling_configuration_arn
1071
1094
  # The Amazon Resource Name (ARN) of the App Runner auto scaling
@@ -1075,6 +1098,14 @@ module Aws::AppRunner
1075
1098
  # ending with either `.../name ` or `.../name/revision `. If a revision
1076
1099
  # isn't specified, the latest active revision is deleted.
1077
1100
  #
1101
+ # @option params [Boolean] :delete_all_revisions
1102
+ # Set to `true` to delete all of the revisions associated with the
1103
+ # `AutoScalingConfigurationArn` parameter value.
1104
+ #
1105
+ # When `DeleteAllRevisions` is set to `true`, the only valid value for
1106
+ # the Amazon Resource Name (ARN) is a partial ARN ending with:
1107
+ # `.../name`.
1108
+ #
1078
1109
  # @return [Types::DeleteAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1079
1110
  #
1080
1111
  # * {Types::DeleteAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
@@ -1083,6 +1114,7 @@ module Aws::AppRunner
1083
1114
  #
1084
1115
  # resp = client.delete_auto_scaling_configuration({
1085
1116
  # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
1117
+ # delete_all_revisions: false,
1086
1118
  # })
1087
1119
  #
1088
1120
  # @example Response structure
@@ -1097,6 +1129,8 @@ module Aws::AppRunner
1097
1129
  # resp.auto_scaling_configuration.max_size #=> Integer
1098
1130
  # resp.auto_scaling_configuration.created_at #=> Time
1099
1131
  # resp.auto_scaling_configuration.deleted_at #=> Time
1132
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
1133
+ # resp.auto_scaling_configuration.is_default #=> Boolean
1100
1134
  #
1101
1135
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfiguration AWS API Documentation
1102
1136
  #
@@ -1257,6 +1291,10 @@ module Aws::AppRunner
1257
1291
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1258
1292
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1259
1293
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1294
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
1295
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
1296
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
1297
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
1260
1298
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1261
1299
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1262
1300
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -1395,6 +1433,8 @@ module Aws::AppRunner
1395
1433
  # resp.auto_scaling_configuration.max_size #=> Integer
1396
1434
  # resp.auto_scaling_configuration.created_at #=> Time
1397
1435
  # resp.auto_scaling_configuration.deleted_at #=> Time
1436
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
1437
+ # resp.auto_scaling_configuration.is_default #=> Boolean
1398
1438
  #
1399
1439
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeAutoScalingConfiguration AWS API Documentation
1400
1440
  #
@@ -1577,6 +1617,10 @@ module Aws::AppRunner
1577
1617
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1578
1618
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1579
1619
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1620
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
1621
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
1622
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
1623
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
1580
1624
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1581
1625
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1582
1626
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -1794,6 +1838,10 @@ module Aws::AppRunner
1794
1838
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_arn #=> String
1795
1839
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_name #=> String
1796
1840
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_revision #=> Integer
1841
+ # resp.auto_scaling_configuration_summary_list[0].status #=> String, one of "ACTIVE", "INACTIVE"
1842
+ # resp.auto_scaling_configuration_summary_list[0].created_at #=> Time
1843
+ # resp.auto_scaling_configuration_summary_list[0].has_associated_service #=> Boolean
1844
+ # resp.auto_scaling_configuration_summary_list[0].is_default #=> Boolean
1797
1845
  # resp.next_token #=> String
1798
1846
  #
1799
1847
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListAutoScalingConfigurations AWS API Documentation
@@ -2050,6 +2098,63 @@ module Aws::AppRunner
2050
2098
  req.send_request(options)
2051
2099
  end
2052
2100
 
2101
+ # Returns a list of the associated App Runner services using an auto
2102
+ # scaling configuration.
2103
+ #
2104
+ # @option params [required, String] :auto_scaling_configuration_arn
2105
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
2106
+ # configuration that you want to list the services for.
2107
+ #
2108
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
2109
+ # ending with either `.../name ` or `.../name/revision `. If a revision
2110
+ # isn't specified, the latest active revision is used.
2111
+ #
2112
+ # @option params [Integer] :max_results
2113
+ # The maximum number of results to include in each response (result
2114
+ # page). It's used for a paginated request.
2115
+ #
2116
+ # If you don't specify `MaxResults`, the request retrieves all
2117
+ # available results in a single response.
2118
+ #
2119
+ # @option params [String] :next_token
2120
+ # A token from a previous result page. It's used for a paginated
2121
+ # request. The request retrieves the next result page. All other
2122
+ # parameter values must be identical to the ones specified in the
2123
+ # initial request.
2124
+ #
2125
+ # If you don't specify `NextToken`, the request retrieves the first
2126
+ # result page.
2127
+ #
2128
+ # @return [Types::ListServicesForAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2129
+ #
2130
+ # * {Types::ListServicesForAutoScalingConfigurationResponse#service_arn_list #service_arn_list} => Array&lt;String&gt;
2131
+ # * {Types::ListServicesForAutoScalingConfigurationResponse#next_token #next_token} => String
2132
+ #
2133
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2134
+ #
2135
+ # @example Request syntax with placeholder values
2136
+ #
2137
+ # resp = client.list_services_for_auto_scaling_configuration({
2138
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
2139
+ # max_results: 1,
2140
+ # next_token: "NextToken",
2141
+ # })
2142
+ #
2143
+ # @example Response structure
2144
+ #
2145
+ # resp.service_arn_list #=> Array
2146
+ # resp.service_arn_list[0] #=> String
2147
+ # resp.next_token #=> String
2148
+ #
2149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfiguration AWS API Documentation
2150
+ #
2151
+ # @overload list_services_for_auto_scaling_configuration(params = {})
2152
+ # @param [Hash] params ({})
2153
+ def list_services_for_auto_scaling_configuration(params = {}, options = {})
2154
+ req = build_request(:list_services_for_auto_scaling_configuration, params)
2155
+ req.send_request(options)
2156
+ end
2157
+
2053
2158
  # List tags that are associated with for an App Runner resource. The
2054
2159
  # response contains a list of tag key-value pairs.
2055
2160
  #
@@ -2267,6 +2372,10 @@ module Aws::AppRunner
2267
2372
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
2268
2373
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
2269
2374
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2375
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2376
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2377
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2378
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2270
2379
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2271
2380
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2272
2381
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -2351,6 +2460,10 @@ module Aws::AppRunner
2351
2460
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
2352
2461
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
2353
2462
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2463
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2464
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2465
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2466
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2354
2467
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2355
2468
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2356
2469
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -2474,6 +2587,52 @@ module Aws::AppRunner
2474
2587
  req.send_request(options)
2475
2588
  end
2476
2589
 
2590
+ # Update an auto scaling configuration to be the default. The existing
2591
+ # default auto scaling configuration will be set to non-default
2592
+ # automatically.
2593
+ #
2594
+ # @option params [required, String] :auto_scaling_configuration_arn
2595
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
2596
+ # configuration that you want to set as the default.
2597
+ #
2598
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
2599
+ # ending with either `.../name ` or `.../name/revision `. If a revision
2600
+ # isn't specified, the latest active revision is set as the default.
2601
+ #
2602
+ # @return [Types::UpdateDefaultAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2603
+ #
2604
+ # * {Types::UpdateDefaultAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
2605
+ #
2606
+ # @example Request syntax with placeholder values
2607
+ #
2608
+ # resp = client.update_default_auto_scaling_configuration({
2609
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
2610
+ # })
2611
+ #
2612
+ # @example Response structure
2613
+ #
2614
+ # resp.auto_scaling_configuration.auto_scaling_configuration_arn #=> String
2615
+ # resp.auto_scaling_configuration.auto_scaling_configuration_name #=> String
2616
+ # resp.auto_scaling_configuration.auto_scaling_configuration_revision #=> Integer
2617
+ # resp.auto_scaling_configuration.latest #=> Boolean
2618
+ # resp.auto_scaling_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
2619
+ # resp.auto_scaling_configuration.max_concurrency #=> Integer
2620
+ # resp.auto_scaling_configuration.min_size #=> Integer
2621
+ # resp.auto_scaling_configuration.max_size #=> Integer
2622
+ # resp.auto_scaling_configuration.created_at #=> Time
2623
+ # resp.auto_scaling_configuration.deleted_at #=> Time
2624
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
2625
+ # resp.auto_scaling_configuration.is_default #=> Boolean
2626
+ #
2627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfiguration AWS API Documentation
2628
+ #
2629
+ # @overload update_default_auto_scaling_configuration(params = {})
2630
+ # @param [Hash] params ({})
2631
+ def update_default_auto_scaling_configuration(params = {}, options = {})
2632
+ req = build_request(:update_default_auto_scaling_configuration, params)
2633
+ req.send_request(options)
2634
+ end
2635
+
2477
2636
  # Update an App Runner service. You can update the source configuration
2478
2637
  # and instance configuration of the service. You can also update the ARN
2479
2638
  # of the auto scaling configuration resource that's associated with the
@@ -2651,6 +2810,10 @@ module Aws::AppRunner
2651
2810
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
2652
2811
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
2653
2812
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2813
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2814
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2815
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2816
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2654
2817
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2655
2818
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2656
2819
  # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
@@ -2735,7 +2898,7 @@ module Aws::AppRunner
2735
2898
  params: params,
2736
2899
  config: config)
2737
2900
  context[:gem_name] = 'aws-sdk-apprunner'
2738
- context[:gem_version] = '1.28.0'
2901
+ context[:gem_version] = '1.29.0'
2739
2902
  Seahorse::Client::Request.new(handlers, context)
2740
2903
  end
2741
2904
 
@@ -22,6 +22,7 @@ module Aws::AppRunner
22
22
  AuthenticationConfiguration = Shapes::StructureShape.new(name: 'AuthenticationConfiguration')
23
23
  AutoScalingConfiguration = Shapes::StructureShape.new(name: 'AutoScalingConfiguration')
24
24
  AutoScalingConfigurationName = Shapes::StringShape.new(name: 'AutoScalingConfigurationName')
25
+ AutoScalingConfigurationRevision = Shapes::IntegerShape.new(name: 'AutoScalingConfigurationRevision')
25
26
  AutoScalingConfigurationStatus = Shapes::StringShape.new(name: 'AutoScalingConfigurationStatus')
26
27
  AutoScalingConfigurationSummary = Shapes::StructureShape.new(name: 'AutoScalingConfigurationSummary')
27
28
  AutoScalingConfigurationSummaryList = Shapes::ListShape.new(name: 'AutoScalingConfigurationSummaryList')
@@ -88,6 +89,7 @@ module Aws::AppRunner
88
89
  EgressType = Shapes::StringShape.new(name: 'EgressType')
89
90
  EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
90
91
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
92
+ HasAssociatedService = Shapes::BooleanShape.new(name: 'HasAssociatedService')
91
93
  HealthCheckConfiguration = Shapes::StructureShape.new(name: 'HealthCheckConfiguration')
92
94
  HealthCheckHealthyThreshold = Shapes::IntegerShape.new(name: 'HealthCheckHealthyThreshold')
93
95
  HealthCheckInterval = Shapes::IntegerShape.new(name: 'HealthCheckInterval')
@@ -106,7 +108,9 @@ module Aws::AppRunner
106
108
  InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
107
109
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
108
110
  InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
111
+ IsDefault = Shapes::BooleanShape.new(name: 'IsDefault')
109
112
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
113
+ Latest = Shapes::BooleanShape.new(name: 'Latest')
110
114
  ListAutoScalingConfigurationsRequest = Shapes::StructureShape.new(name: 'ListAutoScalingConfigurationsRequest')
111
115
  ListAutoScalingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListAutoScalingConfigurationsResponse')
112
116
  ListConnectionsRequest = Shapes::StructureShape.new(name: 'ListConnectionsRequest')
@@ -116,6 +120,8 @@ module Aws::AppRunner
116
120
  ListOperationsMaxResults = Shapes::IntegerShape.new(name: 'ListOperationsMaxResults')
117
121
  ListOperationsRequest = Shapes::StructureShape.new(name: 'ListOperationsRequest')
118
122
  ListOperationsResponse = Shapes::StructureShape.new(name: 'ListOperationsResponse')
123
+ ListServicesForAutoScalingConfigurationRequest = Shapes::StructureShape.new(name: 'ListServicesForAutoScalingConfigurationRequest')
124
+ ListServicesForAutoScalingConfigurationResponse = Shapes::StructureShape.new(name: 'ListServicesForAutoScalingConfigurationResponse')
119
125
  ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
120
126
  ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
121
127
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -125,8 +131,11 @@ module Aws::AppRunner
125
131
  ListVpcIngressConnectionsFilter = Shapes::StructureShape.new(name: 'ListVpcIngressConnectionsFilter')
126
132
  ListVpcIngressConnectionsRequest = Shapes::StructureShape.new(name: 'ListVpcIngressConnectionsRequest')
127
133
  ListVpcIngressConnectionsResponse = Shapes::StructureShape.new(name: 'ListVpcIngressConnectionsResponse')
134
+ MaxConcurrency = Shapes::IntegerShape.new(name: 'MaxConcurrency')
128
135
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
136
+ MaxSize = Shapes::IntegerShape.new(name: 'MaxSize')
129
137
  Memory = Shapes::StringShape.new(name: 'Memory')
138
+ MinSize = Shapes::IntegerShape.new(name: 'MinSize')
130
139
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
131
140
  NextToken = Shapes::StringShape.new(name: 'NextToken')
132
141
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
@@ -154,6 +163,7 @@ module Aws::AppRunner
154
163
  RuntimeEnvironmentVariablesKey = Shapes::StringShape.new(name: 'RuntimeEnvironmentVariablesKey')
155
164
  RuntimeEnvironmentVariablesValue = Shapes::StringShape.new(name: 'RuntimeEnvironmentVariablesValue')
156
165
  Service = Shapes::StructureShape.new(name: 'Service')
166
+ ServiceArnList = Shapes::ListShape.new(name: 'ServiceArnList')
157
167
  ServiceId = Shapes::StringShape.new(name: 'ServiceId')
158
168
  ServiceMaxResults = Shapes::IntegerShape.new(name: 'ServiceMaxResults')
159
169
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
@@ -183,6 +193,8 @@ module Aws::AppRunner
183
193
  UUID = Shapes::StringShape.new(name: 'UUID')
184
194
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
185
195
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
196
+ UpdateDefaultAutoScalingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDefaultAutoScalingConfigurationRequest')
197
+ UpdateDefaultAutoScalingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDefaultAutoScalingConfigurationResponse')
186
198
  UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
187
199
  UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
188
200
  UpdateVpcIngressConnectionRequest = Shapes::StructureShape.new(name: 'UpdateVpcIngressConnectionRequest')
@@ -216,19 +228,25 @@ module Aws::AppRunner
216
228
 
217
229
  AutoScalingConfiguration.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "AutoScalingConfigurationArn"))
218
230
  AutoScalingConfiguration.add_member(:auto_scaling_configuration_name, Shapes::ShapeRef.new(shape: AutoScalingConfigurationName, location_name: "AutoScalingConfigurationName"))
219
- AutoScalingConfiguration.add_member(:auto_scaling_configuration_revision, Shapes::ShapeRef.new(shape: Integer, location_name: "AutoScalingConfigurationRevision"))
220
- AutoScalingConfiguration.add_member(:latest, Shapes::ShapeRef.new(shape: Boolean, location_name: "Latest"))
231
+ AutoScalingConfiguration.add_member(:auto_scaling_configuration_revision, Shapes::ShapeRef.new(shape: AutoScalingConfigurationRevision, location_name: "AutoScalingConfigurationRevision"))
232
+ AutoScalingConfiguration.add_member(:latest, Shapes::ShapeRef.new(shape: Latest, location_name: "Latest"))
221
233
  AutoScalingConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: AutoScalingConfigurationStatus, location_name: "Status"))
222
- AutoScalingConfiguration.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxConcurrency"))
223
- AutoScalingConfiguration.add_member(:min_size, Shapes::ShapeRef.new(shape: Integer, location_name: "MinSize"))
224
- AutoScalingConfiguration.add_member(:max_size, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSize"))
234
+ AutoScalingConfiguration.add_member(:max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "MaxConcurrency"))
235
+ AutoScalingConfiguration.add_member(:min_size, Shapes::ShapeRef.new(shape: MinSize, location_name: "MinSize"))
236
+ AutoScalingConfiguration.add_member(:max_size, Shapes::ShapeRef.new(shape: MaxSize, location_name: "MaxSize"))
225
237
  AutoScalingConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
226
238
  AutoScalingConfiguration.add_member(:deleted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletedAt"))
239
+ AutoScalingConfiguration.add_member(:has_associated_service, Shapes::ShapeRef.new(shape: HasAssociatedService, location_name: "HasAssociatedService"))
240
+ AutoScalingConfiguration.add_member(:is_default, Shapes::ShapeRef.new(shape: IsDefault, location_name: "IsDefault"))
227
241
  AutoScalingConfiguration.struct_class = Types::AutoScalingConfiguration
228
242
 
229
243
  AutoScalingConfigurationSummary.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "AutoScalingConfigurationArn"))
230
244
  AutoScalingConfigurationSummary.add_member(:auto_scaling_configuration_name, Shapes::ShapeRef.new(shape: AutoScalingConfigurationName, location_name: "AutoScalingConfigurationName"))
231
245
  AutoScalingConfigurationSummary.add_member(:auto_scaling_configuration_revision, Shapes::ShapeRef.new(shape: Integer, location_name: "AutoScalingConfigurationRevision"))
246
+ AutoScalingConfigurationSummary.add_member(:status, Shapes::ShapeRef.new(shape: AutoScalingConfigurationStatus, location_name: "Status"))
247
+ AutoScalingConfigurationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
248
+ AutoScalingConfigurationSummary.add_member(:has_associated_service, Shapes::ShapeRef.new(shape: HasAssociatedService, location_name: "HasAssociatedService"))
249
+ AutoScalingConfigurationSummary.add_member(:is_default, Shapes::ShapeRef.new(shape: IsDefault, location_name: "IsDefault"))
232
250
  AutoScalingConfigurationSummary.struct_class = Types::AutoScalingConfigurationSummary
233
251
 
234
252
  AutoScalingConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: AutoScalingConfigurationSummary)
@@ -342,6 +360,7 @@ module Aws::AppRunner
342
360
  CustomDomainList.member = Shapes::ShapeRef.new(shape: CustomDomain)
343
361
 
344
362
  DeleteAutoScalingConfigurationRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "AutoScalingConfigurationArn"))
363
+ DeleteAutoScalingConfigurationRequest.add_member(:delete_all_revisions, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAllRevisions"))
345
364
  DeleteAutoScalingConfigurationRequest.struct_class = Types::DeleteAutoScalingConfigurationRequest
346
365
 
347
366
  DeleteAutoScalingConfigurationResponse.add_member(:auto_scaling_configuration, Shapes::ShapeRef.new(shape: AutoScalingConfiguration, required: true, location_name: "AutoScalingConfiguration"))
@@ -515,6 +534,15 @@ module Aws::AppRunner
515
534
  ListOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
516
535
  ListOperationsResponse.struct_class = Types::ListOperationsResponse
517
536
 
537
+ ListServicesForAutoScalingConfigurationRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "AutoScalingConfigurationArn"))
538
+ ListServicesForAutoScalingConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
539
+ ListServicesForAutoScalingConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
540
+ ListServicesForAutoScalingConfigurationRequest.struct_class = Types::ListServicesForAutoScalingConfigurationRequest
541
+
542
+ ListServicesForAutoScalingConfigurationResponse.add_member(:service_arn_list, Shapes::ShapeRef.new(shape: ServiceArnList, required: true, location_name: "ServiceArnList"))
543
+ ListServicesForAutoScalingConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
544
+ ListServicesForAutoScalingConfigurationResponse.struct_class = Types::ListServicesForAutoScalingConfigurationResponse
545
+
518
546
  ListServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
519
547
  ListServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ServiceMaxResults, location_name: "MaxResults"))
520
548
  ListServicesRequest.struct_class = Types::ListServicesRequest
@@ -622,6 +650,8 @@ module Aws::AppRunner
622
650
  Service.add_member(:observability_configuration, Shapes::ShapeRef.new(shape: ServiceObservabilityConfiguration, location_name: "ObservabilityConfiguration"))
623
651
  Service.struct_class = Types::Service
624
652
 
653
+ ServiceArnList.member = Shapes::ShapeRef.new(shape: AppRunnerResourceArn)
654
+
625
655
  ServiceObservabilityConfiguration.add_member(:observability_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ObservabilityEnabled"))
626
656
  ServiceObservabilityConfiguration.add_member(:observability_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "ObservabilityConfigurationArn"))
627
657
  ServiceObservabilityConfiguration.struct_class = Types::ServiceObservabilityConfiguration
@@ -681,6 +711,12 @@ module Aws::AppRunner
681
711
 
682
712
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
683
713
 
714
+ UpdateDefaultAutoScalingConfigurationRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "AutoScalingConfigurationArn"))
715
+ UpdateDefaultAutoScalingConfigurationRequest.struct_class = Types::UpdateDefaultAutoScalingConfigurationRequest
716
+
717
+ UpdateDefaultAutoScalingConfigurationResponse.add_member(:auto_scaling_configuration, Shapes::ShapeRef.new(shape: AutoScalingConfiguration, required: true, location_name: "AutoScalingConfiguration"))
718
+ UpdateDefaultAutoScalingConfigurationResponse.struct_class = Types::UpdateDefaultAutoScalingConfigurationResponse
719
+
684
720
  UpdateServiceRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "ServiceArn"))
685
721
  UpdateServiceRequest.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "SourceConfiguration"))
686
722
  UpdateServiceRequest.add_member(:instance_configuration, Shapes::ShapeRef.new(shape: InstanceConfiguration, location_name: "InstanceConfiguration"))
@@ -1067,6 +1103,23 @@ module Aws::AppRunner
1067
1103
  )
1068
1104
  end)
1069
1105
 
1106
+ api.add_operation(:list_services_for_auto_scaling_configuration, Seahorse::Model::Operation.new.tap do |o|
1107
+ o.name = "ListServicesForAutoScalingConfiguration"
1108
+ o.http_method = "POST"
1109
+ o.http_request_uri = "/"
1110
+ o.input = Shapes::ShapeRef.new(shape: ListServicesForAutoScalingConfigurationRequest)
1111
+ o.output = Shapes::ShapeRef.new(shape: ListServicesForAutoScalingConfigurationResponse)
1112
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1115
+ o[:pager] = Aws::Pager.new(
1116
+ limit_key: "max_results",
1117
+ tokens: {
1118
+ "next_token" => "next_token"
1119
+ }
1120
+ )
1121
+ end)
1122
+
1070
1123
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1071
1124
  o.name = "ListTagsForResource"
1072
1125
  o.http_method = "POST"
@@ -1170,6 +1223,17 @@ module Aws::AppRunner
1170
1223
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
1171
1224
  end)
1172
1225
 
1226
+ api.add_operation(:update_default_auto_scaling_configuration, Seahorse::Model::Operation.new.tap do |o|
1227
+ o.name = "UpdateDefaultAutoScalingConfiguration"
1228
+ o.http_method = "POST"
1229
+ o.http_request_uri = "/"
1230
+ o.input = Shapes::ShapeRef.new(shape: UpdateDefaultAutoScalingConfigurationRequest)
1231
+ o.output = Shapes::ShapeRef.new(shape: UpdateDefaultAutoScalingConfigurationResponse)
1232
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1234
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1235
+ end)
1236
+
1173
1237
  api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
1174
1238
  o.name = "UpdateService"
1175
1239
  o.http_method = "POST"
@@ -362,6 +362,20 @@ module Aws::AppRunner
362
362
  end
363
363
  end
364
364
 
365
+ class ListServicesForAutoScalingConfiguration
366
+ def self.build(context)
367
+ unless context.config.regional_endpoint
368
+ endpoint = context.config.endpoint.to_s
369
+ end
370
+ Aws::AppRunner::EndpointParameters.new(
371
+ region: context.config.region,
372
+ use_dual_stack: context.config.use_dualstack_endpoint,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
365
379
  class ListTagsForResource
366
380
  def self.build(context)
367
381
  unless context.config.regional_endpoint
@@ -474,6 +488,20 @@ module Aws::AppRunner
474
488
  end
475
489
  end
476
490
 
491
+ class UpdateDefaultAutoScalingConfiguration
492
+ def self.build(context)
493
+ unless context.config.regional_endpoint
494
+ endpoint = context.config.endpoint.to_s
495
+ end
496
+ Aws::AppRunner::EndpointParameters.new(
497
+ region: context.config.region,
498
+ use_dual_stack: context.config.use_dualstack_endpoint,
499
+ use_fips: context.config.use_fips_endpoint,
500
+ endpoint: endpoint,
501
+ )
502
+ end
503
+ end
504
+
477
505
  class UpdateService
478
506
  def self.build(context)
479
507
  unless context.config.regional_endpoint
@@ -106,6 +106,8 @@ module Aws::AppRunner
106
106
  Aws::AppRunner::Endpoints::ListOperations.build(context)
107
107
  when :list_services
108
108
  Aws::AppRunner::Endpoints::ListServices.build(context)
109
+ when :list_services_for_auto_scaling_configuration
110
+ Aws::AppRunner::Endpoints::ListServicesForAutoScalingConfiguration.build(context)
109
111
  when :list_tags_for_resource
110
112
  Aws::AppRunner::Endpoints::ListTagsForResource.build(context)
111
113
  when :list_vpc_connectors
@@ -122,6 +124,8 @@ module Aws::AppRunner
122
124
  Aws::AppRunner::Endpoints::TagResource.build(context)
123
125
  when :untag_resource
124
126
  Aws::AppRunner::Endpoints::UntagResource.build(context)
127
+ when :update_default_auto_scaling_configuration
128
+ Aws::AppRunner::Endpoints::UpdateDefaultAutoScalingConfiguration.build(context)
125
129
  when :update_service
126
130
  Aws::AppRunner::Endpoints::UpdateService.build(context)
127
131
  when :update_vpc_ingress_connection
@@ -169,6 +169,22 @@ module Aws::AppRunner
169
169
  # Unix time stamp format.
170
170
  # @return [Time]
171
171
  #
172
+ # @!attribute [rw] has_associated_service
173
+ # Indicates if this auto scaling configuration has an App Runner
174
+ # service associated with it. A value of `true` indicates one or more
175
+ # services are associated. A value of `false` indicates no services
176
+ # are associated.
177
+ # @return [Boolean]
178
+ #
179
+ # @!attribute [rw] is_default
180
+ # Indicates if this auto scaling configuration should be used as the
181
+ # default for a new App Runner service that does not have an auto
182
+ # scaling configuration ARN specified during creation. Each account
183
+ # can have only one default `AutoScalingConfiguration` per region. The
184
+ # default `AutoScalingConfiguration` can be any revision under the
185
+ # same `AutoScalingConfigurationName`.
186
+ # @return [Boolean]
187
+ #
172
188
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AutoScalingConfiguration AWS API Documentation
173
189
  #
174
190
  class AutoScalingConfiguration < Struct.new(
@@ -181,7 +197,9 @@ module Aws::AppRunner
181
197
  :min_size,
182
198
  :max_size,
183
199
  :created_at,
184
- :deleted_at)
200
+ :deleted_at,
201
+ :has_associated_service,
202
+ :is_default)
185
203
  SENSITIVE = []
186
204
  include Aws::Structure
187
205
  end
@@ -212,12 +230,44 @@ module Aws::AppRunner
212
230
  # `AutoScalingConfigurationName`.
213
231
  # @return [Integer]
214
232
  #
233
+ # @!attribute [rw] status
234
+ # The current state of the auto scaling configuration. If the status
235
+ # of a configuration revision is `INACTIVE`, it was deleted and can't
236
+ # be used. Inactive configuration revisions are permanently removed
237
+ # some time after they are deleted.
238
+ # @return [String]
239
+ #
240
+ # @!attribute [rw] created_at
241
+ # The time when the auto scaling configuration was created. It's in
242
+ # Unix time stamp format.
243
+ # @return [Time]
244
+ #
245
+ # @!attribute [rw] has_associated_service
246
+ # Indicates if this auto scaling configuration has an App Runner
247
+ # service associated with it. A value of `true` indicates one or more
248
+ # services are associated. A value of `false` indicates no services
249
+ # are associated.
250
+ # @return [Boolean]
251
+ #
252
+ # @!attribute [rw] is_default
253
+ # Indicates if this auto scaling configuration should be used as the
254
+ # default for a new App Runner service that does not have an auto
255
+ # scaling configuration ARN specified during creation. Each account
256
+ # can have only one default `AutoScalingConfiguration` per region. The
257
+ # default `AutoScalingConfiguration` can be any revision under the
258
+ # same `AutoScalingConfigurationName`.
259
+ # @return [Boolean]
260
+ #
215
261
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AutoScalingConfigurationSummary AWS API Documentation
216
262
  #
217
263
  class AutoScalingConfigurationSummary < Struct.new(
218
264
  :auto_scaling_configuration_arn,
219
265
  :auto_scaling_configuration_name,
220
- :auto_scaling_configuration_revision)
266
+ :auto_scaling_configuration_revision,
267
+ :status,
268
+ :created_at,
269
+ :has_associated_service,
270
+ :is_default)
221
271
  SENSITIVE = []
222
272
  include Aws::Structure
223
273
  end
@@ -461,16 +511,32 @@ module Aws::AppRunner
461
511
  # subsequent calls, App Runner creates incremental revisions of the
462
512
  # configuration.
463
513
  #
464
- # <note markdown="1"> The name `DefaultConfiguration` is reserved (it's the configuration
465
- # that App Runner uses if you don't provide a custome one). You
466
- # can't use it to create a new auto scaling configuration, and you
467
- # can't create a revision of it.
514
+ # <note markdown="1"> Prior to the release of [Managing auto scaling][1], the name
515
+ # `DefaultConfiguration` was reserved.
468
516
  #
469
- # When you want to use your own auto scaling configuration for your
470
- # App Runner service, *create a configuration with a different name*,
471
- # and then provide it when you create or update your service.
517
+ # This restriction is no longer in place. You can now manage
518
+ # `DefaultConfiguration` the same way you manage your custom auto
519
+ # scaling configurations. This means you can do the following with the
520
+ # `DefaultConfiguration` that App Runner provides:
521
+ #
522
+ # * Create new revisions of the `DefaultConfiguration`.
523
+ #
524
+ # * Delete the revisions of the `DefaultConfiguration`.
525
+ #
526
+ # * Delete the auto scaling configuration for which the App Runner
527
+ # `DefaultConfiguration` was created.
528
+ #
529
+ # * If you delete the auto scaling configuration you can create
530
+ # another custom auto scaling configuration with the same
531
+ # `DefaultConfiguration` name. The original `DefaultConfiguration`
532
+ # resource provided by App Runner remains in your account unless you
533
+ # make changes to it.
472
534
  #
473
535
  # </note>
536
+ #
537
+ #
538
+ #
539
+ # [1]: https://docs.aws.amazon.com/apprunner/latest/relnotes/release-yyyy-mm-dd-asc-improvements.html
474
540
  # @return [String]
475
541
  #
476
542
  # @!attribute [rw] max_concurrency
@@ -861,10 +927,20 @@ module Aws::AppRunner
861
927
  # revision isn't specified, the latest active revision is deleted.
862
928
  # @return [String]
863
929
  #
930
+ # @!attribute [rw] delete_all_revisions
931
+ # Set to `true` to delete all of the revisions associated with the
932
+ # `AutoScalingConfigurationArn` parameter value.
933
+ #
934
+ # When `DeleteAllRevisions` is set to `true`, the only valid value for
935
+ # the Amazon Resource Name (ARN) is a partial ARN ending with:
936
+ # `.../name`.
937
+ # @return [Boolean]
938
+ #
864
939
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfigurationRequest AWS API Documentation
865
940
  #
866
941
  class DeleteAutoScalingConfigurationRequest < Struct.new(
867
- :auto_scaling_configuration_arn)
942
+ :auto_scaling_configuration_arn,
943
+ :delete_all_revisions)
868
944
  SENSITIVE = []
869
945
  include Aws::Structure
870
946
  end
@@ -1819,6 +1895,62 @@ module Aws::AppRunner
1819
1895
  include Aws::Structure
1820
1896
  end
1821
1897
 
1898
+ # @!attribute [rw] auto_scaling_configuration_arn
1899
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
1900
+ # configuration that you want to list the services for.
1901
+ #
1902
+ # The ARN can be a full auto scaling configuration ARN, or a partial
1903
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
1904
+ # revision isn't specified, the latest active revision is used.
1905
+ # @return [String]
1906
+ #
1907
+ # @!attribute [rw] max_results
1908
+ # The maximum number of results to include in each response (result
1909
+ # page). It's used for a paginated request.
1910
+ #
1911
+ # If you don't specify `MaxResults`, the request retrieves all
1912
+ # available results in a single response.
1913
+ # @return [Integer]
1914
+ #
1915
+ # @!attribute [rw] next_token
1916
+ # A token from a previous result page. It's used for a paginated
1917
+ # request. The request retrieves the next result page. All other
1918
+ # parameter values must be identical to the ones specified in the
1919
+ # initial request.
1920
+ #
1921
+ # If you don't specify `NextToken`, the request retrieves the first
1922
+ # result page.
1923
+ # @return [String]
1924
+ #
1925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfigurationRequest AWS API Documentation
1926
+ #
1927
+ class ListServicesForAutoScalingConfigurationRequest < Struct.new(
1928
+ :auto_scaling_configuration_arn,
1929
+ :max_results,
1930
+ :next_token)
1931
+ SENSITIVE = []
1932
+ include Aws::Structure
1933
+ end
1934
+
1935
+ # @!attribute [rw] service_arn_list
1936
+ # A list of service ARN records. In a paginated request, the request
1937
+ # returns up to `MaxResults` records for each call.
1938
+ # @return [Array<String>]
1939
+ #
1940
+ # @!attribute [rw] next_token
1941
+ # The token that you can pass in a subsequent request to get the next
1942
+ # result page. It's returned in a paginated request.
1943
+ # @return [String]
1944
+ #
1945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfigurationResponse AWS API Documentation
1946
+ #
1947
+ class ListServicesForAutoScalingConfigurationResponse < Struct.new(
1948
+ :service_arn_list,
1949
+ :next_token)
1950
+ SENSITIVE = []
1951
+ include Aws::Structure
1952
+ end
1953
+
1822
1954
  # @!attribute [rw] next_token
1823
1955
  # A token from a previous result page. Used for a paginated request.
1824
1956
  # The request retrieves the next result page. All other parameter
@@ -2707,6 +2839,37 @@ module Aws::AppRunner
2707
2839
  #
2708
2840
  class UntagResourceResponse < Aws::EmptyStructure; end
2709
2841
 
2842
+ # @!attribute [rw] auto_scaling_configuration_arn
2843
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
2844
+ # configuration that you want to set as the default.
2845
+ #
2846
+ # The ARN can be a full auto scaling configuration ARN, or a partial
2847
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
2848
+ # revision isn't specified, the latest active revision is set as the
2849
+ # default.
2850
+ # @return [String]
2851
+ #
2852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfigurationRequest AWS API Documentation
2853
+ #
2854
+ class UpdateDefaultAutoScalingConfigurationRequest < Struct.new(
2855
+ :auto_scaling_configuration_arn)
2856
+ SENSITIVE = []
2857
+ include Aws::Structure
2858
+ end
2859
+
2860
+ # @!attribute [rw] auto_scaling_configuration
2861
+ # A description of the App Runner auto scaling configuration that was
2862
+ # set as default.
2863
+ # @return [Types::AutoScalingConfiguration]
2864
+ #
2865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfigurationResponse AWS API Documentation
2866
+ #
2867
+ class UpdateDefaultAutoScalingConfigurationResponse < Struct.new(
2868
+ :auto_scaling_configuration)
2869
+ SENSITIVE = []
2870
+ include Aws::Structure
2871
+ end
2872
+
2710
2873
  # @!attribute [rw] service_arn
2711
2874
  # The Amazon Resource Name (ARN) of the App Runner service that you
2712
2875
  # want to update.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-apprunner/customizations'
52
52
  # @!group service
53
53
  module Aws::AppRunner
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.29.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-apprunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-30 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core