aws-sdk-appconfig 1.51.0 → 1.52.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: e6b6f1e2ff90fb9e5bd55a184c83c55b3ab00fcf218ddb1d83efbeaccf350cf2
4
- data.tar.gz: 9ac292c76f56f30aeb274e268f9e8f5d5a07cae603e82c4b714830fb94367f91
3
+ metadata.gz: 3b84e6e8705a319552773250ee298e4dd90e7997bf099c33ac22b160790c2ac1
4
+ data.tar.gz: 7c38a662ea23b180c9ca6e92835acd8e005b23bb07c39527af4a528b6ad1d156
5
5
  SHA512:
6
- metadata.gz: 71341932356f3ade9cd4b68e86a357b6289ed2160640632985dbda4360aa16dbf6f7c489acdd2595b78c883b88c86d715aa61a5041ac277b17e47572587519cb
7
- data.tar.gz: b9e18d1169f8ce682b880a48eaec5613b99603497978e9ef960a24d76664943b8f7a8f502d58f3a6b7176cce3ba1d785c137f7addcc972e91d1b55be3ae89090
6
+ metadata.gz: 215cb2e0d0fe3eb8d73ce134d7d8ce3bf3d91688a7515d3bfdd142ad4646cc545da17fe41d2e0a426a0d918d87c81d2b5ff5ad3b7b4a9e0322352ce5285bf4eb
7
+ data.tar.gz: 8a2a360073021b8aac049c05f1b5d9cfc8d8b2eebcde60bdd7aee67ec9e428a8a1ba9a7f2bb000d5af57b2c04ccb70a8f82dad5f8faf673ec6a089fc95a73511
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.51.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -1108,7 +1108,14 @@ module Aws::AppConfig
1108
1108
  end
1109
1109
 
1110
1110
  # Creates a new configuration in the AppConfig hosted configuration
1111
- # 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
1112
1119
  #
1113
1120
  # @option params [required, String] :application_id
1114
1121
  # The application ID.
@@ -1120,7 +1127,12 @@ module Aws::AppConfig
1120
1127
  # A description of the configuration.
1121
1128
  #
1122
1129
  # @option params [required, String, StringIO, File] :content
1123
- # 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>
1124
1136
  #
1125
1137
  # @option params [required, String] :content_type
1126
1138
  # A standard MIME type describing the format of the configuration
@@ -1207,8 +1219,7 @@ module Aws::AppConfig
1207
1219
  req.send_request(options)
1208
1220
  end
1209
1221
 
1210
- # Deletes an application. Deleting an application does not delete a
1211
- # configuration from a host.
1222
+ # Deletes an application.
1212
1223
  #
1213
1224
  # @option params [required, String] :application_id
1214
1225
  # The ID of the application to delete.
@@ -1239,8 +1250,14 @@ module Aws::AppConfig
1239
1250
  req.send_request(options)
1240
1251
  end
1241
1252
 
1242
- # Deletes a configuration profile. Deleting a configuration profile does
1243
- # 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
1244
1261
  #
1245
1262
  # @option params [required, String] :application_id
1246
1263
  # The application ID that includes the configuration profile you want to
@@ -1249,6 +1266,32 @@ module Aws::AppConfig
1249
1266
  # @option params [required, String] :configuration_profile_id
1250
1267
  # The ID of the configuration profile you want to delete.
1251
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
+ #
1252
1295
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1253
1296
  #
1254
1297
  #
@@ -1266,6 +1309,7 @@ module Aws::AppConfig
1266
1309
  # resp = client.delete_configuration_profile({
1267
1310
  # application_id: "Id", # required
1268
1311
  # configuration_profile_id: "Id", # required
1312
+ # deletion_protection_check: "ACCOUNT_DEFAULT", # accepts ACCOUNT_DEFAULT, APPLY, BYPASS
1269
1313
  # })
1270
1314
  #
1271
1315
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile AWS API Documentation
@@ -1277,8 +1321,7 @@ module Aws::AppConfig
1277
1321
  req.send_request(options)
1278
1322
  end
1279
1323
 
1280
- # Deletes a deployment strategy. Deleting a deployment strategy does not
1281
- # delete a configuration from a host.
1324
+ # Deletes a deployment strategy.
1282
1325
  #
1283
1326
  # @option params [required, String] :deployment_strategy_id
1284
1327
  # The ID of the deployment strategy you want to delete.
@@ -1309,15 +1352,47 @@ module Aws::AppConfig
1309
1352
  req.send_request(options)
1310
1353
  end
1311
1354
 
1312
- # Deletes an environment. Deleting an environment does not delete a
1313
- # 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.
1314
1366
  #
1315
1367
  # @option params [required, String] :application_id
1316
1368
  # The application ID that includes the environment that you want to
1317
1369
  # delete.
1318
1370
  #
1319
- # @option params [required, String] :environment_id
1320
- # 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
1321
1396
  #
1322
1397
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1323
1398
  #
@@ -1334,8 +1409,9 @@ module Aws::AppConfig
1334
1409
  # @example Request syntax with placeholder values
1335
1410
  #
1336
1411
  # resp = client.delete_environment({
1337
- # application_id: "Id", # required
1338
1412
  # environment_id: "Id", # required
1413
+ # application_id: "Id", # required
1414
+ # deletion_protection_check: "ACCOUNT_DEFAULT", # accepts ACCOUNT_DEFAULT, APPLY, BYPASS
1339
1415
  # })
1340
1416
  #
1341
1417
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment AWS API Documentation
@@ -1442,6 +1518,27 @@ module Aws::AppConfig
1442
1518
  req.send_request(options)
1443
1519
  end
1444
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
+
1445
1542
  # Retrieves information about an application.
1446
1543
  #
1447
1544
  # @option params [required, String] :application_id
@@ -1497,7 +1594,7 @@ module Aws::AppConfig
1497
1594
  # should use the [StartConfigurationSession][1] and
1498
1595
  # [GetLatestConfiguration][2] APIs instead.
1499
1596
  #
1500
- # * `GetConfiguration` is a priced call. For more information, see
1597
+ # * GetConfiguration is a priced call. For more information, see
1501
1598
  # [Pricing][3].
1502
1599
  #
1503
1600
  #
@@ -1525,24 +1622,24 @@ module Aws::AppConfig
1525
1622
  # defined in the deployment strategy.
1526
1623
  #
1527
1624
  # @option params [String] :client_configuration_version
1528
- # The configuration version returned in the most recent
1529
- # `GetConfiguration` response.
1625
+ # The configuration version returned in the most recent GetConfiguration
1626
+ # response.
1530
1627
  #
1531
1628
  # AppConfig uses the value of the `ClientConfigurationVersion` parameter
1532
1629
  # to identify the configuration version on your clients. If you don’t
1533
- # send `ClientConfigurationVersion` with each call to
1534
- # `GetConfiguration`, your clients receive the current configuration.
1535
- # 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.
1536
1633
  #
1537
1634
  # To avoid excess charges, we recommend you use the
1538
1635
  # [StartConfigurationSession][1] and [GetLatestConfiguration][2] APIs,
1539
1636
  # which track the client configuration version on your behalf. If you
1540
- # choose to continue using `GetConfiguration`, we recommend that you
1637
+ # choose to continue using GetConfiguration, we recommend that you
1541
1638
  # include the `ClientConfigurationVersion` value with every call to
1542
- # `GetConfiguration`. The value to use for `ClientConfigurationVersion`
1639
+ # GetConfiguration. The value to use for `ClientConfigurationVersion`
1543
1640
  # comes from the `ConfigurationVersion` attribute returned by
1544
- # `GetConfiguration` when there is new or updated data, and should be
1545
- # 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.
1546
1643
  #
1547
1644
  # For more information about working with configurations, see
1548
1645
  # [Retrieving the Configuration][3] in the *AppConfig User Guide*.
@@ -3155,6 +3252,47 @@ module Aws::AppConfig
3155
3252
  req.send_request(options)
3156
3253
  end
3157
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
+
3158
3296
  # Updates an application.
3159
3297
  #
3160
3298
  # @option params [required, String] :application_id
@@ -3282,7 +3420,7 @@ module Aws::AppConfig
3282
3420
  # resp = client.update_configuration_profile({
3283
3421
  # application_id: "Id", # required
3284
3422
  # configuration_profile_id: "Id", # required
3285
- # name: "Name",
3423
+ # name: "LongName",
3286
3424
  # description: "Description",
3287
3425
  # retrieval_role_arn: "RoleArn",
3288
3426
  # validators: [
@@ -3702,7 +3840,7 @@ module Aws::AppConfig
3702
3840
  params: params,
3703
3841
  config: config)
3704
3842
  context[:gem_name] = 'aws-sdk-appconfig'
3705
- context[:gem_version] = '1.51.0'
3843
+ context[:gem_version] = '1.52.0'
3706
3844
  Seahorse::Client::Request.new(handlers, context)
3707
3845
  end
3708
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.51.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -250,7 +250,8 @@ module Aws
250
250
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_configuration_profile-instance_method
251
251
  def delete_configuration_profile: (
252
252
  application_id: ::String,
253
- configuration_profile_id: ::String
253
+ configuration_profile_id: ::String,
254
+ ?deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
254
255
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
255
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
256
257
 
@@ -262,8 +263,9 @@ module Aws
262
263
 
263
264
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_environment-instance_method
264
265
  def delete_environment: (
266
+ environment_id: ::String,
265
267
  application_id: ::String,
266
- environment_id: ::String
268
+ ?deletion_protection_check: ("ACCOUNT_DEFAULT" | "APPLY" | "BYPASS")
267
269
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
268
270
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
269
271
 
@@ -288,6 +290,14 @@ module Aws
288
290
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
289
291
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
290
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
+
291
301
  interface _GetApplicationResponseSuccess
292
302
  include ::Seahorse::Client::_ResponseSuccess[Types::Application]
293
303
  def id: () -> ::String
@@ -657,6 +667,19 @@ module Aws
657
667
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
658
668
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
659
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
+
660
683
  interface _UpdateApplicationResponseSuccess
661
684
  include ::Seahorse::Client::_ResponseSuccess[Types::Application]
662
685
  def id: () -> ::String
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.51.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-07-02 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