aws-sdk-backup 1.64.0 → 1.66.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: 7554b124ba200b2298af3d650b5ea1398a9915931548fffe29ec6227843de4df
4
- data.tar.gz: fa278e49bb664c3726b322a52a7cc5c79f21bfe9cb3106e6a1fa2fea7315181f
3
+ metadata.gz: 49db22d5b184fcfbd3560a65e05cdbe3df876ae983ddaddf07ebea384f0a467f
4
+ data.tar.gz: 3815b213bcfe226e77031f6e0dca85d364906bc722692d7b956820a85b730334
5
5
  SHA512:
6
- metadata.gz: a2f65a64dc4a4cd1a3dc9f91ede934fe75838f116a53939c7fe65def18e0723ed95f67ed81645640db810519788e7b71daa883f62e8a88987493dc9a6606aa5e
7
- data.tar.gz: 27a11216023a9a31c17fe00c114d7dd83f4669325fba25ec51afe5027207d5c1b826d17913316fe0acb26e5ceec83ee119de4595774d565798affad510033205
6
+ metadata.gz: 7f09b2bd3f55a38ba85ec90ea3c9a4b6c6c041df0b0ac0da04f31362e45683c0c9b00c45926aaa76d37c3b45bf6f1ec2dd6d2624d0bbf4d57fc7f0ff6149ee91
7
+ data.tar.gz: 2b5b3998745030d59f026d92730cb09ae4804309dd560e5fb22eeaaf3cff28878fd2e272323101b1da531fd544b7b0e99565d5521c2339c91a64f4e9d62ff51c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2024-03-15)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a boolean attribute ManagedByAWSBackupOnly as part of ListRecoveryPointsByResource api to filter the recovery points based on ownership. This attribute can be used to filter out the recovery points protected by AWSBackup.
8
+
9
+ 1.65.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.64.0 (2023-12-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.66.0
@@ -2839,6 +2839,19 @@ module Aws::Backup
2839
2839
  # `AGGREGATE_ALL` aggregates job counts for all states and returns the
2840
2840
  # sum.
2841
2841
  #
2842
+ # `Completed with issues` is a status found only in the Backup console.
2843
+ # For API, this status refers to jobs with a state of `COMPLETED` and a
2844
+ # `MessageCategory` with a value other than `SUCCESS`; that is, the
2845
+ # status is completed but comes with a status message. To obtain the job
2846
+ # count for `Completed with issues`, run two GET requests, and subtract
2847
+ # the second, smaller number:
2848
+ #
2849
+ # GET
2850
+ # /audit/backup-job-summaries?AggregationPeriod=FOURTEEN\_DAYS&State=COMPLETED
2851
+ #
2852
+ # GET
2853
+ # /audit/backup-job-summaries?AggregationPeriod=FOURTEEN\_DAYS&MessageCategory=SUCCESS&State=COMPLETED
2854
+ #
2842
2855
  # @option params [String] :resource_type
2843
2856
  # Returns the job count for the specified resource type. Use request
2844
2857
  # `GetSupportedResourceTypes` to obtain strings for supported resource
@@ -2959,6 +2972,18 @@ module Aws::Backup
2959
2972
  # @option params [String] :by_state
2960
2973
  # Returns only backup jobs that are in the specified state.
2961
2974
  #
2975
+ # `Completed with issues` is a status found only in the Backup console.
2976
+ # For API, this status refers to jobs with a state of `COMPLETED` and a
2977
+ # `MessageCategory` with a value other than `SUCCESS`; that is, the
2978
+ # status is completed but comes with a status message.
2979
+ #
2980
+ # To obtain the job count for `Completed with issues`, run two GET
2981
+ # requests, and subtract the second, smaller number:
2982
+ #
2983
+ # GET /backup-jobs/?state=COMPLETED
2984
+ #
2985
+ # GET /backup-jobs/?messageCategory=SUCCESS&state=COMPLETED
2986
+ #
2962
2987
  # @option params [String] :by_backup_vault_name
2963
2988
  # Returns only backup jobs that will be stored in the specified backup
2964
2989
  # vault. Backup vaults are identified by names that are unique to the
@@ -4078,6 +4103,17 @@ module Aws::Backup
4078
4103
  #
4079
4104
  # </note>
4080
4105
  #
4106
+ # @option params [Boolean] :managed_by_aws_backup_only
4107
+ # This attribute filters recovery points based on ownership.
4108
+ #
4109
+ # If this is set to `TRUE`, the response will contain recovery points
4110
+ # associated with the selected resources that are managed by Backup.
4111
+ #
4112
+ # If this is set to `FALSE`, the response will contain all recovery
4113
+ # points associated with the selected resource.
4114
+ #
4115
+ # Type: Boolean
4116
+ #
4081
4117
  # @return [Types::ListRecoveryPointsByResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4082
4118
  #
4083
4119
  # * {Types::ListRecoveryPointsByResourceOutput#next_token #next_token} => String
@@ -4091,6 +4127,7 @@ module Aws::Backup
4091
4127
  # resource_arn: "ARN", # required
4092
4128
  # next_token: "string",
4093
4129
  # max_results: 1,
4130
+ # managed_by_aws_backup_only: false,
4094
4131
  # })
4095
4132
  #
4096
4133
  # @example Response structure
@@ -4107,6 +4144,7 @@ module Aws::Backup
4107
4144
  # resp.recovery_points[0].is_parent #=> Boolean
4108
4145
  # resp.recovery_points[0].parent_recovery_point_arn #=> String
4109
4146
  # resp.recovery_points[0].resource_name #=> String
4147
+ # resp.recovery_points[0].vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
4110
4148
  #
4111
4149
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource AWS API Documentation
4112
4150
  #
@@ -5336,9 +5374,9 @@ module Aws::Backup
5336
5374
  # Attempts to cancel a job to create a one-time backup of a resource.
5337
5375
  #
5338
5376
  # This action is not supported for the following services: Amazon FSx
5339
- # for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP , Amazon
5340
- # FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility),
5341
- # Amazon RDS, Amazon Aurora, and Amazon Neptune.
5377
+ # for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp
5378
+ # ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB
5379
+ # compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
5342
5380
  #
5343
5381
  # @option params [required, String] :backup_job_id
5344
5382
  # Uniquely identifies a request to Backup to back up a resource.
@@ -5972,7 +6010,7 @@ module Aws::Backup
5972
6010
  params: params,
5973
6011
  config: config)
5974
6012
  context[:gem_name] = 'aws-sdk-backup'
5975
- context[:gem_version] = '1.64.0'
6013
+ context[:gem_version] = '1.66.0'
5976
6014
  Seahorse::Client::Request.new(handlers, context)
5977
6015
  end
5978
6016
 
@@ -1289,6 +1289,7 @@ module Aws::Backup
1289
1289
  ListRecoveryPointsByResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
1290
1290
  ListRecoveryPointsByResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1291
1291
  ListRecoveryPointsByResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1292
+ ListRecoveryPointsByResourceInput.add_member(:managed_by_aws_backup_only, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "managedByAWSBackupOnly"))
1292
1293
  ListRecoveryPointsByResourceInput.struct_class = Types::ListRecoveryPointsByResourceInput
1293
1294
 
1294
1295
  ListRecoveryPointsByResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
@@ -1462,6 +1463,7 @@ module Aws::Backup
1462
1463
  RecoveryPointByResource.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1463
1464
  RecoveryPointByResource.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1464
1465
  RecoveryPointByResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1466
+ RecoveryPointByResource.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
1465
1467
  RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
1466
1468
 
1467
1469
  RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
@@ -14,6 +14,7 @@ module Aws::Backup
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Backup::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -3587,6 +3587,12 @@ module Aws::Backup
3587
3587
  # will evaluate. Three examples of control scopes are: a specific
3588
3588
  # backup plan, all backup plans with a specific tag, or all backup
3589
3589
  # plans.
3590
+ #
3591
+ # For more information, see [ `ControlScope`.][1]
3592
+ #
3593
+ #
3594
+ #
3595
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_ControlScope.html
3590
3596
  # @return [Types::ControlScope]
3591
3597
  #
3592
3598
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/FrameworkControl AWS API Documentation
@@ -4429,6 +4435,19 @@ module Aws::Backup
4429
4435
  #
4430
4436
  # `AGGREGATE_ALL` aggregates job counts for all states and returns the
4431
4437
  # sum.
4438
+ #
4439
+ # `Completed with issues` is a status found only in the Backup
4440
+ # console. For API, this status refers to jobs with a state of
4441
+ # `COMPLETED` and a `MessageCategory` with a value other than
4442
+ # `SUCCESS`; that is, the status is completed but comes with a status
4443
+ # message. To obtain the job count for `Completed with issues`, run
4444
+ # two GET requests, and subtract the second, smaller number:
4445
+ #
4446
+ # GET
4447
+ # /audit/backup-job-summaries?AggregationPeriod=FOURTEEN\_DAYS&amp;State=COMPLETED
4448
+ #
4449
+ # GET
4450
+ # /audit/backup-job-summaries?AggregationPeriod=FOURTEEN\_DAYS&amp;MessageCategory=SUCCESS&amp;State=COMPLETED
4432
4451
  # @return [String]
4433
4452
  #
4434
4453
  # @!attribute [rw] resource_type
@@ -4554,6 +4573,19 @@ module Aws::Backup
4554
4573
  #
4555
4574
  # @!attribute [rw] by_state
4556
4575
  # Returns only backup jobs that are in the specified state.
4576
+ #
4577
+ # `Completed with issues` is a status found only in the Backup
4578
+ # console. For API, this status refers to jobs with a state of
4579
+ # `COMPLETED` and a `MessageCategory` with a value other than
4580
+ # `SUCCESS`; that is, the status is completed but comes with a status
4581
+ # message.
4582
+ #
4583
+ # To obtain the job count for `Completed with issues`, run two GET
4584
+ # requests, and subtract the second, smaller number:
4585
+ #
4586
+ # GET /backup-jobs/?state=COMPLETED
4587
+ #
4588
+ # GET /backup-jobs/?messageCategory=SUCCESS&amp;state=COMPLETED
4557
4589
  # @return [String]
4558
4590
  #
4559
4591
  # @!attribute [rw] by_backup_vault_name
@@ -5567,12 +5599,25 @@ module Aws::Backup
5567
5599
  # </note>
5568
5600
  # @return [Integer]
5569
5601
  #
5602
+ # @!attribute [rw] managed_by_aws_backup_only
5603
+ # This attribute filters recovery points based on ownership.
5604
+ #
5605
+ # If this is set to `TRUE`, the response will contain recovery points
5606
+ # associated with the selected resources that are managed by Backup.
5607
+ #
5608
+ # If this is set to `FALSE`, the response will contain all recovery
5609
+ # points associated with the selected resource.
5610
+ #
5611
+ # Type: Boolean
5612
+ # @return [Boolean]
5613
+ #
5570
5614
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResourceInput AWS API Documentation
5571
5615
  #
5572
5616
  class ListRecoveryPointsByResourceInput < Struct.new(
5573
5617
  :resource_arn,
5574
5618
  :next_token,
5575
- :max_results)
5619
+ :max_results,
5620
+ :managed_by_aws_backup_only)
5576
5621
  SENSITIVE = []
5577
5622
  include Aws::Structure
5578
5623
  end
@@ -6663,6 +6708,11 @@ module Aws::Backup
6663
6708
  # specified backup.
6664
6709
  # @return [String]
6665
6710
  #
6711
+ # @!attribute [rw] vault_type
6712
+ # This is the type of vault in which the described recovery point is
6713
+ # stored.
6714
+ # @return [String]
6715
+ #
6666
6716
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByResource AWS API Documentation
6667
6717
  #
6668
6718
  class RecoveryPointByResource < Struct.new(
@@ -6675,7 +6725,8 @@ module Aws::Backup
6675
6725
  :backup_vault_name,
6676
6726
  :is_parent,
6677
6727
  :parent_recovery_point_arn,
6678
- :resource_name)
6728
+ :resource_name,
6729
+ :vault_type)
6679
6730
  SENSITIVE = []
6680
6731
  include Aws::Structure
6681
6732
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-backup/customizations'
52
52
  # @!group service
53
53
  module Aws::Backup
54
54
 
55
- GEM_VERSION = '1.64.0'
55
+ GEM_VERSION = '1.66.0'
56
56
 
57
57
  end