lib/aws-sdk-dlm/client.rb in aws-sdk-dlm-1.14.0 vs lib/aws-sdk-dlm/client.rb in aws-sdk-dlm-1.15.0
- old
+ new
@@ -278,11 +278,12 @@
# resp = client.create_lifecycle_policy({
# execution_role_arn: "ExecutionRoleArn", # required
# description: "PolicyDescription", # required
# state: "ENABLED", # required, accepts ENABLED, DISABLED
# policy_details: { # required
- # resource_types: ["VOLUME"], # accepts VOLUME
+ # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
+ # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
# target_tags: [
# {
# key: "String", # required
# value: "String", # required
# },
@@ -295,20 +296,29 @@
# {
# key: "String", # required
# value: "String", # required
# },
# ],
+ # variable_tags: [
+ # {
+ # key: "String", # required
+ # value: "String", # required
+ # },
+ # ],
# create_rule: {
# interval: 1, # required
# interval_unit: "HOURS", # required, accepts HOURS
# times: ["Time"],
# },
# retain_rule: {
# count: 1, # required
# },
# },
# ],
+ # parameters: {
+ # exclude_boot_volume: false,
+ # },
# },
# })
#
# @example Response structure
#
@@ -380,11 +390,11 @@
# @example Request syntax with placeholder values
#
# resp = client.get_lifecycle_policies({
# policy_ids: ["PolicyId"],
# state: "ENABLED", # accepts ENABLED, DISABLED, ERROR
- # resource_types: ["VOLUME"], # accepts VOLUME
+ # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
# target_tags: ["TagFilter"],
# tags_to_add: ["TagFilter"],
# })
#
# @example Response structure
@@ -424,26 +434,31 @@
# resp.policy.description #=> String
# resp.policy.state #=> String, one of "ENABLED", "DISABLED", "ERROR"
# resp.policy.execution_role_arn #=> String
# resp.policy.date_created #=> Time
# resp.policy.date_modified #=> Time
+ # resp.policy.policy_details.policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT"
# resp.policy.policy_details.resource_types #=> Array
- # resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME"
+ # resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
# resp.policy.policy_details.target_tags #=> Array
# resp.policy.policy_details.target_tags[0].key #=> String
# resp.policy.policy_details.target_tags[0].value #=> String
# resp.policy.policy_details.schedules #=> Array
# resp.policy.policy_details.schedules[0].name #=> String
# resp.policy.policy_details.schedules[0].copy_tags #=> Boolean
# resp.policy.policy_details.schedules[0].tags_to_add #=> Array
# resp.policy.policy_details.schedules[0].tags_to_add[0].key #=> String
# resp.policy.policy_details.schedules[0].tags_to_add[0].value #=> String
+ # resp.policy.policy_details.schedules[0].variable_tags #=> Array
+ # resp.policy.policy_details.schedules[0].variable_tags[0].key #=> String
+ # resp.policy.policy_details.schedules[0].variable_tags[0].value #=> String
# resp.policy.policy_details.schedules[0].create_rule.interval #=> Integer
# resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
# resp.policy.policy_details.schedules[0].create_rule.times #=> Array
# resp.policy.policy_details.schedules[0].create_rule.times[0] #=> String
# resp.policy.policy_details.schedules[0].retain_rule.count #=> Integer
+ # resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicy AWS API Documentation
#
# @overload get_lifecycle_policy(params = {})
# @param [Hash] params ({})
@@ -480,11 +495,12 @@
# policy_id: "PolicyId", # required
# execution_role_arn: "ExecutionRoleArn",
# state: "ENABLED", # accepts ENABLED, DISABLED
# description: "PolicyDescription",
# policy_details: {
- # resource_types: ["VOLUME"], # accepts VOLUME
+ # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
+ # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
# target_tags: [
# {
# key: "String", # required
# value: "String", # required
# },
@@ -497,20 +513,29 @@
# {
# key: "String", # required
# value: "String", # required
# },
# ],
+ # variable_tags: [
+ # {
+ # key: "String", # required
+ # value: "String", # required
+ # },
+ # ],
# create_rule: {
# interval: 1, # required
# interval_unit: "HOURS", # required, accepts HOURS
# times: ["Time"],
# },
# retain_rule: {
# count: 1, # required
# },
# },
# ],
+ # parameters: {
+ # exclude_boot_volume: false,
+ # },
# },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/UpdateLifecyclePolicy AWS API Documentation
#
@@ -532,10 +557,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-dlm'
- context[:gem_version] = '1.14.0'
+ context[:gem_version] = '1.15.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated