aws-sdk-autoscalingplans 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c5e38e99110ee12a515c9c33ce1239688582158
4
- data.tar.gz: 55083f60a624a37d35b33e711dcfdb3c29b725d4
3
+ metadata.gz: cbc751fce5512d525fe4552207b3965f97c76d34
4
+ data.tar.gz: 04eae8194f9b61164012f37a24527fa67b3f603a
5
5
  SHA512:
6
- metadata.gz: 20e00a3184458e56b3b77e165b4ab2109538fef838e543237e62e5e10e547531231ff356239cf21d11f14990afa31dff6523dd29fa8d32d49ad0987eac8ce1ce
7
- data.tar.gz: 520d35e5c847aadbd01feddd116f03fb0fadc7cfd46f6b769c6eecec84719ee71387644283cb5e6cd58415a798bcdd23847b4add3e3b4d80465a67c9e632efb1
6
+ metadata.gz: 2cafeaaa193b15798609c56c201fd8a059e1999ce263c39368fc39b6f545ffca577e462c3deabb1a4a4281930bb76b759bc74e72e03ba8a9f800f8c9efc48793
7
+ data.tar.gz: 4ea996f1c9b4dcef5fb7205bcdf700e0d3b2e72ded040102d5a23ae4b57e13a11827533a5d457a94cc2b8821598d2a0352db2ee32ab5908d0f61465cc05e6239
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-autoscalingplans/customizations'
42
42
  # @service
43
43
  module Aws::AutoScalingPlans
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -163,10 +163,12 @@ module Aws::AutoScalingPlans
163
163
  # scaling instructions in your scaling plan.
164
164
  #
165
165
  # @option params [required, String] :scaling_plan_name
166
- # The name of the scaling plan.
166
+ # The name of the scaling plan. Names cannot contain vertical bars,
167
+ # colons, or forward slashes.
167
168
  #
168
169
  # @option params [required, Types::ApplicationSource] :application_source
169
- # The source for the application.
170
+ # A CloudFormation stack or set of tags. You can create one scaling plan
171
+ # per application source.
170
172
  #
171
173
  # @option params [required, Array<Types::ScalingInstruction>] :scaling_instructions
172
174
  # The scaling instructions.
@@ -181,6 +183,12 @@ module Aws::AutoScalingPlans
181
183
  # scaling_plan_name: "ScalingPlanName", # required
182
184
  # application_source: { # required
183
185
  # cloud_formation_stack_arn: "XmlString",
186
+ # tag_filters: [
187
+ # {
188
+ # key: "XmlStringMaxLen128",
189
+ # values: ["XmlStringMaxLen256"],
190
+ # },
191
+ # ],
184
192
  # },
185
193
  # scaling_instructions: [ # required
186
194
  # {
@@ -358,6 +366,12 @@ module Aws::AutoScalingPlans
358
366
  # application_sources: [
359
367
  # {
360
368
  # cloud_formation_stack_arn: "XmlString",
369
+ # tag_filters: [
370
+ # {
371
+ # key: "XmlStringMaxLen128",
372
+ # values: ["XmlStringMaxLen256"],
373
+ # },
374
+ # ],
361
375
  # },
362
376
  # ],
363
377
  # max_results: 1,
@@ -370,6 +384,10 @@ module Aws::AutoScalingPlans
370
384
  # resp.scaling_plans[0].scaling_plan_name #=> String
371
385
  # resp.scaling_plans[0].scaling_plan_version #=> Integer
372
386
  # resp.scaling_plans[0].application_source.cloud_formation_stack_arn #=> String
387
+ # resp.scaling_plans[0].application_source.tag_filters #=> Array
388
+ # resp.scaling_plans[0].application_source.tag_filters[0].key #=> String
389
+ # resp.scaling_plans[0].application_source.tag_filters[0].values #=> Array
390
+ # resp.scaling_plans[0].application_source.tag_filters[0].values[0] #=> String
373
391
  # resp.scaling_plans[0].scaling_instructions #=> Array
374
392
  # resp.scaling_plans[0].scaling_instructions[0].service_namespace #=> String, one of "autoscaling", "ecs", "ec2", "rds", "dynamodb"
375
393
  # resp.scaling_plans[0].scaling_instructions[0].resource_id #=> String
@@ -391,8 +409,9 @@ module Aws::AutoScalingPlans
391
409
  # resp.scaling_plans[0].scaling_instructions[0].target_tracking_configurations[0].scale_out_cooldown #=> Integer
392
410
  # resp.scaling_plans[0].scaling_instructions[0].target_tracking_configurations[0].scale_in_cooldown #=> Integer
393
411
  # resp.scaling_plans[0].scaling_instructions[0].target_tracking_configurations[0].estimated_instance_warmup #=> Integer
394
- # resp.scaling_plans[0].status_code #=> String, one of "Active", "ActiveWithProblems", "CreationInProgress", "CreationFailed", "DeletionInProgress", "DeletionFailed"
412
+ # resp.scaling_plans[0].status_code #=> String, one of "Active", "ActiveWithProblems", "CreationInProgress", "CreationFailed", "DeletionInProgress", "DeletionFailed", "UpdateInProgress", "UpdateFailed"
395
413
  # resp.scaling_plans[0].status_message #=> String
414
+ # resp.scaling_plans[0].status_start_time #=> Time
396
415
  # resp.scaling_plans[0].creation_time #=> Time
397
416
  # resp.next_token #=> String
398
417
  #
@@ -405,6 +424,84 @@ module Aws::AutoScalingPlans
405
424
  req.send_request(options)
406
425
  end
407
426
 
427
+ # Updates the scaling plan for the specified scaling plan.
428
+ #
429
+ # You cannot update a scaling plan if it is in the process of being
430
+ # created, updated, or deleted.
431
+ #
432
+ # @option params [Types::ApplicationSource] :application_source
433
+ # A CloudFormation stack or set of tags.
434
+ #
435
+ # @option params [required, String] :scaling_plan_name
436
+ # The name of the scaling plan.
437
+ #
438
+ # @option params [Array<Types::ScalingInstruction>] :scaling_instructions
439
+ # The scaling instructions.
440
+ #
441
+ # @option params [required, Integer] :scaling_plan_version
442
+ # The version number.
443
+ #
444
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
445
+ #
446
+ # @example Request syntax with placeholder values
447
+ #
448
+ # resp = client.update_scaling_plan({
449
+ # application_source: {
450
+ # cloud_formation_stack_arn: "XmlString",
451
+ # tag_filters: [
452
+ # {
453
+ # key: "XmlStringMaxLen128",
454
+ # values: ["XmlStringMaxLen256"],
455
+ # },
456
+ # ],
457
+ # },
458
+ # scaling_plan_name: "ScalingPlanName", # required
459
+ # scaling_instructions: [
460
+ # {
461
+ # service_namespace: "autoscaling", # required, accepts autoscaling, ecs, ec2, rds, dynamodb
462
+ # resource_id: "ResourceIdMaxLen1600", # required
463
+ # scalable_dimension: "autoscaling:autoScalingGroup:DesiredCapacity", # required, accepts autoscaling:autoScalingGroup:DesiredCapacity, ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, rds:cluster:ReadReplicaCount, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits
464
+ # min_capacity: 1, # required
465
+ # max_capacity: 1, # required
466
+ # target_tracking_configurations: [ # required
467
+ # {
468
+ # predefined_scaling_metric_specification: {
469
+ # predefined_scaling_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut
470
+ # resource_label: "ResourceLabel",
471
+ # },
472
+ # customized_scaling_metric_specification: {
473
+ # metric_name: "MetricName", # required
474
+ # namespace: "MetricNamespace", # required
475
+ # dimensions: [
476
+ # {
477
+ # name: "MetricDimensionName", # required
478
+ # value: "MetricDimensionValue", # required
479
+ # },
480
+ # ],
481
+ # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
482
+ # unit: "MetricUnit",
483
+ # },
484
+ # target_value: 1.0, # required
485
+ # disable_scale_in: false,
486
+ # scale_out_cooldown: 1,
487
+ # scale_in_cooldown: 1,
488
+ # estimated_instance_warmup: 1,
489
+ # },
490
+ # ],
491
+ # },
492
+ # ],
493
+ # scaling_plan_version: 1, # required
494
+ # })
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlan AWS API Documentation
497
+ #
498
+ # @overload update_scaling_plan(params = {})
499
+ # @param [Hash] params ({})
500
+ def update_scaling_plan(params = {}, options = {})
501
+ req = build_request(:update_scaling_plan, params)
502
+ req.send_request(options)
503
+ end
504
+
408
505
  # @!endgroup
409
506
 
410
507
  # @param params ({})
@@ -418,7 +515,7 @@ module Aws::AutoScalingPlans
418
515
  params: params,
419
516
  config: config)
420
517
  context[:gem_name] = 'aws-sdk-autoscalingplans'
421
- context[:gem_version] = '1.1.0'
518
+ context[:gem_version] = '1.2.0'
422
519
  Seahorse::Client::Request.new(handlers, context)
423
520
  end
424
521
 
@@ -63,13 +63,21 @@ module Aws::AutoScalingPlans
63
63
  ScalingPolicy = Shapes::StructureShape.new(name: 'ScalingPolicy')
64
64
  ScalingStatusCode = Shapes::StringShape.new(name: 'ScalingStatusCode')
65
65
  ServiceNamespace = Shapes::StringShape.new(name: 'ServiceNamespace')
66
+ TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
67
+ TagFilters = Shapes::ListShape.new(name: 'TagFilters')
68
+ TagValues = Shapes::ListShape.new(name: 'TagValues')
66
69
  TargetTrackingConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingConfiguration')
67
70
  TargetTrackingConfigurations = Shapes::ListShape.new(name: 'TargetTrackingConfigurations')
68
71
  TimestampType = Shapes::TimestampShape.new(name: 'TimestampType')
72
+ UpdateScalingPlanRequest = Shapes::StructureShape.new(name: 'UpdateScalingPlanRequest')
73
+ UpdateScalingPlanResponse = Shapes::StructureShape.new(name: 'UpdateScalingPlanResponse')
69
74
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
70
75
  XmlString = Shapes::StringShape.new(name: 'XmlString')
76
+ XmlStringMaxLen128 = Shapes::StringShape.new(name: 'XmlStringMaxLen128')
77
+ XmlStringMaxLen256 = Shapes::StringShape.new(name: 'XmlStringMaxLen256')
71
78
 
72
79
  ApplicationSource.add_member(:cloud_formation_stack_arn, Shapes::ShapeRef.new(shape: XmlString, location_name: "CloudFormationStackARN"))
80
+ ApplicationSource.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "TagFilters"))
73
81
  ApplicationSource.struct_class = Types::ApplicationSource
74
82
 
75
83
  ApplicationSources.member = Shapes::ShapeRef.new(shape: ApplicationSource)
@@ -142,6 +150,7 @@ module Aws::AutoScalingPlans
142
150
  ScalingPlan.add_member(:scaling_instructions, Shapes::ShapeRef.new(shape: ScalingInstructions, required: true, location_name: "ScalingInstructions"))
143
151
  ScalingPlan.add_member(:status_code, Shapes::ShapeRef.new(shape: ScalingPlanStatusCode, required: true, location_name: "StatusCode"))
144
152
  ScalingPlan.add_member(:status_message, Shapes::ShapeRef.new(shape: XmlString, location_name: "StatusMessage"))
153
+ ScalingPlan.add_member(:status_start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StatusStartTime"))
145
154
  ScalingPlan.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "CreationTime"))
146
155
  ScalingPlan.struct_class = Types::ScalingPlan
147
156
 
@@ -168,6 +177,14 @@ module Aws::AutoScalingPlans
168
177
  ScalingPolicy.add_member(:target_tracking_configuration, Shapes::ShapeRef.new(shape: TargetTrackingConfiguration, location_name: "TargetTrackingConfiguration"))
169
178
  ScalingPolicy.struct_class = Types::ScalingPolicy
170
179
 
180
+ TagFilter.add_member(:key, Shapes::ShapeRef.new(shape: XmlStringMaxLen128, location_name: "Key"))
181
+ TagFilter.add_member(:values, Shapes::ShapeRef.new(shape: TagValues, location_name: "Values"))
182
+ TagFilter.struct_class = Types::TagFilter
183
+
184
+ TagFilters.member = Shapes::ShapeRef.new(shape: TagFilter)
185
+
186
+ TagValues.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen256)
187
+
171
188
  TargetTrackingConfiguration.add_member(:predefined_scaling_metric_specification, Shapes::ShapeRef.new(shape: PredefinedScalingMetricSpecification, location_name: "PredefinedScalingMetricSpecification"))
172
189
  TargetTrackingConfiguration.add_member(:customized_scaling_metric_specification, Shapes::ShapeRef.new(shape: CustomizedScalingMetricSpecification, location_name: "CustomizedScalingMetricSpecification"))
173
190
  TargetTrackingConfiguration.add_member(:target_value, Shapes::ShapeRef.new(shape: MetricScale, required: true, location_name: "TargetValue"))
@@ -179,6 +196,14 @@ module Aws::AutoScalingPlans
179
196
 
180
197
  TargetTrackingConfigurations.member = Shapes::ShapeRef.new(shape: TargetTrackingConfiguration)
181
198
 
199
+ UpdateScalingPlanRequest.add_member(:application_source, Shapes::ShapeRef.new(shape: ApplicationSource, location_name: "ApplicationSource"))
200
+ UpdateScalingPlanRequest.add_member(:scaling_plan_name, Shapes::ShapeRef.new(shape: ScalingPlanName, required: true, location_name: "ScalingPlanName"))
201
+ UpdateScalingPlanRequest.add_member(:scaling_instructions, Shapes::ShapeRef.new(shape: ScalingInstructions, location_name: "ScalingInstructions"))
202
+ UpdateScalingPlanRequest.add_member(:scaling_plan_version, Shapes::ShapeRef.new(shape: ScalingPlanVersion, required: true, location_name: "ScalingPlanVersion"))
203
+ UpdateScalingPlanRequest.struct_class = Types::UpdateScalingPlanRequest
204
+
205
+ UpdateScalingPlanResponse.struct_class = Types::UpdateScalingPlanResponse
206
+
182
207
 
183
208
  # @api private
184
209
  API = Seahorse::Model::Api.new.tap do |api|
@@ -242,6 +267,18 @@ module Aws::AutoScalingPlans
242
267
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentUpdateException)
243
268
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
244
269
  end)
270
+
271
+ api.add_operation(:update_scaling_plan, Seahorse::Model::Operation.new.tap do |o|
272
+ o.name = "UpdateScalingPlan"
273
+ o.http_method = "POST"
274
+ o.http_request_uri = "/"
275
+ o.input = Shapes::ShapeRef.new(shape: UpdateScalingPlanRequest)
276
+ o.output = Shapes::ShapeRef.new(shape: UpdateScalingPlanResponse)
277
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
278
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentUpdateException)
279
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
280
+ o.errors << Shapes::ShapeRef.new(shape: ObjectNotFoundException)
281
+ end)
245
282
  end
246
283
 
247
284
  end
@@ -15,16 +15,27 @@ module Aws::AutoScalingPlans
15
15
  #
16
16
  # {
17
17
  # cloud_formation_stack_arn: "XmlString",
18
+ # tag_filters: [
19
+ # {
20
+ # key: "XmlStringMaxLen128",
21
+ # values: ["XmlStringMaxLen256"],
22
+ # },
23
+ # ],
18
24
  # }
19
25
  #
20
26
  # @!attribute [rw] cloud_formation_stack_arn
21
27
  # The Amazon Resource Name (ARN) of a CloudFormation stack.
22
28
  # @return [String]
23
29
  #
30
+ # @!attribute [rw] tag_filters
31
+ # A set of tags (up to 50).
32
+ # @return [Array<Types::TagFilter>]
33
+ #
24
34
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/ApplicationSource AWS API Documentation
25
35
  #
26
36
  class ApplicationSource < Struct.new(
27
- :cloud_formation_stack_arn)
37
+ :cloud_formation_stack_arn,
38
+ :tag_filters)
28
39
  include Aws::Structure
29
40
  end
30
41
 
@@ -35,6 +46,12 @@ module Aws::AutoScalingPlans
35
46
  # scaling_plan_name: "ScalingPlanName", # required
36
47
  # application_source: { # required
37
48
  # cloud_formation_stack_arn: "XmlString",
49
+ # tag_filters: [
50
+ # {
51
+ # key: "XmlStringMaxLen128",
52
+ # values: ["XmlStringMaxLen256"],
53
+ # },
54
+ # ],
38
55
  # },
39
56
  # scaling_instructions: [ # required
40
57
  # {
@@ -73,11 +90,13 @@ module Aws::AutoScalingPlans
73
90
  # }
74
91
  #
75
92
  # @!attribute [rw] scaling_plan_name
76
- # The name of the scaling plan.
93
+ # The name of the scaling plan. Names cannot contain vertical bars,
94
+ # colons, or forward slashes.
77
95
  # @return [String]
78
96
  #
79
97
  # @!attribute [rw] application_source
80
- # The source for the application.
98
+ # A CloudFormation stack or set of tags. You can create one scaling
99
+ # plan per application source.
81
100
  # @return [Types::ApplicationSource]
82
101
  #
83
102
  # @!attribute [rw] scaling_instructions
@@ -244,6 +263,12 @@ module Aws::AutoScalingPlans
244
263
  # application_sources: [
245
264
  # {
246
265
  # cloud_formation_stack_arn: "XmlString",
266
+ # tag_filters: [
267
+ # {
268
+ # key: "XmlStringMaxLen128",
269
+ # values: ["XmlStringMaxLen256"],
270
+ # },
271
+ # ],
247
272
  # },
248
273
  # ],
249
274
  # max_results: 1,
@@ -346,8 +371,9 @@ module Aws::AutoScalingPlans
346
371
  # @!attribute [rw] resource_label
347
372
  # Identifies the resource associated with the metric type. You can't
348
373
  # specify a resource label unless the metric type is
349
- # `ALBRequestCountPerTarget` and there is a target group attached to
350
- # the Auto Scaling group, Spot Fleet request, or ECS service.
374
+ # `ALBRequestCountPerTarget` and there is a target group for an
375
+ # Application Load Balancer attached to the Auto Scaling group, Spot
376
+ # Fleet request, or ECS service.
351
377
  #
352
378
  # The format is
353
379
  # app/&lt;load-balancer-name&gt;/&lt;load-balancer-id&gt;/targetgroup/&lt;target-group-name&gt;/&lt;target-group-id&gt;,
@@ -529,6 +555,10 @@ module Aws::AutoScalingPlans
529
555
  # A simple message about the current status of the scaling plan.
530
556
  # @return [String]
531
557
  #
558
+ # @!attribute [rw] status_start_time
559
+ # The Unix timestamp when the scaling plan entered the current status.
560
+ # @return [Time]
561
+ #
532
562
  # @!attribute [rw] creation_time
533
563
  # The Unix timestamp when the scaling plan was created.
534
564
  # @return [Time]
@@ -542,6 +572,7 @@ module Aws::AutoScalingPlans
542
572
  :scaling_instructions,
543
573
  :status_code,
544
574
  :status_message,
575
+ :status_start_time,
545
576
  :creation_time)
546
577
  include Aws::Structure
547
578
  end
@@ -676,6 +707,32 @@ module Aws::AutoScalingPlans
676
707
  include Aws::Structure
677
708
  end
678
709
 
710
+ # Represents a tag.
711
+ #
712
+ # @note When making an API call, you may pass TagFilter
713
+ # data as a hash:
714
+ #
715
+ # {
716
+ # key: "XmlStringMaxLen128",
717
+ # values: ["XmlStringMaxLen256"],
718
+ # }
719
+ #
720
+ # @!attribute [rw] key
721
+ # The tag key.
722
+ # @return [String]
723
+ #
724
+ # @!attribute [rw] values
725
+ # The tag values (0 to 20).
726
+ # @return [Array<String>]
727
+ #
728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/TagFilter AWS API Documentation
729
+ #
730
+ class TagFilter < Struct.new(
731
+ :key,
732
+ :values)
733
+ include Aws::Structure
734
+ end
735
+
679
736
  # Represents a target tracking scaling policy.
680
737
  #
681
738
  # @note When making an API call, you may pass TargetTrackingConfiguration
@@ -770,5 +827,86 @@ module Aws::AutoScalingPlans
770
827
  include Aws::Structure
771
828
  end
772
829
 
830
+ # @note When making an API call, you may pass UpdateScalingPlanRequest
831
+ # data as a hash:
832
+ #
833
+ # {
834
+ # application_source: {
835
+ # cloud_formation_stack_arn: "XmlString",
836
+ # tag_filters: [
837
+ # {
838
+ # key: "XmlStringMaxLen128",
839
+ # values: ["XmlStringMaxLen256"],
840
+ # },
841
+ # ],
842
+ # },
843
+ # scaling_plan_name: "ScalingPlanName", # required
844
+ # scaling_instructions: [
845
+ # {
846
+ # service_namespace: "autoscaling", # required, accepts autoscaling, ecs, ec2, rds, dynamodb
847
+ # resource_id: "ResourceIdMaxLen1600", # required
848
+ # scalable_dimension: "autoscaling:autoScalingGroup:DesiredCapacity", # required, accepts autoscaling:autoScalingGroup:DesiredCapacity, ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, rds:cluster:ReadReplicaCount, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits
849
+ # min_capacity: 1, # required
850
+ # max_capacity: 1, # required
851
+ # target_tracking_configurations: [ # required
852
+ # {
853
+ # predefined_scaling_metric_specification: {
854
+ # predefined_scaling_metric_type: "ASGAverageCPUUtilization", # required, accepts ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut
855
+ # resource_label: "ResourceLabel",
856
+ # },
857
+ # customized_scaling_metric_specification: {
858
+ # metric_name: "MetricName", # required
859
+ # namespace: "MetricNamespace", # required
860
+ # dimensions: [
861
+ # {
862
+ # name: "MetricDimensionName", # required
863
+ # value: "MetricDimensionValue", # required
864
+ # },
865
+ # ],
866
+ # statistic: "Average", # required, accepts Average, Minimum, Maximum, SampleCount, Sum
867
+ # unit: "MetricUnit",
868
+ # },
869
+ # target_value: 1.0, # required
870
+ # disable_scale_in: false,
871
+ # scale_out_cooldown: 1,
872
+ # scale_in_cooldown: 1,
873
+ # estimated_instance_warmup: 1,
874
+ # },
875
+ # ],
876
+ # },
877
+ # ],
878
+ # scaling_plan_version: 1, # required
879
+ # }
880
+ #
881
+ # @!attribute [rw] application_source
882
+ # A CloudFormation stack or set of tags.
883
+ # @return [Types::ApplicationSource]
884
+ #
885
+ # @!attribute [rw] scaling_plan_name
886
+ # The name of the scaling plan.
887
+ # @return [String]
888
+ #
889
+ # @!attribute [rw] scaling_instructions
890
+ # The scaling instructions.
891
+ # @return [Array<Types::ScalingInstruction>]
892
+ #
893
+ # @!attribute [rw] scaling_plan_version
894
+ # The version number.
895
+ # @return [Integer]
896
+ #
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlanRequest AWS API Documentation
898
+ #
899
+ class UpdateScalingPlanRequest < Struct.new(
900
+ :application_source,
901
+ :scaling_plan_name,
902
+ :scaling_instructions,
903
+ :scaling_plan_version)
904
+ include Aws::Structure
905
+ end
906
+
907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlanResponse AWS API Documentation
908
+ #
909
+ class UpdateScalingPlanResponse < Aws::EmptyStructure; end
910
+
773
911
  end
774
912
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscalingplans
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - AWS Auto Scaling Plans