aws-sdk-backup 1.65.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +42 -4
- data/lib/aws-sdk-backup/client_api.rb +2 -0
- data/lib/aws-sdk-backup/types.rb +53 -2
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49db22d5b184fcfbd3560a65e05cdbe3df876ae983ddaddf07ebea384f0a467f
|
4
|
+
data.tar.gz: 3815b213bcfe226e77031f6e0dca85d364906bc722692d7b956820a85b730334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f09b2bd3f55a38ba85ec90ea3c9a4b6c6c041df0b0ac0da04f31362e45683c0c9b00c45926aaa76d37c3b45bf6f1ec2dd6d2624d0bbf4d57fc7f0ff6149ee91
|
7
|
+
data.tar.gz: 2b5b3998745030d59f026d92730cb09ae4804309dd560e5fb22eeaaf3cff28878fd2e272323101b1da531fd544b7b0e99565d5521c2339c91a64f4e9d62ff51c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.65.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
5340
|
-
# FSx for OpenZFS, Amazon DocumentDB (with MongoDB
|
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.
|
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)
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -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&State=COMPLETED
|
4448
|
+
#
|
4449
|
+
# GET
|
4450
|
+
# /audit/backup-job-summaries?AggregationPeriod=FOURTEEN\_DAYS&MessageCategory=SUCCESS&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&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
|
data/lib/aws-sdk-backup.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1074,7 +1074,8 @@ module Aws
|
|
1074
1074
|
def list_recovery_points_by_resource: (
|
1075
1075
|
resource_arn: ::String,
|
1076
1076
|
?next_token: ::String,
|
1077
|
-
?max_results: ::Integer
|
1077
|
+
?max_results: ::Integer,
|
1078
|
+
?managed_by_aws_backup_only: bool
|
1078
1079
|
) -> _ListRecoveryPointsByResourceResponseSuccess
|
1079
1080
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPointsByResourceResponseSuccess
|
1080
1081
|
|
data/sig/types.rbs
CHANGED
@@ -1180,6 +1180,7 @@ module Aws::Backup
|
|
1180
1180
|
attr_accessor resource_arn: ::String
|
1181
1181
|
attr_accessor next_token: ::String
|
1182
1182
|
attr_accessor max_results: ::Integer
|
1183
|
+
attr_accessor managed_by_aws_backup_only: bool
|
1183
1184
|
SENSITIVE: []
|
1184
1185
|
end
|
1185
1186
|
|
@@ -1398,6 +1399,7 @@ module Aws::Backup
|
|
1398
1399
|
attr_accessor is_parent: bool
|
1399
1400
|
attr_accessor parent_recovery_point_arn: ::String
|
1400
1401
|
attr_accessor resource_name: ::String
|
1402
|
+
attr_accessor vault_type: ("BACKUP_VAULT" | "LOGICALLY_AIR_GAPPED_BACKUP_VAULT")
|
1401
1403
|
SENSITIVE: []
|
1402
1404
|
end
|
1403
1405
|
|
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.66.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: 2024-
|
11
|
+
date: 2024-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|