aws-sdk-backup 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10bb84f9468a8735f8721e768d572880b4e96b8c68404a17a71bc34728c19cbb
4
- data.tar.gz: dd366fd8344518266a47ee450e9423ef74a4dcdf4c4200eae3ba6ffd8dd06646
3
+ metadata.gz: 2a3555bf0c96c1e14ed15095b6f3a6c21c94cc660d1401bd4d40e869afda89ce
4
+ data.tar.gz: 5a144051881626bc0981d647c92b2420e6082d5076c7181712b54610f5c58455
5
5
  SHA512:
6
- metadata.gz: 56638f7b04994e1fcef15278573b95d132bbf87d4e443b2d82c7b63796353f6354b2a19c1506f7837d3f6332080a2cc55cc16f77d6165d56364c1a68eabeeac3
7
- data.tar.gz: 175a48beea07e61da7bb3d22705e27c07ed497896f0779629c7662b090c63490a47ac92907362a1f32e8f7f19828d04a0e43acb0cb5fba4ac0b209cbe48e8247
6
+ metadata.gz: b607b1aaaeba6562d5b5d06f12098267c8e4651438ad9f5860b2746fb99e7a09516150ddcbcb347014560de41c0217f7f002cc67b98a5ebb07aa134c75c74e95
7
+ data.tar.gz: 335020bc32527cab5d6d1d3ead57d2c7a60272476f2c269220e525cf5e2dbcbd5b0c7fe3816387f039ccb4aa2319855ac464e944114cc37a42bb46dc2edeae4e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2021-11-10)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.36.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -496,6 +496,33 @@ module Aws::Backup
496
496
  # condition_value: "ConditionValue", # required
497
497
  # },
498
498
  # ],
499
+ # not_resources: ["ARN"],
500
+ # conditions: {
501
+ # string_equals: [
502
+ # {
503
+ # condition_key: "ConditionKey",
504
+ # condition_value: "ConditionValue",
505
+ # },
506
+ # ],
507
+ # string_not_equals: [
508
+ # {
509
+ # condition_key: "ConditionKey",
510
+ # condition_value: "ConditionValue",
511
+ # },
512
+ # ],
513
+ # string_like: [
514
+ # {
515
+ # condition_key: "ConditionKey",
516
+ # condition_value: "ConditionValue",
517
+ # },
518
+ # ],
519
+ # string_not_like: [
520
+ # {
521
+ # condition_key: "ConditionKey",
522
+ # condition_value: "ConditionValue",
523
+ # },
524
+ # ],
525
+ # },
499
526
  # },
500
527
  # creator_request_id: "string",
501
528
  # })
@@ -1777,6 +1804,20 @@ module Aws::Backup
1777
1804
  # resp.backup_selection.list_of_tags[0].condition_type #=> String, one of "STRINGEQUALS"
1778
1805
  # resp.backup_selection.list_of_tags[0].condition_key #=> String
1779
1806
  # resp.backup_selection.list_of_tags[0].condition_value #=> String
1807
+ # resp.backup_selection.not_resources #=> Array
1808
+ # resp.backup_selection.not_resources[0] #=> String
1809
+ # resp.backup_selection.conditions.string_equals #=> Array
1810
+ # resp.backup_selection.conditions.string_equals[0].condition_key #=> String
1811
+ # resp.backup_selection.conditions.string_equals[0].condition_value #=> String
1812
+ # resp.backup_selection.conditions.string_not_equals #=> Array
1813
+ # resp.backup_selection.conditions.string_not_equals[0].condition_key #=> String
1814
+ # resp.backup_selection.conditions.string_not_equals[0].condition_value #=> String
1815
+ # resp.backup_selection.conditions.string_like #=> Array
1816
+ # resp.backup_selection.conditions.string_like[0].condition_key #=> String
1817
+ # resp.backup_selection.conditions.string_like[0].condition_value #=> String
1818
+ # resp.backup_selection.conditions.string_not_like #=> Array
1819
+ # resp.backup_selection.conditions.string_not_like[0].condition_key #=> String
1820
+ # resp.backup_selection.conditions.string_not_like[0].condition_value #=> String
1780
1821
  # resp.selection_id #=> String
1781
1822
  # resp.backup_plan_id #=> String
1782
1823
  # resp.creation_date #=> Time
@@ -3866,7 +3907,7 @@ module Aws::Backup
3866
3907
  params: params,
3867
3908
  config: config)
3868
3909
  context[:gem_name] = 'aws-sdk-backup'
3869
- context[:gem_version] = '1.36.0'
3910
+ context[:gem_version] = '1.37.0'
3870
3911
  Seahorse::Client::Request.new(handlers, context)
3871
3912
  end
3872
3913
 
@@ -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')
@@ -353,6 +356,8 @@ module Aws::Backup
353
356
  BackupSelection.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
354
357
  BackupSelection.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "Resources"))
355
358
  BackupSelection.add_member(:list_of_tags, Shapes::ShapeRef.new(shape: ListOfTags, location_name: "ListOfTags"))
359
+ BackupSelection.add_member(:not_resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "NotResources"))
360
+ BackupSelection.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
356
361
  BackupSelection.struct_class = Types::BackupSelection
357
362
 
358
363
  BackupSelectionsList.member = Shapes::ShapeRef.new(shape: BackupSelectionsListMember)
@@ -392,6 +397,18 @@ module Aws::Backup
392
397
  Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
393
398
  Condition.struct_class = Types::Condition
394
399
 
400
+ ConditionParameter.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, location_name: "ConditionKey"))
401
+ ConditionParameter.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, location_name: "ConditionValue"))
402
+ ConditionParameter.struct_class = Types::ConditionParameter
403
+
404
+ ConditionParameters.member = Shapes::ShapeRef.new(shape: ConditionParameter)
405
+
406
+ Conditions.add_member(:string_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringEquals"))
407
+ Conditions.add_member(:string_not_equals, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotEquals"))
408
+ Conditions.add_member(:string_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringLike"))
409
+ Conditions.add_member(:string_not_like, Shapes::ShapeRef.new(shape: ConditionParameters, location_name: "StringNotLike"))
410
+ Conditions.struct_class = Types::Conditions
411
+
395
412
  ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
396
413
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
397
414
  ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
@@ -653,6 +653,33 @@ module Aws::Backup
653
653
  # condition_value: "ConditionValue", # required
654
654
  # },
655
655
  # ],
656
+ # not_resources: ["ARN"],
657
+ # conditions: {
658
+ # string_equals: [
659
+ # {
660
+ # condition_key: "ConditionKey",
661
+ # condition_value: "ConditionValue",
662
+ # },
663
+ # ],
664
+ # string_not_equals: [
665
+ # {
666
+ # condition_key: "ConditionKey",
667
+ # condition_value: "ConditionValue",
668
+ # },
669
+ # ],
670
+ # string_like: [
671
+ # {
672
+ # condition_key: "ConditionKey",
673
+ # condition_value: "ConditionValue",
674
+ # },
675
+ # ],
676
+ # string_not_like: [
677
+ # {
678
+ # condition_key: "ConditionKey",
679
+ # condition_value: "ConditionValue",
680
+ # },
681
+ # ],
682
+ # },
656
683
  # }
657
684
  #
658
685
  # @!attribute [rw] selection_name
@@ -677,13 +704,21 @@ module Aws::Backup
677
704
  # plan to every resource with at least one matching tag.
678
705
  # @return [Array<Types::Condition>]
679
706
  #
707
+ # @!attribute [rw] not_resources
708
+ # @return [Array<String>]
709
+ #
710
+ # @!attribute [rw] conditions
711
+ # @return [Types::Conditions]
712
+ #
680
713
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
681
714
  #
682
715
  class BackupSelection < Struct.new(
683
716
  :selection_name,
684
717
  :iam_role_arn,
685
718
  :resources,
686
- :list_of_tags)
719
+ :list_of_tags,
720
+ :not_resources,
721
+ :conditions)
687
722
  SENSITIVE = []
688
723
  include Aws::Structure
689
724
  end
@@ -914,6 +949,82 @@ module Aws::Backup
914
949
  include Aws::Structure
915
950
  end
916
951
 
952
+ # @note When making an API call, you may pass ConditionParameter
953
+ # data as a hash:
954
+ #
955
+ # {
956
+ # condition_key: "ConditionKey",
957
+ # condition_value: "ConditionValue",
958
+ # }
959
+ #
960
+ # @!attribute [rw] condition_key
961
+ # @return [String]
962
+ #
963
+ # @!attribute [rw] condition_value
964
+ # @return [String]
965
+ #
966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ConditionParameter AWS API Documentation
967
+ #
968
+ class ConditionParameter < Struct.new(
969
+ :condition_key,
970
+ :condition_value)
971
+ SENSITIVE = []
972
+ include Aws::Structure
973
+ end
974
+
975
+ # @note When making an API call, you may pass Conditions
976
+ # data as a hash:
977
+ #
978
+ # {
979
+ # string_equals: [
980
+ # {
981
+ # condition_key: "ConditionKey",
982
+ # condition_value: "ConditionValue",
983
+ # },
984
+ # ],
985
+ # string_not_equals: [
986
+ # {
987
+ # condition_key: "ConditionKey",
988
+ # condition_value: "ConditionValue",
989
+ # },
990
+ # ],
991
+ # string_like: [
992
+ # {
993
+ # condition_key: "ConditionKey",
994
+ # condition_value: "ConditionValue",
995
+ # },
996
+ # ],
997
+ # string_not_like: [
998
+ # {
999
+ # condition_key: "ConditionKey",
1000
+ # condition_value: "ConditionValue",
1001
+ # },
1002
+ # ],
1003
+ # }
1004
+ #
1005
+ # @!attribute [rw] string_equals
1006
+ # @return [Array<Types::ConditionParameter>]
1007
+ #
1008
+ # @!attribute [rw] string_not_equals
1009
+ # @return [Array<Types::ConditionParameter>]
1010
+ #
1011
+ # @!attribute [rw] string_like
1012
+ # @return [Array<Types::ConditionParameter>]
1013
+ #
1014
+ # @!attribute [rw] string_not_like
1015
+ # @return [Array<Types::ConditionParameter>]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/Conditions AWS API Documentation
1018
+ #
1019
+ class Conditions < Struct.new(
1020
+ :string_equals,
1021
+ :string_not_equals,
1022
+ :string_like,
1023
+ :string_not_like)
1024
+ SENSITIVE = []
1025
+ include Aws::Structure
1026
+ end
1027
+
917
1028
  # Backup can't perform the action that you requested until it finishes
918
1029
  # performing a previous action. Try again later.
919
1030
  #
@@ -1298,6 +1409,33 @@ module Aws::Backup
1298
1409
  # condition_value: "ConditionValue", # required
1299
1410
  # },
1300
1411
  # ],
1412
+ # not_resources: ["ARN"],
1413
+ # conditions: {
1414
+ # string_equals: [
1415
+ # {
1416
+ # condition_key: "ConditionKey",
1417
+ # condition_value: "ConditionValue",
1418
+ # },
1419
+ # ],
1420
+ # string_not_equals: [
1421
+ # {
1422
+ # condition_key: "ConditionKey",
1423
+ # condition_value: "ConditionValue",
1424
+ # },
1425
+ # ],
1426
+ # string_like: [
1427
+ # {
1428
+ # condition_key: "ConditionKey",
1429
+ # condition_value: "ConditionValue",
1430
+ # },
1431
+ # ],
1432
+ # string_not_like: [
1433
+ # {
1434
+ # condition_key: "ConditionKey",
1435
+ # condition_value: "ConditionValue",
1436
+ # },
1437
+ # ],
1438
+ # },
1301
1439
  # },
1302
1440
  # creator_request_id: "string",
1303
1441
  # }
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-backup/customizations'
48
48
  # @!group service
49
49
  module Aws::Backup
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.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-04 00:00:00.000000000 Z
11
+ date: 2021-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core