aws-sdk-backup 1.61.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -233,12 +233,16 @@ module Aws::Backup
233
233
  # specified backup.
234
234
  # @return [String]
235
235
  #
236
+ # @!attribute [rw] initiation_date
237
+ # This is the date on which the backup job was initiated.
238
+ # @return [Time]
239
+ #
236
240
  # @!attribute [rw] message_category
237
241
  # This parameter is the job count for the specified message category.
238
242
  #
239
- # Example strings include `AccessDenied`, `Success`, and
240
- # `InvalidParameters`. See [Monitoring][1] for a list of
241
- # MessageCategory strings.
243
+ # Example strings may include `AccessDenied`, `SUCCESS`,
244
+ # `AGGREGATE_ALL`, and `INVALIDPARAMETERS`. See [Monitoring][1] for a
245
+ # list of MessageCategory strings.
242
246
  #
243
247
  # The the value ANY returns count of all message categories.
244
248
  #
@@ -276,6 +280,7 @@ module Aws::Backup
276
280
  :parent_job_id,
277
281
  :is_parent,
278
282
  :resource_name,
283
+ :initiation_date,
279
284
  :message_category)
280
285
  SENSITIVE = []
281
286
  include Aws::Structure
@@ -764,9 +769,9 @@ module Aws::Backup
764
769
  #
765
770
  # @!attribute [rw] list_of_tags
766
771
  # A list of conditions that you define to assign resources to your
767
- # backup plans using tags. For example, `"StringEquals": \{
768
- # "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue":
769
- # "true" \},`. Condition operators are case sensitive.
772
+ # backup plans using tags. For example, `"StringEquals": \{ "Key":
773
+ # "aws:ResourceTag/CreatedByCryo", "Value": "true" \},`. Condition
774
+ # operators are case sensitive.
770
775
  #
771
776
  # `ListOfTags` differs from `Conditions` as follows:
772
777
  #
@@ -790,9 +795,9 @@ module Aws::Backup
790
795
  #
791
796
  # @!attribute [rw] conditions
792
797
  # A list of conditions that you define to assign resources to your
793
- # backup plans using tags. For example, `"StringEquals": \{
794
- # "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue":
795
- # "true" \},`. Condition operators are case sensitive.
798
+ # backup plans using tags. For example, `"StringEquals": \{ "Key":
799
+ # "aws:ResourceTag/CreatedByCryo", "Value": "true" \},`. Condition
800
+ # operators are case sensitive.
796
801
  #
797
802
  # `Conditions` differs from `ListOfTags` as follows:
798
803
  #
@@ -1399,9 +1404,9 @@ module Aws::Backup
1399
1404
  # @!attribute [rw] message_category
1400
1405
  # This parameter is the job count for the specified message category.
1401
1406
  #
1402
- # Example strings include `AccessDenied`, `Success`, and
1403
- # `InvalidParameters`. See [Monitoring][1] for a list of
1404
- # MessageCategory strings.
1407
+ # Example strings may include `AccessDenied`, `SUCCESS`,
1408
+ # `AGGREGATE_ALL`, and `InvalidParameters`. See [Monitoring][1] for a
1409
+ # list of MessageCategory strings.
1405
1410
  #
1406
1411
  # The the value ANY returns count of all message categories.
1407
1412
  #
@@ -1871,6 +1876,9 @@ module Aws::Backup
1871
1876
  #
1872
1877
  # @!attribute [rw] creator_request_id
1873
1878
  # This is the ID of the creation request.
1879
+ #
1880
+ # This parameter is optional. If used, this parameter must contain 1
1881
+ # to 50 alphanumeric or '-\_.' characters.
1874
1882
  # @return [String]
1875
1883
  #
1876
1884
  # @!attribute [rw] min_retention_days
@@ -2029,6 +2037,141 @@ module Aws::Backup
2029
2037
  include Aws::Structure
2030
2038
  end
2031
2039
 
2040
+ # @!attribute [rw] creator_request_id
2041
+ # This is a unique string that identifies the request and allows
2042
+ # failed requests to be retriedwithout the risk of running the
2043
+ # operation twice. This parameter is optional. If used, this parameter
2044
+ # must contain 1 to 50 alphanumeric or '-\_.' characters.
2045
+ # @return [String]
2046
+ #
2047
+ # @!attribute [rw] restore_testing_plan
2048
+ # A restore testing plan must contain a unique
2049
+ # `RestoreTestingPlanName` string you create and must contain a
2050
+ # `ScheduleExpression` cron. You may optionally include a
2051
+ # `StartWindowHours` integer and a `CreatorRequestId` string.
2052
+ #
2053
+ # The `RestoreTestingPlanName` is a unique string that is the name of
2054
+ # the restore testing plan. This cannot be changed after creation, and
2055
+ # it must consist of only alphanumeric characters and underscores.
2056
+ # @return [Types::RestoreTestingPlanForCreate]
2057
+ #
2058
+ # @!attribute [rw] tags
2059
+ # Optional tags to include. A tag is a key-value pair you can use to
2060
+ # manage, filter, and search for your resources. Allowed characters
2061
+ # include UTF-8 letters,numbers, spaces, and the following characters:
2062
+ # + - = . \_ : /.
2063
+ # @return [Hash<String,String>]
2064
+ #
2065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateRestoreTestingPlanInput AWS API Documentation
2066
+ #
2067
+ class CreateRestoreTestingPlanInput < Struct.new(
2068
+ :creator_request_id,
2069
+ :restore_testing_plan,
2070
+ :tags)
2071
+ SENSITIVE = [:tags]
2072
+ include Aws::Structure
2073
+ end
2074
+
2075
+ # @!attribute [rw] creation_time
2076
+ # The date and time a restore testing plan was created, in Unix format
2077
+ # and Coordinated Universal Time (UTC). The value of `CreationTime` is
2078
+ # accurate to milliseconds. For example, the value 1516925490.087
2079
+ # represents Friday, January 26, 2018 12:11:30.087AM.
2080
+ # @return [Time]
2081
+ #
2082
+ # @!attribute [rw] restore_testing_plan_arn
2083
+ # An Amazon Resource Name (ARN) that uniquely identifies the created
2084
+ # restore testing plan.
2085
+ # @return [String]
2086
+ #
2087
+ # @!attribute [rw] restore_testing_plan_name
2088
+ # This unique string is the name of the restore testing plan.
2089
+ #
2090
+ # The name cannot be changed after creation. The name consists of only
2091
+ # alphanumeric characters and underscores. Maximum length is 50.
2092
+ # @return [String]
2093
+ #
2094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateRestoreTestingPlanOutput AWS API Documentation
2095
+ #
2096
+ class CreateRestoreTestingPlanOutput < Struct.new(
2097
+ :creation_time,
2098
+ :restore_testing_plan_arn,
2099
+ :restore_testing_plan_name)
2100
+ SENSITIVE = []
2101
+ include Aws::Structure
2102
+ end
2103
+
2104
+ # @!attribute [rw] creator_request_id
2105
+ # This is an optional unique string that identifies the request and
2106
+ # allows failed requests to be retried without the risk of running the
2107
+ # operation twice. If used, this parameter must contain 1 to 50
2108
+ # alphanumeric or '-\_.' characters.
2109
+ # @return [String]
2110
+ #
2111
+ # @!attribute [rw] restore_testing_plan_name
2112
+ # Input the restore testing plan name that was returned from the
2113
+ # related CreateRestoreTestingPlan request.
2114
+ # @return [String]
2115
+ #
2116
+ # @!attribute [rw] restore_testing_selection
2117
+ # This consists of `RestoreTestingSelectionName`,
2118
+ # `ProtectedResourceType`, and one of the following:
2119
+ #
2120
+ # * `ProtectedResourceArns`
2121
+ #
2122
+ # * `ProtectedResourceConditions`
2123
+ #
2124
+ # Each protected resource type can have one single value.
2125
+ #
2126
+ # A restore testing selection can include a wildcard value ("*")
2127
+ # for `ProtectedResourceArns` along with
2128
+ # `ProtectedResourceConditions`. Alternatively, you can include up to
2129
+ # 30 specific protected resource ARNs in `ProtectedResourceArns`.
2130
+ # @return [Types::RestoreTestingSelectionForCreate]
2131
+ #
2132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateRestoreTestingSelectionInput AWS API Documentation
2133
+ #
2134
+ class CreateRestoreTestingSelectionInput < Struct.new(
2135
+ :creator_request_id,
2136
+ :restore_testing_plan_name,
2137
+ :restore_testing_selection)
2138
+ SENSITIVE = []
2139
+ include Aws::Structure
2140
+ end
2141
+
2142
+ # @!attribute [rw] creation_time
2143
+ # This is the time the resource testing selection was created
2144
+ # successfully.
2145
+ # @return [Time]
2146
+ #
2147
+ # @!attribute [rw] restore_testing_plan_arn
2148
+ # This is the ARN of the restore testing plan with which the restore
2149
+ # testing selection is associated.
2150
+ # @return [String]
2151
+ #
2152
+ # @!attribute [rw] restore_testing_plan_name
2153
+ # Unique string that is the name of the restore testing plan.
2154
+ #
2155
+ # The name cannot be changed after creation. The name consists of only
2156
+ # alphanumeric characters and underscores. Maximum length is 50.
2157
+ # @return [String]
2158
+ #
2159
+ # @!attribute [rw] restore_testing_selection_name
2160
+ # This is the unique name of the restore testing selection that
2161
+ # belongs to the related restore testing plan.
2162
+ # @return [String]
2163
+ #
2164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateRestoreTestingSelectionOutput AWS API Documentation
2165
+ #
2166
+ class CreateRestoreTestingSelectionOutput < Struct.new(
2167
+ :creation_time,
2168
+ :restore_testing_plan_arn,
2169
+ :restore_testing_plan_name,
2170
+ :restore_testing_selection_name)
2171
+ SENSITIVE = []
2172
+ include Aws::Structure
2173
+ end
2174
+
2032
2175
  # This is a resource filter containing FromDate: DateTime and ToDate:
2033
2176
  # DateTime. Both values are required. Future DateTime values are not
2034
2177
  # permitted.
@@ -2229,6 +2372,37 @@ module Aws::Backup
2229
2372
  include Aws::Structure
2230
2373
  end
2231
2374
 
2375
+ # @!attribute [rw] restore_testing_plan_name
2376
+ # Required unique name of the restore testing plan you wish to delete.
2377
+ # @return [String]
2378
+ #
2379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteRestoreTestingPlanInput AWS API Documentation
2380
+ #
2381
+ class DeleteRestoreTestingPlanInput < Struct.new(
2382
+ :restore_testing_plan_name)
2383
+ SENSITIVE = []
2384
+ include Aws::Structure
2385
+ end
2386
+
2387
+ # @!attribute [rw] restore_testing_plan_name
2388
+ # Required unique name of the restore testing plan that contains the
2389
+ # restore testing selection you wish to delete.
2390
+ # @return [String]
2391
+ #
2392
+ # @!attribute [rw] restore_testing_selection_name
2393
+ # Required unique name of the restore testing selection you wish to
2394
+ # delete.
2395
+ # @return [String]
2396
+ #
2397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteRestoreTestingSelectionInput AWS API Documentation
2398
+ #
2399
+ class DeleteRestoreTestingSelectionInput < Struct.new(
2400
+ :restore_testing_plan_name,
2401
+ :restore_testing_selection_name)
2402
+ SENSITIVE = []
2403
+ include Aws::Structure
2404
+ end
2405
+
2232
2406
  # A dependent Amazon Web Services service or resource returned an error
2233
2407
  # to the Backup service, and the action cannot be completed.
2234
2408
  #
@@ -2406,12 +2580,16 @@ module Aws::Backup
2406
2580
  # specified backup.
2407
2581
  # @return [String]
2408
2582
  #
2583
+ # @!attribute [rw] initiation_date
2584
+ # This is the date a backup job was initiated.
2585
+ # @return [Time]
2586
+ #
2409
2587
  # @!attribute [rw] message_category
2410
2588
  # This is the job count for the specified message category.
2411
2589
  #
2412
- # Example strings may include `AccessDenied`, `Success`, and
2413
- # `InvalidParameters`. See [Monitoring][1] for a list of
2414
- # MessageCategory strings.
2590
+ # Example strings may include `AccessDenied`, `SUCCESS`,
2591
+ # `AGGREGATE_ALL`, and `INVALIDPARAMETERS`. View [Monitoring][1] for a
2592
+ # list of accepted MessageCategory strings.
2415
2593
  #
2416
2594
  #
2417
2595
  #
@@ -2446,6 +2624,7 @@ module Aws::Backup
2446
2624
  :number_of_child_jobs,
2447
2625
  :child_jobs_in_state,
2448
2626
  :resource_name,
2627
+ :initiation_date,
2449
2628
  :message_category)
2450
2629
  SENSITIVE = []
2451
2630
  include Aws::Structure
@@ -2504,7 +2683,8 @@ module Aws::Backup
2504
2683
  # @!attribute [rw] creator_request_id
2505
2684
  # A unique string that identifies the request and allows failed
2506
2685
  # requests to be retried without the risk of running the operation
2507
- # twice.
2686
+ # twice. This parameter is optional. If used, this parameter must
2687
+ # contain 1 to 50 alphanumeric or '-\_.' characters.
2508
2688
  # @return [String]
2509
2689
  #
2510
2690
  # @!attribute [rw] number_of_recovery_points
@@ -2751,13 +2931,41 @@ module Aws::Backup
2751
2931
  # specified backup.
2752
2932
  # @return [String]
2753
2933
  #
2934
+ # @!attribute [rw] last_backup_vault_arn
2935
+ # This is the ARN (Amazon Resource Name) of the backup vault that
2936
+ # contains the most recent backup recovery point.
2937
+ # @return [String]
2938
+ #
2939
+ # @!attribute [rw] last_recovery_point_arn
2940
+ # This is the ARN (Amazon Resource Name) of the most recent recovery
2941
+ # point.
2942
+ # @return [String]
2943
+ #
2944
+ # @!attribute [rw] latest_restore_execution_time_minutes
2945
+ # This is the time in minutes the most recent restore job took to
2946
+ # complete.
2947
+ # @return [Integer]
2948
+ #
2949
+ # @!attribute [rw] latest_restore_job_creation_date
2950
+ # This is the creation date of the most recent restore job.
2951
+ # @return [Time]
2952
+ #
2953
+ # @!attribute [rw] latest_restore_recovery_point_creation_date
2954
+ # This is the date the most recent recovery point was created.
2955
+ # @return [Time]
2956
+ #
2754
2957
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResourceOutput AWS API Documentation
2755
2958
  #
2756
2959
  class DescribeProtectedResourceOutput < Struct.new(
2757
2960
  :resource_arn,
2758
2961
  :resource_type,
2759
2962
  :last_backup_time,
2760
- :resource_name)
2963
+ :resource_name,
2964
+ :last_backup_vault_arn,
2965
+ :last_recovery_point_arn,
2966
+ :latest_restore_execution_time_minutes,
2967
+ :latest_restore_job_creation_date,
2968
+ :latest_restore_recovery_point_creation_date)
2761
2969
  SENSITIVE = []
2762
2970
  include Aws::Structure
2763
2971
  end
@@ -3182,6 +3390,34 @@ module Aws::Backup
3182
3390
  # type.
3183
3391
  # @return [String]
3184
3392
  #
3393
+ # @!attribute [rw] recovery_point_creation_date
3394
+ # This is the creation date of the recovery point made by the specifed
3395
+ # restore job.
3396
+ # @return [Time]
3397
+ #
3398
+ # @!attribute [rw] created_by
3399
+ # Contains identifying information about the creation of a restore
3400
+ # job.
3401
+ # @return [Types::RestoreJobCreator]
3402
+ #
3403
+ # @!attribute [rw] validation_status
3404
+ # This is the status of validation run on the indicated restore job.
3405
+ # @return [String]
3406
+ #
3407
+ # @!attribute [rw] validation_status_message
3408
+ # This describes the status of validation run on the indicated restore
3409
+ # job.
3410
+ # @return [String]
3411
+ #
3412
+ # @!attribute [rw] deletion_status
3413
+ # This notes the status of the data generated by the restore test. The
3414
+ # status may be `Deleting`, `Failed`, or `Successful`.
3415
+ # @return [String]
3416
+ #
3417
+ # @!attribute [rw] deletion_status_message
3418
+ # This describes the restore job deletion status.
3419
+ # @return [String]
3420
+ #
3185
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJobOutput AWS API Documentation
3186
3422
  #
3187
3423
  class DescribeRestoreJobOutput < Struct.new(
@@ -3197,7 +3433,13 @@ module Aws::Backup
3197
3433
  :iam_role_arn,
3198
3434
  :expected_completion_time_minutes,
3199
3435
  :created_resource_arn,
3200
- :resource_type)
3436
+ :resource_type,
3437
+ :recovery_point_creation_date,
3438
+ :created_by,
3439
+ :validation_status,
3440
+ :validation_status_message,
3441
+ :deletion_status,
3442
+ :deletion_status_message)
3201
3443
  SENSITIVE = []
3202
3444
  include Aws::Structure
3203
3445
  end
@@ -3755,16 +3997,143 @@ module Aws::Backup
3755
3997
  # on the service that is being restored.
3756
3998
  # @return [Hash<String,String>]
3757
3999
  #
4000
+ # @!attribute [rw] resource_type
4001
+ # This is the resource type associated with the recovery point.
4002
+ # @return [String]
4003
+ #
3758
4004
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadataOutput AWS API Documentation
3759
4005
  #
3760
4006
  class GetRecoveryPointRestoreMetadataOutput < Struct.new(
3761
4007
  :backup_vault_arn,
3762
4008
  :recovery_point_arn,
3763
- :restore_metadata)
4009
+ :restore_metadata,
4010
+ :resource_type)
3764
4011
  SENSITIVE = [:restore_metadata]
3765
4012
  include Aws::Structure
3766
4013
  end
3767
4014
 
4015
+ # @!attribute [rw] restore_job_id
4016
+ # This is a unique identifier of a restore job within Backup.
4017
+ # @return [String]
4018
+ #
4019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreJobMetadataInput AWS API Documentation
4020
+ #
4021
+ class GetRestoreJobMetadataInput < Struct.new(
4022
+ :restore_job_id)
4023
+ SENSITIVE = []
4024
+ include Aws::Structure
4025
+ end
4026
+
4027
+ # @!attribute [rw] restore_job_id
4028
+ # This is a unique identifier of a restore job within Backup.
4029
+ # @return [String]
4030
+ #
4031
+ # @!attribute [rw] metadata
4032
+ # This contains the metadata of the specified backup job.
4033
+ # @return [Hash<String,String>]
4034
+ #
4035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreJobMetadataOutput AWS API Documentation
4036
+ #
4037
+ class GetRestoreJobMetadataOutput < Struct.new(
4038
+ :restore_job_id,
4039
+ :metadata)
4040
+ SENSITIVE = [:metadata]
4041
+ include Aws::Structure
4042
+ end
4043
+
4044
+ # @!attribute [rw] backup_vault_account_id
4045
+ # This is the account ID of the specified backup vault.
4046
+ # @return [String]
4047
+ #
4048
+ # @!attribute [rw] backup_vault_name
4049
+ # The name of a logical container where backups are stored. Backup
4050
+ # vaults are identified by names that are unique to the account used
4051
+ # to create them and the Amazon Web ServicesRegion where they are
4052
+ # created. They consist of letters, numbers, and hyphens.
4053
+ # @return [String]
4054
+ #
4055
+ # @!attribute [rw] recovery_point_arn
4056
+ # An Amazon Resource Name (ARN) that uniquely identifies a recovery
4057
+ # point; for example,
4058
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
4059
+ # @return [String]
4060
+ #
4061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingInferredMetadataInput AWS API Documentation
4062
+ #
4063
+ class GetRestoreTestingInferredMetadataInput < Struct.new(
4064
+ :backup_vault_account_id,
4065
+ :backup_vault_name,
4066
+ :recovery_point_arn)
4067
+ SENSITIVE = []
4068
+ include Aws::Structure
4069
+ end
4070
+
4071
+ # @!attribute [rw] inferred_metadata
4072
+ # This is a string map of the metadata inferred from the request.
4073
+ # @return [Hash<String,String>]
4074
+ #
4075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingInferredMetadataOutput AWS API Documentation
4076
+ #
4077
+ class GetRestoreTestingInferredMetadataOutput < Struct.new(
4078
+ :inferred_metadata)
4079
+ SENSITIVE = []
4080
+ include Aws::Structure
4081
+ end
4082
+
4083
+ # @!attribute [rw] restore_testing_plan_name
4084
+ # Required unique name of the restore testing plan.
4085
+ # @return [String]
4086
+ #
4087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingPlanInput AWS API Documentation
4088
+ #
4089
+ class GetRestoreTestingPlanInput < Struct.new(
4090
+ :restore_testing_plan_name)
4091
+ SENSITIVE = []
4092
+ include Aws::Structure
4093
+ end
4094
+
4095
+ # @!attribute [rw] restore_testing_plan
4096
+ # Specifies the body of a restore testing plan. Includes
4097
+ # `RestoreTestingPlanName`.
4098
+ # @return [Types::RestoreTestingPlanForGet]
4099
+ #
4100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingPlanOutput AWS API Documentation
4101
+ #
4102
+ class GetRestoreTestingPlanOutput < Struct.new(
4103
+ :restore_testing_plan)
4104
+ SENSITIVE = []
4105
+ include Aws::Structure
4106
+ end
4107
+
4108
+ # @!attribute [rw] restore_testing_plan_name
4109
+ # Required unique name of the restore testing plan.
4110
+ # @return [String]
4111
+ #
4112
+ # @!attribute [rw] restore_testing_selection_name
4113
+ # Required unique name of the restore testing selection.
4114
+ # @return [String]
4115
+ #
4116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingSelectionInput AWS API Documentation
4117
+ #
4118
+ class GetRestoreTestingSelectionInput < Struct.new(
4119
+ :restore_testing_plan_name,
4120
+ :restore_testing_selection_name)
4121
+ SENSITIVE = []
4122
+ include Aws::Structure
4123
+ end
4124
+
4125
+ # @!attribute [rw] restore_testing_selection
4126
+ # Unique name of the restore testing selection.
4127
+ # @return [Types::RestoreTestingSelectionForGet]
4128
+ #
4129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRestoreTestingSelectionOutput AWS API Documentation
4130
+ #
4131
+ class GetRestoreTestingSelectionOutput < Struct.new(
4132
+ :restore_testing_selection)
4133
+ SENSITIVE = []
4134
+ include Aws::Structure
4135
+ end
4136
+
3768
4137
  # @!attribute [rw] resource_types
3769
4138
  # Contains a string with the supported Amazon Web Services resource
3770
4139
  # types:
@@ -3877,6 +4246,36 @@ module Aws::Backup
3877
4246
  include Aws::Structure
3878
4247
  end
3879
4248
 
4249
+ # Pair of two related strings. Allowed characters are letters, white
4250
+ # space, and numbers that can be represented in UTF-8 and the following
4251
+ # characters: ` + - = . _ : /`
4252
+ #
4253
+ # @!attribute [rw] key
4254
+ # The tag key (String). The key can't start with `aws:`.
4255
+ #
4256
+ # Length Constraints: Minimum length of 1. Maximum length of 128.
4257
+ #
4258
+ # Pattern:
4259
+ # `^(?![aA]\{1\}[wW]\{1\}[sS]\{1\}:)([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]+)$`
4260
+ # @return [String]
4261
+ #
4262
+ # @!attribute [rw] value
4263
+ # The value of the key.
4264
+ #
4265
+ # Length Constraints: Maximum length of 256.
4266
+ #
4267
+ # Pattern: `^([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]*)$`
4268
+ # @return [String]
4269
+ #
4270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/KeyValue AWS API Documentation
4271
+ #
4272
+ class KeyValue < Struct.new(
4273
+ :key,
4274
+ :value)
4275
+ SENSITIVE = []
4276
+ include Aws::Structure
4277
+ end
4278
+
3880
4279
  # A legal hold is an administrative tool that helps prevent backups from
3881
4280
  # being deleted while under a hold. While the hold is in place, backups
3882
4281
  # under a hold cannot be deleted and lifecycle policies that would alter
@@ -3960,11 +4359,18 @@ module Aws::Backup
3960
4359
  # `MoveToColdStorageAfterDays`.
3961
4360
  # @return [Integer]
3962
4361
  #
4362
+ # @!attribute [rw] opt_in_to_archive_for_supported_resources
4363
+ # Optional Boolean. If this is true, this setting will instruct your
4364
+ # backup plan to transition supported resources to archive (cold)
4365
+ # storage tier in accordance with your lifecycle settings.
4366
+ # @return [Boolean]
4367
+ #
3963
4368
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Lifecycle AWS API Documentation
3964
4369
  #
3965
4370
  class Lifecycle < Struct.new(
3966
4371
  :move_to_cold_storage_after_days,
3967
- :delete_after_days)
4372
+ :delete_after_days,
4373
+ :opt_in_to_archive_for_supported_resources)
3968
4374
  SENSITIVE = []
3969
4375
  include Aws::Structure
3970
4376
  end
@@ -4072,7 +4478,7 @@ module Aws::Backup
4072
4478
  #
4073
4479
  # @!attribute [rw] next_token
4074
4480
  # The next item following a partial list of returned resources. For
4075
- # example, if a request is made to return `maxResults` number of
4481
+ # example, if a request is made to return `MaxResults` number of
4076
4482
  # resources, `NextToken` allows you to return more items in your list
4077
4483
  # starting at the location pointed to by the next token.
4078
4484
  # @return [String]
@@ -4109,7 +4515,7 @@ module Aws::Backup
4109
4515
  #
4110
4516
  # @!attribute [rw] next_token
4111
4517
  # The next item following a partial list of returned resources. For
4112
- # example, if a request is made to return `maxResults` number of
4518
+ # example, if a request is made to return `MaxResults` number of
4113
4519
  # resources, `NextToken` allows you to return more items in your list
4114
4520
  # starting at the location pointed to by the next token.
4115
4521
  # @return [String]
@@ -4126,7 +4532,7 @@ module Aws::Backup
4126
4532
 
4127
4533
  # @!attribute [rw] next_token
4128
4534
  # The next item following a partial list of returned items. For
4129
- # example, if a request is made to return `maxResults` number of
4535
+ # example, if a request is made to return `MaxResults` number of
4130
4536
  # items, `NextToken` allows you to return more items in your list
4131
4537
  # starting at the location pointed to by the next token.
4132
4538
  # @return [String]
@@ -4212,12 +4618,18 @@ module Aws::Backup
4212
4618
  # @return [String]
4213
4619
  #
4214
4620
  # @!attribute [rw] by_message_category
4215
- # This returns a list of backup jobs for the specified message
4216
- # category.
4621
+ # This is an optional parameter that can be used to filter out jobs
4622
+ # with a MessageCategory which matches the value you input.
4217
4623
  #
4218
- # Example strings may include `AccessDenied`, `Success`, and
4219
- # `InvalidParameters`. See [Monitoring][1] for a list of
4220
- # MessageCategory strings.
4624
+ # Example strings may include `AccessDenied`, `SUCCESS`,
4625
+ # `AGGREGATE_ALL`, and `InvalidParameters`.
4626
+ #
4627
+ # View [Monitoring][1]
4628
+ #
4629
+ # The wildcard () returns count of all message categories.
4630
+ #
4631
+ # `AGGREGATE_ALL` aggregates job counts for all message categories and
4632
+ # returns the sum.
4221
4633
  #
4222
4634
  #
4223
4635
  #
@@ -4251,7 +4663,7 @@ module Aws::Backup
4251
4663
  #
4252
4664
  # @!attribute [rw] next_token
4253
4665
  # The next item following a partial list of returned items. For
4254
- # example, if a request is made to return `maxResults` number of
4666
+ # example, if a request is made to return `MaxResults` number of
4255
4667
  # items, `NextToken` allows you to return more items in your list
4256
4668
  # starting at the location pointed to by the next token.
4257
4669
  # @return [String]
@@ -4267,7 +4679,7 @@ module Aws::Backup
4267
4679
 
4268
4680
  # @!attribute [rw] next_token
4269
4681
  # The next item following a partial list of returned items. For
4270
- # example, if a request is made to return `maxResults` number of
4682
+ # example, if a request is made to return `MaxResults` number of
4271
4683
  # items, `NextToken` allows you to return more items in your list
4272
4684
  # starting at the location pointed to by the next token.
4273
4685
  # @return [String]
@@ -4287,7 +4699,7 @@ module Aws::Backup
4287
4699
 
4288
4700
  # @!attribute [rw] next_token
4289
4701
  # The next item following a partial list of returned items. For
4290
- # example, if a request is made to return `maxResults` number of
4702
+ # example, if a request is made to return `MaxResults` number of
4291
4703
  # items, `NextToken` allows you to return more items in your list
4292
4704
  # starting at the location pointed to by the next token.
4293
4705
  # @return [String]
@@ -4312,7 +4724,7 @@ module Aws::Backup
4312
4724
  #
4313
4725
  # @!attribute [rw] next_token
4314
4726
  # The next item following a partial list of returned items. For
4315
- # example, if a request is made to return `maxResults` number of
4727
+ # example, if a request is made to return `MaxResults` number of
4316
4728
  # items, `NextToken` allows you to return more items in your list
4317
4729
  # starting at the location pointed to by the next token.
4318
4730
  # @return [String]
@@ -4333,7 +4745,7 @@ module Aws::Backup
4333
4745
 
4334
4746
  # @!attribute [rw] next_token
4335
4747
  # The next item following a partial list of returned items. For
4336
- # example, if a request is made to return `maxResults` number of
4748
+ # example, if a request is made to return `MaxResults` number of
4337
4749
  # items, `NextToken` allows you to return more items in your list
4338
4750
  # starting at the location pointed to by the next token.
4339
4751
  # @return [String]
@@ -4354,7 +4766,7 @@ module Aws::Backup
4354
4766
 
4355
4767
  # @!attribute [rw] next_token
4356
4768
  # The next item following a partial list of returned items. For
4357
- # example, if a request is made to return `maxResults` number of
4769
+ # example, if a request is made to return `MaxResults` number of
4358
4770
  # items, `NextToken` allows you to return more items in your list
4359
4771
  # starting at the location pointed to by the next token.
4360
4772
  # @return [String]
@@ -4380,7 +4792,7 @@ module Aws::Backup
4380
4792
 
4381
4793
  # @!attribute [rw] next_token
4382
4794
  # The next item following a partial list of returned items. For
4383
- # example, if a request is made to return `maxResults` number of
4795
+ # example, if a request is made to return `MaxResults` number of
4384
4796
  # items, `NextToken` allows you to return more items in your list
4385
4797
  # starting at the location pointed to by the next token.
4386
4798
  # @return [String]
@@ -4405,7 +4817,7 @@ module Aws::Backup
4405
4817
  #
4406
4818
  # @!attribute [rw] next_token
4407
4819
  # The next item following a partial list of returned items. For
4408
- # example, if a request is made to return `maxResults` number of
4820
+ # example, if a request is made to return `MaxResults` number of
4409
4821
  # items, `NextToken` allows you to return more items in your list
4410
4822
  # starting at the location pointed to by the next token.
4411
4823
  # @return [String]
@@ -4426,7 +4838,7 @@ module Aws::Backup
4426
4838
 
4427
4839
  # @!attribute [rw] next_token
4428
4840
  # The next item following a partial list of returned items. For
4429
- # example, if a request is made to return `maxResults` number of
4841
+ # example, if a request is made to return `MaxResults` number of
4430
4842
  # items, `NextToken` allows you to return more items in your list
4431
4843
  # starting at the location pointed to by the next token.
4432
4844
  # @return [String]
@@ -4455,7 +4867,7 @@ module Aws::Backup
4455
4867
  #
4456
4868
  # @!attribute [rw] next_token
4457
4869
  # The next item following a partial list of returned items. For
4458
- # example, if a request is made to return `maxResults` number of
4870
+ # example, if a request is made to return `MaxResults` number of
4459
4871
  # items, `NextToken` allows you to return more items in your list
4460
4872
  # starting at the location pointed to by the next token.
4461
4873
  # @return [String]
@@ -4484,7 +4896,7 @@ module Aws::Backup
4484
4896
  #
4485
4897
  # @!attribute [rw] next_token
4486
4898
  # The next item following a partial list of returned items. For
4487
- # example, if a request is made to return `maxResults` number of
4899
+ # example, if a request is made to return `MaxResults` number of
4488
4900
  # items, `NextToken` allows you to return more items in your list
4489
4901
  # starting at the location pointed to by the next token.
4490
4902
  # @return [String]
@@ -4573,7 +4985,7 @@ module Aws::Backup
4573
4985
  #
4574
4986
  # @!attribute [rw] next_token
4575
4987
  # The next item following a partial list of returned resources. For
4576
- # example, if a request is made to return `maxResults` number of
4988
+ # example, if a request is made to return `MaxResults` number of
4577
4989
  # resources, `NextToken` allows you to return more items in your list
4578
4990
  # starting at the location pointed to by the next token.
4579
4991
  # @return [String]
@@ -4610,7 +5022,7 @@ module Aws::Backup
4610
5022
  #
4611
5023
  # @!attribute [rw] next_token
4612
5024
  # The next item following a partial list of returned resources. For
4613
- # example, if a request is made to return `maxResults` number of
5025
+ # example, if a request is made to return `MaxResults` number of
4614
5026
  # resources, `NextToken` allows you to return more items in your list
4615
5027
  # starting at the location pointed to by the next token.
4616
5028
  # @return [String]
@@ -4627,7 +5039,7 @@ module Aws::Backup
4627
5039
 
4628
5040
  # @!attribute [rw] next_token
4629
5041
  # The next item following a partial list of returned items. For
4630
- # example, if a request is made to return maxResults number of items,
5042
+ # example, if a request is made to return MaxResults number of items,
4631
5043
  # NextToken allows you to return more items in your list starting at
4632
5044
  # the location pointed to by the next token.
4633
5045
  # @return [String]
@@ -4707,12 +5119,13 @@ module Aws::Backup
4707
5119
  # @return [String]
4708
5120
  #
4709
5121
  # @!attribute [rw] by_message_category
4710
- # This parameter returns the job count for the specified message
4711
- # category.
5122
+ # This is an optional parameter that can be used to filter out jobs
5123
+ # with a MessageCategory which matches the value you input.
4712
5124
  #
4713
- # Example accepted strings include `AccessDenied`, `Success`, and
4714
- # `InvalidParameters`. See [Monitoring][1] for a list of accepted
4715
- # MessageCategory strings.
5125
+ # Example strings may include `AccessDenied`, `SUCCESS`,
5126
+ # `AGGREGATE_ALL`, and `INVALIDPARAMETERS`.
5127
+ #
5128
+ # View [Monitoring][1] for a list of accepted strings.
4716
5129
  #
4717
5130
  # The the value ANY returns count of all message categories.
4718
5131
  #
@@ -4751,7 +5164,7 @@ module Aws::Backup
4751
5164
  #
4752
5165
  # @!attribute [rw] next_token
4753
5166
  # The next item following a partial list of returned items. For
4754
- # example, if a request is made to return maxResults number of items,
5167
+ # example, if a request is made to return MaxResults number of items,
4755
5168
  # NextToken allows you to return more items in your list starting at
4756
5169
  # the location pointed to by the next token.
4757
5170
  # @return [String]
@@ -4808,7 +5221,7 @@ module Aws::Backup
4808
5221
 
4809
5222
  # @!attribute [rw] next_token
4810
5223
  # The next item following a partial list of returned resources. For
4811
- # example, if a request is made to return `maxResults` number of
5224
+ # example, if a request is made to return `MaxResults` number of
4812
5225
  # resources, `NextToken` allows you to return more items in your list
4813
5226
  # starting at the location pointed to by the next token.
4814
5227
  # @return [String]
@@ -4828,7 +5241,7 @@ module Aws::Backup
4828
5241
 
4829
5242
  # @!attribute [rw] next_token
4830
5243
  # The next item following a partial list of returned resources. For
4831
- # example, if a request is made to return `maxResults` number of
5244
+ # example, if a request is made to return `MaxResults` number of
4832
5245
  # resources, `NextToken` allows you to return more items in your list
4833
5246
  # starting at the location pointed to by the next token.
4834
5247
  # @return [String]
@@ -4858,7 +5271,7 @@ module Aws::Backup
4858
5271
  #
4859
5272
  # @!attribute [rw] next_token
4860
5273
  # The next item following a partial list of returned items. For
4861
- # example, if a request is made to return `maxResults` number of
5274
+ # example, if a request is made to return `MaxResults` number of
4862
5275
  # items, `NextToken` allows you to return more items in your list
4863
5276
  # starting at the location pointed to by the next token.
4864
5277
  # @return [String]
@@ -4885,7 +5298,7 @@ module Aws::Backup
4885
5298
  #
4886
5299
  # @!attribute [rw] next_token
4887
5300
  # The next item following a partial list of returned items. For
4888
- # example, if a request is made to return `maxResults` number of
5301
+ # example, if a request is made to return `MaxResults` number of
4889
5302
  # items, `NextToken` allows you to return more items in your list
4890
5303
  # starting at the location pointed to by the next token.
4891
5304
  # @return [String]
@@ -4901,7 +5314,7 @@ module Aws::Backup
4901
5314
 
4902
5315
  # @!attribute [rw] next_token
4903
5316
  # The next item following a partial list of returned items. For
4904
- # example, if a request is made to return `maxResults` number of
5317
+ # example, if a request is made to return `MaxResults` number of
4905
5318
  # items, `NextToken` allows you to return more items in your list
4906
5319
  # starting at the location pointed to by the next token.
4907
5320
  # @return [String]
@@ -4927,7 +5340,7 @@ module Aws::Backup
4927
5340
  #
4928
5341
  # @!attribute [rw] next_token
4929
5342
  # The next item following a partial list of returned items. For
4930
- # example, if a request is made to return `maxResults` number of
5343
+ # example, if a request is made to return `MaxResults` number of
4931
5344
  # items, `NextToken` allows you to return more items in your list
4932
5345
  # starting at the location pointed to by the next token.
4933
5346
  # @return [String]
@@ -4959,7 +5372,7 @@ module Aws::Backup
4959
5372
  #
4960
5373
  # @!attribute [rw] next_token
4961
5374
  # The next item following a partial list of returned items. For
4962
- # example, if a request is made to return `maxResults` number of
5375
+ # example, if a request is made to return `MaxResults` number of
4963
5376
  # items, `NextToken` allows you to return more items in your list
4964
5377
  # starting at the location pointed to by the next token.
4965
5378
  # @return [String]
@@ -5016,7 +5429,7 @@ module Aws::Backup
5016
5429
 
5017
5430
  # @!attribute [rw] next_token
5018
5431
  # The next item following a partial list of returned items. For
5019
- # example, if a request is made to return `maxResults` number of
5432
+ # example, if a request is made to return `MaxResults` number of
5020
5433
  # items, `NextToken` allows you to return more items in your list
5021
5434
  # starting at the location pointed to by the next token.
5022
5435
  # @return [String]
@@ -5041,7 +5454,7 @@ module Aws::Backup
5041
5454
  #
5042
5455
  # @!attribute [rw] next_token
5043
5456
  # This is the next item following a partial list of returned
5044
- # resources. For example, if a request is made to return `maxResults`
5457
+ # resources. For example, if a request is made to return `MaxResults`
5045
5458
  # number of resources, `NextToken` allows you to return more items in
5046
5459
  # your list starting at the location pointed to by the next token.
5047
5460
  # @return [String]
@@ -5086,7 +5499,7 @@ module Aws::Backup
5086
5499
  #
5087
5500
  # @!attribute [rw] next_token
5088
5501
  # The next item following a partial list of returned items. For
5089
- # example, if a request is made to return `maxResults` number of
5502
+ # example, if a request is made to return `MaxResults` number of
5090
5503
  # items, `NextToken` allows you to return more items in your list
5091
5504
  # starting at the location pointed to by the next token.
5092
5505
  # @return [String]
@@ -5111,7 +5524,7 @@ module Aws::Backup
5111
5524
 
5112
5525
  # @!attribute [rw] next_token
5113
5526
  # The next item following a partial list of returned items. For
5114
- # example, if a request is made to return `maxResults` number of
5527
+ # example, if a request is made to return `MaxResults` number of
5115
5528
  # items, `NextToken` allows you to return more items in your list
5116
5529
  # starting at the location pointed to by the next token.
5117
5530
  # @return [String]
@@ -5305,7 +5718,7 @@ module Aws::Backup
5305
5718
  #
5306
5719
  # @!attribute [rw] next_token
5307
5720
  # The next item following a partial list of returned resources. For
5308
- # example, if a request is made to return `maxResults` number of
5721
+ # example, if a request is made to return `MaxResults` number of
5309
5722
  # resources, `NextToken` allows you to return more items in your list
5310
5723
  # starting at the location pointed to by the next token.
5311
5724
  # @return [String]
@@ -5341,7 +5754,7 @@ module Aws::Backup
5341
5754
  #
5342
5755
  # @!attribute [rw] next_token
5343
5756
  # The next item following a partial list of returned resources. For
5344
- # example, if a request is made to return `maxResults` number of
5757
+ # example, if a request is made to return `MaxResults` number of
5345
5758
  # resources, `NextToken` allows you to return more items in your list
5346
5759
  # starting at the location pointed to by the next token.
5347
5760
  # @return [String]
@@ -5356,20 +5769,84 @@ module Aws::Backup
5356
5769
  include Aws::Structure
5357
5770
  end
5358
5771
 
5772
+ # @!attribute [rw] resource_arn
5773
+ # Returns only restore jobs that match the specified resource Amazon
5774
+ # Resource Name (ARN).
5775
+ # @return [String]
5776
+ #
5777
+ # @!attribute [rw] by_status
5778
+ # Returns only restore jobs associated with the specified job status.
5779
+ # @return [String]
5780
+ #
5781
+ # @!attribute [rw] by_recovery_point_creation_date_after
5782
+ # Returns only restore jobs of recovery points that were created after
5783
+ # the specified date.
5784
+ # @return [Time]
5785
+ #
5786
+ # @!attribute [rw] by_recovery_point_creation_date_before
5787
+ # Returns only restore jobs of recovery points that were created
5788
+ # before the specified date.
5789
+ # @return [Time]
5790
+ #
5359
5791
  # @!attribute [rw] next_token
5360
5792
  # The next item following a partial list of returned items. For
5361
- # example, if a request is made to return `maxResults` number of
5362
- # items, `NextToken` allows you to return more items in your list
5363
- # starting at the location pointed to by the next token.
5793
+ # example, if a request ismade to return `MaxResults` number of items,
5794
+ # `NextToken` allows you to return more items in your list starting at
5795
+ # the location pointed to by the next token.
5364
5796
  # @return [String]
5365
5797
  #
5366
5798
  # @!attribute [rw] max_results
5367
5799
  # The maximum number of items to be returned.
5368
5800
  # @return [Integer]
5369
5801
  #
5370
- # @!attribute [rw] by_account_id
5371
- # The account ID to list the jobs from. Returns only restore jobs
5372
- # associated with the specified account ID.
5802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsByProtectedResourceInput AWS API Documentation
5803
+ #
5804
+ class ListRestoreJobsByProtectedResourceInput < Struct.new(
5805
+ :resource_arn,
5806
+ :by_status,
5807
+ :by_recovery_point_creation_date_after,
5808
+ :by_recovery_point_creation_date_before,
5809
+ :next_token,
5810
+ :max_results)
5811
+ SENSITIVE = []
5812
+ include Aws::Structure
5813
+ end
5814
+
5815
+ # @!attribute [rw] restore_jobs
5816
+ # An array of objects that contain detailed information about jobs to
5817
+ # restore saved resources.&gt;
5818
+ # @return [Array<Types::RestoreJobsListMember>]
5819
+ #
5820
+ # @!attribute [rw] next_token
5821
+ # The next item following a partial list of returned items. For
5822
+ # example, if a request is made to return `MaxResults` number of
5823
+ # items, `NextToken` allows youto return more items in your list
5824
+ # starting at the location pointed to by the next token
5825
+ # @return [String]
5826
+ #
5827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsByProtectedResourceOutput AWS API Documentation
5828
+ #
5829
+ class ListRestoreJobsByProtectedResourceOutput < Struct.new(
5830
+ :restore_jobs,
5831
+ :next_token)
5832
+ SENSITIVE = []
5833
+ include Aws::Structure
5834
+ end
5835
+
5836
+ # @!attribute [rw] next_token
5837
+ # The next item following a partial list of returned items. For
5838
+ # example, if a request is made to return `MaxResults` number of
5839
+ # items, `NextToken` allows you to return more items in your list
5840
+ # starting at the location pointed to by the next token.
5841
+ # @return [String]
5842
+ #
5843
+ # @!attribute [rw] max_results
5844
+ # The maximum number of items to be returned.
5845
+ # @return [Integer]
5846
+ #
5847
+ # @!attribute [rw] by_account_id
5848
+ # The account ID to list the jobs from. Returns only restore jobs
5849
+ # associated with the specified account ID.
5373
5850
  # @return [String]
5374
5851
  #
5375
5852
  # @!attribute [rw] by_created_before
@@ -5396,6 +5873,11 @@ module Aws::Backup
5396
5873
  # format and Coordinated Universal Time (UTC).
5397
5874
  # @return [Time]
5398
5875
  #
5876
+ # @!attribute [rw] by_restore_testing_plan_arn
5877
+ # This returns only restore testing jobs that match the specified
5878
+ # resource Amazon Resource Name (ARN).
5879
+ # @return [String]
5880
+ #
5399
5881
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation
5400
5882
  #
5401
5883
  class ListRestoreJobsInput < Struct.new(
@@ -5406,7 +5888,8 @@ module Aws::Backup
5406
5888
  :by_created_after,
5407
5889
  :by_status,
5408
5890
  :by_complete_before,
5409
- :by_complete_after)
5891
+ :by_complete_after,
5892
+ :by_restore_testing_plan_arn)
5410
5893
  SENSITIVE = []
5411
5894
  include Aws::Structure
5412
5895
  end
@@ -5418,7 +5901,7 @@ module Aws::Backup
5418
5901
  #
5419
5902
  # @!attribute [rw] next_token
5420
5903
  # The next item following a partial list of returned items. For
5421
- # example, if a request is made to return `maxResults` number of
5904
+ # example, if a request is made to return `MaxResults` number of
5422
5905
  # items, `NextToken` allows you to return more items in your list
5423
5906
  # starting at the location pointed to by the next token.
5424
5907
  # @return [String]
@@ -5432,6 +5915,93 @@ module Aws::Backup
5432
5915
  include Aws::Structure
5433
5916
  end
5434
5917
 
5918
+ # @!attribute [rw] max_results
5919
+ # The maximum number of items to be returned.
5920
+ # @return [Integer]
5921
+ #
5922
+ # @!attribute [rw] next_token
5923
+ # The next item following a partial list of returned items. For
5924
+ # example, if a request is made to return `MaxResults` number of
5925
+ # items, `NextToken` allows you to return more items in your list
5926
+ # starting at the location pointed to by the nexttoken.
5927
+ # @return [String]
5928
+ #
5929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreTestingPlansInput AWS API Documentation
5930
+ #
5931
+ class ListRestoreTestingPlansInput < Struct.new(
5932
+ :max_results,
5933
+ :next_token)
5934
+ SENSITIVE = []
5935
+ include Aws::Structure
5936
+ end
5937
+
5938
+ # @!attribute [rw] next_token
5939
+ # The next item following a partial list of returned items. For
5940
+ # example, if a request is made to return `MaxResults` number of
5941
+ # items, `NextToken` allows you to return more items in your list
5942
+ # starting at the location pointed to by the nexttoken.
5943
+ # @return [String]
5944
+ #
5945
+ # @!attribute [rw] restore_testing_plans
5946
+ # This is a returned list of restore testing plans.
5947
+ # @return [Array<Types::RestoreTestingPlanForList>]
5948
+ #
5949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreTestingPlansOutput AWS API Documentation
5950
+ #
5951
+ class ListRestoreTestingPlansOutput < Struct.new(
5952
+ :next_token,
5953
+ :restore_testing_plans)
5954
+ SENSITIVE = []
5955
+ include Aws::Structure
5956
+ end
5957
+
5958
+ # @!attribute [rw] max_results
5959
+ # The maximum number of items to be returned.
5960
+ # @return [Integer]
5961
+ #
5962
+ # @!attribute [rw] next_token
5963
+ # The next item following a partial list of returned items. For
5964
+ # example, if a request is made to return `MaxResults` number of
5965
+ # items, `NextToken` allows you to return more items in your list
5966
+ # starting at the location pointed to by the nexttoken.
5967
+ # @return [String]
5968
+ #
5969
+ # @!attribute [rw] restore_testing_plan_name
5970
+ # Returns restore testing selections by the specified restore testing
5971
+ # plan name.
5972
+ # @return [String]
5973
+ #
5974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreTestingSelectionsInput AWS API Documentation
5975
+ #
5976
+ class ListRestoreTestingSelectionsInput < Struct.new(
5977
+ :max_results,
5978
+ :next_token,
5979
+ :restore_testing_plan_name)
5980
+ SENSITIVE = []
5981
+ include Aws::Structure
5982
+ end
5983
+
5984
+ # @!attribute [rw] next_token
5985
+ # The next item following a partial list of returned items. For
5986
+ # example, if a request is made to return `MaxResults` number of
5987
+ # items, `NextToken` allows you to return more items in your list
5988
+ # starting at the location pointed to by the nexttoken.
5989
+ # @return [String]
5990
+ #
5991
+ # @!attribute [rw] restore_testing_selections
5992
+ # The returned restore testing selections associated with the restore
5993
+ # testing plan.
5994
+ # @return [Array<Types::RestoreTestingSelectionForList>]
5995
+ #
5996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreTestingSelectionsOutput AWS API Documentation
5997
+ #
5998
+ class ListRestoreTestingSelectionsOutput < Struct.new(
5999
+ :next_token,
6000
+ :restore_testing_selections)
6001
+ SENSITIVE = []
6002
+ include Aws::Structure
6003
+ end
6004
+
5435
6005
  # @!attribute [rw] resource_arn
5436
6006
  # An Amazon Resource Name (ARN) that uniquely identifies a resource.
5437
6007
  # The format of the ARN depends on the type of resource. Valid targets
@@ -5440,7 +6010,7 @@ module Aws::Backup
5440
6010
  #
5441
6011
  # @!attribute [rw] next_token
5442
6012
  # The next item following a partial list of returned items. For
5443
- # example, if a request is made to return `maxResults` number of
6013
+ # example, if a request is made to return `MaxResults` number of
5444
6014
  # items, `NextToken` allows you to return more items in your list
5445
6015
  # starting at the location pointed to by the next token.
5446
6016
  # @return [String]
@@ -5461,7 +6031,7 @@ module Aws::Backup
5461
6031
 
5462
6032
  # @!attribute [rw] next_token
5463
6033
  # The next item following a partial list of returned items. For
5464
- # example, if a request is made to return `maxResults` number of
6034
+ # example, if a request is made to return `MaxResults` number of
5465
6035
  # items, `NextToken` allows you to return more items in your list
5466
6036
  # starting at the location pointed to by the next token.
5467
6037
  # @return [String]
@@ -5532,13 +6102,52 @@ module Aws::Backup
5532
6102
  # specified backup.
5533
6103
  # @return [String]
5534
6104
  #
6105
+ # @!attribute [rw] last_backup_vault_arn
6106
+ # This is the ARN (Amazon Resource Name) of the backup vault that
6107
+ # contains the most recent backup recovery point.
6108
+ # @return [String]
6109
+ #
6110
+ # @!attribute [rw] last_recovery_point_arn
6111
+ # This is the ARN (Amazon Resource Name) of the most recent recovery
6112
+ # point.
6113
+ # @return [String]
6114
+ #
5535
6115
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ProtectedResource AWS API Documentation
5536
6116
  #
5537
6117
  class ProtectedResource < Struct.new(
5538
6118
  :resource_arn,
5539
6119
  :resource_type,
5540
6120
  :last_backup_time,
5541
- :resource_name)
6121
+ :resource_name,
6122
+ :last_backup_vault_arn,
6123
+ :last_recovery_point_arn)
6124
+ SENSITIVE = []
6125
+ include Aws::Structure
6126
+ end
6127
+
6128
+ # A list of conditions that you define for resources in your restore
6129
+ # testing plan using tags.
6130
+ #
6131
+ # For example, `"StringEquals": \{ "Key":
6132
+ # "aws:ResourceTag/CreatedByCryo", "Value": "true" \},`. Condition
6133
+ # operators are case sensitive.
6134
+ #
6135
+ # @!attribute [rw] string_equals
6136
+ # Filters the values of your tagged resources for only those resources
6137
+ # that you tagged with the same value. Also called "exact matching."
6138
+ # @return [Array<Types::KeyValue>]
6139
+ #
6140
+ # @!attribute [rw] string_not_equals
6141
+ # Filters the values of your tagged resources for only those resources
6142
+ # that you tagged that do not have the same value. Also called
6143
+ # "negated matching."
6144
+ # @return [Array<Types::KeyValue>]
6145
+ #
6146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ProtectedResourceConditions AWS API Documentation
6147
+ #
6148
+ class ProtectedResourceConditions < Struct.new(
6149
+ :string_equals,
6150
+ :string_not_equals)
5542
6151
  SENSITIVE = []
5543
6152
  include Aws::Structure
5544
6153
  end
@@ -5697,6 +6306,29 @@ module Aws::Backup
5697
6306
  include Aws::Structure
5698
6307
  end
5699
6308
 
6309
+ # @!attribute [rw] restore_job_id
6310
+ # This is a unique identifier of a restore job within Backup.
6311
+ # @return [String]
6312
+ #
6313
+ # @!attribute [rw] validation_status
6314
+ # This is the status of your restore validation.
6315
+ # @return [String]
6316
+ #
6317
+ # @!attribute [rw] validation_status_message
6318
+ # This is an optional message string you can input to describe the
6319
+ # validation status for the restore test validation.
6320
+ # @return [String]
6321
+ #
6322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutRestoreValidationResultInput AWS API Documentation
6323
+ #
6324
+ class PutRestoreValidationResultInput < Struct.new(
6325
+ :restore_job_id,
6326
+ :validation_status,
6327
+ :validation_status_message)
6328
+ SENSITIVE = []
6329
+ include Aws::Structure
6330
+ end
6331
+
5700
6332
  # Contains detailed information about the recovery points stored in a
5701
6333
  # backup vault.
5702
6334
  #
@@ -6325,6 +6957,22 @@ module Aws::Backup
6325
6957
  include Aws::Structure
6326
6958
  end
6327
6959
 
6960
+ # Contains information about the restore testing plan that Backup used
6961
+ # to initiate the restore job.
6962
+ #
6963
+ # @!attribute [rw] restore_testing_plan_arn
6964
+ # An Amazon Resource Name (ARN) that uniquely identifies a restore
6965
+ # testing plan.
6966
+ # @return [String]
6967
+ #
6968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreJobCreator AWS API Documentation
6969
+ #
6970
+ class RestoreJobCreator < Struct.new(
6971
+ :restore_testing_plan_arn)
6972
+ SENSITIVE = []
6973
+ include Aws::Structure
6974
+ end
6975
+
6328
6976
  # This is a summary of restore jobs created or running within the most
6329
6977
  # recent 30 days.
6330
6978
  #
@@ -6455,6 +7103,33 @@ module Aws::Backup
6455
7103
  # Amazon EC2.
6456
7104
  # @return [String]
6457
7105
  #
7106
+ # @!attribute [rw] recovery_point_creation_date
7107
+ # The date on which a recovery point was created.
7108
+ # @return [Time]
7109
+ #
7110
+ # @!attribute [rw] created_by
7111
+ # Contains identifying information about the creation of a restore
7112
+ # job.
7113
+ # @return [Types::RestoreJobCreator]
7114
+ #
7115
+ # @!attribute [rw] validation_status
7116
+ # This is the status of validation run on the indicated restore job.
7117
+ # @return [String]
7118
+ #
7119
+ # @!attribute [rw] validation_status_message
7120
+ # This describes the status of validation run on the indicated restore
7121
+ # job.
7122
+ # @return [String]
7123
+ #
7124
+ # @!attribute [rw] deletion_status
7125
+ # This notes the status of the data generated by the restore test. The
7126
+ # status may be `Deleting`, `Failed`, or `Successful`.
7127
+ # @return [String]
7128
+ #
7129
+ # @!attribute [rw] deletion_status_message
7130
+ # This describes the restore job deletion status.
7131
+ # @return [String]
7132
+ #
6458
7133
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreJobsListMember AWS API Documentation
6459
7134
  #
6460
7135
  class RestoreJobsListMember < Struct.new(
@@ -6470,11 +7145,604 @@ module Aws::Backup
6470
7145
  :iam_role_arn,
6471
7146
  :expected_completion_time_minutes,
6472
7147
  :created_resource_arn,
6473
- :resource_type)
7148
+ :resource_type,
7149
+ :recovery_point_creation_date,
7150
+ :created_by,
7151
+ :validation_status,
7152
+ :validation_status_message,
7153
+ :deletion_status,
7154
+ :deletion_status_message)
7155
+ SENSITIVE = []
7156
+ include Aws::Structure
7157
+ end
7158
+
7159
+ # This contains metadata about a restore testing plan.
7160
+ #
7161
+ # @!attribute [rw] recovery_point_selection
7162
+ # Required: Algorithm; Required: Recovery point types; IncludeVaults
7163
+ # (one or more). Optional: SelectionWindowDays ('30' if not
7164
+ # specified); ExcludeVaults (list of selectors), defaults to empty
7165
+ # list if not listed.
7166
+ # @return [Types::RestoreTestingRecoveryPointSelection]
7167
+ #
7168
+ # @!attribute [rw] restore_testing_plan_name
7169
+ # The RestoreTestingPlanName is a unique string that is the name of
7170
+ # the restore testing plan. This cannot be changed after creation, and
7171
+ # it must consist of only alphanumeric characters and underscores.
7172
+ # @return [String]
7173
+ #
7174
+ # @!attribute [rw] schedule_expression
7175
+ # A CRON expression in specified timezone when a restore testing plan
7176
+ # is executed.
7177
+ # @return [String]
7178
+ #
7179
+ # @!attribute [rw] schedule_expression_timezone
7180
+ # Optional. This is the timezone in which the schedule expression is
7181
+ # set. By default, ScheduleExpressions are in UTC. You can modify this
7182
+ # to a specified timezone.
7183
+ # @return [String]
7184
+ #
7185
+ # @!attribute [rw] start_window_hours
7186
+ # Defaults to 24 hours.
7187
+ #
7188
+ # A value in hours after a restore test is scheduled before a job will
7189
+ # be canceled if it doesn't start successfully. This value is
7190
+ # optional. If this value is included, this parameter has a maximum
7191
+ # value of 168 hours (one week).
7192
+ # @return [Integer]
7193
+ #
7194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingPlanForCreate AWS API Documentation
7195
+ #
7196
+ class RestoreTestingPlanForCreate < Struct.new(
7197
+ :recovery_point_selection,
7198
+ :restore_testing_plan_name,
7199
+ :schedule_expression,
7200
+ :schedule_expression_timezone,
7201
+ :start_window_hours)
7202
+ SENSITIVE = []
7203
+ include Aws::Structure
7204
+ end
7205
+
7206
+ # This contains metadata about a restore testing plan.
7207
+ #
7208
+ # @!attribute [rw] creation_time
7209
+ # The date and time that a restore testing plan was created, in Unix
7210
+ # format and Coordinated Universal Time (UTC). The value of
7211
+ # `CreationTime` is accurate to milliseconds. For example, the value
7212
+ # 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
7213
+ # @return [Time]
7214
+ #
7215
+ # @!attribute [rw] creator_request_id
7216
+ # This identifies the request and allows failed requests to be retried
7217
+ # without the risk of running the operation twice. If the request
7218
+ # includes a `CreatorRequestId` that matches an existing backup plan,
7219
+ # that plan is returned. This parameter is optional.
7220
+ #
7221
+ # If used, this parameter must contain 1 to 50 alphanumeric or
7222
+ # '-\_.' characters.
7223
+ # @return [String]
7224
+ #
7225
+ # @!attribute [rw] last_execution_time
7226
+ # The last time a restore test was run with the specified restore
7227
+ # testing plan. A date and time, in Unix format and Coordinated
7228
+ # Universal Time (UTC). The value of `LastExecutionDate` is accurate
7229
+ # to milliseconds. For example, the value 1516925490.087 represents
7230
+ # Friday, January 26, 2018 12:11:30.087 AM.
7231
+ # @return [Time]
7232
+ #
7233
+ # @!attribute [rw] last_update_time
7234
+ # The date and time that the restore testing plan was updated. This
7235
+ # update is in Unix format and Coordinated Universal Time (UTC). The
7236
+ # value of `LastUpdateTime` is accurate to milliseconds. For example,
7237
+ # the value 1516925490.087 represents Friday, January 26, 2018
7238
+ # 12:11:30.087 AM.
7239
+ # @return [Time]
7240
+ #
7241
+ # @!attribute [rw] recovery_point_selection
7242
+ # The specified criteria to assign a set of resources, such as
7243
+ # recovery point types or backup vaults.
7244
+ # @return [Types::RestoreTestingRecoveryPointSelection]
7245
+ #
7246
+ # @!attribute [rw] restore_testing_plan_arn
7247
+ # An Amazon Resource Name (ARN) that uniquely identifies a restore
7248
+ # testing plan.
7249
+ # @return [String]
7250
+ #
7251
+ # @!attribute [rw] restore_testing_plan_name
7252
+ # This is the restore testing plan name.
7253
+ # @return [String]
7254
+ #
7255
+ # @!attribute [rw] schedule_expression
7256
+ # A CRON expression in specified timezone when a restore testing plan
7257
+ # is executed.
7258
+ # @return [String]
7259
+ #
7260
+ # @!attribute [rw] schedule_expression_timezone
7261
+ # Optional. This is the timezone in which the schedule expression is
7262
+ # set. By default, ScheduleExpressions are in UTC. You can modify this
7263
+ # to a specified timezone.
7264
+ # @return [String]
7265
+ #
7266
+ # @!attribute [rw] start_window_hours
7267
+ # Defaults to 24 hours.
7268
+ #
7269
+ # A value in hours after a restore test is scheduled before a job will
7270
+ # be canceled if it doesn't start successfully. This value is
7271
+ # optional. If this value is included, this parameter has a maximum
7272
+ # value of 168 hours (one week).
7273
+ # @return [Integer]
7274
+ #
7275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingPlanForGet AWS API Documentation
7276
+ #
7277
+ class RestoreTestingPlanForGet < Struct.new(
7278
+ :creation_time,
7279
+ :creator_request_id,
7280
+ :last_execution_time,
7281
+ :last_update_time,
7282
+ :recovery_point_selection,
7283
+ :restore_testing_plan_arn,
7284
+ :restore_testing_plan_name,
7285
+ :schedule_expression,
7286
+ :schedule_expression_timezone,
7287
+ :start_window_hours)
7288
+ SENSITIVE = []
7289
+ include Aws::Structure
7290
+ end
7291
+
7292
+ # This contains metadata about a restore testing plan.
7293
+ #
7294
+ # @!attribute [rw] creation_time
7295
+ # The date and time that a restore testing plan was created, in Unix
7296
+ # format and Coordinated Universal Time (UTC). The value of
7297
+ # `CreationTime` is accurate to milliseconds. For example, the value
7298
+ # 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
7299
+ # @return [Time]
7300
+ #
7301
+ # @!attribute [rw] last_execution_time
7302
+ # The last time a restore test was run with the specified restore
7303
+ # testing plan. A date and time, in Unix format and Coordinated
7304
+ # Universal Time (UTC). The value of `LastExecutionDate` is accurate
7305
+ # to milliseconds. For example, the value 1516925490.087 represents
7306
+ # Friday, January 26, 2018 12:11:30.087 AM.
7307
+ # @return [Time]
7308
+ #
7309
+ # @!attribute [rw] last_update_time
7310
+ # The date and time that the restore testing plan was updated. This
7311
+ # update is in Unix format and Coordinated Universal Time (UTC). The
7312
+ # value of `LastUpdateTime` is accurate to milliseconds. For example,
7313
+ # the value 1516925490.087 represents Friday, January 26, 2018
7314
+ # 12:11:30.087 AM.
7315
+ # @return [Time]
7316
+ #
7317
+ # @!attribute [rw] restore_testing_plan_arn
7318
+ # An Amazon Resource Name (ARN) that uniquely identifiesa restore
7319
+ # testing plan.
7320
+ # @return [String]
7321
+ #
7322
+ # @!attribute [rw] restore_testing_plan_name
7323
+ # This is the restore testing plan name.
7324
+ # @return [String]
7325
+ #
7326
+ # @!attribute [rw] schedule_expression
7327
+ # A CRON expression in specified timezone when a restore testing plan
7328
+ # is executed.
7329
+ # @return [String]
7330
+ #
7331
+ # @!attribute [rw] schedule_expression_timezone
7332
+ # Optional. This is the timezone in which the schedule expression is
7333
+ # set. By default, ScheduleExpressions are in UTC. You can modify this
7334
+ # to a specified timezone.
7335
+ # @return [String]
7336
+ #
7337
+ # @!attribute [rw] start_window_hours
7338
+ # Defaults to 24 hours.
7339
+ #
7340
+ # A value in hours after a restore test is scheduled before a job will
7341
+ # be canceled if it doesn't start successfully. This value is
7342
+ # optional. If this value is included, this parameter has a maximum
7343
+ # value of 168 hours (one week).
7344
+ # @return [Integer]
7345
+ #
7346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingPlanForList AWS API Documentation
7347
+ #
7348
+ class RestoreTestingPlanForList < Struct.new(
7349
+ :creation_time,
7350
+ :last_execution_time,
7351
+ :last_update_time,
7352
+ :restore_testing_plan_arn,
7353
+ :restore_testing_plan_name,
7354
+ :schedule_expression,
7355
+ :schedule_expression_timezone,
7356
+ :start_window_hours)
6474
7357
  SENSITIVE = []
6475
7358
  include Aws::Structure
6476
7359
  end
6477
7360
 
7361
+ # This contains metadata about a restore testing plan.
7362
+ #
7363
+ # @!attribute [rw] recovery_point_selection
7364
+ # Required: `Algorithm`; `RecoveryPointTypes`; `IncludeVaults` (*one
7365
+ # or more*).
7366
+ #
7367
+ # Optional: *SelectionWindowDays* (*'30' if not specified*);
7368
+ # `ExcludeVaults` (defaults to empty list if not listed).
7369
+ # @return [Types::RestoreTestingRecoveryPointSelection]
7370
+ #
7371
+ # @!attribute [rw] schedule_expression
7372
+ # A CRON expression in specified timezone when a restore testing plan
7373
+ # is executed.
7374
+ # @return [String]
7375
+ #
7376
+ # @!attribute [rw] schedule_expression_timezone
7377
+ # Optional. This is the timezone in which the schedule expression is
7378
+ # set. By default, ScheduleExpressions are in UTC. You can modify this
7379
+ # to a specified timezone.
7380
+ # @return [String]
7381
+ #
7382
+ # @!attribute [rw] start_window_hours
7383
+ # Defaults to 24 hours.
7384
+ #
7385
+ # A value in hours after a restore test is scheduled before a job will
7386
+ # be canceled if it doesn't start successfully. This value is
7387
+ # optional. If this value is included, this parameter has a maximum
7388
+ # value of 168 hours (one week).
7389
+ # @return [Integer]
7390
+ #
7391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingPlanForUpdate AWS API Documentation
7392
+ #
7393
+ class RestoreTestingPlanForUpdate < Struct.new(
7394
+ :recovery_point_selection,
7395
+ :schedule_expression,
7396
+ :schedule_expression_timezone,
7397
+ :start_window_hours)
7398
+ SENSITIVE = []
7399
+ include Aws::Structure
7400
+ end
7401
+
7402
+ # Required: Algorithm; Required: Recovery point types; IncludeVaults(one
7403
+ # or more). Optional: SelectionWindowDays ('30' if not
7404
+ # specified);ExcludeVaults (list of selectors), defaults to empty list
7405
+ # if not listed.
7406
+ #
7407
+ # @!attribute [rw] algorithm
7408
+ # Acceptable values include "LATEST\_WITHIN\_WINDOW" or
7409
+ # "RANDOM\_WITHIN\_WINDOW"
7410
+ # @return [String]
7411
+ #
7412
+ # @!attribute [rw] exclude_vaults
7413
+ # Accepted values include specific ARNs or list of selectors. Defaults
7414
+ # to empty list if not listed.
7415
+ # @return [Array<String>]
7416
+ #
7417
+ # @!attribute [rw] include_vaults
7418
+ # Accepted values include wildcard \["*"\] or by specific ARNs or
7419
+ # ARN wilcard replacement
7420
+ # \["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...\]
7421
+ # \["arn:aws:backup:*:*:backup-vault:asdf-*", ...\]
7422
+ # @return [Array<String>]
7423
+ #
7424
+ # @!attribute [rw] recovery_point_types
7425
+ # These are the types of recovery points.
7426
+ # @return [Array<String>]
7427
+ #
7428
+ # @!attribute [rw] selection_window_days
7429
+ # Accepted values are integers from 1 to 365.
7430
+ # @return [Integer]
7431
+ #
7432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingRecoveryPointSelection AWS API Documentation
7433
+ #
7434
+ class RestoreTestingRecoveryPointSelection < Struct.new(
7435
+ :algorithm,
7436
+ :exclude_vaults,
7437
+ :include_vaults,
7438
+ :recovery_point_types,
7439
+ :selection_window_days)
7440
+ SENSITIVE = []
7441
+ include Aws::Structure
7442
+ end
7443
+
7444
+ # This contains metadata about a specific restore testing selection.
7445
+ #
7446
+ # ProtectedResourceType is required, such as Amazon EBS or Amazon EC2.
7447
+ #
7448
+ # This consists of `RestoreTestingSelectionName`,
7449
+ # `ProtectedResourceType`, and one of the following:
7450
+ #
7451
+ # * `ProtectedResourceArns`
7452
+ #
7453
+ # * `ProtectedResourceConditions`
7454
+ #
7455
+ # Each protected resource type can have one single value.
7456
+ #
7457
+ # A restore testing selection can include a wildcard value ("*") for
7458
+ # `ProtectedResourceArns` along with `ProtectedResourceConditions`.
7459
+ # Alternatively, you can include up to 30 specific protected resource
7460
+ # ARNs in `ProtectedResourceArns`.
7461
+ #
7462
+ # `ProtectedResourceConditions` examples include as `StringEquals` and
7463
+ # `StringNotEquals`.
7464
+ #
7465
+ # @!attribute [rw] iam_role_arn
7466
+ # The Amazon Resource Name (ARN) of the IAM role that Backup uses to
7467
+ # create the target resource; for example:
7468
+ # `arn:aws:iam::123456789012:role/S3Access`.
7469
+ # @return [String]
7470
+ #
7471
+ # @!attribute [rw] protected_resource_arns
7472
+ # Each protected resource can be filtered by its specific ARNs, such
7473
+ # as `ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]` or by a
7474
+ # wildcard: `ProtectedResourceArns: ["*"]`, but not both.
7475
+ # @return [Array<String>]
7476
+ #
7477
+ # @!attribute [rw] protected_resource_conditions
7478
+ # If you have included the wildcard in ProtectedResourceArns, you can
7479
+ # include resource conditions, such as `ProtectedResourceConditions:
7480
+ # \{ StringEquals: [\{ key: "XXXX", value: "YYYY" \}]`.
7481
+ # @return [Types::ProtectedResourceConditions]
7482
+ #
7483
+ # @!attribute [rw] protected_resource_type
7484
+ # The type of Amazon Web Services resource included in a restore
7485
+ # testing selection; for example, an Amazon EBS volume or an Amazon
7486
+ # RDS database.
7487
+ #
7488
+ # Supported resource types accepted include:
7489
+ #
7490
+ # * `Aurora` for Amazon Aurora
7491
+ #
7492
+ # * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
7493
+ #
7494
+ # * `DynamoDB` for Amazon DynamoDB
7495
+ #
7496
+ # * `EBS` for Amazon Elastic Block Store
7497
+ #
7498
+ # * `EC2` for Amazon Elastic Compute Cloud
7499
+ #
7500
+ # * `EFS` for Amazon Elastic File System
7501
+ #
7502
+ # * `FSx` for Amazon FSx
7503
+ #
7504
+ # * `Neptune` for Amazon Neptune
7505
+ #
7506
+ # * `RDS` for Amazon Relational Database Service
7507
+ #
7508
+ # * `S3` for Amazon S3
7509
+ # @return [String]
7510
+ #
7511
+ # @!attribute [rw] restore_metadata_overrides
7512
+ # You can override certain restore metadata keys by including the
7513
+ # parameter `RestoreMetadataOverrides` in the body of
7514
+ # `RestoreTestingSelection`. Key values are not case sensitive.
7515
+ #
7516
+ # See the complete list of [restore testing inferred metadata][1].
7517
+ #
7518
+ #
7519
+ #
7520
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html
7521
+ # @return [Hash<String,String>]
7522
+ #
7523
+ # @!attribute [rw] restore_testing_selection_name
7524
+ # This is the unique name of the restore testing selection that
7525
+ # belongs to the related restore testing plan.
7526
+ # @return [String]
7527
+ #
7528
+ # @!attribute [rw] validation_window_hours
7529
+ # This is amount of hours (1 to 168) available to run a validation
7530
+ # script on the data. The data will be deleted upon the completion of
7531
+ # the validation script or the end of the specified retention period,
7532
+ # whichever comes first.
7533
+ # @return [Integer]
7534
+ #
7535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingSelectionForCreate AWS API Documentation
7536
+ #
7537
+ class RestoreTestingSelectionForCreate < Struct.new(
7538
+ :iam_role_arn,
7539
+ :protected_resource_arns,
7540
+ :protected_resource_conditions,
7541
+ :protected_resource_type,
7542
+ :restore_metadata_overrides,
7543
+ :restore_testing_selection_name,
7544
+ :validation_window_hours)
7545
+ SENSITIVE = [:restore_metadata_overrides]
7546
+ include Aws::Structure
7547
+ end
7548
+
7549
+ # This contains metadata about a restore testing selection.
7550
+ #
7551
+ # @!attribute [rw] creation_time
7552
+ # The date and time that a restore testing selection was created, in
7553
+ # Unix format and Coordinated Universal Time (UTC). The value of
7554
+ # `CreationTime` is accurate to milliseconds. For example, the value
7555
+ # 1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.
7556
+ # @return [Time]
7557
+ #
7558
+ # @!attribute [rw] creator_request_id
7559
+ # This identifies the request and allows failed requests to be retried
7560
+ # without the risk of running the operation twice. If the request
7561
+ # includes a `CreatorRequestId` that matches an existing backup plan,
7562
+ # that plan is returned. This parameter is optional.
7563
+ #
7564
+ # If used, this parameter must contain 1 to 50 alphanumeric or
7565
+ # '-\_.' characters.
7566
+ # @return [String]
7567
+ #
7568
+ # @!attribute [rw] iam_role_arn
7569
+ # The Amazon Resource Name (ARN) of the IAM role that Backup uses to
7570
+ # create the target resource; for
7571
+ # example:`arn:aws:iam::123456789012:role/S3Access`.
7572
+ # @return [String]
7573
+ #
7574
+ # @!attribute [rw] protected_resource_arns
7575
+ # You can include specific ARNs, such as `ProtectedResourceArns:
7576
+ # ["arn:aws:...", "arn:aws:..."]` or you can include a wildcard:
7577
+ # `ProtectedResourceArns: ["*"]`, but not both.
7578
+ # @return [Array<String>]
7579
+ #
7580
+ # @!attribute [rw] protected_resource_conditions
7581
+ # In a resource testing selection, this parameter filters by specific
7582
+ # conditions such as `StringEquals` or `StringNotEquals`.
7583
+ # @return [Types::ProtectedResourceConditions]
7584
+ #
7585
+ # @!attribute [rw] protected_resource_type
7586
+ # The type of Amazon Web Services resource included in a resource
7587
+ # testing selection; for example, an Amazon EBS volume or an Amazon
7588
+ # RDS database.
7589
+ # @return [String]
7590
+ #
7591
+ # @!attribute [rw] restore_metadata_overrides
7592
+ # You can override certain restore metadata keys by including the
7593
+ # parameter `RestoreMetadataOverrides` in the body of
7594
+ # `RestoreTestingSelection`. Key values are not case sensitive.
7595
+ #
7596
+ # See the complete list of [restore testing inferred metadata][1].
7597
+ #
7598
+ #
7599
+ #
7600
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html
7601
+ # @return [Hash<String,String>]
7602
+ #
7603
+ # @!attribute [rw] restore_testing_plan_name
7604
+ # The RestoreTestingPlanName is a unique string that is the name of
7605
+ # the restore testing plan.
7606
+ # @return [String]
7607
+ #
7608
+ # @!attribute [rw] restore_testing_selection_name
7609
+ # This is the unique name of the restore testing selection that
7610
+ # belongs to the related restore testing plan.
7611
+ # @return [String]
7612
+ #
7613
+ # @!attribute [rw] validation_window_hours
7614
+ # This is amount of hours (1 to 168) available to run a validation
7615
+ # script on the data. The data will be deleted upon the completion of
7616
+ # the validation script or the end of the specified retention period,
7617
+ # whichever comes first.
7618
+ # @return [Integer]
7619
+ #
7620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingSelectionForGet AWS API Documentation
7621
+ #
7622
+ class RestoreTestingSelectionForGet < Struct.new(
7623
+ :creation_time,
7624
+ :creator_request_id,
7625
+ :iam_role_arn,
7626
+ :protected_resource_arns,
7627
+ :protected_resource_conditions,
7628
+ :protected_resource_type,
7629
+ :restore_metadata_overrides,
7630
+ :restore_testing_plan_name,
7631
+ :restore_testing_selection_name,
7632
+ :validation_window_hours)
7633
+ SENSITIVE = [:restore_metadata_overrides]
7634
+ include Aws::Structure
7635
+ end
7636
+
7637
+ # This contains metadata about a restore testing selection.
7638
+ #
7639
+ # @!attribute [rw] creation_time
7640
+ # This is the date and time that a restore testing selection was
7641
+ # created, in Unix format and Coordinated Universal Time (UTC). The
7642
+ # value of `CreationTime` is accurate to milliseconds. For example,
7643
+ # the value 1516925490.087 represents Friday, January 26,2018
7644
+ # 12:11:30.087 AM.
7645
+ # @return [Time]
7646
+ #
7647
+ # @!attribute [rw] iam_role_arn
7648
+ # The Amazon Resource Name (ARN) of the IAM role that Backup uses to
7649
+ # create the target resource; for example:
7650
+ # `arn:aws:iam::123456789012:role/S3Access`.
7651
+ # @return [String]
7652
+ #
7653
+ # @!attribute [rw] protected_resource_type
7654
+ # The type of Amazon Web Services resource included in a restore
7655
+ # testing selection; for example, an Amazon EBS volume or an Amazon
7656
+ # RDS database.
7657
+ # @return [String]
7658
+ #
7659
+ # @!attribute [rw] restore_testing_plan_name
7660
+ # Unique string that is the name of the restore testing plan.
7661
+ #
7662
+ # The name cannot be changed after creation. The name must consist of
7663
+ # only alphanumeric characters and underscores. Maximum length is 50.
7664
+ # @return [String]
7665
+ #
7666
+ # @!attribute [rw] restore_testing_selection_name
7667
+ # Unique name of a restore testing selection.
7668
+ # @return [String]
7669
+ #
7670
+ # @!attribute [rw] validation_window_hours
7671
+ # This value represents the time, in hours, data is retained after a
7672
+ # restore test so that optional validation can be completed.
7673
+ #
7674
+ # Accepted value is an integer between 0 and 168 (the hourly
7675
+ # equivalent of seven days).
7676
+ # @return [Integer]
7677
+ #
7678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingSelectionForList AWS API Documentation
7679
+ #
7680
+ class RestoreTestingSelectionForList < Struct.new(
7681
+ :creation_time,
7682
+ :iam_role_arn,
7683
+ :protected_resource_type,
7684
+ :restore_testing_plan_name,
7685
+ :restore_testing_selection_name,
7686
+ :validation_window_hours)
7687
+ SENSITIVE = []
7688
+ include Aws::Structure
7689
+ end
7690
+
7691
+ # This contains metadata about a restore testing selection.
7692
+ #
7693
+ # @!attribute [rw] iam_role_arn
7694
+ # The Amazon Resource Name (ARN) of the IAM role that Backup uses to
7695
+ # create the target resource; for example:
7696
+ # `arn:aws:iam::123456789012:role/S3Access`.
7697
+ # @return [String]
7698
+ #
7699
+ # @!attribute [rw] protected_resource_arns
7700
+ # You can include a list of specific ARNs, such as
7701
+ # `ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]` or you can
7702
+ # include a wildcard: `ProtectedResourceArns: ["*"]`, but not both.
7703
+ # @return [Array<String>]
7704
+ #
7705
+ # @!attribute [rw] protected_resource_conditions
7706
+ # A list of conditions that you define for resources in your restore
7707
+ # testing plan using tags.
7708
+ #
7709
+ # For example, `"StringEquals": \{ "Key":
7710
+ # "aws:ResourceTag/CreatedByCryo", "Value": "true" \},`. Condition
7711
+ # operators are case sensitive.
7712
+ # @return [Types::ProtectedResourceConditions]
7713
+ #
7714
+ # @!attribute [rw] restore_metadata_overrides
7715
+ # You can override certain restore metadata keys by including the
7716
+ # parameter `RestoreMetadataOverrides` in the body of
7717
+ # `RestoreTestingSelection`. Key values are not case sensitive.
7718
+ #
7719
+ # See the complete list of [restore testing inferred metadata][1].
7720
+ #
7721
+ #
7722
+ #
7723
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html
7724
+ # @return [Hash<String,String>]
7725
+ #
7726
+ # @!attribute [rw] validation_window_hours
7727
+ # This value represents the time, in hours, data is retained after a
7728
+ # restore test so that optional validation can be completed.
7729
+ #
7730
+ # Accepted value is an integer between 0 and 168 (the hourly
7731
+ # equivalent of seven days).
7732
+ # @return [Integer]
7733
+ #
7734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreTestingSelectionForUpdate AWS API Documentation
7735
+ #
7736
+ class RestoreTestingSelectionForUpdate < Struct.new(
7737
+ :iam_role_arn,
7738
+ :protected_resource_arns,
7739
+ :protected_resource_conditions,
7740
+ :restore_metadata_overrides,
7741
+ :validation_window_hours)
7742
+ SENSITIVE = [:restore_metadata_overrides]
7743
+ include Aws::Structure
7744
+ end
7745
+
6478
7746
  # The request failed due to a temporary failure of the server.
6479
7747
  #
6480
7748
  # @!attribute [rw] code
@@ -7274,5 +8542,113 @@ module Aws::Backup
7274
8542
  include Aws::Structure
7275
8543
  end
7276
8544
 
8545
+ # @!attribute [rw] restore_testing_plan
8546
+ # Specifies the body of a restore testing plan.
8547
+ # @return [Types::RestoreTestingPlanForUpdate]
8548
+ #
8549
+ # @!attribute [rw] restore_testing_plan_name
8550
+ # This is the restore testing plan name you wish to update.
8551
+ # @return [String]
8552
+ #
8553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRestoreTestingPlanInput AWS API Documentation
8554
+ #
8555
+ class UpdateRestoreTestingPlanInput < Struct.new(
8556
+ :restore_testing_plan,
8557
+ :restore_testing_plan_name)
8558
+ SENSITIVE = []
8559
+ include Aws::Structure
8560
+ end
8561
+
8562
+ # @!attribute [rw] creation_time
8563
+ # This is the time the resource testing plan was created.
8564
+ # @return [Time]
8565
+ #
8566
+ # @!attribute [rw] restore_testing_plan_arn
8567
+ # Unique ARN (Amazon Resource Name) of the restore testing plan.
8568
+ # @return [String]
8569
+ #
8570
+ # @!attribute [rw] restore_testing_plan_name
8571
+ # The name cannot be changed after creation. The name consists of only
8572
+ # alphanumeric characters and underscores. Maximum length is 50.
8573
+ # @return [String]
8574
+ #
8575
+ # @!attribute [rw] update_time
8576
+ # This is the time the update completed for the restore testing plan.
8577
+ # @return [Time]
8578
+ #
8579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRestoreTestingPlanOutput AWS API Documentation
8580
+ #
8581
+ class UpdateRestoreTestingPlanOutput < Struct.new(
8582
+ :creation_time,
8583
+ :restore_testing_plan_arn,
8584
+ :restore_testing_plan_name,
8585
+ :update_time)
8586
+ SENSITIVE = []
8587
+ include Aws::Structure
8588
+ end
8589
+
8590
+ # @!attribute [rw] restore_testing_plan_name
8591
+ # The restore testing plan name is required to update the indicated
8592
+ # testing plan.
8593
+ # @return [String]
8594
+ #
8595
+ # @!attribute [rw] restore_testing_selection
8596
+ # To update your restore testing selection, you can use either
8597
+ # protected resource ARNs or conditions, but not both. That is, if
8598
+ # your selection has `ProtectedResourceArns`, requesting an update
8599
+ # with the parameter `ProtectedResourceConditions` will be
8600
+ # unsuccessful.
8601
+ # @return [Types::RestoreTestingSelectionForUpdate]
8602
+ #
8603
+ # @!attribute [rw] restore_testing_selection_name
8604
+ # This is the required restore testing selection name of the restore
8605
+ # testing selection you wish to update.
8606
+ # @return [String]
8607
+ #
8608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRestoreTestingSelectionInput AWS API Documentation
8609
+ #
8610
+ class UpdateRestoreTestingSelectionInput < Struct.new(
8611
+ :restore_testing_plan_name,
8612
+ :restore_testing_selection,
8613
+ :restore_testing_selection_name)
8614
+ SENSITIVE = []
8615
+ include Aws::Structure
8616
+ end
8617
+
8618
+ # @!attribute [rw] creation_time
8619
+ # This is the time the resource testing selection was updated
8620
+ # successfully.
8621
+ # @return [Time]
8622
+ #
8623
+ # @!attribute [rw] restore_testing_plan_arn
8624
+ # Unique string that is the name of the restore testing plan.
8625
+ # @return [String]
8626
+ #
8627
+ # @!attribute [rw] restore_testing_plan_name
8628
+ # This is the restore testing plan with which the updated restore
8629
+ # testing selection is associated.
8630
+ # @return [String]
8631
+ #
8632
+ # @!attribute [rw] restore_testing_selection_name
8633
+ # This is the returned restore testing selection name.
8634
+ # @return [String]
8635
+ #
8636
+ # @!attribute [rw] update_time
8637
+ # This is the time the update completed for the restore testing
8638
+ # selection.
8639
+ # @return [Time]
8640
+ #
8641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRestoreTestingSelectionOutput AWS API Documentation
8642
+ #
8643
+ class UpdateRestoreTestingSelectionOutput < Struct.new(
8644
+ :creation_time,
8645
+ :restore_testing_plan_arn,
8646
+ :restore_testing_plan_name,
8647
+ :restore_testing_selection_name,
8648
+ :update_time)
8649
+ SENSITIVE = []
8650
+ include Aws::Structure
8651
+ end
8652
+
7277
8653
  end
7278
8654
  end