aws-sdk-backup 1.34.0 → 1.38.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +102 -38
- data/lib/aws-sdk-backup/client_api.rb +24 -0
- data/lib/aws-sdk-backup/types.rb +308 -48
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcc1060a1ec0c99a9fcda32215909a52674546bae65d5aebe751e21bccc52457
|
|
4
|
+
data.tar.gz: 20a2f3ed9891b6e23a2b91289412920d116d0b7faa8926520f94e6dfc66da3d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b3a700db416a2afba1ffd0fa64668d7aa6c8ca71fab6f24ddd2b7e3251ece39e3a4318cc2484f4b29a0d0026ed644d99456a51904fcd6a624c30f5b9e478b7a
|
|
7
|
+
data.tar.gz: c55e9381182edb5edd567227385ea2a229906368ab837e13ab329abfaa4d6523f456d4166e51695fdf4903479aa83fb241eb0f83113ccbe92cfd26459d2e7779
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.38.0 (2021-11-23)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds new opt-in settings for advanced features for DynamoDB backups
|
|
8
|
+
|
|
9
|
+
1.37.0 (2021-11-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AWS Backup SDK provides new options when scheduling backups: select supported services and resources that are assigned to a particular tag, linked to a combination of tags, or can be identified by a partial tag value, and exclude resources from their assignments.
|
|
13
|
+
|
|
14
|
+
1.36.0 (2021-11-04)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.35.0 (2021-10-18)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
4
24
|
1.34.0 (2021-10-07)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.38.0
|
|
@@ -275,6 +275,15 @@ module Aws::Backup
|
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
276
276
|
# requests are made, and retries are disabled.
|
|
277
277
|
#
|
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
280
|
+
# will be used if available.
|
|
281
|
+
#
|
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
285
|
+
# is set to `true`.
|
|
286
|
+
#
|
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
|
279
288
|
# When `true`, request parameters are validated before
|
|
280
289
|
# sending the request.
|
|
@@ -349,6 +358,9 @@ module Aws::Backup
|
|
|
349
358
|
# includes a `CreatorRequestId` that matches an existing backup plan,
|
|
350
359
|
# that plan is returned. This parameter is optional.
|
|
351
360
|
#
|
|
361
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
|
362
|
+
# characters.
|
|
363
|
+
#
|
|
352
364
|
# @return [Types::CreateBackupPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
353
365
|
#
|
|
354
366
|
# * {Types::CreateBackupPlanOutput#backup_plan_id #backup_plan_id} => String
|
|
@@ -424,35 +436,12 @@ module Aws::Backup
|
|
|
424
436
|
end
|
|
425
437
|
|
|
426
438
|
# Creates a JSON document that specifies a set of resources to assign to
|
|
427
|
-
# a backup plan.
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
# For example, consider the following patterns:
|
|
431
|
-
#
|
|
432
|
-
# * `Resources: "arn:aws:ec2:region:account-id:volume/volume-id"`
|
|
433
|
-
#
|
|
434
|
-
# * `ConditionKey:"department"`
|
|
435
|
-
#
|
|
436
|
-
# `ConditionValue:"finance"`
|
|
437
|
-
#
|
|
438
|
-
# `ConditionType:"StringEquals"`
|
|
439
|
-
#
|
|
440
|
-
# * `ConditionKey:"importance"`
|
|
439
|
+
# a backup plan. For examples, see [Assigning resources
|
|
440
|
+
# programmatically][1].
|
|
441
441
|
#
|
|
442
|
-
# `ConditionValue:"critical"`
|
|
443
442
|
#
|
|
444
|
-
# `ConditionType:"StringEquals"`
|
|
445
443
|
#
|
|
446
|
-
#
|
|
447
|
-
# (Amazon EBS) volumes that are tagged as `"department=finance"`,
|
|
448
|
-
# `"importance=critical"`, in addition to an EBS volume with the
|
|
449
|
-
# specified volume ID.
|
|
450
|
-
#
|
|
451
|
-
# Resources and conditions are additive in that all resources that match
|
|
452
|
-
# the pattern are selected. This shouldn't be confused with a logical
|
|
453
|
-
# AND, where all conditions must match. The matching patterns are
|
|
454
|
-
# logically put together using the OR operator. In other words, all
|
|
455
|
-
# patterns that match are selected for backup.
|
|
444
|
+
# [1]: https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json
|
|
456
445
|
#
|
|
457
446
|
# @option params [required, String] :backup_plan_id
|
|
458
447
|
# Uniquely identifies the backup plan to be associated with the
|
|
@@ -464,7 +453,11 @@ module Aws::Backup
|
|
|
464
453
|
#
|
|
465
454
|
# @option params [String] :creator_request_id
|
|
466
455
|
# A unique string that identifies the request and allows failed requests
|
|
467
|
-
# to be retried without the risk of running the operation twice.
|
|
456
|
+
# to be retried without the risk of running the operation twice. This
|
|
457
|
+
# parameter is optional.
|
|
458
|
+
#
|
|
459
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
|
460
|
+
# characters.
|
|
468
461
|
#
|
|
469
462
|
# @return [Types::CreateBackupSelectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
470
463
|
#
|
|
@@ -487,6 +480,33 @@ module Aws::Backup
|
|
|
487
480
|
# condition_value: "ConditionValue", # required
|
|
488
481
|
# },
|
|
489
482
|
# ],
|
|
483
|
+
# not_resources: ["ARN"],
|
|
484
|
+
# conditions: {
|
|
485
|
+
# string_equals: [
|
|
486
|
+
# {
|
|
487
|
+
# condition_key: "ConditionKey",
|
|
488
|
+
# condition_value: "ConditionValue",
|
|
489
|
+
# },
|
|
490
|
+
# ],
|
|
491
|
+
# string_not_equals: [
|
|
492
|
+
# {
|
|
493
|
+
# condition_key: "ConditionKey",
|
|
494
|
+
# condition_value: "ConditionValue",
|
|
495
|
+
# },
|
|
496
|
+
# ],
|
|
497
|
+
# string_like: [
|
|
498
|
+
# {
|
|
499
|
+
# condition_key: "ConditionKey",
|
|
500
|
+
# condition_value: "ConditionValue",
|
|
501
|
+
# },
|
|
502
|
+
# ],
|
|
503
|
+
# string_not_like: [
|
|
504
|
+
# {
|
|
505
|
+
# condition_key: "ConditionKey",
|
|
506
|
+
# condition_value: "ConditionValue",
|
|
507
|
+
# },
|
|
508
|
+
# ],
|
|
509
|
+
# },
|
|
490
510
|
# },
|
|
491
511
|
# creator_request_id: "string",
|
|
492
512
|
# })
|
|
@@ -532,7 +552,11 @@ module Aws::Backup
|
|
|
532
552
|
#
|
|
533
553
|
# @option params [String] :creator_request_id
|
|
534
554
|
# A unique string that identifies the request and allows failed requests
|
|
535
|
-
# to be retried without the risk of running the operation twice.
|
|
555
|
+
# to be retried without the risk of running the operation twice. This
|
|
556
|
+
# parameter is optional.
|
|
557
|
+
#
|
|
558
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
|
559
|
+
# characters.
|
|
536
560
|
#
|
|
537
561
|
# @return [Types::CreateBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
538
562
|
#
|
|
@@ -1350,11 +1374,14 @@ module Aws::Backup
|
|
|
1350
1374
|
# @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1351
1375
|
#
|
|
1352
1376
|
# * {Types::DescribeRegionSettingsOutput#resource_type_opt_in_preference #resource_type_opt_in_preference} => Hash<String,Boolean>
|
|
1377
|
+
# * {Types::DescribeRegionSettingsOutput#resource_type_management_preference #resource_type_management_preference} => Hash<String,Boolean>
|
|
1353
1378
|
#
|
|
1354
1379
|
# @example Response structure
|
|
1355
1380
|
#
|
|
1356
1381
|
# resp.resource_type_opt_in_preference #=> Hash
|
|
1357
1382
|
# resp.resource_type_opt_in_preference["ResourceType"] #=> Boolean
|
|
1383
|
+
# resp.resource_type_management_preference #=> Hash
|
|
1384
|
+
# resp.resource_type_management_preference["ResourceType"] #=> Boolean
|
|
1358
1385
|
#
|
|
1359
1386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings AWS API Documentation
|
|
1360
1387
|
#
|
|
@@ -1768,6 +1795,20 @@ module Aws::Backup
|
|
|
1768
1795
|
# resp.backup_selection.list_of_tags[0].condition_type #=> String, one of "STRINGEQUALS"
|
|
1769
1796
|
# resp.backup_selection.list_of_tags[0].condition_key #=> String
|
|
1770
1797
|
# resp.backup_selection.list_of_tags[0].condition_value #=> String
|
|
1798
|
+
# resp.backup_selection.not_resources #=> Array
|
|
1799
|
+
# resp.backup_selection.not_resources[0] #=> String
|
|
1800
|
+
# resp.backup_selection.conditions.string_equals #=> Array
|
|
1801
|
+
# resp.backup_selection.conditions.string_equals[0].condition_key #=> String
|
|
1802
|
+
# resp.backup_selection.conditions.string_equals[0].condition_value #=> String
|
|
1803
|
+
# resp.backup_selection.conditions.string_not_equals #=> Array
|
|
1804
|
+
# resp.backup_selection.conditions.string_not_equals[0].condition_key #=> String
|
|
1805
|
+
# resp.backup_selection.conditions.string_not_equals[0].condition_value #=> String
|
|
1806
|
+
# resp.backup_selection.conditions.string_like #=> Array
|
|
1807
|
+
# resp.backup_selection.conditions.string_like[0].condition_key #=> String
|
|
1808
|
+
# resp.backup_selection.conditions.string_like[0].condition_value #=> String
|
|
1809
|
+
# resp.backup_selection.conditions.string_not_like #=> Array
|
|
1810
|
+
# resp.backup_selection.conditions.string_not_like[0].condition_key #=> String
|
|
1811
|
+
# resp.backup_selection.conditions.string_not_like[0].condition_value #=> String
|
|
1771
1812
|
# resp.selection_id #=> String
|
|
1772
1813
|
# resp.backup_plan_id #=> String
|
|
1773
1814
|
# resp.creation_date #=> Time
|
|
@@ -2938,6 +2979,11 @@ module Aws::Backup
|
|
|
2938
2979
|
# maximum retention period for future backup and copy jobs that target a
|
|
2939
2980
|
# backup vault.
|
|
2940
2981
|
#
|
|
2982
|
+
# <note markdown="1"> Backup Vault Lock has yet to receive a third-party assessment for SEC
|
|
2983
|
+
# 17a-4(f) and CFTC.
|
|
2984
|
+
#
|
|
2985
|
+
# </note>
|
|
2986
|
+
#
|
|
2941
2987
|
# @option params [required, String] :backup_vault_name
|
|
2942
2988
|
# The Backup Vault Lock configuration that specifies the name of the
|
|
2943
2989
|
# backup vault it protects.
|
|
@@ -3039,22 +3085,27 @@ module Aws::Backup
|
|
|
3039
3085
|
# An array of events that indicate the status of jobs to back up
|
|
3040
3086
|
# resources to the backup vault.
|
|
3041
3087
|
#
|
|
3042
|
-
#
|
|
3088
|
+
# For common use cases and code samples, see [Using Amazon SNS to track
|
|
3089
|
+
# Backup events][1].
|
|
3043
3090
|
#
|
|
3044
|
-
#
|
|
3091
|
+
# The following events are supported:
|
|
3045
3092
|
#
|
|
3046
|
-
#
|
|
3093
|
+
# * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
|
|
3047
3094
|
#
|
|
3048
|
-
#
|
|
3049
|
-
# `RECOVERY_POINT_MODIFIED`.
|
|
3095
|
+
# * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
|
|
3050
3096
|
#
|
|
3051
|
-
#
|
|
3052
|
-
#
|
|
3097
|
+
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
|
3098
|
+
# `RECOVERY_POINT_MODIFIED`
|
|
3053
3099
|
#
|
|
3054
|
-
#
|
|
3100
|
+
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
|
|
3101
|
+
# the list above.
|
|
3055
3102
|
#
|
|
3056
3103
|
# </note>
|
|
3057
3104
|
#
|
|
3105
|
+
#
|
|
3106
|
+
#
|
|
3107
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
|
|
3108
|
+
#
|
|
3058
3109
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3059
3110
|
#
|
|
3060
3111
|
# @example Request syntax with placeholder values
|
|
@@ -3428,7 +3479,9 @@ module Aws::Backup
|
|
|
3428
3479
|
#
|
|
3429
3480
|
# @option params [required, Hash<String,String>] :tags
|
|
3430
3481
|
# Key-value pairs that are used to help organize your resources. You can
|
|
3431
|
-
# assign your own metadata to the resources you create.
|
|
3482
|
+
# assign your own metadata to the resources you create. For clarity,
|
|
3483
|
+
# this is the structure to assign tags:
|
|
3484
|
+
# `[\{"Key":"string","Value":"string"\}]`.
|
|
3432
3485
|
#
|
|
3433
3486
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3434
3487
|
#
|
|
@@ -3749,6 +3802,14 @@ module Aws::Backup
|
|
|
3749
3802
|
# Updates the list of services along with the opt-in preferences for the
|
|
3750
3803
|
# Region.
|
|
3751
3804
|
#
|
|
3805
|
+
# @option params [Hash<String,Boolean>] :resource_type_management_preference
|
|
3806
|
+
# Enables or disables [ Backup's advanced DynamoDB backup features][1]
|
|
3807
|
+
# for the Region.
|
|
3808
|
+
#
|
|
3809
|
+
#
|
|
3810
|
+
#
|
|
3811
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
|
3812
|
+
#
|
|
3752
3813
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3753
3814
|
#
|
|
3754
3815
|
# @example Request syntax with placeholder values
|
|
@@ -3757,6 +3818,9 @@ module Aws::Backup
|
|
|
3757
3818
|
# resource_type_opt_in_preference: {
|
|
3758
3819
|
# "ResourceType" => false,
|
|
3759
3820
|
# },
|
|
3821
|
+
# resource_type_management_preference: {
|
|
3822
|
+
# "ResourceType" => false,
|
|
3823
|
+
# },
|
|
3760
3824
|
# })
|
|
3761
3825
|
#
|
|
3762
3826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings AWS API Documentation
|
|
@@ -3857,7 +3921,7 @@ module Aws::Backup
|
|
|
3857
3921
|
params: params,
|
|
3858
3922
|
config: config)
|
|
3859
3923
|
context[:gem_name] = 'aws-sdk-backup'
|
|
3860
|
-
context[:gem_version] = '1.
|
|
3924
|
+
context[:gem_version] = '1.38.0'
|
|
3861
3925
|
Seahorse::Client::Request.new(handlers, context)
|
|
3862
3926
|
end
|
|
3863
3927
|
|
|
@@ -51,8 +51,11 @@ module Aws::Backup
|
|
|
51
51
|
ComplianceResourceIdList = Shapes::ListShape.new(name: 'ComplianceResourceIdList')
|
|
52
52
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
|
53
53
|
ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
|
|
54
|
+
ConditionParameter = Shapes::StructureShape.new(name: 'ConditionParameter')
|
|
55
|
+
ConditionParameters = Shapes::ListShape.new(name: 'ConditionParameters')
|
|
54
56
|
ConditionType = Shapes::StringShape.new(name: 'ConditionType')
|
|
55
57
|
ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
|
|
58
|
+
Conditions = Shapes::StructureShape.new(name: 'Conditions')
|
|
56
59
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
57
60
|
ControlInputParameter = Shapes::StructureShape.new(name: 'ControlInputParameter')
|
|
58
61
|
ControlInputParameters = Shapes::ListShape.new(name: 'ControlInputParameters')
|
|
@@ -208,6 +211,7 @@ module Aws::Backup
|
|
|
208
211
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
209
212
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
210
213
|
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
|
214
|
+
ResourceTypeManagementPreference = Shapes::MapShape.new(name: 'ResourceTypeManagementPreference')
|
|
211
215
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
|
212
216
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
|
213
217
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
|
@@ -353,6 +357,8 @@ module Aws::Backup
|
|
|
353
357
|
BackupSelection.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
|
354
358
|
BackupSelection.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "Resources"))
|
|
355
359
|
BackupSelection.add_member(:list_of_tags, Shapes::ShapeRef.new(shape: ListOfTags, location_name: "ListOfTags"))
|
|
360
|
+
BackupSelection.add_member(:not_resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "NotResources"))
|
|
361
|
+
BackupSelection.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
|
|
356
362
|
BackupSelection.struct_class = Types::BackupSelection
|
|
357
363
|
|
|
358
364
|
BackupSelectionsList.member = Shapes::ShapeRef.new(shape: BackupSelectionsListMember)
|
|
@@ -392,6 +398,18 @@ module Aws::Backup
|
|
|
392
398
|
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
|
393
399
|
Condition.struct_class = Types::Condition
|
|
394
400
|
|
|
401
|
+
ConditionParameter.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, location_name: "ConditionKey"))
|
|
402
|
+
ConditionParameter.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, location_name: "ConditionValue"))
|
|
403
|
+
ConditionParameter.struct_class = Types::ConditionParameter
|
|
404
|
+
|
|
405
|
+
ConditionParameters.member = Shapes::ShapeRef.new(shape: ConditionParameter)
|
|
406
|
+
|
|
407
|
+
Conditions.add_member(:string_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringEquals"))
|
|
408
|
+
Conditions.add_member(:string_not_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotEquals"))
|
|
409
|
+
Conditions.add_member(:string_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringLike"))
|
|
410
|
+
Conditions.add_member(:string_not_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotLike"))
|
|
411
|
+
Conditions.struct_class = Types::Conditions
|
|
412
|
+
|
|
395
413
|
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
|
396
414
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
|
397
415
|
ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
|
@@ -633,6 +651,7 @@ module Aws::Backup
|
|
|
633
651
|
DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
|
|
634
652
|
|
|
635
653
|
DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
|
654
|
+
DescribeRegionSettingsOutput.add_member(:resource_type_management_preference, Shapes::ShapeRef.new(shape: ResourceTypeManagementPreference, location_name: "ResourceTypeManagementPreference"))
|
|
636
655
|
DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
|
|
637
656
|
|
|
638
657
|
DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
|
|
@@ -1066,6 +1085,9 @@ module Aws::Backup
|
|
|
1066
1085
|
|
|
1067
1086
|
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
|
1068
1087
|
|
|
1088
|
+
ResourceTypeManagementPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
|
1089
|
+
ResourceTypeManagementPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
|
1090
|
+
|
|
1069
1091
|
ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
|
1070
1092
|
ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
|
1071
1093
|
|
|
@@ -1192,6 +1214,7 @@ module Aws::Backup
|
|
|
1192
1214
|
UpdateRecoveryPointLifecycleOutput.struct_class = Types::UpdateRecoveryPointLifecycleOutput
|
|
1193
1215
|
|
|
1194
1216
|
UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
|
1217
|
+
UpdateRegionSettingsInput.add_member(:resource_type_management_preference, Shapes::ShapeRef.new(shape: ResourceTypeManagementPreference, location_name: "ResourceTypeManagementPreference"))
|
|
1195
1218
|
UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
|
|
1196
1219
|
|
|
1197
1220
|
UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
|
@@ -2088,6 +2111,7 @@ module Aws::Backup
|
|
|
2088
2111
|
o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointLifecycleOutput)
|
|
2089
2112
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2090
2113
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
2091
2115
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
2092
2116
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2093
2117
|
end)
|
data/lib/aws-sdk-backup/types.rb
CHANGED
|
@@ -261,7 +261,8 @@ module Aws::Backup
|
|
|
261
261
|
# different selection of Amazon Web Services resources.
|
|
262
262
|
#
|
|
263
263
|
# @!attribute [rw] backup_plan_name
|
|
264
|
-
# The display name of a backup plan.
|
|
264
|
+
# The display name of a backup plan. Must contain 1 to 50 alphanumeric
|
|
265
|
+
# or '-\_.' characters.
|
|
265
266
|
# @return [String]
|
|
266
267
|
#
|
|
267
268
|
# @!attribute [rw] rules
|
|
@@ -329,7 +330,8 @@ module Aws::Backup
|
|
|
329
330
|
# }
|
|
330
331
|
#
|
|
331
332
|
# @!attribute [rw] backup_plan_name
|
|
332
|
-
# The
|
|
333
|
+
# The display name of a backup plan. Must contain 1 to 50 alphanumeric
|
|
334
|
+
# or '-\_.' characters.
|
|
333
335
|
# @return [String]
|
|
334
336
|
#
|
|
335
337
|
# @!attribute [rw] rules
|
|
@@ -410,7 +412,10 @@ module Aws::Backup
|
|
|
410
412
|
# @!attribute [rw] creator_request_id
|
|
411
413
|
# A unique string that identifies the request and allows failed
|
|
412
414
|
# requests to be retried without the risk of running the operation
|
|
413
|
-
# twice.
|
|
415
|
+
# twice. This parameter is optional.
|
|
416
|
+
#
|
|
417
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
418
|
+
# '-\_.' characters.
|
|
414
419
|
# @return [String]
|
|
415
420
|
#
|
|
416
421
|
# @!attribute [rw] last_execution_date
|
|
@@ -444,7 +449,8 @@ module Aws::Backup
|
|
|
444
449
|
# Specifies a scheduled task used to back up a selection of resources.
|
|
445
450
|
#
|
|
446
451
|
# @!attribute [rw] rule_name
|
|
447
|
-
#
|
|
452
|
+
# A display name for a backup rule. Must contain 1 to 50 alphanumeric
|
|
453
|
+
# or '-\_.' characters.
|
|
448
454
|
# @return [String]
|
|
449
455
|
#
|
|
450
456
|
# @!attribute [rw] target_backup_vault_name
|
|
@@ -456,11 +462,13 @@ module Aws::Backup
|
|
|
456
462
|
#
|
|
457
463
|
# @!attribute [rw] schedule_expression
|
|
458
464
|
# A cron expression in UTC specifying when Backup initiates a backup
|
|
459
|
-
# job. For more information about
|
|
460
|
-
# Expressions for Rules][1] in the *Amazon
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
465
|
+
# job. For more information about Amazon Web Services cron
|
|
466
|
+
# expressions, see [Schedule Expressions for Rules][1] in the *Amazon
|
|
467
|
+
# CloudWatch Events User Guide.*. Two examples of Amazon Web Services
|
|
468
|
+
# cron expressions are ` 15 * ? * * *` (take a backup every hour at 15
|
|
469
|
+
# minutes past the hour) and `0 12 * * ? *` (take a backup every day
|
|
470
|
+
# at 12 noon UTC). For a table of examples, click the preceding link
|
|
471
|
+
# and scroll down the page.
|
|
464
472
|
#
|
|
465
473
|
#
|
|
466
474
|
#
|
|
@@ -563,7 +571,8 @@ module Aws::Backup
|
|
|
563
571
|
# }
|
|
564
572
|
#
|
|
565
573
|
# @!attribute [rw] rule_name
|
|
566
|
-
#
|
|
574
|
+
# A display name for a backup rule. Must contain 1 to 50 alphanumeric
|
|
575
|
+
# or '-\_.' characters.
|
|
567
576
|
# @return [String]
|
|
568
577
|
#
|
|
569
578
|
# @!attribute [rw] target_backup_vault_name
|
|
@@ -653,10 +662,38 @@ module Aws::Backup
|
|
|
653
662
|
# condition_value: "ConditionValue", # required
|
|
654
663
|
# },
|
|
655
664
|
# ],
|
|
665
|
+
# not_resources: ["ARN"],
|
|
666
|
+
# conditions: {
|
|
667
|
+
# string_equals: [
|
|
668
|
+
# {
|
|
669
|
+
# condition_key: "ConditionKey",
|
|
670
|
+
# condition_value: "ConditionValue",
|
|
671
|
+
# },
|
|
672
|
+
# ],
|
|
673
|
+
# string_not_equals: [
|
|
674
|
+
# {
|
|
675
|
+
# condition_key: "ConditionKey",
|
|
676
|
+
# condition_value: "ConditionValue",
|
|
677
|
+
# },
|
|
678
|
+
# ],
|
|
679
|
+
# string_like: [
|
|
680
|
+
# {
|
|
681
|
+
# condition_key: "ConditionKey",
|
|
682
|
+
# condition_value: "ConditionValue",
|
|
683
|
+
# },
|
|
684
|
+
# ],
|
|
685
|
+
# string_not_like: [
|
|
686
|
+
# {
|
|
687
|
+
# condition_key: "ConditionKey",
|
|
688
|
+
# condition_value: "ConditionValue",
|
|
689
|
+
# },
|
|
690
|
+
# ],
|
|
691
|
+
# },
|
|
656
692
|
# }
|
|
657
693
|
#
|
|
658
694
|
# @!attribute [rw] selection_name
|
|
659
|
-
# The display name of a resource selection document.
|
|
695
|
+
# The display name of a resource selection document. Must contain 1 to
|
|
696
|
+
# 50 alphanumeric or '-\_.' characters.
|
|
660
697
|
# @return [String]
|
|
661
698
|
#
|
|
662
699
|
# @!attribute [rw] iam_role_arn
|
|
@@ -666,24 +703,67 @@ module Aws::Backup
|
|
|
666
703
|
# @return [String]
|
|
667
704
|
#
|
|
668
705
|
# @!attribute [rw] resources
|
|
669
|
-
#
|
|
670
|
-
#
|
|
706
|
+
# A list of Amazon Resource Names (ARNs) to assign to a backup plan.
|
|
707
|
+
# The maximum number of ARNs is 500 without wildcards, or 30 ARNs with
|
|
708
|
+
# wildcards.
|
|
709
|
+
#
|
|
710
|
+
# If you need to assign many resources to a backup plan, consider a
|
|
711
|
+
# different resource selection strategy, such as assigning all
|
|
712
|
+
# resources of a resource type or refining your resource selection
|
|
713
|
+
# using tags.
|
|
671
714
|
# @return [Array<String>]
|
|
672
715
|
#
|
|
673
716
|
# @!attribute [rw] list_of_tags
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
# \{"
|
|
677
|
-
#
|
|
717
|
+
# A list of conditions that you define to assign resources to your
|
|
718
|
+
# backup plans using tags. For example, `"StringEquals":
|
|
719
|
+
# \{"Department": "accounting"`. Condition operators are case
|
|
720
|
+
# sensitive.
|
|
721
|
+
#
|
|
722
|
+
# `ListOfTags` differs from `Conditions` as follows:
|
|
723
|
+
#
|
|
724
|
+
# * When you specify more than one condition, you assign all resources
|
|
725
|
+
# that match AT LEAST ONE condition (using OR logic).
|
|
726
|
+
#
|
|
727
|
+
# * `ListOfTags` only supports `StringEquals`. `Conditions` supports
|
|
728
|
+
# `StringEquals`, `StringLike`, `StringNotEquals`, and
|
|
729
|
+
# `StringNotLike`.
|
|
678
730
|
# @return [Array<Types::Condition>]
|
|
679
731
|
#
|
|
732
|
+
# @!attribute [rw] not_resources
|
|
733
|
+
# A list of Amazon Resource Names (ARNs) to exclude from a backup
|
|
734
|
+
# plan. The maximum number of ARNs is 500 without wildcards, or 30
|
|
735
|
+
# ARNs with wildcards.
|
|
736
|
+
#
|
|
737
|
+
# If you need to exclude many resources from a backup plan, consider a
|
|
738
|
+
# different resource selection strategy, such as assigning only one or
|
|
739
|
+
# a few resource types or refining your resource selection using tags.
|
|
740
|
+
# @return [Array<String>]
|
|
741
|
+
#
|
|
742
|
+
# @!attribute [rw] conditions
|
|
743
|
+
# A list of conditions that you define to assign resources to your
|
|
744
|
+
# backup plans using tags. For example, `"StringEquals":
|
|
745
|
+
# \{"Department": "accounting"`. Condition operators are case
|
|
746
|
+
# sensitive.
|
|
747
|
+
#
|
|
748
|
+
# `Conditions` differs from `ListOfTags` as follows:
|
|
749
|
+
#
|
|
750
|
+
# * When you specify more than one condition, you only assign the
|
|
751
|
+
# resources that match ALL conditions (using AND logic).
|
|
752
|
+
#
|
|
753
|
+
# * `Conditions` supports `StringEquals`, `StringLike`,
|
|
754
|
+
# `StringNotEquals`, and `StringNotLike`. `ListOfTags` only supports
|
|
755
|
+
# `StringEquals`.
|
|
756
|
+
# @return [Types::Conditions]
|
|
757
|
+
#
|
|
680
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
|
|
681
759
|
#
|
|
682
760
|
class BackupSelection < Struct.new(
|
|
683
761
|
:selection_name,
|
|
684
762
|
:iam_role_arn,
|
|
685
763
|
:resources,
|
|
686
|
-
:list_of_tags
|
|
764
|
+
:list_of_tags,
|
|
765
|
+
:not_resources,
|
|
766
|
+
:conditions)
|
|
687
767
|
SENSITIVE = []
|
|
688
768
|
include Aws::Structure
|
|
689
769
|
end
|
|
@@ -713,7 +793,10 @@ module Aws::Backup
|
|
|
713
793
|
# @!attribute [rw] creator_request_id
|
|
714
794
|
# A unique string that identifies the request and allows failed
|
|
715
795
|
# requests to be retried without the risk of running the operation
|
|
716
|
-
# twice.
|
|
796
|
+
# twice. This parameter is optional.
|
|
797
|
+
#
|
|
798
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
799
|
+
# '-\_.' characters.
|
|
717
800
|
# @return [String]
|
|
718
801
|
#
|
|
719
802
|
# @!attribute [rw] iam_role_arn
|
|
@@ -766,7 +849,10 @@ module Aws::Backup
|
|
|
766
849
|
# @!attribute [rw] creator_request_id
|
|
767
850
|
# A unique string that identifies the request and allows failed
|
|
768
851
|
# requests to be retried without the risk of running the operation
|
|
769
|
-
# twice.
|
|
852
|
+
# twice. This parameter is optional.
|
|
853
|
+
#
|
|
854
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
855
|
+
# '-\_.' characters.
|
|
770
856
|
# @return [String]
|
|
771
857
|
#
|
|
772
858
|
# @!attribute [rw] number_of_recovery_points
|
|
@@ -875,8 +961,8 @@ module Aws::Backup
|
|
|
875
961
|
end
|
|
876
962
|
|
|
877
963
|
# Contains an array of triplets made up of a condition type (such as
|
|
878
|
-
# `StringEquals`), a key, and a value.
|
|
879
|
-
#
|
|
964
|
+
# `StringEquals`), a key, and a value. Used to filter resources using
|
|
965
|
+
# their tags and assign them to a backup plan. Case sensitive.
|
|
880
966
|
#
|
|
881
967
|
# @note When making an API call, you may pass Condition
|
|
882
968
|
# data as a hash:
|
|
@@ -888,20 +974,25 @@ module Aws::Backup
|
|
|
888
974
|
# }
|
|
889
975
|
#
|
|
890
976
|
# @!attribute [rw] condition_type
|
|
891
|
-
# An operation
|
|
892
|
-
#
|
|
977
|
+
# An operation applied to a key-value pair used to assign resources to
|
|
978
|
+
# your backup plan. Condition only supports `StringEquals`. For more
|
|
979
|
+
# flexible assignment options, incluidng `StringLike` and the ability
|
|
980
|
+
# to exclude resources from your backup plan, use `Conditions` (with
|
|
981
|
+
# an "s" on the end) for your [ `BackupSelection` ][1].
|
|
982
|
+
#
|
|
983
|
+
#
|
|
984
|
+
#
|
|
985
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html
|
|
893
986
|
# @return [String]
|
|
894
987
|
#
|
|
895
988
|
# @!attribute [rw] condition_key
|
|
896
|
-
# The key in a key-value pair. For example, in
|
|
897
|
-
# `
|
|
898
|
-
# `"ec2:ResourceTag/Department"` is the key.
|
|
989
|
+
# The key in a key-value pair. For example, in the tag `Department:
|
|
990
|
+
# Accounting`, `Department` is the key.
|
|
899
991
|
# @return [String]
|
|
900
992
|
#
|
|
901
993
|
# @!attribute [rw] condition_value
|
|
902
|
-
# The value in a key-value pair. For example, in
|
|
903
|
-
#
|
|
904
|
-
# value.
|
|
994
|
+
# The value in a key-value pair. For example, in the tag `Department:
|
|
995
|
+
# Accounting`, `Accounting` is the value.
|
|
905
996
|
# @return [String]
|
|
906
997
|
#
|
|
907
998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Condition AWS API Documentation
|
|
@@ -914,6 +1005,104 @@ module Aws::Backup
|
|
|
914
1005
|
include Aws::Structure
|
|
915
1006
|
end
|
|
916
1007
|
|
|
1008
|
+
# Includes information about tags you define to assign tagged resources
|
|
1009
|
+
# to a backup plan.
|
|
1010
|
+
#
|
|
1011
|
+
# @note When making an API call, you may pass ConditionParameter
|
|
1012
|
+
# data as a hash:
|
|
1013
|
+
#
|
|
1014
|
+
# {
|
|
1015
|
+
# condition_key: "ConditionKey",
|
|
1016
|
+
# condition_value: "ConditionValue",
|
|
1017
|
+
# }
|
|
1018
|
+
#
|
|
1019
|
+
# @!attribute [rw] condition_key
|
|
1020
|
+
# The key in a key-value pair. For example, in the tag `Department:
|
|
1021
|
+
# Accounting`, `Department` is the key.
|
|
1022
|
+
# @return [String]
|
|
1023
|
+
#
|
|
1024
|
+
# @!attribute [rw] condition_value
|
|
1025
|
+
# The value in a key-value pair. For example, in the tag `Department:
|
|
1026
|
+
# Accounting`, `Accounting` is the value.
|
|
1027
|
+
# @return [String]
|
|
1028
|
+
#
|
|
1029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ConditionParameter AWS API Documentation
|
|
1030
|
+
#
|
|
1031
|
+
class ConditionParameter < Struct.new(
|
|
1032
|
+
:condition_key,
|
|
1033
|
+
:condition_value)
|
|
1034
|
+
SENSITIVE = []
|
|
1035
|
+
include Aws::Structure
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
# Contains information about which resources to include or exclude from
|
|
1039
|
+
# a backup plan using their tags. Conditions are case sensitive.
|
|
1040
|
+
#
|
|
1041
|
+
# @note When making an API call, you may pass Conditions
|
|
1042
|
+
# data as a hash:
|
|
1043
|
+
#
|
|
1044
|
+
# {
|
|
1045
|
+
# string_equals: [
|
|
1046
|
+
# {
|
|
1047
|
+
# condition_key: "ConditionKey",
|
|
1048
|
+
# condition_value: "ConditionValue",
|
|
1049
|
+
# },
|
|
1050
|
+
# ],
|
|
1051
|
+
# string_not_equals: [
|
|
1052
|
+
# {
|
|
1053
|
+
# condition_key: "ConditionKey",
|
|
1054
|
+
# condition_value: "ConditionValue",
|
|
1055
|
+
# },
|
|
1056
|
+
# ],
|
|
1057
|
+
# string_like: [
|
|
1058
|
+
# {
|
|
1059
|
+
# condition_key: "ConditionKey",
|
|
1060
|
+
# condition_value: "ConditionValue",
|
|
1061
|
+
# },
|
|
1062
|
+
# ],
|
|
1063
|
+
# string_not_like: [
|
|
1064
|
+
# {
|
|
1065
|
+
# condition_key: "ConditionKey",
|
|
1066
|
+
# condition_value: "ConditionValue",
|
|
1067
|
+
# },
|
|
1068
|
+
# ],
|
|
1069
|
+
# }
|
|
1070
|
+
#
|
|
1071
|
+
# @!attribute [rw] string_equals
|
|
1072
|
+
# Filters the values of your tagged resources for only those resources
|
|
1073
|
+
# that you tagged with the same value. Also called "exact matching."
|
|
1074
|
+
# @return [Array<Types::ConditionParameter>]
|
|
1075
|
+
#
|
|
1076
|
+
# @!attribute [rw] string_not_equals
|
|
1077
|
+
# Filters the values of your tagged resources for only those resources
|
|
1078
|
+
# that you tagged that do not have the same value. Also called
|
|
1079
|
+
# "negated matching."
|
|
1080
|
+
# @return [Array<Types::ConditionParameter>]
|
|
1081
|
+
#
|
|
1082
|
+
# @!attribute [rw] string_like
|
|
1083
|
+
# Filters the values of your tagged resources for matching tag values
|
|
1084
|
+
# with the use of a wildcard character (*) anywhere in the string.
|
|
1085
|
+
# For example, "prod*" or "*rod*" matches the tag value
|
|
1086
|
+
# "production".
|
|
1087
|
+
# @return [Array<Types::ConditionParameter>]
|
|
1088
|
+
#
|
|
1089
|
+
# @!attribute [rw] string_not_like
|
|
1090
|
+
# Filters the values of your tagged resources for non-matching tag
|
|
1091
|
+
# values with the use of a wildcard character (*) anywhere in the
|
|
1092
|
+
# string.
|
|
1093
|
+
# @return [Array<Types::ConditionParameter>]
|
|
1094
|
+
#
|
|
1095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Conditions AWS API Documentation
|
|
1096
|
+
#
|
|
1097
|
+
class Conditions < Struct.new(
|
|
1098
|
+
:string_equals,
|
|
1099
|
+
:string_not_equals,
|
|
1100
|
+
:string_like,
|
|
1101
|
+
:string_not_like)
|
|
1102
|
+
SENSITIVE = []
|
|
1103
|
+
include Aws::Structure
|
|
1104
|
+
end
|
|
1105
|
+
|
|
917
1106
|
# Backup can't perform the action that you requested until it finishes
|
|
918
1107
|
# performing a previous action. Try again later.
|
|
919
1108
|
#
|
|
@@ -972,9 +1161,11 @@ module Aws::Backup
|
|
|
972
1161
|
end
|
|
973
1162
|
|
|
974
1163
|
# A framework consists of one or more controls. Each control has its own
|
|
975
|
-
# control scope. The control scope
|
|
976
|
-
#
|
|
977
|
-
#
|
|
1164
|
+
# control scope. The control scope can include one or more resource
|
|
1165
|
+
# types, a combination of a tag key and value, or a combination of one
|
|
1166
|
+
# resource type and one resource ID. If no scope is specified,
|
|
1167
|
+
# evaluations for the rule are triggered when any resource in your
|
|
1168
|
+
# recording group changes in configuration.
|
|
978
1169
|
#
|
|
979
1170
|
# <note markdown="1"> To set a control scope that includes all of a particular resource,
|
|
980
1171
|
# leave the `ControlScope` empty or do not pass it when calling
|
|
@@ -1004,8 +1195,11 @@ module Aws::Backup
|
|
|
1004
1195
|
# @return [Array<String>]
|
|
1005
1196
|
#
|
|
1006
1197
|
# @!attribute [rw] tags
|
|
1007
|
-
#
|
|
1008
|
-
#
|
|
1198
|
+
# The tag key-value pair applied to those Amazon Web Services
|
|
1199
|
+
# resources that you want to trigger an evaluation for a rule. A
|
|
1200
|
+
# maximum of one key-value pair can be provided. The tag value is
|
|
1201
|
+
# optional, but it cannot be an empty string. The structure to assign
|
|
1202
|
+
# a tag is: `[\{"Key":"string","Value":"string"\}]`.
|
|
1009
1203
|
# @return [Hash<String,String>]
|
|
1010
1204
|
#
|
|
1011
1205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ControlScope AWS API Documentation
|
|
@@ -1230,6 +1424,9 @@ module Aws::Backup
|
|
|
1230
1424
|
# without the risk of running the operation twice. If the request
|
|
1231
1425
|
# includes a `CreatorRequestId` that matches an existing backup plan,
|
|
1232
1426
|
# that plan is returned. This parameter is optional.
|
|
1427
|
+
#
|
|
1428
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
1429
|
+
# '-\_.' characters.
|
|
1233
1430
|
# @return [String]
|
|
1234
1431
|
#
|
|
1235
1432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanInput AWS API Documentation
|
|
@@ -1298,6 +1495,33 @@ module Aws::Backup
|
|
|
1298
1495
|
# condition_value: "ConditionValue", # required
|
|
1299
1496
|
# },
|
|
1300
1497
|
# ],
|
|
1498
|
+
# not_resources: ["ARN"],
|
|
1499
|
+
# conditions: {
|
|
1500
|
+
# string_equals: [
|
|
1501
|
+
# {
|
|
1502
|
+
# condition_key: "ConditionKey",
|
|
1503
|
+
# condition_value: "ConditionValue",
|
|
1504
|
+
# },
|
|
1505
|
+
# ],
|
|
1506
|
+
# string_not_equals: [
|
|
1507
|
+
# {
|
|
1508
|
+
# condition_key: "ConditionKey",
|
|
1509
|
+
# condition_value: "ConditionValue",
|
|
1510
|
+
# },
|
|
1511
|
+
# ],
|
|
1512
|
+
# string_like: [
|
|
1513
|
+
# {
|
|
1514
|
+
# condition_key: "ConditionKey",
|
|
1515
|
+
# condition_value: "ConditionValue",
|
|
1516
|
+
# },
|
|
1517
|
+
# ],
|
|
1518
|
+
# string_not_like: [
|
|
1519
|
+
# {
|
|
1520
|
+
# condition_key: "ConditionKey",
|
|
1521
|
+
# condition_value: "ConditionValue",
|
|
1522
|
+
# },
|
|
1523
|
+
# ],
|
|
1524
|
+
# },
|
|
1301
1525
|
# },
|
|
1302
1526
|
# creator_request_id: "string",
|
|
1303
1527
|
# }
|
|
@@ -1315,7 +1539,10 @@ module Aws::Backup
|
|
|
1315
1539
|
# @!attribute [rw] creator_request_id
|
|
1316
1540
|
# A unique string that identifies the request and allows failed
|
|
1317
1541
|
# requests to be retried without the risk of running the operation
|
|
1318
|
-
# twice.
|
|
1542
|
+
# twice. This parameter is optional.
|
|
1543
|
+
#
|
|
1544
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
1545
|
+
# '-\_.' characters.
|
|
1319
1546
|
# @return [String]
|
|
1320
1547
|
#
|
|
1321
1548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelectionInput AWS API Documentation
|
|
@@ -1387,7 +1614,10 @@ module Aws::Backup
|
|
|
1387
1614
|
# @!attribute [rw] creator_request_id
|
|
1388
1615
|
# A unique string that identifies the request and allows failed
|
|
1389
1616
|
# requests to be retried without the risk of running the operation
|
|
1390
|
-
# twice.
|
|
1617
|
+
# twice. This parameter is optional.
|
|
1618
|
+
#
|
|
1619
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
|
1620
|
+
# '-\_.' characters.
|
|
1391
1621
|
# @return [String]
|
|
1392
1622
|
#
|
|
1393
1623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVaultInput AWS API Documentation
|
|
@@ -2577,10 +2807,20 @@ module Aws::Backup
|
|
|
2577
2807
|
# the Region.
|
|
2578
2808
|
# @return [Hash<String,Boolean>]
|
|
2579
2809
|
#
|
|
2810
|
+
# @!attribute [rw] resource_type_management_preference
|
|
2811
|
+
# Returns whether a DynamoDB recovery point was taken using [
|
|
2812
|
+
# Backup's advanced DynamoDB backup features][1].
|
|
2813
|
+
#
|
|
2814
|
+
#
|
|
2815
|
+
#
|
|
2816
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
|
2817
|
+
# @return [Hash<String,Boolean>]
|
|
2818
|
+
#
|
|
2580
2819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
|
|
2581
2820
|
#
|
|
2582
2821
|
class DescribeRegionSettingsOutput < Struct.new(
|
|
2583
|
-
:resource_type_opt_in_preference
|
|
2822
|
+
:resource_type_opt_in_preference,
|
|
2823
|
+
:resource_type_management_preference)
|
|
2584
2824
|
SENSITIVE = []
|
|
2585
2825
|
include Aws::Structure
|
|
2586
2826
|
end
|
|
@@ -4695,21 +4935,26 @@ module Aws::Backup
|
|
|
4695
4935
|
# An array of events that indicate the status of jobs to back up
|
|
4696
4936
|
# resources to the backup vault.
|
|
4697
4937
|
#
|
|
4698
|
-
#
|
|
4938
|
+
# For common use cases and code samples, see [Using Amazon SNS to
|
|
4939
|
+
# track Backup events][1].
|
|
4699
4940
|
#
|
|
4700
|
-
#
|
|
4941
|
+
# The following events are supported:
|
|
4701
4942
|
#
|
|
4702
|
-
#
|
|
4943
|
+
# * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
|
|
4703
4944
|
#
|
|
4704
|
-
#
|
|
4705
|
-
# `RECOVERY_POINT_MODIFIED`.
|
|
4945
|
+
# * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
|
|
4706
4946
|
#
|
|
4707
|
-
#
|
|
4708
|
-
#
|
|
4947
|
+
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
|
4948
|
+
# `RECOVERY_POINT_MODIFIED`
|
|
4709
4949
|
#
|
|
4710
|
-
#
|
|
4950
|
+
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer
|
|
4951
|
+
# to the list above.
|
|
4711
4952
|
#
|
|
4712
4953
|
# </note>
|
|
4954
|
+
#
|
|
4955
|
+
#
|
|
4956
|
+
#
|
|
4957
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
|
|
4713
4958
|
# @return [Array<String>]
|
|
4714
4959
|
#
|
|
4715
4960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotificationsInput AWS API Documentation
|
|
@@ -5772,7 +6017,9 @@ module Aws::Backup
|
|
|
5772
6017
|
#
|
|
5773
6018
|
# @!attribute [rw] tags
|
|
5774
6019
|
# Key-value pairs that are used to help organize your resources. You
|
|
5775
|
-
# can assign your own metadata to the resources you create.
|
|
6020
|
+
# can assign your own metadata to the resources you create. For
|
|
6021
|
+
# clarity, this is the structure to assign tags:
|
|
6022
|
+
# `[\{"Key":"string","Value":"string"\}]`.
|
|
5776
6023
|
# @return [Hash<String,String>]
|
|
5777
6024
|
#
|
|
5778
6025
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResourceInput AWS API Documentation
|
|
@@ -6122,6 +6369,9 @@ module Aws::Backup
|
|
|
6122
6369
|
# resource_type_opt_in_preference: {
|
|
6123
6370
|
# "ResourceType" => false,
|
|
6124
6371
|
# },
|
|
6372
|
+
# resource_type_management_preference: {
|
|
6373
|
+
# "ResourceType" => false,
|
|
6374
|
+
# },
|
|
6125
6375
|
# }
|
|
6126
6376
|
#
|
|
6127
6377
|
# @!attribute [rw] resource_type_opt_in_preference
|
|
@@ -6129,10 +6379,20 @@ module Aws::Backup
|
|
|
6129
6379
|
# the Region.
|
|
6130
6380
|
# @return [Hash<String,Boolean>]
|
|
6131
6381
|
#
|
|
6382
|
+
# @!attribute [rw] resource_type_management_preference
|
|
6383
|
+
# Enables or disables [ Backup's advanced DynamoDB backup
|
|
6384
|
+
# features][1] for the Region.
|
|
6385
|
+
#
|
|
6386
|
+
#
|
|
6387
|
+
#
|
|
6388
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
|
6389
|
+
# @return [Hash<String,Boolean>]
|
|
6390
|
+
#
|
|
6132
6391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
|
|
6133
6392
|
#
|
|
6134
6393
|
class UpdateRegionSettingsInput < Struct.new(
|
|
6135
|
-
:resource_type_opt_in_preference
|
|
6394
|
+
:resource_type_opt_in_preference,
|
|
6395
|
+
:resource_type_management_preference)
|
|
6136
6396
|
SENSITIVE = []
|
|
6137
6397
|
include Aws::Structure
|
|
6138
6398
|
end
|
data/lib/aws-sdk-backup.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-backup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.38.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: 2021-
|
|
11
|
+
date: 2021-11-23 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.
|
|
22
|
+
version: 3.122.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.122.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|