aws-sdk-backup 1.36.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +106 -40
- data/lib/aws-sdk-backup/client_api.rb +24 -0
- data/lib/aws-sdk-backup/types.rb +308 -48
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88b88b6530a3bb43796c2e1963b4bf4951d93d446c6d2dfb8b5e0b659848ea24
|
4
|
+
data.tar.gz: c483623b27bffc1ed3b310a33f55e097be585cb9821432ea85e4c68895740aee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f8550500485d219777d2ee92a9bd248978ee346c829fb3b7cc66036908cd0b0c518e0164548e3b3cd1354e83ec1d19137f1ed53bf7927b0c059481d1d91abe1
|
7
|
+
data.tar.gz: 5922b5046e89fce74208fbb26395b6b7757501639867d93e3728cc17d901ee6bd97f8b3c3e06a3dd87cc3107466d4dc6a8e3c2287e8a95ce4a2dfd5bd41ceb01
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.39.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.38.0 (2021-11-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds new opt-in settings for advanced features for DynamoDB backups
|
18
|
+
|
19
|
+
1.37.0 (2021-11-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS Backup SDK provides new options when scheduling backups: select supported services and resources that are assigned to a particular tag, linked to a combination of tags, or can be identified by a partial tag value, and exclude resources from their assignments.
|
23
|
+
|
4
24
|
1.36.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::Backup
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::Backup
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::Backup
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::Backup
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::Backup
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -358,6 +369,9 @@ module Aws::Backup
|
|
358
369
|
# includes a `CreatorRequestId` that matches an existing backup plan,
|
359
370
|
# that plan is returned. This parameter is optional.
|
360
371
|
#
|
372
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
373
|
+
# characters.
|
374
|
+
#
|
361
375
|
# @return [Types::CreateBackupPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
362
376
|
#
|
363
377
|
# * {Types::CreateBackupPlanOutput#backup_plan_id #backup_plan_id} => String
|
@@ -433,35 +447,12 @@ module Aws::Backup
|
|
433
447
|
end
|
434
448
|
|
435
449
|
# Creates a JSON document that specifies a set of resources to assign to
|
436
|
-
# a backup plan.
|
437
|
-
#
|
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"`
|
448
|
-
#
|
449
|
-
# * `ConditionKey:"importance"`
|
450
|
+
# a backup plan. For examples, see [Assigning resources
|
451
|
+
# programmatically][1].
|
450
452
|
#
|
451
|
-
# `ConditionValue:"critical"`
|
452
453
|
#
|
453
|
-
# `ConditionType:"StringEquals"`
|
454
454
|
#
|
455
|
-
#
|
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.
|
455
|
+
# [1]: https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json
|
465
456
|
#
|
466
457
|
# @option params [required, String] :backup_plan_id
|
467
458
|
# Uniquely identifies the backup plan to be associated with the
|
@@ -473,7 +464,11 @@ module Aws::Backup
|
|
473
464
|
#
|
474
465
|
# @option params [String] :creator_request_id
|
475
466
|
# A unique string that identifies the request and allows failed requests
|
476
|
-
# to be retried without the risk of running the operation twice.
|
467
|
+
# to be retried without the risk of running the operation twice. This
|
468
|
+
# parameter is optional.
|
469
|
+
#
|
470
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
471
|
+
# characters.
|
477
472
|
#
|
478
473
|
# @return [Types::CreateBackupSelectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
479
474
|
#
|
@@ -496,6 +491,33 @@ module Aws::Backup
|
|
496
491
|
# condition_value: "ConditionValue", # required
|
497
492
|
# },
|
498
493
|
# ],
|
494
|
+
# not_resources: ["ARN"],
|
495
|
+
# conditions: {
|
496
|
+
# string_equals: [
|
497
|
+
# {
|
498
|
+
# condition_key: "ConditionKey",
|
499
|
+
# condition_value: "ConditionValue",
|
500
|
+
# },
|
501
|
+
# ],
|
502
|
+
# string_not_equals: [
|
503
|
+
# {
|
504
|
+
# condition_key: "ConditionKey",
|
505
|
+
# condition_value: "ConditionValue",
|
506
|
+
# },
|
507
|
+
# ],
|
508
|
+
# string_like: [
|
509
|
+
# {
|
510
|
+
# condition_key: "ConditionKey",
|
511
|
+
# condition_value: "ConditionValue",
|
512
|
+
# },
|
513
|
+
# ],
|
514
|
+
# string_not_like: [
|
515
|
+
# {
|
516
|
+
# condition_key: "ConditionKey",
|
517
|
+
# condition_value: "ConditionValue",
|
518
|
+
# },
|
519
|
+
# ],
|
520
|
+
# },
|
499
521
|
# },
|
500
522
|
# creator_request_id: "string",
|
501
523
|
# })
|
@@ -541,7 +563,11 @@ module Aws::Backup
|
|
541
563
|
#
|
542
564
|
# @option params [String] :creator_request_id
|
543
565
|
# A unique string that identifies the request and allows failed requests
|
544
|
-
# to be retried without the risk of running the operation twice.
|
566
|
+
# to be retried without the risk of running the operation twice. This
|
567
|
+
# parameter is optional.
|
568
|
+
#
|
569
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or '-\_.'
|
570
|
+
# characters.
|
545
571
|
#
|
546
572
|
# @return [Types::CreateBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
547
573
|
#
|
@@ -1359,11 +1385,14 @@ module Aws::Backup
|
|
1359
1385
|
# @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1360
1386
|
#
|
1361
1387
|
# * {Types::DescribeRegionSettingsOutput#resource_type_opt_in_preference #resource_type_opt_in_preference} => Hash<String,Boolean>
|
1388
|
+
# * {Types::DescribeRegionSettingsOutput#resource_type_management_preference #resource_type_management_preference} => Hash<String,Boolean>
|
1362
1389
|
#
|
1363
1390
|
# @example Response structure
|
1364
1391
|
#
|
1365
1392
|
# resp.resource_type_opt_in_preference #=> Hash
|
1366
1393
|
# resp.resource_type_opt_in_preference["ResourceType"] #=> Boolean
|
1394
|
+
# resp.resource_type_management_preference #=> Hash
|
1395
|
+
# resp.resource_type_management_preference["ResourceType"] #=> Boolean
|
1367
1396
|
#
|
1368
1397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings AWS API Documentation
|
1369
1398
|
#
|
@@ -1777,6 +1806,20 @@ module Aws::Backup
|
|
1777
1806
|
# resp.backup_selection.list_of_tags[0].condition_type #=> String, one of "STRINGEQUALS"
|
1778
1807
|
# resp.backup_selection.list_of_tags[0].condition_key #=> String
|
1779
1808
|
# resp.backup_selection.list_of_tags[0].condition_value #=> String
|
1809
|
+
# resp.backup_selection.not_resources #=> Array
|
1810
|
+
# resp.backup_selection.not_resources[0] #=> String
|
1811
|
+
# resp.backup_selection.conditions.string_equals #=> Array
|
1812
|
+
# resp.backup_selection.conditions.string_equals[0].condition_key #=> String
|
1813
|
+
# resp.backup_selection.conditions.string_equals[0].condition_value #=> String
|
1814
|
+
# resp.backup_selection.conditions.string_not_equals #=> Array
|
1815
|
+
# resp.backup_selection.conditions.string_not_equals[0].condition_key #=> String
|
1816
|
+
# resp.backup_selection.conditions.string_not_equals[0].condition_value #=> String
|
1817
|
+
# resp.backup_selection.conditions.string_like #=> Array
|
1818
|
+
# resp.backup_selection.conditions.string_like[0].condition_key #=> String
|
1819
|
+
# resp.backup_selection.conditions.string_like[0].condition_value #=> String
|
1820
|
+
# resp.backup_selection.conditions.string_not_like #=> Array
|
1821
|
+
# resp.backup_selection.conditions.string_not_like[0].condition_key #=> String
|
1822
|
+
# resp.backup_selection.conditions.string_not_like[0].condition_value #=> String
|
1780
1823
|
# resp.selection_id #=> String
|
1781
1824
|
# resp.backup_plan_id #=> String
|
1782
1825
|
# resp.creation_date #=> Time
|
@@ -2947,6 +2990,11 @@ module Aws::Backup
|
|
2947
2990
|
# maximum retention period for future backup and copy jobs that target a
|
2948
2991
|
# backup vault.
|
2949
2992
|
#
|
2993
|
+
# <note markdown="1"> Backup Vault Lock has yet to receive a third-party assessment for SEC
|
2994
|
+
# 17a-4(f) and CFTC.
|
2995
|
+
#
|
2996
|
+
# </note>
|
2997
|
+
#
|
2950
2998
|
# @option params [required, String] :backup_vault_name
|
2951
2999
|
# The Backup Vault Lock configuration that specifies the name of the
|
2952
3000
|
# backup vault it protects.
|
@@ -3048,22 +3096,27 @@ module Aws::Backup
|
|
3048
3096
|
# An array of events that indicate the status of jobs to back up
|
3049
3097
|
# resources to the backup vault.
|
3050
3098
|
#
|
3051
|
-
#
|
3099
|
+
# For common use cases and code samples, see [Using Amazon SNS to track
|
3100
|
+
# Backup events][1].
|
3052
3101
|
#
|
3053
|
-
#
|
3102
|
+
# The following events are supported:
|
3054
3103
|
#
|
3055
|
-
#
|
3104
|
+
# * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
|
3056
3105
|
#
|
3057
|
-
#
|
3058
|
-
# `RECOVERY_POINT_MODIFIED`.
|
3106
|
+
# * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
|
3059
3107
|
#
|
3060
|
-
#
|
3061
|
-
#
|
3108
|
+
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
3109
|
+
# `RECOVERY_POINT_MODIFIED`
|
3062
3110
|
#
|
3063
|
-
#
|
3111
|
+
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
|
3112
|
+
# the list above.
|
3064
3113
|
#
|
3065
3114
|
# </note>
|
3066
3115
|
#
|
3116
|
+
#
|
3117
|
+
#
|
3118
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
|
3119
|
+
#
|
3067
3120
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3068
3121
|
#
|
3069
3122
|
# @example Request syntax with placeholder values
|
@@ -3437,7 +3490,9 @@ module Aws::Backup
|
|
3437
3490
|
#
|
3438
3491
|
# @option params [required, Hash<String,String>] :tags
|
3439
3492
|
# Key-value pairs that are used to help organize your resources. You can
|
3440
|
-
# assign your own metadata to the resources you create.
|
3493
|
+
# assign your own metadata to the resources you create. For clarity,
|
3494
|
+
# this is the structure to assign tags:
|
3495
|
+
# `[\{"Key":"string","Value":"string"\}]`.
|
3441
3496
|
#
|
3442
3497
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3443
3498
|
#
|
@@ -3758,6 +3813,14 @@ module Aws::Backup
|
|
3758
3813
|
# Updates the list of services along with the opt-in preferences for the
|
3759
3814
|
# Region.
|
3760
3815
|
#
|
3816
|
+
# @option params [Hash<String,Boolean>] :resource_type_management_preference
|
3817
|
+
# Enables or disables [ Backup's advanced DynamoDB backup features][1]
|
3818
|
+
# for the Region.
|
3819
|
+
#
|
3820
|
+
#
|
3821
|
+
#
|
3822
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
3823
|
+
#
|
3761
3824
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3762
3825
|
#
|
3763
3826
|
# @example Request syntax with placeholder values
|
@@ -3766,6 +3829,9 @@ module Aws::Backup
|
|
3766
3829
|
# resource_type_opt_in_preference: {
|
3767
3830
|
# "ResourceType" => false,
|
3768
3831
|
# },
|
3832
|
+
# resource_type_management_preference: {
|
3833
|
+
# "ResourceType" => false,
|
3834
|
+
# },
|
3769
3835
|
# })
|
3770
3836
|
#
|
3771
3837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings AWS API Documentation
|
@@ -3866,7 +3932,7 @@ module Aws::Backup
|
|
3866
3932
|
params: params,
|
3867
3933
|
config: config)
|
3868
3934
|
context[:gem_name] = 'aws-sdk-backup'
|
3869
|
-
context[:gem_version] = '1.
|
3935
|
+
context[:gem_version] = '1.40.0'
|
3870
3936
|
Seahorse::Client::Request.new(handlers, context)
|
3871
3937
|
end
|
3872
3938
|
|
@@ -51,8 +51,11 @@ module Aws::Backup
|
|
51
51
|
ComplianceResourceIdList = Shapes::ListShape.new(name: 'ComplianceResourceIdList')
|
52
52
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
53
53
|
ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
|
54
|
+
ConditionParameter = Shapes::StructureShape.new(name: 'ConditionParameter')
|
55
|
+
ConditionParameters = Shapes::ListShape.new(name: 'ConditionParameters')
|
54
56
|
ConditionType = Shapes::StringShape.new(name: 'ConditionType')
|
55
57
|
ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
|
58
|
+
Conditions = Shapes::StructureShape.new(name: 'Conditions')
|
56
59
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
57
60
|
ControlInputParameter = Shapes::StructureShape.new(name: 'ControlInputParameter')
|
58
61
|
ControlInputParameters = Shapes::ListShape.new(name: 'ControlInputParameters')
|
@@ -208,6 +211,7 @@ module Aws::Backup
|
|
208
211
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
209
212
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
210
213
|
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
214
|
+
ResourceTypeManagementPreference = Shapes::MapShape.new(name: 'ResourceTypeManagementPreference')
|
211
215
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
212
216
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
213
217
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
@@ -353,6 +357,8 @@ module Aws::Backup
|
|
353
357
|
BackupSelection.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
354
358
|
BackupSelection.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "Resources"))
|
355
359
|
BackupSelection.add_member(:list_of_tags, Shapes::ShapeRef.new(shape: ListOfTags, location_name: "ListOfTags"))
|
360
|
+
BackupSelection.add_member(:not_resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "NotResources"))
|
361
|
+
BackupSelection.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
|
356
362
|
BackupSelection.struct_class = Types::BackupSelection
|
357
363
|
|
358
364
|
BackupSelectionsList.member = Shapes::ShapeRef.new(shape: BackupSelectionsListMember)
|
@@ -392,6 +398,18 @@ module Aws::Backup
|
|
392
398
|
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
393
399
|
Condition.struct_class = Types::Condition
|
394
400
|
|
401
|
+
ConditionParameter.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, location_name: "ConditionKey"))
|
402
|
+
ConditionParameter.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, location_name: "ConditionValue"))
|
403
|
+
ConditionParameter.struct_class = Types::ConditionParameter
|
404
|
+
|
405
|
+
ConditionParameters.member = Shapes::ShapeRef.new(shape: ConditionParameter)
|
406
|
+
|
407
|
+
Conditions.add_member(:string_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringEquals"))
|
408
|
+
Conditions.add_member(:string_not_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotEquals"))
|
409
|
+
Conditions.add_member(:string_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringLike"))
|
410
|
+
Conditions.add_member(:string_not_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotLike"))
|
411
|
+
Conditions.struct_class = Types::Conditions
|
412
|
+
|
395
413
|
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
396
414
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
397
415
|
ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -633,6 +651,7 @@ module Aws::Backup
|
|
633
651
|
DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
|
634
652
|
|
635
653
|
DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
654
|
+
DescribeRegionSettingsOutput.add_member(:resource_type_management_preference, Shapes::ShapeRef.new(shape: ResourceTypeManagementPreference, location_name: "ResourceTypeManagementPreference"))
|
636
655
|
DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
|
637
656
|
|
638
657
|
DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
|
@@ -1066,6 +1085,9 @@ module Aws::Backup
|
|
1066
1085
|
|
1067
1086
|
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
1068
1087
|
|
1088
|
+
ResourceTypeManagementPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
1089
|
+
ResourceTypeManagementPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
1090
|
+
|
1069
1091
|
ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
1070
1092
|
ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
1071
1093
|
|
@@ -1192,6 +1214,7 @@ module Aws::Backup
|
|
1192
1214
|
UpdateRecoveryPointLifecycleOutput.struct_class = Types::UpdateRecoveryPointLifecycleOutput
|
1193
1215
|
|
1194
1216
|
UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
1217
|
+
UpdateRegionSettingsInput.add_member(:resource_type_management_preference, Shapes::ShapeRef.new(shape: ResourceTypeManagementPreference, location_name: "ResourceTypeManagementPreference"))
|
1195
1218
|
UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
|
1196
1219
|
|
1197
1220
|
UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
@@ -2088,6 +2111,7 @@ module Aws::Backup
|
|
2088
2111
|
o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointLifecycleOutput)
|
2089
2112
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2090
2113
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2091
2115
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2092
2116
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2093
2117
|
end)
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -261,7 +261,8 @@ module Aws::Backup
|
|
261
261
|
# different selection of Amazon Web Services resources.
|
262
262
|
#
|
263
263
|
# @!attribute [rw] backup_plan_name
|
264
|
-
# The display name of a backup plan.
|
264
|
+
# The display name of a backup plan. Must contain 1 to 50 alphanumeric
|
265
|
+
# or '-\_.' characters.
|
265
266
|
# @return [String]
|
266
267
|
#
|
267
268
|
# @!attribute [rw] rules
|
@@ -329,7 +330,8 @@ module Aws::Backup
|
|
329
330
|
# }
|
330
331
|
#
|
331
332
|
# @!attribute [rw] backup_plan_name
|
332
|
-
# The
|
333
|
+
# The display name of a backup plan. Must contain 1 to 50 alphanumeric
|
334
|
+
# or '-\_.' characters.
|
333
335
|
# @return [String]
|
334
336
|
#
|
335
337
|
# @!attribute [rw] rules
|
@@ -410,7 +412,10 @@ module Aws::Backup
|
|
410
412
|
# @!attribute [rw] creator_request_id
|
411
413
|
# A unique string that identifies the request and allows failed
|
412
414
|
# requests to be retried without the risk of running the operation
|
413
|
-
# twice.
|
415
|
+
# twice. This parameter is optional.
|
416
|
+
#
|
417
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
418
|
+
# '-\_.' characters.
|
414
419
|
# @return [String]
|
415
420
|
#
|
416
421
|
# @!attribute [rw] last_execution_date
|
@@ -444,7 +449,8 @@ module Aws::Backup
|
|
444
449
|
# Specifies a scheduled task used to back up a selection of resources.
|
445
450
|
#
|
446
451
|
# @!attribute [rw] rule_name
|
447
|
-
#
|
452
|
+
# A display name for a backup rule. Must contain 1 to 50 alphanumeric
|
453
|
+
# or '-\_.' characters.
|
448
454
|
# @return [String]
|
449
455
|
#
|
450
456
|
# @!attribute [rw] target_backup_vault_name
|
@@ -456,11 +462,13 @@ module Aws::Backup
|
|
456
462
|
#
|
457
463
|
# @!attribute [rw] schedule_expression
|
458
464
|
# A cron expression in UTC specifying when Backup initiates a backup
|
459
|
-
# job. For more information about
|
460
|
-
# Expressions for Rules][1] in the *Amazon
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
465
|
+
# job. For more information about Amazon Web Services cron
|
466
|
+
# expressions, see [Schedule Expressions for Rules][1] in the *Amazon
|
467
|
+
# CloudWatch Events User Guide.*. Two examples of Amazon Web Services
|
468
|
+
# cron expressions are ` 15 * ? * * *` (take a backup every hour at 15
|
469
|
+
# minutes past the hour) and `0 12 * * ? *` (take a backup every day
|
470
|
+
# at 12 noon UTC). For a table of examples, click the preceding link
|
471
|
+
# and scroll down the page.
|
464
472
|
#
|
465
473
|
#
|
466
474
|
#
|
@@ -563,7 +571,8 @@ module Aws::Backup
|
|
563
571
|
# }
|
564
572
|
#
|
565
573
|
# @!attribute [rw] rule_name
|
566
|
-
#
|
574
|
+
# A display name for a backup rule. Must contain 1 to 50 alphanumeric
|
575
|
+
# or '-\_.' characters.
|
567
576
|
# @return [String]
|
568
577
|
#
|
569
578
|
# @!attribute [rw] target_backup_vault_name
|
@@ -653,10 +662,38 @@ module Aws::Backup
|
|
653
662
|
# condition_value: "ConditionValue", # required
|
654
663
|
# },
|
655
664
|
# ],
|
665
|
+
# not_resources: ["ARN"],
|
666
|
+
# conditions: {
|
667
|
+
# string_equals: [
|
668
|
+
# {
|
669
|
+
# condition_key: "ConditionKey",
|
670
|
+
# condition_value: "ConditionValue",
|
671
|
+
# },
|
672
|
+
# ],
|
673
|
+
# string_not_equals: [
|
674
|
+
# {
|
675
|
+
# condition_key: "ConditionKey",
|
676
|
+
# condition_value: "ConditionValue",
|
677
|
+
# },
|
678
|
+
# ],
|
679
|
+
# string_like: [
|
680
|
+
# {
|
681
|
+
# condition_key: "ConditionKey",
|
682
|
+
# condition_value: "ConditionValue",
|
683
|
+
# },
|
684
|
+
# ],
|
685
|
+
# string_not_like: [
|
686
|
+
# {
|
687
|
+
# condition_key: "ConditionKey",
|
688
|
+
# condition_value: "ConditionValue",
|
689
|
+
# },
|
690
|
+
# ],
|
691
|
+
# },
|
656
692
|
# }
|
657
693
|
#
|
658
694
|
# @!attribute [rw] selection_name
|
659
|
-
# The display name of a resource selection document.
|
695
|
+
# The display name of a resource selection document. Must contain 1 to
|
696
|
+
# 50 alphanumeric or '-\_.' characters.
|
660
697
|
# @return [String]
|
661
698
|
#
|
662
699
|
# @!attribute [rw] iam_role_arn
|
@@ -666,24 +703,67 @@ module Aws::Backup
|
|
666
703
|
# @return [String]
|
667
704
|
#
|
668
705
|
# @!attribute [rw] resources
|
669
|
-
#
|
670
|
-
#
|
706
|
+
# A list of Amazon Resource Names (ARNs) to assign to a backup plan.
|
707
|
+
# The maximum number of ARNs is 500 without wildcards, or 30 ARNs with
|
708
|
+
# wildcards.
|
709
|
+
#
|
710
|
+
# If you need to assign many resources to a backup plan, consider a
|
711
|
+
# different resource selection strategy, such as assigning all
|
712
|
+
# resources of a resource type or refining your resource selection
|
713
|
+
# using tags.
|
671
714
|
# @return [Array<String>]
|
672
715
|
#
|
673
716
|
# @!attribute [rw] list_of_tags
|
674
|
-
#
|
675
|
-
#
|
676
|
-
# \{"
|
677
|
-
#
|
717
|
+
# A list of conditions that you define to assign resources to your
|
718
|
+
# backup plans using tags. For example, `"StringEquals":
|
719
|
+
# \{"Department": "accounting"`. Condition operators are case
|
720
|
+
# sensitive.
|
721
|
+
#
|
722
|
+
# `ListOfTags` differs from `Conditions` as follows:
|
723
|
+
#
|
724
|
+
# * When you specify more than one condition, you assign all resources
|
725
|
+
# that match AT LEAST ONE condition (using OR logic).
|
726
|
+
#
|
727
|
+
# * `ListOfTags` only supports `StringEquals`. `Conditions` supports
|
728
|
+
# `StringEquals`, `StringLike`, `StringNotEquals`, and
|
729
|
+
# `StringNotLike`.
|
678
730
|
# @return [Array<Types::Condition>]
|
679
731
|
#
|
732
|
+
# @!attribute [rw] not_resources
|
733
|
+
# A list of Amazon Resource Names (ARNs) to exclude from a backup
|
734
|
+
# plan. The maximum number of ARNs is 500 without wildcards, or 30
|
735
|
+
# ARNs with wildcards.
|
736
|
+
#
|
737
|
+
# If you need to exclude many resources from a backup plan, consider a
|
738
|
+
# different resource selection strategy, such as assigning only one or
|
739
|
+
# a few resource types or refining your resource selection using tags.
|
740
|
+
# @return [Array<String>]
|
741
|
+
#
|
742
|
+
# @!attribute [rw] conditions
|
743
|
+
# A list of conditions that you define to assign resources to your
|
744
|
+
# backup plans using tags. For example, `"StringEquals":
|
745
|
+
# \{"Department": "accounting"`. Condition operators are case
|
746
|
+
# sensitive.
|
747
|
+
#
|
748
|
+
# `Conditions` differs from `ListOfTags` as follows:
|
749
|
+
#
|
750
|
+
# * When you specify more than one condition, you only assign the
|
751
|
+
# resources that match ALL conditions (using AND logic).
|
752
|
+
#
|
753
|
+
# * `Conditions` supports `StringEquals`, `StringLike`,
|
754
|
+
# `StringNotEquals`, and `StringNotLike`. `ListOfTags` only supports
|
755
|
+
# `StringEquals`.
|
756
|
+
# @return [Types::Conditions]
|
757
|
+
#
|
680
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
|
681
759
|
#
|
682
760
|
class BackupSelection < Struct.new(
|
683
761
|
:selection_name,
|
684
762
|
:iam_role_arn,
|
685
763
|
:resources,
|
686
|
-
:list_of_tags
|
764
|
+
:list_of_tags,
|
765
|
+
:not_resources,
|
766
|
+
:conditions)
|
687
767
|
SENSITIVE = []
|
688
768
|
include Aws::Structure
|
689
769
|
end
|
@@ -713,7 +793,10 @@ module Aws::Backup
|
|
713
793
|
# @!attribute [rw] creator_request_id
|
714
794
|
# A unique string that identifies the request and allows failed
|
715
795
|
# requests to be retried without the risk of running the operation
|
716
|
-
# twice.
|
796
|
+
# twice. This parameter is optional.
|
797
|
+
#
|
798
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
799
|
+
# '-\_.' characters.
|
717
800
|
# @return [String]
|
718
801
|
#
|
719
802
|
# @!attribute [rw] iam_role_arn
|
@@ -766,7 +849,10 @@ module Aws::Backup
|
|
766
849
|
# @!attribute [rw] creator_request_id
|
767
850
|
# A unique string that identifies the request and allows failed
|
768
851
|
# requests to be retried without the risk of running the operation
|
769
|
-
# twice.
|
852
|
+
# twice. This parameter is optional.
|
853
|
+
#
|
854
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
855
|
+
# '-\_.' characters.
|
770
856
|
# @return [String]
|
771
857
|
#
|
772
858
|
# @!attribute [rw] number_of_recovery_points
|
@@ -875,8 +961,8 @@ module Aws::Backup
|
|
875
961
|
end
|
876
962
|
|
877
963
|
# Contains an array of triplets made up of a condition type (such as
|
878
|
-
# `StringEquals`), a key, and a value.
|
879
|
-
#
|
964
|
+
# `StringEquals`), a key, and a value. Used to filter resources using
|
965
|
+
# their tags and assign them to a backup plan. Case sensitive.
|
880
966
|
#
|
881
967
|
# @note When making an API call, you may pass Condition
|
882
968
|
# data as a hash:
|
@@ -888,20 +974,25 @@ module Aws::Backup
|
|
888
974
|
# }
|
889
975
|
#
|
890
976
|
# @!attribute [rw] condition_type
|
891
|
-
# An operation
|
892
|
-
#
|
977
|
+
# An operation applied to a key-value pair used to assign resources to
|
978
|
+
# your backup plan. Condition only supports `StringEquals`. For more
|
979
|
+
# flexible assignment options, incluidng `StringLike` and the ability
|
980
|
+
# to exclude resources from your backup plan, use `Conditions` (with
|
981
|
+
# an "s" on the end) for your [ `BackupSelection` ][1].
|
982
|
+
#
|
983
|
+
#
|
984
|
+
#
|
985
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html
|
893
986
|
# @return [String]
|
894
987
|
#
|
895
988
|
# @!attribute [rw] condition_key
|
896
|
-
# The key in a key-value pair. For example, in
|
897
|
-
# `
|
898
|
-
# `"ec2:ResourceTag/Department"` is the key.
|
989
|
+
# The key in a key-value pair. For example, in the tag `Department:
|
990
|
+
# Accounting`, `Department` is the key.
|
899
991
|
# @return [String]
|
900
992
|
#
|
901
993
|
# @!attribute [rw] condition_value
|
902
|
-
# The value in a key-value pair. For example, in
|
903
|
-
#
|
904
|
-
# value.
|
994
|
+
# The value in a key-value pair. For example, in the tag `Department:
|
995
|
+
# Accounting`, `Accounting` is the value.
|
905
996
|
# @return [String]
|
906
997
|
#
|
907
998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Condition AWS API Documentation
|
@@ -914,6 +1005,104 @@ module Aws::Backup
|
|
914
1005
|
include Aws::Structure
|
915
1006
|
end
|
916
1007
|
|
1008
|
+
# Includes information about tags you define to assign tagged resources
|
1009
|
+
# to a backup plan.
|
1010
|
+
#
|
1011
|
+
# @note When making an API call, you may pass ConditionParameter
|
1012
|
+
# data as a hash:
|
1013
|
+
#
|
1014
|
+
# {
|
1015
|
+
# condition_key: "ConditionKey",
|
1016
|
+
# condition_value: "ConditionValue",
|
1017
|
+
# }
|
1018
|
+
#
|
1019
|
+
# @!attribute [rw] condition_key
|
1020
|
+
# The key in a key-value pair. For example, in the tag `Department:
|
1021
|
+
# Accounting`, `Department` is the key.
|
1022
|
+
# @return [String]
|
1023
|
+
#
|
1024
|
+
# @!attribute [rw] condition_value
|
1025
|
+
# The value in a key-value pair. For example, in the tag `Department:
|
1026
|
+
# Accounting`, `Accounting` is the value.
|
1027
|
+
# @return [String]
|
1028
|
+
#
|
1029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ConditionParameter AWS API Documentation
|
1030
|
+
#
|
1031
|
+
class ConditionParameter < Struct.new(
|
1032
|
+
:condition_key,
|
1033
|
+
:condition_value)
|
1034
|
+
SENSITIVE = []
|
1035
|
+
include Aws::Structure
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Contains information about which resources to include or exclude from
|
1039
|
+
# a backup plan using their tags. Conditions are case sensitive.
|
1040
|
+
#
|
1041
|
+
# @note When making an API call, you may pass Conditions
|
1042
|
+
# data as a hash:
|
1043
|
+
#
|
1044
|
+
# {
|
1045
|
+
# string_equals: [
|
1046
|
+
# {
|
1047
|
+
# condition_key: "ConditionKey",
|
1048
|
+
# condition_value: "ConditionValue",
|
1049
|
+
# },
|
1050
|
+
# ],
|
1051
|
+
# string_not_equals: [
|
1052
|
+
# {
|
1053
|
+
# condition_key: "ConditionKey",
|
1054
|
+
# condition_value: "ConditionValue",
|
1055
|
+
# },
|
1056
|
+
# ],
|
1057
|
+
# string_like: [
|
1058
|
+
# {
|
1059
|
+
# condition_key: "ConditionKey",
|
1060
|
+
# condition_value: "ConditionValue",
|
1061
|
+
# },
|
1062
|
+
# ],
|
1063
|
+
# string_not_like: [
|
1064
|
+
# {
|
1065
|
+
# condition_key: "ConditionKey",
|
1066
|
+
# condition_value: "ConditionValue",
|
1067
|
+
# },
|
1068
|
+
# ],
|
1069
|
+
# }
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] string_equals
|
1072
|
+
# Filters the values of your tagged resources for only those resources
|
1073
|
+
# that you tagged with the same value. Also called "exact matching."
|
1074
|
+
# @return [Array<Types::ConditionParameter>]
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] string_not_equals
|
1077
|
+
# Filters the values of your tagged resources for only those resources
|
1078
|
+
# that you tagged that do not have the same value. Also called
|
1079
|
+
# "negated matching."
|
1080
|
+
# @return [Array<Types::ConditionParameter>]
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] string_like
|
1083
|
+
# Filters the values of your tagged resources for matching tag values
|
1084
|
+
# with the use of a wildcard character (*) anywhere in the string.
|
1085
|
+
# For example, "prod*" or "*rod*" matches the tag value
|
1086
|
+
# "production".
|
1087
|
+
# @return [Array<Types::ConditionParameter>]
|
1088
|
+
#
|
1089
|
+
# @!attribute [rw] string_not_like
|
1090
|
+
# Filters the values of your tagged resources for non-matching tag
|
1091
|
+
# values with the use of a wildcard character (*) anywhere in the
|
1092
|
+
# string.
|
1093
|
+
# @return [Array<Types::ConditionParameter>]
|
1094
|
+
#
|
1095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Conditions AWS API Documentation
|
1096
|
+
#
|
1097
|
+
class Conditions < Struct.new(
|
1098
|
+
:string_equals,
|
1099
|
+
:string_not_equals,
|
1100
|
+
:string_like,
|
1101
|
+
:string_not_like)
|
1102
|
+
SENSITIVE = []
|
1103
|
+
include Aws::Structure
|
1104
|
+
end
|
1105
|
+
|
917
1106
|
# Backup can't perform the action that you requested until it finishes
|
918
1107
|
# performing a previous action. Try again later.
|
919
1108
|
#
|
@@ -972,9 +1161,11 @@ module Aws::Backup
|
|
972
1161
|
end
|
973
1162
|
|
974
1163
|
# A framework consists of one or more controls. Each control has its own
|
975
|
-
# control scope. The control scope
|
976
|
-
#
|
977
|
-
#
|
1164
|
+
# control scope. The control scope can include one or more resource
|
1165
|
+
# types, a combination of a tag key and value, or a combination of one
|
1166
|
+
# resource type and one resource ID. If no scope is specified,
|
1167
|
+
# evaluations for the rule are triggered when any resource in your
|
1168
|
+
# recording group changes in configuration.
|
978
1169
|
#
|
979
1170
|
# <note markdown="1"> To set a control scope that includes all of a particular resource,
|
980
1171
|
# leave the `ControlScope` empty or do not pass it when calling
|
@@ -1004,8 +1195,11 @@ module Aws::Backup
|
|
1004
1195
|
# @return [Array<String>]
|
1005
1196
|
#
|
1006
1197
|
# @!attribute [rw] tags
|
1007
|
-
#
|
1008
|
-
#
|
1198
|
+
# The tag key-value pair applied to those Amazon Web Services
|
1199
|
+
# resources that you want to trigger an evaluation for a rule. A
|
1200
|
+
# maximum of one key-value pair can be provided. The tag value is
|
1201
|
+
# optional, but it cannot be an empty string. The structure to assign
|
1202
|
+
# a tag is: `[\{"Key":"string","Value":"string"\}]`.
|
1009
1203
|
# @return [Hash<String,String>]
|
1010
1204
|
#
|
1011
1205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ControlScope AWS API Documentation
|
@@ -1230,6 +1424,9 @@ module Aws::Backup
|
|
1230
1424
|
# without the risk of running the operation twice. If the request
|
1231
1425
|
# includes a `CreatorRequestId` that matches an existing backup plan,
|
1232
1426
|
# that plan is returned. This parameter is optional.
|
1427
|
+
#
|
1428
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
1429
|
+
# '-\_.' characters.
|
1233
1430
|
# @return [String]
|
1234
1431
|
#
|
1235
1432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanInput AWS API Documentation
|
@@ -1298,6 +1495,33 @@ module Aws::Backup
|
|
1298
1495
|
# condition_value: "ConditionValue", # required
|
1299
1496
|
# },
|
1300
1497
|
# ],
|
1498
|
+
# not_resources: ["ARN"],
|
1499
|
+
# conditions: {
|
1500
|
+
# string_equals: [
|
1501
|
+
# {
|
1502
|
+
# condition_key: "ConditionKey",
|
1503
|
+
# condition_value: "ConditionValue",
|
1504
|
+
# },
|
1505
|
+
# ],
|
1506
|
+
# string_not_equals: [
|
1507
|
+
# {
|
1508
|
+
# condition_key: "ConditionKey",
|
1509
|
+
# condition_value: "ConditionValue",
|
1510
|
+
# },
|
1511
|
+
# ],
|
1512
|
+
# string_like: [
|
1513
|
+
# {
|
1514
|
+
# condition_key: "ConditionKey",
|
1515
|
+
# condition_value: "ConditionValue",
|
1516
|
+
# },
|
1517
|
+
# ],
|
1518
|
+
# string_not_like: [
|
1519
|
+
# {
|
1520
|
+
# condition_key: "ConditionKey",
|
1521
|
+
# condition_value: "ConditionValue",
|
1522
|
+
# },
|
1523
|
+
# ],
|
1524
|
+
# },
|
1301
1525
|
# },
|
1302
1526
|
# creator_request_id: "string",
|
1303
1527
|
# }
|
@@ -1315,7 +1539,10 @@ module Aws::Backup
|
|
1315
1539
|
# @!attribute [rw] creator_request_id
|
1316
1540
|
# A unique string that identifies the request and allows failed
|
1317
1541
|
# requests to be retried without the risk of running the operation
|
1318
|
-
# twice.
|
1542
|
+
# twice. This parameter is optional.
|
1543
|
+
#
|
1544
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
1545
|
+
# '-\_.' characters.
|
1319
1546
|
# @return [String]
|
1320
1547
|
#
|
1321
1548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelectionInput AWS API Documentation
|
@@ -1387,7 +1614,10 @@ module Aws::Backup
|
|
1387
1614
|
# @!attribute [rw] creator_request_id
|
1388
1615
|
# A unique string that identifies the request and allows failed
|
1389
1616
|
# requests to be retried without the risk of running the operation
|
1390
|
-
# twice.
|
1617
|
+
# twice. This parameter is optional.
|
1618
|
+
#
|
1619
|
+
# If used, this parameter must contain 1 to 50 alphanumeric or
|
1620
|
+
# '-\_.' characters.
|
1391
1621
|
# @return [String]
|
1392
1622
|
#
|
1393
1623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVaultInput AWS API Documentation
|
@@ -2577,10 +2807,20 @@ module Aws::Backup
|
|
2577
2807
|
# the Region.
|
2578
2808
|
# @return [Hash<String,Boolean>]
|
2579
2809
|
#
|
2810
|
+
# @!attribute [rw] resource_type_management_preference
|
2811
|
+
# Returns whether a DynamoDB recovery point was taken using [
|
2812
|
+
# Backup's advanced DynamoDB backup features][1].
|
2813
|
+
#
|
2814
|
+
#
|
2815
|
+
#
|
2816
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
2817
|
+
# @return [Hash<String,Boolean>]
|
2818
|
+
#
|
2580
2819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
|
2581
2820
|
#
|
2582
2821
|
class DescribeRegionSettingsOutput < Struct.new(
|
2583
|
-
:resource_type_opt_in_preference
|
2822
|
+
:resource_type_opt_in_preference,
|
2823
|
+
:resource_type_management_preference)
|
2584
2824
|
SENSITIVE = []
|
2585
2825
|
include Aws::Structure
|
2586
2826
|
end
|
@@ -4695,21 +4935,26 @@ module Aws::Backup
|
|
4695
4935
|
# An array of events that indicate the status of jobs to back up
|
4696
4936
|
# resources to the backup vault.
|
4697
4937
|
#
|
4698
|
-
#
|
4938
|
+
# For common use cases and code samples, see [Using Amazon SNS to
|
4939
|
+
# track Backup events][1].
|
4699
4940
|
#
|
4700
|
-
#
|
4941
|
+
# The following events are supported:
|
4701
4942
|
#
|
4702
|
-
#
|
4943
|
+
# * `BACKUP_JOB_STARTED` \| `BACKUP_JOB_COMPLETED`
|
4703
4944
|
#
|
4704
|
-
#
|
4705
|
-
# `RECOVERY_POINT_MODIFIED`.
|
4945
|
+
# * `COPY_JOB_STARTED` \| `COPY_JOB_SUCCESSFUL` \| `COPY_JOB_FAILED`
|
4706
4946
|
#
|
4707
|
-
#
|
4708
|
-
#
|
4947
|
+
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
4948
|
+
# `RECOVERY_POINT_MODIFIED`
|
4709
4949
|
#
|
4710
|
-
#
|
4950
|
+
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer
|
4951
|
+
# to the list above.
|
4711
4952
|
#
|
4712
4953
|
# </note>
|
4954
|
+
#
|
4955
|
+
#
|
4956
|
+
#
|
4957
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html
|
4713
4958
|
# @return [Array<String>]
|
4714
4959
|
#
|
4715
4960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotificationsInput AWS API Documentation
|
@@ -5772,7 +6017,9 @@ module Aws::Backup
|
|
5772
6017
|
#
|
5773
6018
|
# @!attribute [rw] tags
|
5774
6019
|
# Key-value pairs that are used to help organize your resources. You
|
5775
|
-
# can assign your own metadata to the resources you create.
|
6020
|
+
# can assign your own metadata to the resources you create. For
|
6021
|
+
# clarity, this is the structure to assign tags:
|
6022
|
+
# `[\{"Key":"string","Value":"string"\}]`.
|
5776
6023
|
# @return [Hash<String,String>]
|
5777
6024
|
#
|
5778
6025
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResourceInput AWS API Documentation
|
@@ -6122,6 +6369,9 @@ module Aws::Backup
|
|
6122
6369
|
# resource_type_opt_in_preference: {
|
6123
6370
|
# "ResourceType" => false,
|
6124
6371
|
# },
|
6372
|
+
# resource_type_management_preference: {
|
6373
|
+
# "ResourceType" => false,
|
6374
|
+
# },
|
6125
6375
|
# }
|
6126
6376
|
#
|
6127
6377
|
# @!attribute [rw] resource_type_opt_in_preference
|
@@ -6129,10 +6379,20 @@ module Aws::Backup
|
|
6129
6379
|
# the Region.
|
6130
6380
|
# @return [Hash<String,Boolean>]
|
6131
6381
|
#
|
6382
|
+
# @!attribute [rw] resource_type_management_preference
|
6383
|
+
# Enables or disables [ Backup's advanced DynamoDB backup
|
6384
|
+
# features][1] for the Region.
|
6385
|
+
#
|
6386
|
+
#
|
6387
|
+
#
|
6388
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
6389
|
+
# @return [Hash<String,Boolean>]
|
6390
|
+
#
|
6132
6391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
|
6133
6392
|
#
|
6134
6393
|
class UpdateRegionSettingsInput < Struct.new(
|
6135
|
-
:resource_type_opt_in_preference
|
6394
|
+
:resource_type_opt_in_preference,
|
6395
|
+
:resource_type_management_preference)
|
6136
6396
|
SENSITIVE = []
|
6137
6397
|
include Aws::Structure
|
6138
6398
|
end
|
data/lib/aws-sdk-backup.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.125.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|