aws-sdk-backup 1.32.0 → 1.33.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 +28 -7
- data/lib/aws-sdk-backup/client_api.rb +4 -0
- data/lib/aws-sdk-backup/types.rb +56 -14
- data/lib/aws-sdk-backup.rb +1 -1
- 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: 477db29fed1a07d045bb148798161a6876066674373298acc7bb1b6e0c9521ae
|
4
|
+
data.tar.gz: 759b811e2cded6f09dcddf1a9bc62a1cc181abb9191d08a8a8adce88bffb6fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b3cae0f124f2680a88e2dc6d94f42de125606b187aa20ecc5a5bd5a16185ebb95f229f67068d6704686f86bc24b97b5831b98ecaf9e11a18a428131bf8da206
|
7
|
+
data.tar.gz: 6b3ea0012b2597eb815cdba08a4a87b6c1df3b10d3268678e509535323b221d79ebe4d084f600ab3a3492a4ffd0058406a1d1df08de1bce17db7773ecfd055a5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -570,8 +570,7 @@ module Aws::Backup
|
|
570
570
|
# collection of controls that you can use to evaluate your backup
|
571
571
|
# practices. By using pre-built customizable controls to define your
|
572
572
|
# policies, you can evaluate whether your backup practices comply with
|
573
|
-
# your policies
|
574
|
-
# frameworks, you can set up automatic daily reports.
|
573
|
+
# your policies and which resources are not yet in compliance.
|
575
574
|
#
|
576
575
|
# @option params [required, String] :framework_name
|
577
576
|
# The unique name of the framework. The name must be between 1 and 256
|
@@ -672,11 +671,16 @@ module Aws::Backup
|
|
672
671
|
# Identifies the report template for the report. Reports are built using
|
673
672
|
# a report template. The report templates are:
|
674
673
|
#
|
675
|
-
# `
|
674
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
675
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
676
|
+
#
|
677
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
678
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
679
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
676
680
|
#
|
677
681
|
# @option params [Hash<String,String>] :report_plan_tags
|
678
|
-
# Metadata that you can assign to help organize the
|
679
|
-
# create. Each tag is a key-value pair.
|
682
|
+
# Metadata that you can assign to help organize the report plans that
|
683
|
+
# you create. Each tag is a key-value pair.
|
680
684
|
#
|
681
685
|
# @option params [String] :idempotency_token
|
682
686
|
# A customer-chosen string that you can use to distinguish between
|
@@ -691,6 +695,7 @@ module Aws::Backup
|
|
691
695
|
#
|
692
696
|
# * {Types::CreateReportPlanOutput#report_plan_name #report_plan_name} => String
|
693
697
|
# * {Types::CreateReportPlanOutput#report_plan_arn #report_plan_arn} => String
|
698
|
+
# * {Types::CreateReportPlanOutput#creation_time #creation_time} => Time
|
694
699
|
#
|
695
700
|
# @example Request syntax with placeholder values
|
696
701
|
#
|
@@ -704,6 +709,8 @@ module Aws::Backup
|
|
704
709
|
# },
|
705
710
|
# report_setting: { # required
|
706
711
|
# report_template: "string", # required
|
712
|
+
# framework_arns: ["string"],
|
713
|
+
# number_of_frameworks: 1,
|
707
714
|
# },
|
708
715
|
# report_plan_tags: {
|
709
716
|
# "string" => "string",
|
@@ -715,6 +722,7 @@ module Aws::Backup
|
|
715
722
|
#
|
716
723
|
# resp.report_plan_name #=> String
|
717
724
|
# resp.report_plan_arn #=> String
|
725
|
+
# resp.creation_time #=> Time
|
718
726
|
#
|
719
727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlan AWS API Documentation
|
720
728
|
#
|
@@ -1379,6 +1387,9 @@ module Aws::Backup
|
|
1379
1387
|
# resp.report_plan.report_plan_name #=> String
|
1380
1388
|
# resp.report_plan.report_plan_description #=> String
|
1381
1389
|
# resp.report_plan.report_setting.report_template #=> String
|
1390
|
+
# resp.report_plan.report_setting.framework_arns #=> Array
|
1391
|
+
# resp.report_plan.report_setting.framework_arns[0] #=> String
|
1392
|
+
# resp.report_plan.report_setting.number_of_frameworks #=> Integer
|
1382
1393
|
# resp.report_plan.report_delivery_channel.s3_bucket_name #=> String
|
1383
1394
|
# resp.report_plan.report_delivery_channel.s3_key_prefix #=> String
|
1384
1395
|
# resp.report_plan.report_delivery_channel.formats #=> Array
|
@@ -2701,6 +2712,9 @@ module Aws::Backup
|
|
2701
2712
|
# resp.report_plans[0].report_plan_name #=> String
|
2702
2713
|
# resp.report_plans[0].report_plan_description #=> String
|
2703
2714
|
# resp.report_plans[0].report_setting.report_template #=> String
|
2715
|
+
# resp.report_plans[0].report_setting.framework_arns #=> Array
|
2716
|
+
# resp.report_plans[0].report_setting.framework_arns[0] #=> String
|
2717
|
+
# resp.report_plans[0].report_setting.number_of_frameworks #=> Integer
|
2704
2718
|
# resp.report_plans[0].report_delivery_channel.s3_bucket_name #=> String
|
2705
2719
|
# resp.report_plans[0].report_delivery_channel.s3_key_prefix #=> String
|
2706
2720
|
# resp.report_plans[0].report_delivery_channel.formats #=> Array
|
@@ -3640,7 +3654,12 @@ module Aws::Backup
|
|
3640
3654
|
# Identifies the report template for the report. Reports are built using
|
3641
3655
|
# a report template. The report templates are:
|
3642
3656
|
#
|
3643
|
-
# `
|
3657
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
3658
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
3659
|
+
#
|
3660
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
3661
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
3662
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
3644
3663
|
#
|
3645
3664
|
# @option params [String] :idempotency_token
|
3646
3665
|
# A customer-chosen string that you can use to distinguish between
|
@@ -3669,6 +3688,8 @@ module Aws::Backup
|
|
3669
3688
|
# },
|
3670
3689
|
# report_setting: {
|
3671
3690
|
# report_template: "string", # required
|
3691
|
+
# framework_arns: ["string"],
|
3692
|
+
# number_of_frameworks: 1,
|
3672
3693
|
# },
|
3673
3694
|
# idempotency_token: "string",
|
3674
3695
|
# })
|
@@ -3701,7 +3722,7 @@ module Aws::Backup
|
|
3701
3722
|
params: params,
|
3702
3723
|
config: config)
|
3703
3724
|
context[:gem_name] = 'aws-sdk-backup'
|
3704
|
-
context[:gem_version] = '1.
|
3725
|
+
context[:gem_version] = '1.33.0'
|
3705
3726
|
Seahorse::Client::Request.new(handlers, context)
|
3706
3727
|
end
|
3707
3728
|
|
@@ -482,6 +482,7 @@ module Aws::Backup
|
|
482
482
|
|
483
483
|
CreateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
484
484
|
CreateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
485
|
+
CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
485
486
|
CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
|
486
487
|
|
487
488
|
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
@@ -1032,6 +1033,8 @@ module Aws::Backup
|
|
1032
1033
|
ReportPlanList.member = Shapes::ShapeRef.new(shape: ReportPlan)
|
1033
1034
|
|
1034
1035
|
ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
|
1036
|
+
ReportSetting.add_member(:framework_arns, Shapes::ShapeRef.new(shape: stringList, location_name: "FrameworkArns"))
|
1037
|
+
ReportSetting.add_member(:number_of_frameworks, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfFrameworks"))
|
1035
1038
|
ReportSetting.struct_class = Types::ReportSetting
|
1036
1039
|
|
1037
1040
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
@@ -2011,6 +2014,7 @@ module Aws::Backup
|
|
2011
2014
|
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
2012
2015
|
o.input = Shapes::ShapeRef.new(shape: UpdateFrameworkInput)
|
2013
2016
|
o.output = Shapes::ShapeRef.new(shape: UpdateFrameworkOutput)
|
2017
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
2014
2018
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2015
2019
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2016
2020
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -285,8 +285,7 @@ module Aws::Backup
|
|
285
285
|
|
286
286
|
# Contains an optional backup plan display name and an array of
|
287
287
|
# `BackupRule` objects, each of which specifies a backup rule. Each rule
|
288
|
-
# in a backup plan is a separate scheduled task
|
289
|
-
# different selection of Amazon Web Services resources.
|
288
|
+
# in a backup plan is a separate scheduled task.
|
290
289
|
#
|
291
290
|
# @note When making an API call, you may pass BackupPlanInput
|
292
291
|
# data as a hash:
|
@@ -941,8 +940,8 @@ module Aws::Backup
|
|
941
940
|
# }
|
942
941
|
#
|
943
942
|
# @!attribute [rw] compliance_resource_ids
|
944
|
-
#
|
945
|
-
#
|
943
|
+
# The ID of the only Amazon Web Services resource that you want your
|
944
|
+
# control scope to contain.
|
946
945
|
# @return [Array<String>]
|
947
946
|
#
|
948
947
|
# @!attribute [rw] compliance_resource_types
|
@@ -1484,6 +1483,8 @@ module Aws::Backup
|
|
1484
1483
|
# },
|
1485
1484
|
# report_setting: { # required
|
1486
1485
|
# report_template: "string", # required
|
1486
|
+
# framework_arns: ["string"],
|
1487
|
+
# number_of_frameworks: 1,
|
1487
1488
|
# },
|
1488
1489
|
# report_plan_tags: {
|
1489
1490
|
# "string" => "string",
|
@@ -1512,11 +1513,16 @@ module Aws::Backup
|
|
1512
1513
|
# Identifies the report template for the report. Reports are built
|
1513
1514
|
# using a report template. The report templates are:
|
1514
1515
|
#
|
1515
|
-
# `
|
1516
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
1517
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
1518
|
+
#
|
1519
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
1520
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
1521
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
1516
1522
|
# @return [Types::ReportSetting]
|
1517
1523
|
#
|
1518
1524
|
# @!attribute [rw] report_plan_tags
|
1519
|
-
# Metadata that you can assign to help organize the
|
1525
|
+
# Metadata that you can assign to help organize the report plans that
|
1520
1526
|
# you create. Each tag is a key-value pair.
|
1521
1527
|
# @return [Hash<String,String>]
|
1522
1528
|
#
|
@@ -1552,11 +1558,19 @@ module Aws::Backup
|
|
1552
1558
|
# The format of the ARN depends on the resource type.
|
1553
1559
|
# @return [String]
|
1554
1560
|
#
|
1561
|
+
# @!attribute [rw] creation_time
|
1562
|
+
# The date and time a backup vault is created, in Unix format and
|
1563
|
+
# Coordinated Universal Time (UTC). The value of `CreationTime` is
|
1564
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
1565
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
1566
|
+
# @return [Time]
|
1567
|
+
#
|
1555
1568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlanOutput AWS API Documentation
|
1556
1569
|
#
|
1557
1570
|
class CreateReportPlanOutput < Struct.new(
|
1558
1571
|
:report_plan_name,
|
1559
|
-
:report_plan_arn
|
1572
|
+
:report_plan_arn,
|
1573
|
+
:creation_time)
|
1560
1574
|
SENSITIVE = []
|
1561
1575
|
include Aws::Structure
|
1562
1576
|
end
|
@@ -3169,6 +3183,8 @@ module Aws::Backup
|
|
3169
3183
|
# Contains a string with the supported Amazon Web Services resource
|
3170
3184
|
# types:
|
3171
3185
|
#
|
3186
|
+
# * `Aurora` for Amazon Aurora
|
3187
|
+
#
|
3172
3188
|
# * `DynamoDB` for Amazon DynamoDB
|
3173
3189
|
#
|
3174
3190
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3177,9 +3193,9 @@ module Aws::Backup
|
|
3177
3193
|
#
|
3178
3194
|
# * `EFS` for Amazon Elastic File System
|
3179
3195
|
#
|
3180
|
-
# * `
|
3196
|
+
# * `FSX` for Amazon FSx
|
3181
3197
|
#
|
3182
|
-
# * `
|
3198
|
+
# * `RDS` for Amazon Relational Database Service
|
3183
3199
|
#
|
3184
3200
|
# * `Storage Gateway` for Storage Gateway
|
3185
3201
|
# @return [Array<String>]
|
@@ -4801,7 +4817,8 @@ module Aws::Backup
|
|
4801
4817
|
# Identifies the report template for the report. Reports are built
|
4802
4818
|
# using a report template. The report templates are:
|
4803
4819
|
#
|
4804
|
-
# `
|
4820
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
4821
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
4805
4822
|
# @return [String]
|
4806
4823
|
#
|
4807
4824
|
# @!attribute [rw] creation_time
|
@@ -4874,7 +4891,12 @@ module Aws::Backup
|
|
4874
4891
|
# Identifies the report template for the report. Reports are built
|
4875
4892
|
# using a report template. The report templates are:
|
4876
4893
|
#
|
4877
|
-
# `
|
4894
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
4895
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
4896
|
+
#
|
4897
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
4898
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
4899
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
4878
4900
|
# @return [Types::ReportSetting]
|
4879
4901
|
#
|
4880
4902
|
# @!attribute [rw] report_delivery_channel
|
@@ -4936,19 +4958,32 @@ module Aws::Backup
|
|
4936
4958
|
#
|
4937
4959
|
# {
|
4938
4960
|
# report_template: "string", # required
|
4961
|
+
# framework_arns: ["string"],
|
4962
|
+
# number_of_frameworks: 1,
|
4939
4963
|
# }
|
4940
4964
|
#
|
4941
4965
|
# @!attribute [rw] report_template
|
4942
4966
|
# Identifies the report template for the report. Reports are built
|
4943
4967
|
# using a report template. The report templates are:
|
4944
4968
|
#
|
4945
|
-
# `
|
4969
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
4970
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
4946
4971
|
# @return [String]
|
4947
4972
|
#
|
4973
|
+
# @!attribute [rw] framework_arns
|
4974
|
+
# The Amazon Resource Names (ARNs) of the frameworks a report covers.
|
4975
|
+
# @return [Array<String>]
|
4976
|
+
#
|
4977
|
+
# @!attribute [rw] number_of_frameworks
|
4978
|
+
# The number of frameworks a report covers.
|
4979
|
+
# @return [Integer]
|
4980
|
+
#
|
4948
4981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ReportSetting AWS API Documentation
|
4949
4982
|
#
|
4950
4983
|
class ReportSetting < Struct.new(
|
4951
|
-
:report_template
|
4984
|
+
:report_template,
|
4985
|
+
:framework_arns,
|
4986
|
+
:number_of_frameworks)
|
4952
4987
|
SENSITIVE = []
|
4953
4988
|
include Aws::Structure
|
4954
4989
|
end
|
@@ -5899,6 +5934,8 @@ module Aws::Backup
|
|
5899
5934
|
# },
|
5900
5935
|
# report_setting: {
|
5901
5936
|
# report_template: "string", # required
|
5937
|
+
# framework_arns: ["string"],
|
5938
|
+
# number_of_frameworks: 1,
|
5902
5939
|
# },
|
5903
5940
|
# idempotency_token: "string",
|
5904
5941
|
# }
|
@@ -5924,7 +5961,12 @@ module Aws::Backup
|
|
5924
5961
|
# Identifies the report template for the report. Reports are built
|
5925
5962
|
# using a report template. The report templates are:
|
5926
5963
|
#
|
5927
|
-
# `
|
5964
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
5965
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
5966
|
+
#
|
5967
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
5968
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
5969
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
5928
5970
|
# @return [Types::ReportSetting]
|
5929
5971
|
#
|
5930
5972
|
# @!attribute [rw] idempotency_token
|
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.33.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-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|