aws-sdk-appconfig 1.50.0 → 1.52.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: 1644a525415b9a69b2c098459d557b2a4f8cad8566324eaa0c86014cb3acb4be
4
- data.tar.gz: 37fe6c3cf6cf519f01ef9daa16818c023ec298e55dcb0892e5953a3418859349
3
+ metadata.gz: 3b84e6e8705a319552773250ee298e4dd90e7997bf099c33ac22b160790c2ac1
4
+ data.tar.gz: 7c38a662ea23b180c9ca6e92835acd8e005b23bb07c39527af4a528b6ad1d156
5
5
  SHA512:
6
- metadata.gz: f2718afd8ca6b9f8a1bec33d8f55a5eedfa0c5d16e652e6d462960b8fbdce194c5f8e0d010acac85c7aa1563f31f6e1a82554d946f576a3a15670f445685f95d
7
- data.tar.gz: 4cffb75088d26f890d02ee92f467571c4d836fa3b11e62876ce1145a8b14cd7b92e61fc6d0a6f63b72cd2e36caaa84df403753305dd1571303bb33c6c1ca6b5f
6
+ metadata.gz: 215cb2e0d0fe3eb8d73ce134d7d8ce3bf3d91688a7515d3bfdd142ad4646cc545da17fe41d2e0a426a0d918d87c81d2b5ff5ad3b7b4a9e0322352ce5285bf4eb
7
+ data.tar.gz: 8a2a360073021b8aac049c05f1b5d9cfc8d8b2eebcde60bdd7aee67ec9e428a8a1ba9a7f2bb000d5af57b2c04ccb70a8f82dad5f8faf673ec6a089fc95a73511
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2024-08-28)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile.
8
+
9
+ 1.51.0 (2024-07-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.50.0 (2024-06-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -312,6 +312,15 @@ module Aws::AppConfig
312
312
  #
313
313
  # @option options [String] :session_token
314
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
315
324
  # @option options [Boolean] :stub_responses (false)
316
325
  # Causes the client to return stubbed responses. By default
317
326
  # fake responses are generated and returned. You can specify
@@ -1099,7 +1108,14 @@ module Aws::AppConfig
1099
1108
  end
1100
1109
 
1101
1110
  # Creates a new configuration in the AppConfig hosted configuration
1102
- # store.
1111
+ # store. If you're creating a feature flag, we recommend you
1112
+ # familiarize yourself with the JSON schema for feature flag data. For
1113
+ # more information, see [Type reference for
1114
+ # AWS.AppConfig.FeatureFlags][1] in the *AppConfig User Guide*.
1115
+ #
1116
+ #
1117
+ #
1118
+ # [1]: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile-feature-flags.html#appconfig-type-reference-feature-flags
1103
1119
  #
1104
1120
  # @option params [required, String] :application_id
1105
1121
  # The application ID.
@@ -1111,7 +1127,12 @@ module Aws::AppConfig
1111
1127
  # A description of the configuration.
1112
1128
  #
1113
1129
  # @option params [required, String, StringIO, File] :content
1114
- # The content of the configuration or the configuration data.
1130
+ # The configuration data, as bytes.
1131
+ #
1132
+ # <note markdown="1"> AppConfig accepts any type of data, including text formats like JSON
1133
+ # or TOML, or binary formats like protocol buffers or compressed data.
1134
+ #
1135
+ # </note>
1115
1136
  #
1116
1137
  # @option params [required, String] :content_type
1117
1138
  # A standard MIME type describing the format of the configuration
@@ -1198,8 +1219,7 @@ module Aws::AppConfig
1198
1219
  req.send_request(options)
1199
1220
  end
1200
1221
 
1201
- # Deletes an application. Deleting an application does not delete a
1202
- # configuration from a host.
1222
+ # Deletes an application.
1203
1223
  #
1204
1224
  # @option params [required, String] :application_id
1205
1225
  # The ID of the application to delete.
@@ -1230,8 +1250,14 @@ module Aws::AppConfig
1230
1250
  req.send_request(options)
1231
1251
  end
1232
1252
 
1233
- # Deletes a configuration profile. Deleting a configuration profile does
1234
- # not delete a configuration from a host.
1253
+ # Deletes a configuration profile.
1254
+ #
1255
+ # To prevent users from unintentionally deleting actively-used
1256
+ # configuration profiles, enable [deletion protection][1].
1257
+ #
1258
+ #
1259
+ #
1260
+ # [1]: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
1235
1261
  #
1236
1262
  # @option params [required, String] :application_id
1237
1263
  # The application ID that includes the configuration profile you want to
@@ -1240,6 +1266,32 @@ module Aws::AppConfig
1240
1266
  # @option params [required, String] :configuration_profile_id
1241
1267
  # The ID of the configuration profile you want to delete.
1242
1268
  #
1269
+ # @option params [String] :deletion_protection_check
1270
+ # A parameter to configure deletion protection. If enabled, deletion
1271
+ # protection prevents a user from deleting a configuration profile if
1272
+ # your application has called either [GetLatestConfiguration][1] or for
1273
+ # the configuration profile during the specified interval.
1274
+ #
1275
+ # This parameter supports the following values:
1276
+ #
1277
+ # * `BYPASS`: Instructs AppConfig to bypass the deletion protection
1278
+ # check and delete a configuration profile even if deletion protection
1279
+ # would have otherwise prevented it.
1280
+ #
1281
+ # * `APPLY`: Instructs the deletion protection check to run, even if
1282
+ # deletion protection is disabled at the account level. `APPLY` also
1283
+ # forces the deletion protection check to run against resources
1284
+ # created in the past hour, which are normally excluded from deletion
1285
+ # protection checks.
1286
+ #
1287
+ # * `ACCOUNT_DEFAULT`: The default setting, which instructs AppConfig to
1288
+ # implement the deletion protection value specified in the
1289
+ # `UpdateAccountSettings` API.
1290
+ #
1291
+ #
1292
+ #
1293
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1294
+ #
1243
1295
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1244
1296
  #
1245
1297
  #
@@ -1257,6 +1309,7 @@ module Aws::AppConfig
1257
1309
  # resp = client.delete_configuration_profile({
1258
1310
  # application_id: "Id", # required
1259
1311
  # configuration_profile_id: "Id", # required
1312
+ # deletion_protection_check: "ACCOUNT_DEFAULT", # accepts ACCOUNT_DEFAULT, APPLY, BYPASS
1260
1313
  # })
1261
1314
  #
1262
1315
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile AWS API Documentation
@@ -1268,8 +1321,7 @@ module Aws::AppConfig
1268
1321
  req.send_request(options)
1269
1322
  end
1270
1323
 
1271
- # Deletes a deployment strategy. Deleting a deployment strategy does not
1272
- # delete a configuration from a host.
1324
+ # Deletes a deployment strategy.
1273
1325
  #
1274
1326
  # @option params [required, String] :deployment_strategy_id
1275
1327
  # The ID of the deployment strategy you want to delete.
@@ -1300,15 +1352,47 @@ module Aws::AppConfig
1300
1352
  req.send_request(options)
1301
1353
  end
1302
1354
 
1303
- # Deletes an environment. Deleting an environment does not delete a
1304
- # configuration from a host.
1355
+ # Deletes an environment.
1356
+ #
1357
+ # To prevent users from unintentionally deleting actively-used
1358
+ # environments, enable [deletion protection][1].
1359
+ #
1360
+ #
1361
+ #
1362
+ # [1]: https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
1363
+ #
1364
+ # @option params [required, String] :environment_id
1365
+ # The ID of the environment that you want to delete.
1305
1366
  #
1306
1367
  # @option params [required, String] :application_id
1307
1368
  # The application ID that includes the environment that you want to
1308
1369
  # delete.
1309
1370
  #
1310
- # @option params [required, String] :environment_id
1311
- # The ID of the environment that you want to delete.
1371
+ # @option params [String] :deletion_protection_check
1372
+ # A parameter to configure deletion protection. If enabled, deletion
1373
+ # protection prevents a user from deleting an environment if your
1374
+ # application called either [GetLatestConfiguration][1] or in the
1375
+ # environment during the specified interval.
1376
+ #
1377
+ # This parameter supports the following values:
1378
+ #
1379
+ # * `BYPASS`: Instructs AppConfig to bypass the deletion protection
1380
+ # check and delete a configuration profile even if deletion protection
1381
+ # would have otherwise prevented it.
1382
+ #
1383
+ # * `APPLY`: Instructs the deletion protection check to run, even if
1384
+ # deletion protection is disabled at the account level. `APPLY` also
1385
+ # forces the deletion protection check to run against resources
1386
+ # created in the past hour, which are normally excluded from deletion
1387
+ # protection checks.
1388
+ #
1389
+ # * `ACCOUNT_DEFAULT`: The default setting, which instructs AppConfig to
1390
+ # implement the deletion protection value specified in the
1391
+ # `UpdateAccountSettings` API.
1392
+ #
1393
+ #
1394
+ #
1395
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1312
1396
  #
1313
1397
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1314
1398
  #
@@ -1325,8 +1409,9 @@ module Aws::AppConfig
1325
1409
  # @example Request syntax with placeholder values
1326
1410
  #
1327
1411
  # resp = client.delete_environment({
1328
- # application_id: "Id", # required
1329
1412
  # environment_id: "Id", # required
1413
+ # application_id: "Id", # required
1414
+ # deletion_protection_check: "ACCOUNT_DEFAULT", # accepts ACCOUNT_DEFAULT, APPLY, BYPASS
1330
1415
  # })
1331
1416
  #
1332
1417
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment AWS API Documentation
@@ -1433,6 +1518,27 @@ module Aws::AppConfig
1433
1518
  req.send_request(options)
1434
1519
  end
1435
1520
 
1521
+ # Returns information about the status of the `DeletionProtection`
1522
+ # parameter.
1523
+ #
1524
+ # @return [Types::AccountSettings] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1525
+ #
1526
+ # * {Types::AccountSettings#deletion_protection #deletion_protection} => Types::DeletionProtectionSettings
1527
+ #
1528
+ # @example Response structure
1529
+ #
1530
+ # resp.deletion_protection.enabled #=> Boolean
1531
+ # resp.deletion_protection.protection_period_in_minutes #=> Integer
1532
+ #
1533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetAccountSettings AWS API Documentation
1534
+ #
1535
+ # @overload get_account_settings(params = {})
1536
+ # @param [Hash] params ({})
1537
+ def get_account_settings(params = {}, options = {})
1538
+ req = build_request(:get_account_settings, params)
1539
+ req.send_request(options)
1540
+ end
1541
+
1436
1542
  # Retrieves information about an application.
1437
1543
  #
1438
1544
  # @option params [required, String] :application_id
@@ -1488,7 +1594,7 @@ module Aws::AppConfig
1488
1594
  # should use the [StartConfigurationSession][1] and
1489
1595
  # [GetLatestConfiguration][2] APIs instead.
1490
1596
  #
1491
- # * `GetConfiguration` is a priced call. For more information, see
1597
+ # * GetConfiguration is a priced call. For more information, see
1492
1598
  # [Pricing][3].
1493
1599
  #
1494
1600
  #
@@ -1516,24 +1622,24 @@ module Aws::AppConfig
1516
1622
  # defined in the deployment strategy.
1517
1623
  #
1518
1624
  # @option params [String] :client_configuration_version
1519
- # The configuration version returned in the most recent
1520
- # `GetConfiguration` response.
1625
+ # The configuration version returned in the most recent GetConfiguration
1626
+ # response.
1521
1627
  #
1522
1628
  # AppConfig uses the value of the `ClientConfigurationVersion` parameter
1523
1629
  # to identify the configuration version on your clients. If you don’t
1524
- # send `ClientConfigurationVersion` with each call to
1525
- # `GetConfiguration`, your clients receive the current configuration.
1526
- # You are charged each time your clients receive a configuration.
1630
+ # send `ClientConfigurationVersion` with each call to GetConfiguration,
1631
+ # your clients receive the current configuration. You are charged each
1632
+ # time your clients receive a configuration.
1527
1633
  #
1528
1634
  # To avoid excess charges, we recommend you use the
1529
1635
  # [StartConfigurationSession][1] and [GetLatestConfiguration][2] APIs,
1530
1636
  # which track the client configuration version on your behalf. If you
1531
- # choose to continue using `GetConfiguration`, we recommend that you
1637
+ # choose to continue using GetConfiguration, we recommend that you
1532
1638
  # include the `ClientConfigurationVersion` value with every call to
1533
- # `GetConfiguration`. The value to use for `ClientConfigurationVersion`
1639
+ # GetConfiguration. The value to use for `ClientConfigurationVersion`
1534
1640
  # comes from the `ConfigurationVersion` attribute returned by
1535
- # `GetConfiguration` when there is new or updated data, and should be
1536
- # saved for subsequent calls to `GetConfiguration`.
1641
+ # GetConfiguration when there is new or updated data, and should be
1642
+ # saved for subsequent calls to GetConfiguration.
1537
1643
  #
1538
1644
  # For more information about working with configurations, see
1539
1645
  # [Retrieving the Configuration][3] in the *AppConfig User Guide*.
@@ -3146,6 +3252,47 @@ module Aws::AppConfig
3146
3252
  req.send_request(options)
3147
3253
  end
3148
3254
 
3255
+ # Updates the value of the `DeletionProtection` parameter.
3256
+ #
3257
+ # @option params [Types::DeletionProtectionSettings] :deletion_protection
3258
+ # A parameter to configure deletion protection. If enabled, deletion
3259
+ # protection prevents a user from deleting a configuration profile or an
3260
+ # environment if AppConfig has called either [GetLatestConfiguration][1]
3261
+ # or for the configuration profile or from the environment during the
3262
+ # specified interval. Deletion protection is disabled by default. The
3263
+ # default interval for `ProtectionPeriodInMinutes` is 60.
3264
+ #
3265
+ #
3266
+ #
3267
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
3268
+ #
3269
+ # @return [Types::AccountSettings] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3270
+ #
3271
+ # * {Types::AccountSettings#deletion_protection #deletion_protection} => Types::DeletionProtectionSettings
3272
+ #
3273
+ # @example Request syntax with placeholder values
3274
+ #
3275
+ # resp = client.update_account_settings({
3276
+ # deletion_protection: {
3277
+ # enabled: false,
3278
+ # protection_period_in_minutes: 1,
3279
+ # },
3280
+ # })
3281
+ #
3282
+ # @example Response structure
3283
+ #
3284
+ # resp.deletion_protection.enabled #=> Boolean
3285
+ # resp.deletion_protection.protection_period_in_minutes #=> Integer
3286
+ #
3287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateAccountSettings AWS API Documentation
3288
+ #
3289
+ # @overload update_account_settings(params = {})
3290
+ # @param [Hash] params ({})
3291
+ def update_account_settings(params = {}, options = {})
3292
+ req = build_request(:update_account_settings, params)
3293
+ req.send_request(options)
3294
+ end
3295
+
3149
3296
  # Updates an application.
3150
3297
  #
3151
3298
  # @option params [required, String] :application_id
@@ -3273,7 +3420,7 @@ module Aws::AppConfig
3273
3420
  # resp = client.update_configuration_profile({
3274
3421
  # application_id: "Id", # required
3275
3422
  # configuration_profile_id: "Id", # required
3276
- # name: "Name",
3423
+ # name: "LongName",
3277
3424
  # description: "Description",
3278
3425
  # retrieval_role_arn: "RoleArn",
3279
3426
  # validators: [
@@ -3693,7 +3840,7 @@ module Aws::AppConfig
3693
3840
  params: params,
3694
3841
  config: config)
3695
3842
  context[:gem_name] = 'aws-sdk-appconfig'
3696
- context[:gem_version] = '1.50.0'
3843
+ context[:gem_version] = '1.52.0'
3697
3844
  Seahorse::Client::Request.new(handlers, context)
3698
3845
  end
3699
3846
 
@@ -13,6 +13,7 @@ module Aws::AppConfig
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
16
17
  Action = Shapes::StructureShape.new(name: 'Action')
17
18
  ActionInvocation = Shapes::StructureShape.new(name: 'ActionInvocation')
18
19
  ActionInvocations = Shapes::ListShape.new(name: 'ActionInvocations')
@@ -52,6 +53,9 @@ module Aws::AppConfig
52
53
  DeleteExtensionAssociationRequest = Shapes::StructureShape.new(name: 'DeleteExtensionAssociationRequest')
53
54
  DeleteExtensionRequest = Shapes::StructureShape.new(name: 'DeleteExtensionRequest')
54
55
  DeleteHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'DeleteHostedConfigurationVersionRequest')
56
+ DeletionProtectionCheck = Shapes::StringShape.new(name: 'DeletionProtectionCheck')
57
+ DeletionProtectionDuration = Shapes::IntegerShape.new(name: 'DeletionProtectionDuration')
58
+ DeletionProtectionSettings = Shapes::StructureShape.new(name: 'DeletionProtectionSettings')
55
59
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
56
60
  DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
57
61
  DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
@@ -146,6 +150,7 @@ module Aws::AppConfig
146
150
  TagValue = Shapes::StringShape.new(name: 'TagValue')
147
151
  TriggeredBy = Shapes::StringShape.new(name: 'TriggeredBy')
148
152
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
153
+ UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
149
154
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
150
155
  UpdateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationProfileRequest')
151
156
  UpdateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'UpdateDeploymentStrategyRequest')
@@ -161,6 +166,9 @@ module Aws::AppConfig
161
166
  Version = Shapes::StringShape.new(name: 'Version')
162
167
  VersionLabel = Shapes::StringShape.new(name: 'VersionLabel')
163
168
 
169
+ AccountSettings.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtectionSettings, location_name: "DeletionProtection"))
170
+ AccountSettings.struct_class = Types::AccountSettings
171
+
164
172
  Action.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
165
173
  Action.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
166
174
  Action.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, location_name: "Uri"))
@@ -313,13 +321,15 @@ module Aws::AppConfig
313
321
 
314
322
  DeleteConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
315
323
  DeleteConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
324
+ DeleteConfigurationProfileRequest.add_member(:deletion_protection_check, Shapes::ShapeRef.new(shape: DeletionProtectionCheck, location: "header", location_name: "x-amzn-deletion-protection-check"))
316
325
  DeleteConfigurationProfileRequest.struct_class = Types::DeleteConfigurationProfileRequest
317
326
 
318
327
  DeleteDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
319
328
  DeleteDeploymentStrategyRequest.struct_class = Types::DeleteDeploymentStrategyRequest
320
329
 
321
- DeleteEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
322
330
  DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
331
+ DeleteEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
332
+ DeleteEnvironmentRequest.add_member(:deletion_protection_check, Shapes::ShapeRef.new(shape: DeletionProtectionCheck, location: "header", location_name: "x-amzn-deletion-protection-check"))
323
333
  DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
324
334
 
325
335
  DeleteExtensionAssociationRequest.add_member(:extension_association_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ExtensionAssociationId"))
@@ -334,6 +344,10 @@ module Aws::AppConfig
334
344
  DeleteHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
335
345
  DeleteHostedConfigurationVersionRequest.struct_class = Types::DeleteHostedConfigurationVersionRequest
336
346
 
347
+ DeletionProtectionSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled", metadata: {"box"=>true}))
348
+ DeletionProtectionSettings.add_member(:protection_period_in_minutes, Shapes::ShapeRef.new(shape: DeletionProtectionDuration, location_name: "ProtectionPeriodInMinutes", metadata: {"box"=>true}))
349
+ DeletionProtectionSettings.struct_class = Types::DeletionProtectionSettings
350
+
337
351
  Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
338
352
  Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
339
353
  Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
@@ -647,6 +661,9 @@ module Aws::AppConfig
647
661
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
648
662
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
649
663
 
664
+ UpdateAccountSettingsRequest.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtectionSettings, location_name: "DeletionProtection"))
665
+ UpdateAccountSettingsRequest.struct_class = Types::UpdateAccountSettingsRequest
666
+
650
667
  UpdateApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
651
668
  UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
652
669
  UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -654,7 +671,7 @@ module Aws::AppConfig
654
671
 
655
672
  UpdateConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
656
673
  UpdateConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
657
- UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
674
+ UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: LongName, location_name: "Name"))
658
675
  UpdateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
659
676
  UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
660
677
  UpdateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
@@ -884,6 +901,16 @@ module Aws::AppConfig
884
901
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
885
902
  end)
886
903
 
904
+ api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "GetAccountSettings"
906
+ o.http_method = "GET"
907
+ o.http_request_uri = "/settings"
908
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
909
+ o.output = Shapes::ShapeRef.new(shape: AccountSettings)
910
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
911
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
912
+ end)
913
+
887
914
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
888
915
  o.name = "GetApplication"
889
916
  o.http_method = "GET"
@@ -1172,6 +1199,16 @@ module Aws::AppConfig
1172
1199
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1173
1200
  end)
1174
1201
 
1202
+ api.add_operation(:update_account_settings, Seahorse::Model::Operation.new.tap do |o|
1203
+ o.name = "UpdateAccountSettings"
1204
+ o.http_method = "PATCH"
1205
+ o.http_request_uri = "/settings"
1206
+ o.input = Shapes::ShapeRef.new(shape: UpdateAccountSettingsRequest)
1207
+ o.output = Shapes::ShapeRef.new(shape: AccountSettings)
1208
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1209
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1210
+ end)
1211
+
1175
1212
  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
1176
1213
  o.name = "UpdateApplication"
1177
1214
  o.http_method = "PATCH"
@@ -208,6 +208,20 @@ module Aws::AppConfig
208
208
  end
209
209
  end
210
210
 
211
+ class GetAccountSettings
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::AppConfig::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
211
225
  class GetApplication
212
226
  def self.build(context)
213
227
  unless context.config.regional_endpoint
@@ -516,6 +530,20 @@ module Aws::AppConfig
516
530
  end
517
531
  end
518
532
 
533
+ class UpdateAccountSettings
534
+ def self.build(context)
535
+ unless context.config.regional_endpoint
536
+ endpoint = context.config.endpoint.to_s
537
+ end
538
+ Aws::AppConfig::EndpointParameters.new(
539
+ region: context.config.region,
540
+ use_dual_stack: context.config.use_dualstack_endpoint,
541
+ use_fips: context.config.use_fips_endpoint,
542
+ endpoint: endpoint,
543
+ )
544
+ end
545
+ end
546
+
519
547
  class UpdateApplication
520
548
  def self.build(context)
521
549
  unless context.config.regional_endpoint
@@ -86,6 +86,8 @@ module Aws::AppConfig
86
86
  Aws::AppConfig::Endpoints::DeleteExtensionAssociation.build(context)
87
87
  when :delete_hosted_configuration_version
88
88
  Aws::AppConfig::Endpoints::DeleteHostedConfigurationVersion.build(context)
89
+ when :get_account_settings
90
+ Aws::AppConfig::Endpoints::GetAccountSettings.build(context)
89
91
  when :get_application
90
92
  Aws::AppConfig::Endpoints::GetApplication.build(context)
91
93
  when :get_configuration
@@ -130,6 +132,8 @@ module Aws::AppConfig
130
132
  Aws::AppConfig::Endpoints::TagResource.build(context)
131
133
  when :untag_resource
132
134
  Aws::AppConfig::Endpoints::UntagResource.build(context)
135
+ when :update_account_settings
136
+ Aws::AppConfig::Endpoints::UpdateAccountSettings.build(context)
133
137
  when :update_application
134
138
  Aws::AppConfig::Endpoints::UpdateApplication.build(context)
135
139
  when :update_configuration_profile
@@ -10,6 +10,28 @@
10
10
  module Aws::AppConfig
11
11
  module Types
12
12
 
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
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.
21
+ #
22
+ #
23
+ #
24
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
25
+ # @return [Types::DeletionProtectionSettings]
26
+ #
27
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/AccountSettings AWS API Documentation
28
+ #
29
+ class AccountSettings < Struct.new(
30
+ :deletion_protection)
31
+ SENSITIVE = []
32
+ include Aws::Structure
33
+ end
34
+
13
35
  # An action defines the tasks that the extension performs during the
14
36
  # AppConfig workflow. Each action includes an action point such as
15
37
  # `ON_CREATE_HOSTED_CONFIGURATION`, `PRE_DEPLOYMENT`, or
@@ -753,7 +775,12 @@ module Aws::AppConfig
753
775
  # @return [String]
754
776
  #
755
777
  # @!attribute [rw] content
756
- # The content of the configuration or the configuration data.
778
+ # The configuration data, as bytes.
779
+ #
780
+ # <note markdown="1"> AppConfig accepts any type of data, including text formats like JSON
781
+ # or TOML, or binary formats like protocol buffers or compressed data.
782
+ #
783
+ # </note>
757
784
  # @return [String]
758
785
  #
759
786
  # @!attribute [rw] content_type
@@ -814,11 +841,39 @@ module Aws::AppConfig
814
841
  # The ID of the configuration profile you want to delete.
815
842
  # @return [String]
816
843
  #
844
+ # @!attribute [rw] deletion_protection_check
845
+ # A parameter to configure deletion protection. If enabled, deletion
846
+ # protection prevents a user from deleting a configuration profile if
847
+ # your application has called either [GetLatestConfiguration][1] or
848
+ # for the configuration profile during the specified interval.
849
+ #
850
+ # This parameter supports the following values:
851
+ #
852
+ # * `BYPASS`: Instructs AppConfig to bypass the deletion protection
853
+ # check and delete a configuration profile even if deletion
854
+ # protection would have otherwise prevented it.
855
+ #
856
+ # * `APPLY`: Instructs the deletion protection check to run, even if
857
+ # deletion protection is disabled at the account level. `APPLY` also
858
+ # forces the deletion protection check to run against resources
859
+ # created in the past hour, which are normally excluded from
860
+ # deletion protection checks.
861
+ #
862
+ # * `ACCOUNT_DEFAULT`: The default setting, which instructs AppConfig
863
+ # to implement the deletion protection value specified in the
864
+ # `UpdateAccountSettings` API.
865
+ #
866
+ #
867
+ #
868
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
869
+ # @return [String]
870
+ #
817
871
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfileRequest AWS API Documentation
818
872
  #
819
873
  class DeleteConfigurationProfileRequest < Struct.new(
820
874
  :application_id,
821
- :configuration_profile_id)
875
+ :configuration_profile_id,
876
+ :deletion_protection_check)
822
877
  SENSITIVE = []
823
878
  include Aws::Structure
824
879
  end
@@ -835,20 +890,48 @@ module Aws::AppConfig
835
890
  include Aws::Structure
836
891
  end
837
892
 
893
+ # @!attribute [rw] environment_id
894
+ # The ID of the environment that you want to delete.
895
+ # @return [String]
896
+ #
838
897
  # @!attribute [rw] application_id
839
898
  # The application ID that includes the environment that you want to
840
899
  # delete.
841
900
  # @return [String]
842
901
  #
843
- # @!attribute [rw] environment_id
844
- # The ID of the environment that you want to delete.
902
+ # @!attribute [rw] deletion_protection_check
903
+ # A parameter to configure deletion protection. If enabled, deletion
904
+ # protection prevents a user from deleting an environment if your
905
+ # application called either [GetLatestConfiguration][1] or in the
906
+ # environment during the specified interval.
907
+ #
908
+ # This parameter supports the following values:
909
+ #
910
+ # * `BYPASS`: Instructs AppConfig to bypass the deletion protection
911
+ # check and delete a configuration profile even if deletion
912
+ # protection would have otherwise prevented it.
913
+ #
914
+ # * `APPLY`: Instructs the deletion protection check to run, even if
915
+ # deletion protection is disabled at the account level. `APPLY` also
916
+ # forces the deletion protection check to run against resources
917
+ # created in the past hour, which are normally excluded from
918
+ # deletion protection checks.
919
+ #
920
+ # * `ACCOUNT_DEFAULT`: The default setting, which instructs AppConfig
921
+ # to implement the deletion protection value specified in the
922
+ # `UpdateAccountSettings` API.
923
+ #
924
+ #
925
+ #
926
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
845
927
  # @return [String]
846
928
  #
847
929
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironmentRequest AWS API Documentation
848
930
  #
849
931
  class DeleteEnvironmentRequest < Struct.new(
932
+ :environment_id,
850
933
  :application_id,
851
- :environment_id)
934
+ :deletion_protection_check)
852
935
  SENSITIVE = []
853
936
  include Aws::Structure
854
937
  end
@@ -906,6 +989,51 @@ module Aws::AppConfig
906
989
  include Aws::Structure
907
990
  end
908
991
 
992
+ # A parameter to configure deletion protection. If enabled, deletion
993
+ # protection prevents a user from deleting a configuration profile or an
994
+ # environment if AppConfig has called either [GetLatestConfiguration][1]
995
+ # or for the configuration profile or from the environment during the
996
+ # specified interval.
997
+ #
998
+ # This setting uses the following default values:
999
+ #
1000
+ # * Deletion protection is disabled by default.
1001
+ #
1002
+ # * The default interval specified by `ProtectionPeriodInMinutes` is 60.
1003
+ #
1004
+ # * `DeletionProtectionCheck` skips configuration profiles and
1005
+ # environments that were created in the past hour.
1006
+ #
1007
+ #
1008
+ #
1009
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1010
+ #
1011
+ # @!attribute [rw] enabled
1012
+ # A parameter that indicates if deletion protection is enabled or not.
1013
+ # @return [Boolean]
1014
+ #
1015
+ # @!attribute [rw] protection_period_in_minutes
1016
+ # The time interval during which AppConfig monitors for calls to
1017
+ # [GetLatestConfiguration][1] or for a configuration profile or from
1018
+ # an environment. AppConfig returns an error if a user calls or for
1019
+ # the designated configuration profile or environment. To bypass the
1020
+ # error and delete a configuration profile or an environment, specify
1021
+ # `BYPASS` for the `DeletionProtectionCheck` parameter for either or .
1022
+ #
1023
+ #
1024
+ #
1025
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1026
+ # @return [Integer]
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeletionProtectionSettings AWS API Documentation
1029
+ #
1030
+ class DeletionProtectionSettings < Struct.new(
1031
+ :enabled,
1032
+ :protection_period_in_minutes)
1033
+ SENSITIVE = []
1034
+ include Aws::Structure
1035
+ end
1036
+
909
1037
  # @!attribute [rw] application_id
910
1038
  # The ID of the application that was deployed.
911
1039
  # @return [String]
@@ -1540,24 +1668,23 @@ module Aws::AppConfig
1540
1668
  #
1541
1669
  # @!attribute [rw] client_configuration_version
1542
1670
  # The configuration version returned in the most recent
1543
- # `GetConfiguration` response.
1671
+ # GetConfiguration response.
1544
1672
  #
1545
1673
  # AppConfig uses the value of the `ClientConfigurationVersion`
1546
1674
  # parameter to identify the configuration version on your clients. If
1547
1675
  # you don’t send `ClientConfigurationVersion` with each call to
1548
- # `GetConfiguration`, your clients receive the current configuration.
1676
+ # GetConfiguration, your clients receive the current configuration.
1549
1677
  # You are charged each time your clients receive a configuration.
1550
1678
  #
1551
1679
  # To avoid excess charges, we recommend you use the
1552
1680
  # [StartConfigurationSession][1] and [GetLatestConfiguration][2] APIs,
1553
1681
  # which track the client configuration version on your behalf. If you
1554
- # choose to continue using `GetConfiguration`, we recommend that you
1682
+ # choose to continue using GetConfiguration, we recommend that you
1555
1683
  # include the `ClientConfigurationVersion` value with every call to
1556
- # `GetConfiguration`. The value to use for
1557
- # `ClientConfigurationVersion` comes from the `ConfigurationVersion`
1558
- # attribute returned by `GetConfiguration` when there is new or
1559
- # updated data, and should be saved for subsequent calls to
1560
- # `GetConfiguration`.
1684
+ # GetConfiguration. The value to use for `ClientConfigurationVersion`
1685
+ # comes from the `ConfigurationVersion` attribute returned by
1686
+ # GetConfiguration when there is new or updated data, and should be
1687
+ # saved for subsequent calls to GetConfiguration.
1561
1688
  #
1562
1689
  # For more information about working with configurations, see
1563
1690
  # [Retrieving the Configuration][3] in the *AppConfig User Guide*.
@@ -2367,6 +2494,28 @@ module Aws::AppConfig
2367
2494
  include Aws::Structure
2368
2495
  end
2369
2496
 
2497
+ # @!attribute [rw] deletion_protection
2498
+ # A parameter to configure deletion protection. If enabled, deletion
2499
+ # protection prevents a user from deleting a configuration profile or
2500
+ # an environment if AppConfig has called either
2501
+ # [GetLatestConfiguration][1] or for the configuration profile or from
2502
+ # the environment during the specified interval. Deletion protection
2503
+ # is disabled by default. The default interval for
2504
+ # `ProtectionPeriodInMinutes` is 60.
2505
+ #
2506
+ #
2507
+ #
2508
+ # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
2509
+ # @return [Types::DeletionProtectionSettings]
2510
+ #
2511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateAccountSettingsRequest AWS API Documentation
2512
+ #
2513
+ class UpdateAccountSettingsRequest < Struct.new(
2514
+ :deletion_protection)
2515
+ SENSITIVE = []
2516
+ include Aws::Structure
2517
+ end
2518
+
2370
2519
  # @!attribute [rw] application_id
2371
2520
  # The application ID.
2372
2521
  # @return [String]
@@ -2614,7 +2763,12 @@ module Aws::AppConfig
2614
2763
  # validate your application configuration data, you provide a schema or
2615
2764
  # an Amazon Web Services Lambda function that runs against the
2616
2765
  # configuration. The configuration deployment or update can only proceed
2617
- # when the configuration data is valid.
2766
+ # when the configuration data is valid. For more information, see [About
2767
+ # validators][1] in the *AppConfig User Guide*.
2768
+ #
2769
+ #
2770
+ #
2771
+ # [1]: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-profile.html#appconfig-creating-configuration-and-profile-validators
2618
2772
  #
2619
2773
  # @!attribute [rw] type
2620
2774
  # AppConfig supports validators of type `JSON_SCHEMA` and `LAMBDA`
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appconfig/customizations'
52
52
  # @!group service
53
53
  module Aws::AppConfig
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -48,6 +48,7 @@ module Aws
48
48
  ?sdk_ua_app_id: String,
49
49
  ?secret_access_key: String,
50
50
  ?session_token: String,
51
+ ?sigv4a_signing_region_set: Array[String],
51
52
  ?stub_responses: untyped,
52
53
  ?token_provider: untyped,
53
54
  ?use_dualstack_endpoint: bool,
@@ -249,7 +250,8 @@ module Aws
249
250
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_configuration_profile-instance_method
250
251
  def delete_configuration_profile: (
251
252
  application_id: ::String,
252
- configuration_profile_id: ::String
253
+ configuration_profile_id: ::String,
254
+ ?deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
253
255
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
254
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
255
257
 
@@ -261,8 +263,9 @@ module Aws
261
263
 
262
264
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_environment-instance_method
263
265
  def delete_environment: (
266
+ environment_id: ::String,
264
267
  application_id: ::String,
265
- environment_id: ::String
268
+ ?deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
266
269
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
267
270
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
268
271
 
@@ -287,6 +290,14 @@ module Aws
287
290
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
288
291
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
289
292
 
293
+ interface _GetAccountSettingsResponseSuccess
294
+ include ::Seahorse::Client::_ResponseSuccess[Types::AccountSettings]
295
+ def deletion_protection: () -> Types::DeletionProtectionSettings
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_account_settings-instance_method
298
+ def get_account_settings: () -> _GetAccountSettingsResponseSuccess
299
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingsResponseSuccess
300
+
290
301
  interface _GetApplicationResponseSuccess
291
302
  include ::Seahorse::Client::_ResponseSuccess[Types::Application]
292
303
  def id: () -> ::String
@@ -656,6 +667,19 @@ module Aws
656
667
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
657
668
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
658
669
 
670
+ interface _UpdateAccountSettingsResponseSuccess
671
+ include ::Seahorse::Client::_ResponseSuccess[Types::AccountSettings]
672
+ def deletion_protection: () -> Types::DeletionProtectionSettings
673
+ end
674
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_account_settings-instance_method
675
+ def update_account_settings: (
676
+ ?deletion_protection: {
677
+ enabled: bool?,
678
+ protection_period_in_minutes: ::Integer?
679
+ }
680
+ ) -> _UpdateAccountSettingsResponseSuccess
681
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
682
+
659
683
  interface _UpdateApplicationResponseSuccess
660
684
  include ::Seahorse::Client::_ResponseSuccess[Types::Application]
661
685
  def id: () -> ::String
data/sig/resource.rbs CHANGED
@@ -48,6 +48,7 @@ module Aws
48
48
  ?sdk_ua_app_id: String,
49
49
  ?secret_access_key: String,
50
50
  ?session_token: String,
51
+ ?sigv4a_signing_region_set: Array[String],
51
52
  ?stub_responses: untyped,
52
53
  ?token_provider: untyped,
53
54
  ?use_dualstack_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -8,6 +8,11 @@
8
8
  module Aws::AppConfig
9
9
  module Types
10
10
 
11
+ class AccountSettings
12
+ attr_accessor deletion_protection: Types::DeletionProtectionSettings
13
+ SENSITIVE: []
14
+ end
15
+
11
16
  class Action
12
17
  attr_accessor name: ::String
13
18
  attr_accessor description: ::String
@@ -187,6 +192,7 @@ module Aws::AppConfig
187
192
  class DeleteConfigurationProfileRequest
188
193
  attr_accessor application_id: ::String
189
194
  attr_accessor configuration_profile_id: ::String
195
+ attr_accessor deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
190
196
  SENSITIVE: []
191
197
  end
192
198
 
@@ -196,8 +202,9 @@ module Aws::AppConfig
196
202
  end
197
203
 
198
204
  class DeleteEnvironmentRequest
199
- attr_accessor application_id: ::String
200
205
  attr_accessor environment_id: ::String
206
+ attr_accessor application_id: ::String
207
+ attr_accessor deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
201
208
  SENSITIVE: []
202
209
  end
203
210
 
@@ -219,6 +226,12 @@ module Aws::AppConfig
219
226
  SENSITIVE: []
220
227
  end
221
228
 
229
+ class DeletionProtectionSettings
230
+ attr_accessor enabled: bool
231
+ attr_accessor protection_period_in_minutes: ::Integer
232
+ SENSITIVE: []
233
+ end
234
+
222
235
  class Deployment
223
236
  attr_accessor application_id: ::String
224
237
  attr_accessor environment_id: ::String
@@ -592,6 +605,11 @@ module Aws::AppConfig
592
605
  SENSITIVE: []
593
606
  end
594
607
 
608
+ class UpdateAccountSettingsRequest
609
+ attr_accessor deletion_protection: Types::DeletionProtectionSettings
610
+ SENSITIVE: []
611
+ end
612
+
595
613
  class UpdateApplicationRequest
596
614
  attr_accessor application_id: ::String
597
615
  attr_accessor name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.52.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: 2024-06-28 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.199.0
22
+ version: 3.201.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.199.0
32
+ version: 3.201.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Amazon AppConfig (AppConfig). This gem is part
48
48
  of the AWS SDK for Ruby.
49
49
  email: