aws-sdk-appconfig 1.64.0 → 1.66.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4382646e6397f8a605079390b053549b3564cf56380d0f8b1f325dffdfa61fc
4
- data.tar.gz: c5664ad062fb16881cb9681c08f73bcbd0faab9d51c0b902a03e7c3a6e84cfa3
3
+ metadata.gz: ec5dcf3bd68aef1619e6084dd9ce6211b7da6aeada63d0dffd86990ff3f55b8a
4
+ data.tar.gz: 6e46871aa503d47d352cef777c51149cd977ebe44ab13fffd8c0aa6a7f147272
5
5
  SHA512:
6
- metadata.gz: d53b20a9c824bcbfb169f11cce7293d20e9f4db1e9c12b5ea3e95a8adfb11a1cb6cedeee3ea65ed0b46f19e71ed42b380de09e5e165d95b38bfa502377e0282f
7
- data.tar.gz: efd39103b1c8aefbf637d69125cd85be8471ff8e3b033e38856c5ba7bc254531a4c82c322f4e2d09ae4bd9ef5c3873a6a5d463f4a590f05d93a8ef86ded4d772
6
+ metadata.gz: 179d25037936b4dc176682b795bbfa44162cc80fe0381aac3ae4d6d124bce442476fbcbf74ee440090de414f65eac2ec10738808cacaa4a3d389042b0204a96f
7
+ data.tar.gz: 3b638d22827e3ac6555daca95a450872f66861041b0aea6b065477aeb4908bea65bb073bc5f892b86c134b5c742a0ef5be084c6ed138238f8231a0585263b3d8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2025-05-12)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.65.0 (2025-05-01)
10
+ ------------------
11
+
12
+ * Feature - Adding waiter support for deployments and environments; documentation updates
13
+
4
14
  1.64.0 (2025-02-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.66.0
@@ -200,8 +200,7 @@ module Aws::AppConfig
200
200
  # accepted modes and the configuration defaults that are included.
201
201
  #
202
202
  # @option options [Boolean] :disable_host_prefix_injection (false)
203
- # Set to true to disable SDK automatically adding host prefix
204
- # to default service endpoint when available.
203
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
205
204
  #
206
205
  # @option options [Boolean] :disable_request_compression (false)
207
206
  # When set to 'true' the request body will not be compressed
@@ -608,9 +607,9 @@ module Aws::AppConfig
608
607
  # The ARN of an IAM role with permission to access the configuration at
609
608
  # the specified `LocationUri`.
610
609
  #
611
- # A retrieval role ARN is not required for configurations stored in the
612
- # AppConfig hosted configuration store. It is required for all other
613
- # sources that store your configuration.
610
+ # A retrieval role ARN is not required for configurations stored in
611
+ # CodePipeline or the AppConfig hosted configuration store. It is
612
+ # required for all other sources that store your configuration.
614
613
  #
615
614
  # @option params [Array<Types::Validator>] :validators
616
615
  # A list of methods for validating the configuration.
@@ -1312,10 +1311,10 @@ module Aws::AppConfig
1312
1311
  # The ID of the configuration profile you want to delete.
1313
1312
  #
1314
1313
  # @option params [String] :deletion_protection_check
1315
- # A parameter to configure deletion protection. If enabled, deletion
1316
- # protection prevents a user from deleting a configuration profile if
1317
- # your application has called either [GetLatestConfiguration][1] or for
1318
- # the configuration profile during the specified interval.
1314
+ # A parameter to configure deletion protection. Deletion protection
1315
+ # prevents a user from deleting a configuration profile if your
1316
+ # application has called either [GetLatestConfiguration][1] or for the
1317
+ # configuration profile during the specified interval.
1319
1318
  #
1320
1319
  # This parameter supports the following values:
1321
1320
  #
@@ -1414,10 +1413,10 @@ module Aws::AppConfig
1414
1413
  # delete.
1415
1414
  #
1416
1415
  # @option params [String] :deletion_protection_check
1417
- # A parameter to configure deletion protection. If enabled, deletion
1418
- # protection prevents a user from deleting an environment if your
1419
- # application called either [GetLatestConfiguration][1] or in the
1420
- # environment during the specified interval.
1416
+ # A parameter to configure deletion protection. Deletion protection
1417
+ # prevents a user from deleting an environment if your application
1418
+ # called either [GetLatestConfiguration][1] or in the environment during
1419
+ # the specified interval.
1421
1420
  #
1422
1421
  # This parameter supports the following values:
1423
1422
  #
@@ -1984,6 +1983,11 @@ module Aws::AppConfig
1984
1983
  # resp.kms_key_identifier #=> String
1985
1984
  # resp.version_label #=> String
1986
1985
  #
1986
+ #
1987
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1988
+ #
1989
+ # * deployment_complete
1990
+ #
1987
1991
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment AWS API Documentation
1988
1992
  #
1989
1993
  # @overload get_deployment(params = {})
@@ -2119,6 +2123,11 @@ module Aws::AppConfig
2119
2123
  # resp.monitors[0].alarm_arn #=> String
2120
2124
  # resp.monitors[0].alarm_role_arn #=> String
2121
2125
  #
2126
+ #
2127
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
2128
+ #
2129
+ # * environment_ready_for_deployment
2130
+ #
2122
2131
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment AWS API Documentation
2123
2132
  #
2124
2133
  # @overload get_environment(params = {})
@@ -3311,12 +3320,12 @@ module Aws::AppConfig
3311
3320
  # Updates the value of the `DeletionProtection` parameter.
3312
3321
  #
3313
3322
  # @option params [Types::DeletionProtectionSettings] :deletion_protection
3314
- # A parameter to configure deletion protection. If enabled, deletion
3315
- # protection prevents a user from deleting a configuration profile or an
3323
+ # A parameter to configure deletion protection. Deletion protection
3324
+ # prevents a user from deleting a configuration profile or an
3316
3325
  # environment if AppConfig has called either [GetLatestConfiguration][1]
3317
3326
  # or for the configuration profile or from the environment during the
3318
- # specified interval. Deletion protection is disabled by default. The
3319
- # default interval for `ProtectionPeriodInMinutes` is 60.
3327
+ # specified interval. The default interval for
3328
+ # `ProtectionPeriodInMinutes` is 60.
3320
3329
  #
3321
3330
  #
3322
3331
  #
@@ -3425,6 +3434,10 @@ module Aws::AppConfig
3425
3434
  # The ARN of an IAM role with permission to access the configuration at
3426
3435
  # the specified `LocationUri`.
3427
3436
  #
3437
+ # A retrieval role ARN is not required for configurations stored in
3438
+ # CodePipeline or the AppConfig hosted configuration store. It is
3439
+ # required for all other sources that store your configuration.
3440
+ #
3428
3441
  # @option params [Array<Types::Validator>] :validators
3429
3442
  # A list of methods for validating the configuration.
3430
3443
  #
@@ -3901,14 +3914,129 @@ module Aws::AppConfig
3901
3914
  tracer: tracer
3902
3915
  )
3903
3916
  context[:gem_name] = 'aws-sdk-appconfig'
3904
- context[:gem_version] = '1.64.0'
3917
+ context[:gem_version] = '1.66.0'
3905
3918
  Seahorse::Client::Request.new(handlers, context)
3906
3919
  end
3907
3920
 
3921
+ # Polls an API operation until a resource enters a desired state.
3922
+ #
3923
+ # ## Basic Usage
3924
+ #
3925
+ # A waiter will call an API operation until:
3926
+ #
3927
+ # * It is successful
3928
+ # * It enters a terminal state
3929
+ # * It makes the maximum number of attempts
3930
+ #
3931
+ # In between attempts, the waiter will sleep.
3932
+ #
3933
+ # # polls in a loop, sleeping between attempts
3934
+ # client.wait_until(waiter_name, params)
3935
+ #
3936
+ # ## Configuration
3937
+ #
3938
+ # You can configure the maximum number of polling attempts, and the
3939
+ # delay (in seconds) between each polling attempt. You can pass
3940
+ # configuration as the final arguments hash.
3941
+ #
3942
+ # # poll for ~25 seconds
3943
+ # client.wait_until(waiter_name, params, {
3944
+ # max_attempts: 5,
3945
+ # delay: 5,
3946
+ # })
3947
+ #
3948
+ # ## Callbacks
3949
+ #
3950
+ # You can be notified before each polling attempt and before each
3951
+ # delay. If you throw `:success` or `:failure` from these callbacks,
3952
+ # it will terminate the waiter.
3953
+ #
3954
+ # started_at = Time.now
3955
+ # client.wait_until(waiter_name, params, {
3956
+ #
3957
+ # # disable max attempts
3958
+ # max_attempts: nil,
3959
+ #
3960
+ # # poll for 1 hour, instead of a number of attempts
3961
+ # before_wait: -> (attempts, response) do
3962
+ # throw :failure if Time.now - started_at > 3600
3963
+ # end
3964
+ # })
3965
+ #
3966
+ # ## Handling Errors
3967
+ #
3968
+ # When a waiter is unsuccessful, it will raise an error.
3969
+ # All of the failure errors extend from
3970
+ # {Aws::Waiters::Errors::WaiterFailed}.
3971
+ #
3972
+ # begin
3973
+ # client.wait_until(...)
3974
+ # rescue Aws::Waiters::Errors::WaiterFailed
3975
+ # # resource did not enter the desired state in time
3976
+ # end
3977
+ #
3978
+ # ## Valid Waiters
3979
+ #
3980
+ # The following table lists the valid waiter names, the operations they call,
3981
+ # and the default `:delay` and `:max_attempts` values.
3982
+ #
3983
+ # | waiter_name | params | :delay | :max_attempts |
3984
+ # | -------------------------------- | ------------------------ | -------- | ------------- |
3985
+ # | deployment_complete | {Client#get_deployment} | 30 | 999 |
3986
+ # | environment_ready_for_deployment | {Client#get_environment} | 30 | 999 |
3987
+ #
3988
+ # @raise [Errors::FailureStateError] Raised when the waiter terminates
3989
+ # because the waiter has entered a state that it will not transition
3990
+ # out of, preventing success.
3991
+ #
3992
+ # @raise [Errors::TooManyAttemptsError] Raised when the configured
3993
+ # maximum number of attempts have been made, and the waiter is not
3994
+ # yet successful.
3995
+ #
3996
+ # @raise [Errors::UnexpectedError] Raised when an error is encounted
3997
+ # while polling for a resource that is not expected.
3998
+ #
3999
+ # @raise [Errors::NoSuchWaiterError] Raised when you request to wait
4000
+ # for an unknown state.
4001
+ #
4002
+ # @return [Boolean] Returns `true` if the waiter was successful.
4003
+ # @param [Symbol] waiter_name
4004
+ # @param [Hash] params ({})
4005
+ # @param [Hash] options ({})
4006
+ # @option options [Integer] :max_attempts
4007
+ # @option options [Integer] :delay
4008
+ # @option options [Proc] :before_attempt
4009
+ # @option options [Proc] :before_wait
4010
+ def wait_until(waiter_name, params = {}, options = {})
4011
+ w = waiter(waiter_name, options)
4012
+ yield(w.waiter) if block_given? # deprecated
4013
+ w.wait(params)
4014
+ end
4015
+
3908
4016
  # @api private
3909
4017
  # @deprecated
3910
4018
  def waiter_names
3911
- []
4019
+ waiters.keys
4020
+ end
4021
+
4022
+ private
4023
+
4024
+ # @param [Symbol] waiter_name
4025
+ # @param [Hash] options ({})
4026
+ def waiter(waiter_name, options = {})
4027
+ waiter_class = waiters[waiter_name]
4028
+ if waiter_class
4029
+ waiter_class.new(options.merge(client: self))
4030
+ else
4031
+ raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
4032
+ end
4033
+ end
4034
+
4035
+ def waiters
4036
+ {
4037
+ deployment_complete: Waiters::DeploymentComplete,
4038
+ environment_ready_for_deployment: Waiters::EnvironmentReadyForDeployment
4039
+ }
3912
4040
  end
3913
4041
 
3914
4042
  class << self
@@ -276,9 +276,9 @@ module Aws::AppConfig
276
276
 
277
277
  CreateDeploymentStrategyRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
278
278
  CreateDeploymentStrategyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
279
- CreateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, required: true, location_name: "DeploymentDurationInMinutes", metadata: {"box"=>true}))
279
+ CreateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, required: true, location_name: "DeploymentDurationInMinutes", metadata: {"box" => true}))
280
280
  CreateDeploymentStrategyRequest.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
281
- CreateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, required: true, location_name: "GrowthFactor", metadata: {"box"=>true}))
281
+ CreateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, required: true, location_name: "GrowthFactor", metadata: {"box" => true}))
282
282
  CreateDeploymentStrategyRequest.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
283
283
  CreateDeploymentStrategyRequest.add_member(:replicate_to, Shapes::ShapeRef.new(shape: ReplicateTo, location_name: "ReplicateTo"))
284
284
  CreateDeploymentStrategyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -292,7 +292,7 @@ module Aws::AppConfig
292
292
  CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
293
293
 
294
294
  CreateExtensionAssociationRequest.add_member(:extension_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ExtensionIdentifier"))
295
- CreateExtensionAssociationRequest.add_member(:extension_version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "ExtensionVersionNumber", metadata: {"box"=>true}))
295
+ CreateExtensionAssociationRequest.add_member(:extension_version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "ExtensionVersionNumber", metadata: {"box" => true}))
296
296
  CreateExtensionAssociationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "ResourceIdentifier"))
297
297
  CreateExtensionAssociationRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterValueMap, location_name: "Parameters"))
298
298
  CreateExtensionAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
@@ -303,7 +303,7 @@ module Aws::AppConfig
303
303
  CreateExtensionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionsMap, required: true, location_name: "Actions"))
304
304
  CreateExtensionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "Parameters"))
305
305
  CreateExtensionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
306
- CreateExtensionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box"=>true}))
306
+ CreateExtensionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box" => true}))
307
307
  CreateExtensionRequest.struct_class = Types::CreateExtensionRequest
308
308
 
309
309
  CreateHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
@@ -311,7 +311,7 @@ module Aws::AppConfig
311
311
  CreateHostedConfigurationVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
312
312
  CreateHostedConfigurationVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "Content"))
313
313
  CreateHostedConfigurationVersionRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, required: true, location: "header", location_name: "Content-Type"))
314
- CreateHostedConfigurationVersionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box"=>true}))
314
+ CreateHostedConfigurationVersionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box" => true}))
315
315
  CreateHostedConfigurationVersionRequest.add_member(:version_label, Shapes::ShapeRef.new(shape: VersionLabel, location: "header", location_name: "VersionLabel"))
316
316
  CreateHostedConfigurationVersionRequest.struct_class = Types::CreateHostedConfigurationVersionRequest
317
317
  CreateHostedConfigurationVersionRequest[:payload] = :content
@@ -337,7 +337,7 @@ module Aws::AppConfig
337
337
  DeleteExtensionAssociationRequest.struct_class = Types::DeleteExtensionAssociationRequest
338
338
 
339
339
  DeleteExtensionRequest.add_member(:extension_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "ExtensionIdentifier"))
340
- DeleteExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "version", metadata: {"box"=>true}))
340
+ DeleteExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "version", metadata: {"box" => true}))
341
341
  DeleteExtensionRequest.struct_class = Types::DeleteExtensionRequest
342
342
 
343
343
  DeleteHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
@@ -345,8 +345,8 @@ module Aws::AppConfig
345
345
  DeleteHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
346
346
  DeleteHostedConfigurationVersionRequest.struct_class = Types::DeleteHostedConfigurationVersionRequest
347
347
 
348
- DeletionProtectionSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled", metadata: {"box"=>true}))
349
- DeletionProtectionSettings.add_member(:protection_period_in_minutes, Shapes::ShapeRef.new(shape: DeletionProtectionDuration, location_name: "ProtectionPeriodInMinutes", metadata: {"box"=>true}))
348
+ DeletionProtectionSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled", metadata: {"box" => true}))
349
+ DeletionProtectionSettings.add_member(:protection_period_in_minutes, Shapes::ShapeRef.new(shape: DeletionProtectionDuration, location_name: "ProtectionPeriodInMinutes", metadata: {"box" => true}))
350
350
  DeletionProtectionSettings.struct_class = Types::DeletionProtectionSettings
351
351
 
352
352
  Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
@@ -492,7 +492,7 @@ module Aws::AppConfig
492
492
 
493
493
  GetDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
494
494
  GetDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
495
- GetDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box"=>true}))
495
+ GetDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box" => true}))
496
496
  GetDeploymentRequest.struct_class = Types::GetDeploymentRequest
497
497
 
498
498
  GetDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
@@ -506,7 +506,7 @@ module Aws::AppConfig
506
506
  GetExtensionAssociationRequest.struct_class = Types::GetExtensionAssociationRequest
507
507
 
508
508
  GetExtensionRequest.add_member(:extension_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "ExtensionIdentifier"))
509
- GetExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "version_number", metadata: {"box"=>true}))
509
+ GetExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "version_number", metadata: {"box" => true}))
510
510
  GetExtensionRequest.struct_class = Types::GetExtensionRequest
511
511
 
512
512
  GetHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
@@ -553,46 +553,46 @@ module Aws::AppConfig
553
553
 
554
554
  InvalidConfigurationDetailList.member = Shapes::ShapeRef.new(shape: InvalidConfigurationDetail)
555
555
 
556
- ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
556
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
557
557
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
558
558
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
559
559
 
560
560
  ListConfigurationProfilesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
561
- ListConfigurationProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
561
+ ListConfigurationProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
562
562
  ListConfigurationProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
563
563
  ListConfigurationProfilesRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location: "querystring", location_name: "type"))
564
564
  ListConfigurationProfilesRequest.struct_class = Types::ListConfigurationProfilesRequest
565
565
 
566
- ListDeploymentStrategiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
566
+ ListDeploymentStrategiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
567
567
  ListDeploymentStrategiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
568
568
  ListDeploymentStrategiesRequest.struct_class = Types::ListDeploymentStrategiesRequest
569
569
 
570
570
  ListDeploymentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
571
571
  ListDeploymentsRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
572
- ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
572
+ ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
573
573
  ListDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
574
574
  ListDeploymentsRequest.struct_class = Types::ListDeploymentsRequest
575
575
 
576
576
  ListEnvironmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
577
- ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
577
+ ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
578
578
  ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
579
579
  ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
580
580
 
581
581
  ListExtensionAssociationsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "resource_identifier"))
582
582
  ListExtensionAssociationsRequest.add_member(:extension_identifier, Shapes::ShapeRef.new(shape: Identifier, location: "querystring", location_name: "extension_identifier"))
583
- ListExtensionAssociationsRequest.add_member(:extension_version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "extension_version_number", metadata: {"box"=>true}))
584
- ListExtensionAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
583
+ ListExtensionAssociationsRequest.add_member(:extension_version_number, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "extension_version_number", metadata: {"box" => true}))
584
+ ListExtensionAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
585
585
  ListExtensionAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
586
586
  ListExtensionAssociationsRequest.struct_class = Types::ListExtensionAssociationsRequest
587
587
 
588
- ListExtensionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
588
+ ListExtensionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
589
589
  ListExtensionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
590
590
  ListExtensionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: QueryName, location: "querystring", location_name: "name"))
591
591
  ListExtensionsRequest.struct_class = Types::ListExtensionsRequest
592
592
 
593
593
  ListHostedConfigurationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
594
594
  ListHostedConfigurationVersionsRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
595
- ListHostedConfigurationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
595
+ ListHostedConfigurationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box" => true}))
596
596
  ListHostedConfigurationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
597
597
  ListHostedConfigurationVersionsRequest.add_member(:version_label, Shapes::ShapeRef.new(shape: QueryName, location: "querystring", location_name: "version_label"))
598
598
  ListHostedConfigurationVersionsRequest.struct_class = Types::ListHostedConfigurationVersionsRequest
@@ -646,8 +646,8 @@ module Aws::AppConfig
646
646
 
647
647
  StopDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
648
648
  StopDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
649
- StopDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box"=>true}))
650
- StopDeploymentRequest.add_member(:allow_revert, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "Allow-Revert", metadata: {"box"=>true}))
649
+ StopDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box" => true}))
650
+ StopDeploymentRequest.add_member(:allow_revert, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "Allow-Revert", metadata: {"box" => true}))
651
651
  StopDeploymentRequest.struct_class = Types::StopDeploymentRequest
652
652
 
653
653
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -682,9 +682,9 @@ module Aws::AppConfig
682
682
 
683
683
  UpdateDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
684
684
  UpdateDeploymentStrategyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
685
- UpdateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes", metadata: {"box"=>true}))
686
- UpdateDeploymentStrategyRequest.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes", metadata: {"box"=>true}))
687
- UpdateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, location_name: "GrowthFactor", metadata: {"box"=>true}))
685
+ UpdateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes", metadata: {"box" => true}))
686
+ UpdateDeploymentStrategyRequest.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes", metadata: {"box" => true}))
687
+ UpdateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, location_name: "GrowthFactor", metadata: {"box" => true}))
688
688
  UpdateDeploymentStrategyRequest.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
689
689
  UpdateDeploymentStrategyRequest.struct_class = Types::UpdateDeploymentStrategyRequest
690
690
 
@@ -703,7 +703,7 @@ module Aws::AppConfig
703
703
  UpdateExtensionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
704
704
  UpdateExtensionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: ActionsMap, location_name: "Actions"))
705
705
  UpdateExtensionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "Parameters"))
706
- UpdateExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "VersionNumber", metadata: {"box"=>true}))
706
+ UpdateExtensionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "VersionNumber", metadata: {"box" => true}))
707
707
  UpdateExtensionRequest.struct_class = Types::UpdateExtensionRequest
708
708
 
709
709
  ValidateConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
@@ -11,13 +11,12 @@ module Aws::AppConfig
11
11
  module Types
12
12
 
13
13
  # @!attribute [rw] deletion_protection
14
- # A parameter to configure deletion protection. If enabled, deletion
15
- # protection prevents a user from deleting a configuration profile or
16
- # an environment if AppConfig has called either
14
+ # A parameter to configure deletion protection. Deletion protection
15
+ # prevents a user from deleting a configuration profile or an
16
+ # environment if AppConfig has called either
17
17
  # [GetLatestConfiguration][1] or for the configuration profile or from
18
- # the environment during the specified interval. Deletion protection
19
- # is disabled by default. The default interval for
20
- # `ProtectionPeriodInMinutes` is 60.
18
+ # the environment during the specified interval. The default interval
19
+ # for `ProtectionPeriodInMinutes` is 60.
21
20
  #
22
21
  #
23
22
  #
@@ -505,8 +504,8 @@ module Aws::AppConfig
505
504
  # at the specified `LocationUri`.
506
505
  #
507
506
  # A retrieval role ARN is not required for configurations stored in
508
- # the AppConfig hosted configuration store. It is required for all
509
- # other sources that store your configuration.
507
+ # CodePipeline or the AppConfig hosted configuration store. It is
508
+ # required for all other sources that store your configuration.
510
509
  # @return [String]
511
510
  #
512
511
  # @!attribute [rw] validators
@@ -844,10 +843,10 @@ module Aws::AppConfig
844
843
  # @return [String]
845
844
  #
846
845
  # @!attribute [rw] deletion_protection_check
847
- # A parameter to configure deletion protection. If enabled, deletion
848
- # protection prevents a user from deleting a configuration profile if
849
- # your application has called either [GetLatestConfiguration][1] or
850
- # for the configuration profile during the specified interval.
846
+ # A parameter to configure deletion protection. Deletion protection
847
+ # prevents a user from deleting a configuration profile if your
848
+ # application has called either [GetLatestConfiguration][1] or for the
849
+ # configuration profile during the specified interval.
851
850
  #
852
851
  # This parameter supports the following values:
853
852
  #
@@ -902,10 +901,10 @@ module Aws::AppConfig
902
901
  # @return [String]
903
902
  #
904
903
  # @!attribute [rw] deletion_protection_check
905
- # A parameter to configure deletion protection. If enabled, deletion
906
- # protection prevents a user from deleting an environment if your
907
- # application called either [GetLatestConfiguration][1] or in the
908
- # environment during the specified interval.
904
+ # A parameter to configure deletion protection. Deletion protection
905
+ # prevents a user from deleting an environment if your application
906
+ # called either [GetLatestConfiguration][1] or in the environment
907
+ # during the specified interval.
909
908
  #
910
909
  # This parameter supports the following values:
911
910
  #
@@ -991,20 +990,15 @@ module Aws::AppConfig
991
990
  include Aws::Structure
992
991
  end
993
992
 
994
- # A parameter to configure deletion protection. If enabled, deletion
995
- # protection prevents a user from deleting a configuration profile or an
993
+ # A parameter to configure deletion protection. Deletion protection
994
+ # prevents a user from deleting a configuration profile or an
996
995
  # environment if AppConfig has called either [GetLatestConfiguration][1]
997
996
  # or for the configuration profile or from the environment during the
998
997
  # specified interval.
999
998
  #
1000
- # This setting uses the following default values:
1001
- #
1002
- # * Deletion protection is disabled by default.
1003
- #
1004
- # * The default interval specified by `ProtectionPeriodInMinutes` is 60.
1005
- #
1006
- # * `DeletionProtectionCheck` skips configuration profiles and
1007
- # environments that were created in the past hour.
999
+ # The default interval specified by `ProtectionPeriodInMinutes` is 60.
1000
+ # `DeletionProtectionCheck` skips configuration profiles and
1001
+ # environments that were created in the past hour.
1008
1002
  #
1009
1003
  #
1010
1004
  #
@@ -2436,7 +2430,7 @@ module Aws::AppConfig
2436
2430
  :tags,
2437
2431
  :kms_key_identifier,
2438
2432
  :dynamic_extension_parameters)
2439
- SENSITIVE = []
2433
+ SENSITIVE = [:dynamic_extension_parameters]
2440
2434
  include Aws::Structure
2441
2435
  end
2442
2436
 
@@ -2506,13 +2500,12 @@ module Aws::AppConfig
2506
2500
  end
2507
2501
 
2508
2502
  # @!attribute [rw] deletion_protection
2509
- # A parameter to configure deletion protection. If enabled, deletion
2510
- # protection prevents a user from deleting a configuration profile or
2511
- # an environment if AppConfig has called either
2503
+ # A parameter to configure deletion protection. Deletion protection
2504
+ # prevents a user from deleting a configuration profile or an
2505
+ # environment if AppConfig has called either
2512
2506
  # [GetLatestConfiguration][1] or for the configuration profile or from
2513
- # the environment during the specified interval. Deletion protection
2514
- # is disabled by default. The default interval for
2515
- # `ProtectionPeriodInMinutes` is 60.
2507
+ # the environment during the specified interval. The default interval
2508
+ # for `ProtectionPeriodInMinutes` is 60.
2516
2509
  #
2517
2510
  #
2518
2511
  #
@@ -2568,6 +2561,10 @@ module Aws::AppConfig
2568
2561
  # @!attribute [rw] retrieval_role_arn
2569
2562
  # The ARN of an IAM role with permission to access the configuration
2570
2563
  # at the specified `LocationUri`.
2564
+ #
2565
+ # A retrieval role ARN is not required for configurations stored in
2566
+ # CodePipeline or the AppConfig hosted configuration store. It is
2567
+ # required for all other sources that store your configuration.
2571
2568
  # @return [String]
2572
2569
  #
2573
2570
  # @!attribute [rw] validators
@@ -0,0 +1,177 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::AppConfig
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | -------------------------------- | ------------------------ | -------- | ------------- |
72
+ # | deployment_complete | {Client#get_deployment} | 30 | 999 |
73
+ # | environment_ready_for_deployment | {Client#get_environment} | 30 | 999 |
74
+ #
75
+ module Waiters
76
+
77
+ class DeploymentComplete
78
+
79
+ # @param [Hash] options
80
+ # @option options [required, Client] :client
81
+ # @option options [Integer] :max_attempts (999)
82
+ # @option options [Integer] :delay (30)
83
+ # @option options [Proc] :before_attempt
84
+ # @option options [Proc] :before_wait
85
+ def initialize(options)
86
+ @client = options.fetch(:client)
87
+ @waiter = Aws::Waiters::Waiter.new({
88
+ max_attempts: 999,
89
+ delay: 30,
90
+ poller: Aws::Waiters::Poller.new(
91
+ operation_name: :get_deployment,
92
+ acceptors: [
93
+ {
94
+ "state" => "success",
95
+ "matcher" => "path",
96
+ "argument" => "state",
97
+ "expected" => "COMPLETE"
98
+ },
99
+ {
100
+ "state" => "failure",
101
+ "matcher" => "path",
102
+ "argument" => "state",
103
+ "expected" => "ROLLED_BACK"
104
+ },
105
+ {
106
+ "state" => "failure",
107
+ "matcher" => "path",
108
+ "argument" => "state",
109
+ "expected" => "REVERTED"
110
+ }
111
+ ]
112
+ )
113
+ }.merge(options))
114
+ end
115
+
116
+ # @option (see Client#get_deployment)
117
+ # @return (see Client#get_deployment)
118
+ def wait(params = {})
119
+ @waiter.wait(client: @client, params: params)
120
+ end
121
+
122
+ # @api private
123
+ attr_reader :waiter
124
+
125
+ end
126
+
127
+ class EnvironmentReadyForDeployment
128
+
129
+ # @param [Hash] options
130
+ # @option options [required, Client] :client
131
+ # @option options [Integer] :max_attempts (999)
132
+ # @option options [Integer] :delay (30)
133
+ # @option options [Proc] :before_attempt
134
+ # @option options [Proc] :before_wait
135
+ def initialize(options)
136
+ @client = options.fetch(:client)
137
+ @waiter = Aws::Waiters::Waiter.new({
138
+ max_attempts: 999,
139
+ delay: 30,
140
+ poller: Aws::Waiters::Poller.new(
141
+ operation_name: :get_environment,
142
+ acceptors: [
143
+ {
144
+ "state" => "success",
145
+ "matcher" => "path",
146
+ "argument" => "state",
147
+ "expected" => "ReadyForDeployment"
148
+ },
149
+ {
150
+ "state" => "failure",
151
+ "matcher" => "path",
152
+ "argument" => "state",
153
+ "expected" => "RolledBack"
154
+ },
155
+ {
156
+ "state" => "failure",
157
+ "matcher" => "path",
158
+ "argument" => "state",
159
+ "expected" => "Reverted"
160
+ }
161
+ ]
162
+ )
163
+ }.merge(options))
164
+ end
165
+
166
+ # @option (see Client#get_environment)
167
+ # @return (see Client#get_environment)
168
+ def wait(params = {})
169
+ @waiter.wait(client: @client, params: params)
170
+ end
171
+
172
+ # @api private
173
+ attr_reader :waiter
174
+
175
+ end
176
+ end
177
+ end
@@ -49,12 +49,13 @@ module Aws::AppConfig
49
49
  end
50
50
  autoload :Client, 'aws-sdk-appconfig/client'
51
51
  autoload :Errors, 'aws-sdk-appconfig/errors'
52
+ autoload :Waiters, 'aws-sdk-appconfig/waiters'
52
53
  autoload :Resource, 'aws-sdk-appconfig/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-appconfig/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-appconfig/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-appconfig/endpoints'
56
57
 
57
- GEM_VERSION = '1.64.0'
58
+ GEM_VERSION = '1.66.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -829,6 +829,19 @@ module Aws
829
829
  configuration_version: ::String
830
830
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
831
831
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
832
+
833
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#wait_until-instance_method
834
+ def wait_until: (:deployment_complete waiter_name,
835
+ application_id: ::String,
836
+ environment_id: ::String,
837
+ deployment_number: ::Integer
838
+ ) -> Client::_GetDeploymentResponseSuccess
839
+ | (:deployment_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetDeploymentResponseSuccess
840
+ | (:environment_ready_for_deployment waiter_name,
841
+ application_id: ::String,
842
+ environment_id: ::String
843
+ ) -> Client::_GetEnvironmentResponseSuccess
844
+ | (:environment_ready_for_deployment waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetEnvironmentResponseSuccess
832
845
  end
833
846
  end
834
847
  end
data/sig/types.rbs CHANGED
@@ -583,7 +583,7 @@ module Aws::AppConfig
583
583
  attr_accessor tags: ::Hash[::String, ::String]
584
584
  attr_accessor kms_key_identifier: ::String
585
585
  attr_accessor dynamic_extension_parameters: ::Hash[::String, ::String]
586
- SENSITIVE: []
586
+ SENSITIVE: [:dynamic_extension_parameters]
587
587
  end
588
588
 
589
589
  class StopDeploymentRequest
data/sig/waiters.rbs CHANGED
@@ -8,6 +8,29 @@
8
8
  module Aws
9
9
  module AppConfig
10
10
  module Waiters
11
+
12
+ class DeploymentComplete
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ application_id: ::String,
18
+ environment_id: ::String,
19
+ deployment_number: ::Integer
20
+ ) -> Client::_GetDeploymentResponseSuccess
21
+ | (Hash[Symbol, untyped]) -> Client::_GetDeploymentResponseSuccess
22
+ end
23
+
24
+ class EnvironmentReadyForDeployment
25
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
26
+ | (?Hash[Symbol, untyped]) -> void
27
+
28
+ def wait: (
29
+ application_id: ::String,
30
+ environment_id: ::String
31
+ ) -> Client::_GetEnvironmentResponseSuccess
32
+ | (Hash[Symbol, untyped]) -> Client::_GetEnvironmentResponseSuccess
33
+ end
11
34
  end
12
35
  end
13
36
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.64.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -66,6 +65,7 @@ files:
66
65
  - lib/aws-sdk-appconfig/plugins/endpoints.rb
67
66
  - lib/aws-sdk-appconfig/resource.rb
68
67
  - lib/aws-sdk-appconfig/types.rb
68
+ - lib/aws-sdk-appconfig/waiters.rb
69
69
  - sig/client.rbs
70
70
  - sig/errors.rbs
71
71
  - sig/resource.rbs
@@ -77,7 +77,6 @@ licenses:
77
77
  metadata:
78
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appconfig
79
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appconfig/CHANGELOG.md
80
- post_install_message:
81
80
  rdoc_options: []
82
81
  require_paths:
83
82
  - lib
@@ -92,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
91
  - !ruby/object:Gem::Version
93
92
  version: '0'
94
93
  requirements: []
95
- rubygems_version: 3.4.10
96
- signing_key:
94
+ rubygems_version: 3.6.7
97
95
  specification_version: 4
98
96
  summary: AWS SDK for Ruby - AppConfig
99
97
  test_files: []