lib/aws-sdk-dlm/client.rb in aws-sdk-dlm-1.42.0 vs lib/aws-sdk-dlm/client.rb in aws-sdk-dlm-1.43.0
- old
+ new
@@ -325,12 +325,12 @@
super
end
# @!group API Operations
- # Creates a policy to manage the lifecycle of the specified AWS
- # resources. You can create up to 100 lifecycle policies.
+ # Creates a policy to manage the lifecycle of the specified Amazon Web
+ # Services resources. You can create up to 100 lifecycle policies.
#
# @option params [required, String] :execution_role_arn
# The Amazon Resource Name (ARN) of the IAM role used to run the
# operations specified by the lifecycle policy.
#
@@ -410,19 +410,28 @@
# copy_tags: false,
# retain_rule: {
# interval: 1,
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
# },
+ # deprecate_rule: {
+ # interval: 1,
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
+ # },
# },
# ],
# share_rules: [
# {
# target_accounts: ["AwsAccountId"], # required
# unshare_interval: 1,
# unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
# },
# ],
+ # deprecate_rule: {
+ # count: 1,
+ # interval: 1,
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
+ # },
# },
# ],
# parameters: {
# exclude_boot_volume: false,
# no_reboot: false,
@@ -517,12 +526,12 @@
# @option params [Array<String>] :tags_to_add
# The tags to add to objects created by the policy.
#
# Tags are strings in the format `key=value`.
#
- # These user-defined tags are added in addition to the AWS-added
- # lifecycle tags.
+ # These user-defined tags are added in addition to the Amazon Web
+ # Services-added lifecycle tags.
#
# @return [Types::GetLifecyclePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetLifecyclePoliciesResponse#policies #policies} => Array<Types::LifecyclePolicySummary>
#
@@ -616,15 +625,20 @@
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].encrypted #=> Boolean
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].cmk_arn #=> String
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].copy_tags #=> Boolean
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval #=> Integer
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].deprecate_rule.interval #=> Integer
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].deprecate_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
# resp.policy.policy_details.schedules[0].share_rules #=> Array
# resp.policy.policy_details.schedules[0].share_rules[0].target_accounts #=> Array
# resp.policy.policy_details.schedules[0].share_rules[0].target_accounts[0] #=> String
# resp.policy.policy_details.schedules[0].share_rules[0].unshare_interval #=> Integer
# resp.policy.policy_details.schedules[0].share_rules[0].unshare_interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
+ # resp.policy.policy_details.schedules[0].deprecate_rule.count #=> Integer
+ # resp.policy.policy_details.schedules[0].deprecate_rule.interval #=> Integer
+ # resp.policy.policy_details.schedules[0].deprecate_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
# resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
# resp.policy.policy_details.parameters.no_reboot #=> Boolean
# resp.policy.policy_details.event_source.type #=> String, one of "MANAGED_CWE"
# resp.policy.policy_details.event_source.parameters.event_type #=> String, one of "shareSnapshot"
# resp.policy.policy_details.event_source.parameters.snapshot_owner #=> Array
@@ -815,19 +829,28 @@
# copy_tags: false,
# retain_rule: {
# interval: 1,
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
# },
+ # deprecate_rule: {
+ # interval: 1,
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
+ # },
# },
# ],
# share_rules: [
# {
# target_accounts: ["AwsAccountId"], # required
# unshare_interval: 1,
# unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
# },
# ],
+ # deprecate_rule: {
+ # count: 1,
+ # interval: 1,
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
+ # },
# },
# ],
# parameters: {
# exclude_boot_volume: false,
# no_reboot: false,
@@ -881,10 +904,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-dlm'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated