lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.56.0 vs lib/aws-sdk-autoscaling/client.rb in aws-sdk-autoscaling-1.57.0

- old
+ new

@@ -544,12 +544,11 @@ req = build_request(:batch_delete_scheduled_action, params) req.send_request(options) end # Creates or updates one or more scheduled scaling actions for an Auto - # Scaling group. If you leave a parameter unspecified when updating a - # scheduled scaling action, the corresponding value remains unchanged. + # Scaling group. # # @option params [required, String] :auto_scaling_group_name # The name of the Auto Scaling group. # # @option params [required, Array<Types::ScheduledUpdateGroupActionRequest>] :scheduled_update_group_actions @@ -570,10 +569,11 @@ # end_time: Time.now, # recurrence: "XmlStringMaxLen255", # min_size: 1, # max_size: 1, # desired_capacity: 1, + # time_zone: "XmlStringMaxLen255", # }, # ], # }) # # @example Response structure @@ -3214,10 +3214,11 @@ # resp.scheduled_update_group_actions[0].end_time #=> Time # resp.scheduled_update_group_actions[0].recurrence #=> String # resp.scheduled_update_group_actions[0].min_size #=> Integer # resp.scheduled_update_group_actions[0].max_size #=> Integer # resp.scheduled_update_group_actions[0].desired_capacity #=> Integer + # resp.scheduled_update_group_actions[0].time_zone #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions AWS API Documentation # # @overload describe_scheduled_actions(params = {}) @@ -4409,12 +4410,11 @@ req = build_request(:put_scaling_policy, params) req.send_request(options) end # Creates or updates a scheduled scaling action for an Auto Scaling - # group. If you leave a parameter unspecified when updating a scheduled - # scaling action, the corresponding value remains unchanged. + # group. # # For more information, see [Scheduled scaling][1] in the *Amazon EC2 # Auto Scaling User Guide*. # # @@ -4441,25 +4441,26 @@ # # If you try to schedule your action in the past, Amazon EC2 Auto # Scaling returns an error message. # # @option params [Time,DateTime,Date,Integer,String] :end_time - # The date and time for the recurring schedule to end. Amazon EC2 Auto - # Scaling does not perform the action after this time. + # The date and time for the recurring schedule to end, in UTC. # # @option params [String] :recurrence - # The recurring schedule for this action, in Unix cron syntax format. - # This format consists of five fields separated by white spaces: - # \[Minute\] \[Hour\] \[Day\_of\_Month\] \[Month\_of\_Year\] - # \[Day\_of\_Week\]. The value must be in quotes (for example, `"30 0 1 - # 1,6,12 *"`). For more information about this format, see [Crontab][1]. + # The recurring schedule for this action. This format consists of five + # fields separated by white spaces: \[Minute\] \[Hour\] + # \[Day\_of\_Month\] \[Month\_of\_Year\] \[Day\_of\_Week\]. The value + # must be in quotes (for example, `"30 0 1 1,6,12 *"`). For more + # information about this format, see [Crontab][1]. # # When `StartTime` and `EndTime` are specified with `Recurrence`, they # form the boundaries of when the recurring action starts and stops. # + # Cron expressions use Universal Coordinated Time (UTC) by default. # # + # # [1]: http://crontab.org # # @option params [Integer] :min_size # The minimum size of the Auto Scaling group. # @@ -4470,10 +4471,23 @@ # The desired capacity is the initial capacity of the Auto Scaling group # after the scheduled action runs and the capacity it attempts to # maintain. It can scale beyond this capacity if you add more scaling # conditions. # + # @option params [String] :time_zone + # Specifies the time zone for a cron expression. If a time zone is not + # provided, UTC is used by default. + # + # Valid values are the canonical names of the IANA time zones, derived + # from the IANA Time Zone Database (such as `Etc/GMT+9` or + # `Pacific/Tahiti`). For more information, see + # [https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones][1]. + # + # + # + # [1]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To add a scheduled action to an Auto Scaling group # @@ -4499,10 +4513,11 @@ # end_time: Time.now, # recurrence: "XmlStringMaxLen255", # min_size: 1, # max_size: 1, # desired_capacity: 1, + # time_zone: "XmlStringMaxLen255", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction AWS API Documentation # # @overload put_scheduled_update_group_action(params = {}) @@ -5389,10 +5404,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-autoscaling' - context[:gem_version] = '1.56.0' + context[:gem_version] = '1.57.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #