aws-sdk-backup 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a3555bf0c96c1e14ed15095b6f3a6c21c94cc660d1401bd4d40e869afda89ce
4
- data.tar.gz: 5a144051881626bc0981d647c92b2420e6082d5076c7181712b54610f5c58455
3
+ metadata.gz: fcc1060a1ec0c99a9fcda32215909a52674546bae65d5aebe751e21bccc52457
4
+ data.tar.gz: 20a2f3ed9891b6e23a2b91289412920d116d0b7faa8926520f94e6dfc66da3d5
5
5
  SHA512:
6
- metadata.gz: b607b1aaaeba6562d5b5d06f12098267c8e4651438ad9f5860b2746fb99e7a09516150ddcbcb347014560de41c0217f7f002cc67b98a5ebb07aa134c75c74e95
7
- data.tar.gz: 335020bc32527cab5d6d1d3ead57d2c7a60272476f2c269220e525cf5e2dbcbd5b0c7fe3816387f039ccb4aa2319855ac464e944114cc37a42bb46dc2edeae4e
6
+ metadata.gz: 0b3a700db416a2afba1ffd0fa64668d7aa6c8ca71fab6f24ddd2b7e3251ece39e3a4318cc2484f4b29a0d0026ed644d99456a51904fcd6a624c30f5b9e478b7a
7
+ data.tar.gz: c55e9381182edb5edd567227385ea2a229906368ab837e13ab329abfaa4d6523f456d4166e51695fdf4903479aa83fb241eb0f83113ccbe92cfd26459d2e7779
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.37.0 (2021-11-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -358,6 +358,9 @@ module Aws::Backup
358
358
  # includes a `CreatorRequestId` that matches an existing backup plan,
359
359
  # that plan is returned. This parameter is optional.
360
360
  #
361
+ # If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
362
+ # characters.
363
+ #
361
364
  # @return [Types::CreateBackupPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
362
365
  #
363
366
  # * {Types::CreateBackupPlanOutput#backup_plan_id #backup_plan_id} => String
@@ -433,35 +436,12 @@ module Aws::Backup
433
436
  end
434
437
 
435
438
  # Creates a JSON document that specifies a set of resources to assign to
436
- # a backup plan. Resources can be included by specifying patterns for a
437
- # `ListOfTags` and selected `Resources`.
438
- #
439
- # For example, consider the following patterns:
440
- #
441
- # * `Resources: "arn:aws:ec2:region:account-id:volume/volume-id"`
442
- #
443
- # * `ConditionKey:"department"`
444
- #
445
- # `ConditionValue:"finance"`
446
- #
447
- # `ConditionType:"StringEquals"`
439
+ # a backup plan. For examples, see [Assigning resources
440
+ # programmatically][1].
448
441
  #
449
- # * `ConditionKey:"importance"`
450
442
  #
451
- # `ConditionValue:"critical"`
452
443
  #
453
- # `ConditionType:"StringEquals"`
454
- #
455
- # Using these patterns would back up all Amazon Elastic Block Store
456
- # (Amazon EBS) volumes that are tagged as `"department=finance"`,
457
- # `"importance=critical"`, in addition to an EBS volume with the
458
- # specified volume ID.
459
- #
460
- # Resources and conditions are additive in that all resources that match
461
- # the pattern are selected. This shouldn't be confused with a logical
462
- # AND, where all conditions must match. The matching patterns are
463
- # logically put together using the OR operator. In other words, all
464
- # patterns that match are selected for backup.
444
+ # [1]: https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json
465
445
  #
466
446
  # @option params [required, String] :backup_plan_id
467
447
  # Uniquely identifies the backup plan to be associated with the
@@ -473,7 +453,11 @@ module Aws::Backup
473
453
  #
474
454
  # @option params [String] :creator_request_id
475
455
  # A unique string that identifies the request and allows failed requests
476
- # 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.
477
461
  #
478
462
  # @return [Types::CreateBackupSelectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
479
463
  #
@@ -568,7 +552,11 @@ module Aws::Backup
568
552
  #
569
553
  # @option params [String] :creator_request_id
570
554
  # A unique string that identifies the request and allows failed requests
571
- # 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.
572
560
  #
573
561
  # @return [Types::CreateBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
574
562
  #
@@ -1386,11 +1374,14 @@ module Aws::Backup
1386
1374
  # @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1387
1375
  #
1388
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>
1389
1378
  #
1390
1379
  # @example Response structure
1391
1380
  #
1392
1381
  # resp.resource_type_opt_in_preference #=> Hash
1393
1382
  # resp.resource_type_opt_in_preference["ResourceType"] #=> Boolean
1383
+ # resp.resource_type_management_preference #=> Hash
1384
+ # resp.resource_type_management_preference["ResourceType"] #=> Boolean
1394
1385
  #
1395
1386
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings AWS API Documentation
1396
1387
  #
@@ -2988,6 +2979,11 @@ module Aws::Backup
2988
2979
  # maximum retention period for future backup and copy jobs that target a
2989
2980
  # backup vault.
2990
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
+ #
2991
2987
  # @option params [required, String] :backup_vault_name
2992
2988
  # The Backup Vault Lock configuration that specifies the name of the
2993
2989
  # backup vault it protects.
@@ -3089,22 +3085,27 @@ module Aws::Backup
3089
3085
  # An array of events that indicate the status of jobs to back up
3090
3086
  # resources to the backup vault.
3091
3087
  #
3092
- # <note markdown="1"> The following events are supported:
3088
+ # For common use cases and code samples, see [Using Amazon SNS to track
3089
+ # Backup events][1].
3093
3090
  #
3094
- # `BACKUP_JOB_STARTED`, `BACKUP_JOB_COMPLETED`,
3091
+ # The following events are supported:
3095
3092
  #
3096
- # `COPY_JOB_STARTED`, `COPY_JOB_SUCCESSFUL`, `COPY_JOB_FAILED`,
3093
+ # * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
3097
3094
  #
3098
- # `RESTORE_JOB_STARTED`, `RESTORE_JOB_COMPLETED`, and
3099
- # `RECOVERY_POINT_MODIFIED`.
3095
+ # * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
3100
3096
  #
3101
- # To find failed backup jobs, use `BACKUP_JOB_COMPLETED` and filter
3102
- # using event metadata.
3097
+ # * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
3098
+ # `RECOVERY_POINT_MODIFIED`
3103
3099
  #
3104
- # Other events in the following list are deprecated.
3100
+ # <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
3101
+ # the list above.
3105
3102
  #
3106
3103
  # </note>
3107
3104
  #
3105
+ #
3106
+ #
3107
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
3108
+ #
3108
3109
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3109
3110
  #
3110
3111
  # @example Request syntax with placeholder values
@@ -3478,7 +3479,9 @@ module Aws::Backup
3478
3479
  #
3479
3480
  # @option params [required, Hash<String,String>] :tags
3480
3481
  # Key-value pairs that are used to help organize your resources. You can
3481
- # 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"\}]`.
3482
3485
  #
3483
3486
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3484
3487
  #
@@ -3799,6 +3802,14 @@ module Aws::Backup
3799
3802
  # Updates the list of services along with the opt-in preferences for the
3800
3803
  # Region.
3801
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
+ #
3802
3813
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3803
3814
  #
3804
3815
  # @example Request syntax with placeholder values
@@ -3807,6 +3818,9 @@ module Aws::Backup
3807
3818
  # resource_type_opt_in_preference: {
3808
3819
  # "ResourceType" => false,
3809
3820
  # },
3821
+ # resource_type_management_preference: {
3822
+ # "ResourceType" => false,
3823
+ # },
3810
3824
  # })
3811
3825
  #
3812
3826
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings AWS API Documentation
@@ -3907,7 +3921,7 @@ module Aws::Backup
3907
3921
  params: params,
3908
3922
  config: config)
3909
3923
  context[:gem_name] = 'aws-sdk-backup'
3910
- context[:gem_version] = '1.37.0'
3924
+ context[:gem_version] = '1.38.0'
3911
3925
  Seahorse::Client::Request.new(handlers, context)
3912
3926
  end
3913
3927
 
@@ -211,6 +211,7 @@ module Aws::Backup
211
211
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
212
212
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
213
213
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
214
+ ResourceTypeManagementPreference = Shapes::MapShape.new(name: 'ResourceTypeManagementPreference')
214
215
  ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
215
216
  ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
216
217
  RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
@@ -650,6 +651,7 @@ module Aws::Backup
650
651
  DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
651
652
 
652
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"))
653
655
  DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
654
656
 
655
657
  DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
@@ -1083,6 +1085,9 @@ module Aws::Backup
1083
1085
 
1084
1086
  ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
1085
1087
 
1088
+ ResourceTypeManagementPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
1089
+ ResourceTypeManagementPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
1090
+
1086
1091
  ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
1087
1092
  ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
1088
1093
 
@@ -1209,6 +1214,7 @@ module Aws::Backup
1209
1214
  UpdateRecoveryPointLifecycleOutput.struct_class = Types::UpdateRecoveryPointLifecycleOutput
1210
1215
 
1211
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"))
1212
1218
  UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
1213
1219
 
1214
1220
  UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
@@ -2105,6 +2111,7 @@ module Aws::Backup
2105
2111
  o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointLifecycleOutput)
2106
2112
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2107
2113
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2114
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2108
2115
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
2109
2116
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2110
2117
  end)
@@ -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 optional display name of a backup plan.
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
- # An optional display name for a backup rule.
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 cron expressions, see [Schedule
460
- # Expressions for Rules][1] in the *Amazon CloudWatch Events User
461
- # Guide.*. Prior to specifying a value for this parameter, we
462
- # recommend testing your cron expression using one of the many
463
- # available cron generator and testing tools.
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
- # An optional display name for a backup rule.
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
@@ -683,7 +692,8 @@ module Aws::Backup
683
692
  # }
684
693
  #
685
694
  # @!attribute [rw] selection_name
686
- # 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.
687
697
  # @return [String]
688
698
  #
689
699
  # @!attribute [rw] iam_role_arn
@@ -693,21 +703,56 @@ module Aws::Backup
693
703
  # @return [String]
694
704
  #
695
705
  # @!attribute [rw] resources
696
- # An array of strings that contain Amazon Resource Names (ARNs) of
697
- # resources to assign to a backup plan.
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.
698
714
  # @return [Array<String>]
699
715
  #
700
716
  # @!attribute [rw] list_of_tags
701
- # An array of conditions used to specify a set of resources to assign
702
- # to a backup plan; for example, `"StringEquals":
703
- # \{"ec2:ResourceTag/Department": "accounting"`. Assigns the backup
704
- # plan to every resource with at least one matching tag.
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`.
705
730
  # @return [Array<Types::Condition>]
706
731
  #
707
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.
708
740
  # @return [Array<String>]
709
741
  #
710
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`.
711
756
  # @return [Types::Conditions]
712
757
  #
713
758
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
@@ -748,7 +793,10 @@ module Aws::Backup
748
793
  # @!attribute [rw] creator_request_id
749
794
  # A unique string that identifies the request and allows failed
750
795
  # requests to be retried without the risk of running the operation
751
- # twice.
796
+ # twice. This parameter is optional.
797
+ #
798
+ # If used, this parameter must contain 1 to 50 alphanumeric or
799
+ # '-\_.' characters.
752
800
  # @return [String]
753
801
  #
754
802
  # @!attribute [rw] iam_role_arn
@@ -801,7 +849,10 @@ module Aws::Backup
801
849
  # @!attribute [rw] creator_request_id
802
850
  # A unique string that identifies the request and allows failed
803
851
  # requests to be retried without the risk of running the operation
804
- # twice.
852
+ # twice. This parameter is optional.
853
+ #
854
+ # If used, this parameter must contain 1 to 50 alphanumeric or
855
+ # '-\_.' characters.
805
856
  # @return [String]
806
857
  #
807
858
  # @!attribute [rw] number_of_recovery_points
@@ -910,8 +961,8 @@ module Aws::Backup
910
961
  end
911
962
 
912
963
  # Contains an array of triplets made up of a condition type (such as
913
- # `StringEquals`), a key, and a value. Conditions are used to filter
914
- # resources in a selection that is assigned to a backup plan.
964
+ # `StringEquals`), a key, and a value. Used to filter resources using
965
+ # their tags and assign them to a backup plan. Case sensitive.
915
966
  #
916
967
  # @note When making an API call, you may pass Condition
917
968
  # data as a hash:
@@ -923,20 +974,25 @@ module Aws::Backup
923
974
  # }
924
975
  #
925
976
  # @!attribute [rw] condition_type
926
- # An operation, such as `StringEquals`, that is applied to a key-value
927
- # pair used to filter resources in a selection.
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
928
986
  # @return [String]
929
987
  #
930
988
  # @!attribute [rw] condition_key
931
- # The key in a key-value pair. For example, in
932
- # `"ec2:ResourceTag/Department": "accounting"`,
933
- # `"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.
934
991
  # @return [String]
935
992
  #
936
993
  # @!attribute [rw] condition_value
937
- # The value in a key-value pair. For example, in
938
- # `"ec2:ResourceTag/Department": "accounting"`, `"accounting"` is the
939
- # value.
994
+ # The value in a key-value pair. For example, in the tag `Department:
995
+ # Accounting`, `Accounting` is the value.
940
996
  # @return [String]
941
997
  #
942
998
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Condition AWS API Documentation
@@ -949,6 +1005,9 @@ module Aws::Backup
949
1005
  include Aws::Structure
950
1006
  end
951
1007
 
1008
+ # Includes information about tags you define to assign tagged resources
1009
+ # to a backup plan.
1010
+ #
952
1011
  # @note When making an API call, you may pass ConditionParameter
953
1012
  # data as a hash:
954
1013
  #
@@ -958,9 +1017,13 @@ module Aws::Backup
958
1017
  # }
959
1018
  #
960
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.
961
1022
  # @return [String]
962
1023
  #
963
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.
964
1027
  # @return [String]
965
1028
  #
966
1029
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ConditionParameter AWS API Documentation
@@ -972,6 +1035,9 @@ module Aws::Backup
972
1035
  include Aws::Structure
973
1036
  end
974
1037
 
1038
+ # Contains information about which resources to include or exclude from
1039
+ # a backup plan using their tags. Conditions are case sensitive.
1040
+ #
975
1041
  # @note When making an API call, you may pass Conditions
976
1042
  # data as a hash:
977
1043
  #
@@ -1003,15 +1069,27 @@ module Aws::Backup
1003
1069
  # }
1004
1070
  #
1005
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."
1006
1074
  # @return [Array<Types::ConditionParameter>]
1007
1075
  #
1008
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."
1009
1080
  # @return [Array<Types::ConditionParameter>]
1010
1081
  #
1011
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".
1012
1087
  # @return [Array<Types::ConditionParameter>]
1013
1088
  #
1014
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.
1015
1093
  # @return [Array<Types::ConditionParameter>]
1016
1094
  #
1017
1095
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Conditions AWS API Documentation
@@ -1083,9 +1161,11 @@ module Aws::Backup
1083
1161
  end
1084
1162
 
1085
1163
  # A framework consists of one or more controls. Each control has its own
1086
- # control scope. The control scope defines what the control will
1087
- # evaluate. Three examples of control scopes are: a specific backup
1088
- # plan, all backup plans with a specific tag, or all backup plans.
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.
1089
1169
  #
1090
1170
  # <note markdown="1"> To set a control scope that includes all of a particular resource,
1091
1171
  # leave the `ControlScope` empty or do not pass it when calling
@@ -1115,8 +1195,11 @@ module Aws::Backup
1115
1195
  # @return [Array<String>]
1116
1196
  #
1117
1197
  # @!attribute [rw] tags
1118
- # Describes whether the control scope includes resources with one or
1119
- # more tags. Each tag is a key-value pair.
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"\}]`.
1120
1203
  # @return [Hash<String,String>]
1121
1204
  #
1122
1205
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ControlScope AWS API Documentation
@@ -1341,6 +1424,9 @@ module Aws::Backup
1341
1424
  # without the risk of running the operation twice. If the request
1342
1425
  # includes a `CreatorRequestId` that matches an existing backup plan,
1343
1426
  # that plan is returned. This parameter is optional.
1427
+ #
1428
+ # If used, this parameter must contain 1 to 50 alphanumeric or
1429
+ # '-\_.' characters.
1344
1430
  # @return [String]
1345
1431
  #
1346
1432
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanInput AWS API Documentation
@@ -1453,7 +1539,10 @@ module Aws::Backup
1453
1539
  # @!attribute [rw] creator_request_id
1454
1540
  # A unique string that identifies the request and allows failed
1455
1541
  # requests to be retried without the risk of running the operation
1456
- # twice.
1542
+ # twice. This parameter is optional.
1543
+ #
1544
+ # If used, this parameter must contain 1 to 50 alphanumeric or
1545
+ # '-\_.' characters.
1457
1546
  # @return [String]
1458
1547
  #
1459
1548
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelectionInput AWS API Documentation
@@ -1525,7 +1614,10 @@ module Aws::Backup
1525
1614
  # @!attribute [rw] creator_request_id
1526
1615
  # A unique string that identifies the request and allows failed
1527
1616
  # requests to be retried without the risk of running the operation
1528
- # twice.
1617
+ # twice. This parameter is optional.
1618
+ #
1619
+ # If used, this parameter must contain 1 to 50 alphanumeric or
1620
+ # '-\_.' characters.
1529
1621
  # @return [String]
1530
1622
  #
1531
1623
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVaultInput AWS API Documentation
@@ -2715,10 +2807,20 @@ module Aws::Backup
2715
2807
  # the Region.
2716
2808
  # @return [Hash<String,Boolean>]
2717
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
+ #
2718
2819
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
2719
2820
  #
2720
2821
  class DescribeRegionSettingsOutput < Struct.new(
2721
- :resource_type_opt_in_preference)
2822
+ :resource_type_opt_in_preference,
2823
+ :resource_type_management_preference)
2722
2824
  SENSITIVE = []
2723
2825
  include Aws::Structure
2724
2826
  end
@@ -4833,21 +4935,26 @@ module Aws::Backup
4833
4935
  # An array of events that indicate the status of jobs to back up
4834
4936
  # resources to the backup vault.
4835
4937
  #
4836
- # <note markdown="1"> The following events are supported:
4938
+ # For common use cases and code samples, see [Using Amazon SNS to
4939
+ # track Backup events][1].
4837
4940
  #
4838
- # `BACKUP_JOB_STARTED`, `BACKUP_JOB_COMPLETED`,
4941
+ # The following events are supported:
4839
4942
  #
4840
- # `COPY_JOB_STARTED`, `COPY_JOB_SUCCESSFUL`, `COPY_JOB_FAILED`,
4943
+ # * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
4841
4944
  #
4842
- # `RESTORE_JOB_STARTED`, `RESTORE_JOB_COMPLETED`, and
4843
- # `RECOVERY_POINT_MODIFIED`.
4945
+ # * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
4844
4946
  #
4845
- # To find failed backup jobs, use `BACKUP_JOB_COMPLETED` and filter
4846
- # using event metadata.
4947
+ # * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
4948
+ # `RECOVERY_POINT_MODIFIED`
4847
4949
  #
4848
- # Other events in the following list are deprecated.
4950
+ # <note markdown="1"> Ignore the list below because it includes deprecated events. Refer
4951
+ # to the list above.
4849
4952
  #
4850
4953
  # </note>
4954
+ #
4955
+ #
4956
+ #
4957
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
4851
4958
  # @return [Array<String>]
4852
4959
  #
4853
4960
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotificationsInput AWS API Documentation
@@ -5910,7 +6017,9 @@ module Aws::Backup
5910
6017
  #
5911
6018
  # @!attribute [rw] tags
5912
6019
  # Key-value pairs that are used to help organize your resources. You
5913
- # 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"\}]`.
5914
6023
  # @return [Hash<String,String>]
5915
6024
  #
5916
6025
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResourceInput AWS API Documentation
@@ -6260,6 +6369,9 @@ module Aws::Backup
6260
6369
  # resource_type_opt_in_preference: {
6261
6370
  # "ResourceType" => false,
6262
6371
  # },
6372
+ # resource_type_management_preference: {
6373
+ # "ResourceType" => false,
6374
+ # },
6263
6375
  # }
6264
6376
  #
6265
6377
  # @!attribute [rw] resource_type_opt_in_preference
@@ -6267,10 +6379,20 @@ module Aws::Backup
6267
6379
  # the Region.
6268
6380
  # @return [Hash<String,Boolean>]
6269
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
+ #
6270
6391
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
6271
6392
  #
6272
6393
  class UpdateRegionSettingsInput < Struct.new(
6273
- :resource_type_opt_in_preference)
6394
+ :resource_type_opt_in_preference,
6395
+ :resource_type_management_preference)
6274
6396
  SENSITIVE = []
6275
6397
  include Aws::Structure
6276
6398
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-backup/customizations'
48
48
  # @!group service
49
49
  module Aws::Backup
50
50
 
51
- GEM_VERSION = '1.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
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.37.0
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-10 00:00:00.000000000 Z
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