aws-sdk-dynamodb 1.8.0 → 1.9.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: 3d503deb06a3c0c29c93d4e14bc3251fc322a5aa
4
- data.tar.gz: b95fe6e488e8a689efd560f5420606e2e1c0fc85
3
+ metadata.gz: 3f54a56593d0c6405e4af4ca5e4ddf210d8d721f
4
+ data.tar.gz: 00da32d248fc7671ff5700a7aa7ae764a07e0b97
5
5
  SHA512:
6
- metadata.gz: 60e56c251a0bb09904e85f7e6a1df0266e54f5e565f275b53ea4357deb25398d127ce9a53ccdaf31e6dcc9dd121d16436cec25bfa182cf8cbad43f171679a618
7
- data.tar.gz: 10aa3f6c013eb52a5e3ddedcda51b223cab0519cdb682e14803d8280bbe015d138e29d93742f31df8cda804f1655100ee3c3a136265a62f367f82e2bace44bfb
6
+ metadata.gz: 7396cb04343e1094faa6d6f2b6e860701bb7bb34cc3d1550a3d00393a1fcd8c3bda6edea6ae0609fe68fea5cbe5c1be839bce36af3972c857bb09f152cbd3ee7
7
+ data.tar.gz: bb15ad47ab5e47104c59829e8945f7859699d5caa49a26c783975ba25648c78c24916ade3eefdbc32735a4064d3d93f6ee6ddfb3edbfb37b88e74d2d9927b39f
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.8.0'
47
+ GEM_VERSION = '1.9.0'
48
48
 
49
49
  end
@@ -1924,12 +1924,52 @@ module Aws::DynamoDB
1924
1924
  # resp.replica_settings[0].region_name #=> String
1925
1925
  # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
1926
1926
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
1927
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
1928
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
1929
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
1930
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
1931
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
1932
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
1933
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1934
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1935
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1936
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1927
1937
  # resp.replica_settings[0].replica_provisioned_write_capacity_units #=> Integer
1938
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
1939
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
1940
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
1941
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
1942
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
1943
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
1944
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1945
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1946
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1947
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1928
1948
  # resp.replica_settings[0].replica_global_secondary_index_settings #=> Array
1929
1949
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].index_name #=> String
1930
1950
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].index_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
1931
1951
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_units #=> Integer
1952
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
1953
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
1954
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
1955
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
1956
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
1957
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
1958
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1959
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1960
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1961
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1932
1962
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_units #=> Integer
1963
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
1964
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
1965
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
1966
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
1967
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
1968
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
1969
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1970
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1971
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1972
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
1933
1973
  #
1934
1974
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableSettings AWS API Documentation
1935
1975
  #
@@ -4390,6 +4430,10 @@ module Aws::DynamoDB
4390
4430
  # The maximum number of writes consumed per second before DynamoDB
4391
4431
  # returns a `ThrottlingException.`
4392
4432
  #
4433
+ # @option params [Types::AutoScalingSettingsUpdate] :global_table_provisioned_write_capacity_auto_scaling_settings_update
4434
+ # AutoScaling settings for managing provisioned write capacity for the
4435
+ # global table.
4436
+ #
4393
4437
  # @option params [Array<Types::GlobalTableGlobalSecondaryIndexSettingsUpdate>] :global_table_global_secondary_index_settings_update
4394
4438
  # Represents the settings of a global secondary index for a global table
4395
4439
  # that will be modified.
@@ -4408,20 +4452,80 @@ module Aws::DynamoDB
4408
4452
  # resp = client.update_global_table_settings({
4409
4453
  # global_table_name: "TableName", # required
4410
4454
  # global_table_provisioned_write_capacity_units: 1,
4455
+ # global_table_provisioned_write_capacity_auto_scaling_settings_update: {
4456
+ # minimum_units: 1,
4457
+ # maximum_units: 1,
4458
+ # auto_scaling_disabled: false,
4459
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
4460
+ # scaling_policy_update: {
4461
+ # policy_name: "AutoScalingPolicyName",
4462
+ # target_tracking_scaling_policy_configuration: { # required
4463
+ # disable_scale_in: false,
4464
+ # scale_in_cooldown: 1,
4465
+ # scale_out_cooldown: 1,
4466
+ # target_value: 1.0, # required
4467
+ # },
4468
+ # },
4469
+ # },
4411
4470
  # global_table_global_secondary_index_settings_update: [
4412
4471
  # {
4413
4472
  # index_name: "IndexName", # required
4414
4473
  # provisioned_write_capacity_units: 1,
4474
+ # provisioned_write_capacity_auto_scaling_settings_update: {
4475
+ # minimum_units: 1,
4476
+ # maximum_units: 1,
4477
+ # auto_scaling_disabled: false,
4478
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
4479
+ # scaling_policy_update: {
4480
+ # policy_name: "AutoScalingPolicyName",
4481
+ # target_tracking_scaling_policy_configuration: { # required
4482
+ # disable_scale_in: false,
4483
+ # scale_in_cooldown: 1,
4484
+ # scale_out_cooldown: 1,
4485
+ # target_value: 1.0, # required
4486
+ # },
4487
+ # },
4488
+ # },
4415
4489
  # },
4416
4490
  # ],
4417
4491
  # replica_settings_update: [
4418
4492
  # {
4419
4493
  # region_name: "RegionName", # required
4420
4494
  # replica_provisioned_read_capacity_units: 1,
4495
+ # replica_provisioned_read_capacity_auto_scaling_settings_update: {
4496
+ # minimum_units: 1,
4497
+ # maximum_units: 1,
4498
+ # auto_scaling_disabled: false,
4499
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
4500
+ # scaling_policy_update: {
4501
+ # policy_name: "AutoScalingPolicyName",
4502
+ # target_tracking_scaling_policy_configuration: { # required
4503
+ # disable_scale_in: false,
4504
+ # scale_in_cooldown: 1,
4505
+ # scale_out_cooldown: 1,
4506
+ # target_value: 1.0, # required
4507
+ # },
4508
+ # },
4509
+ # },
4421
4510
  # replica_global_secondary_index_settings_update: [
4422
4511
  # {
4423
4512
  # index_name: "IndexName", # required
4424
4513
  # provisioned_read_capacity_units: 1,
4514
+ # provisioned_read_capacity_auto_scaling_settings_update: {
4515
+ # minimum_units: 1,
4516
+ # maximum_units: 1,
4517
+ # auto_scaling_disabled: false,
4518
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
4519
+ # scaling_policy_update: {
4520
+ # policy_name: "AutoScalingPolicyName",
4521
+ # target_tracking_scaling_policy_configuration: { # required
4522
+ # disable_scale_in: false,
4523
+ # scale_in_cooldown: 1,
4524
+ # scale_out_cooldown: 1,
4525
+ # target_value: 1.0, # required
4526
+ # },
4527
+ # },
4528
+ # },
4425
4529
  # },
4426
4530
  # ],
4427
4531
  # },
@@ -4435,12 +4539,52 @@ module Aws::DynamoDB
4435
4539
  # resp.replica_settings[0].region_name #=> String
4436
4540
  # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
4437
4541
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
4542
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
4543
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
4544
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
4545
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
4546
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
4547
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
4548
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
4549
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
4550
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
4551
+ # resp.replica_settings[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
4438
4552
  # resp.replica_settings[0].replica_provisioned_write_capacity_units #=> Integer
4553
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
4554
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
4555
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
4556
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
4557
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
4558
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
4559
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
4560
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
4561
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
4562
+ # resp.replica_settings[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
4439
4563
  # resp.replica_settings[0].replica_global_secondary_index_settings #=> Array
4440
4564
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].index_name #=> String
4441
4565
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].index_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
4442
4566
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_units #=> Integer
4567
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
4568
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
4569
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
4570
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
4571
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
4572
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
4573
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
4574
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
4575
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
4576
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
4443
4577
  # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_units #=> Integer
4578
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
4579
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
4580
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
4581
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
4582
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
4583
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
4584
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
4585
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
4586
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
4587
+ # resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
4444
4588
  #
4445
4589
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableSettings AWS API Documentation
4446
4590
  #
@@ -5174,7 +5318,7 @@ module Aws::DynamoDB
5174
5318
  params: params,
5175
5319
  config: config)
5176
5320
  context[:gem_name] = 'aws-sdk-dynamodb'
5177
- context[:gem_version] = '1.8.0'
5321
+ context[:gem_version] = '1.9.0'
5178
5322
  Seahorse::Client::Request.new(handlers, context)
5179
5323
  end
5180
5324
 
@@ -21,6 +21,15 @@ module Aws::DynamoDB
21
21
  AttributeValue = Shapes::StructureShape.new(name: 'AttributeValue')
22
22
  AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
23
23
  AttributeValueUpdate = Shapes::StructureShape.new(name: 'AttributeValueUpdate')
24
+ AutoScalingPolicyDescription = Shapes::StructureShape.new(name: 'AutoScalingPolicyDescription')
25
+ AutoScalingPolicyDescriptionList = Shapes::ListShape.new(name: 'AutoScalingPolicyDescriptionList')
26
+ AutoScalingPolicyName = Shapes::StringShape.new(name: 'AutoScalingPolicyName')
27
+ AutoScalingPolicyUpdate = Shapes::StructureShape.new(name: 'AutoScalingPolicyUpdate')
28
+ AutoScalingRoleArn = Shapes::StringShape.new(name: 'AutoScalingRoleArn')
29
+ AutoScalingSettingsDescription = Shapes::StructureShape.new(name: 'AutoScalingSettingsDescription')
30
+ AutoScalingSettingsUpdate = Shapes::StructureShape.new(name: 'AutoScalingSettingsUpdate')
31
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription = Shapes::StructureShape.new(name: 'AutoScalingTargetTrackingScalingPolicyConfigurationDescription')
32
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = Shapes::StructureShape.new(name: 'AutoScalingTargetTrackingScalingPolicyConfigurationUpdate')
24
33
  Backfilling = Shapes::BooleanShape.new(name: 'Backfilling')
25
34
  BackupArn = Shapes::StringShape.new(name: 'BackupArn')
26
35
  BackupCreationDateTime = Shapes::TimestampShape.new(name: 'BackupCreationDateTime')
@@ -90,6 +99,7 @@ module Aws::DynamoDB
90
99
  DescribeTableOutput = Shapes::StructureShape.new(name: 'DescribeTableOutput')
91
100
  DescribeTimeToLiveInput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveInput')
92
101
  DescribeTimeToLiveOutput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveOutput')
102
+ Double = Shapes::FloatShape.new(name: 'Double')
93
103
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
94
104
  ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
95
105
  ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
@@ -121,6 +131,7 @@ module Aws::DynamoDB
121
131
  IndexNotFoundException = Shapes::StructureShape.new(name: 'IndexNotFoundException')
122
132
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
123
133
  Integer = Shapes::IntegerShape.new(name: 'Integer')
134
+ IntegerObject = Shapes::IntegerShape.new(name: 'IntegerObject')
124
135
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
125
136
  InvalidRestoreTimeException = Shapes::StructureShape.new(name: 'InvalidRestoreTimeException')
126
137
  ItemCollectionKeyAttributeMap = Shapes::MapShape.new(name: 'ItemCollectionKeyAttributeMap')
@@ -309,6 +320,42 @@ module Aws::DynamoDB
309
320
  AttributeValueUpdate.add_member(:action, Shapes::ShapeRef.new(shape: AttributeAction, location_name: "Action"))
310
321
  AttributeValueUpdate.struct_class = Types::AttributeValueUpdate
311
322
 
323
+ AutoScalingPolicyDescription.add_member(:policy_name, Shapes::ShapeRef.new(shape: AutoScalingPolicyName, location_name: "PolicyName"))
324
+ AutoScalingPolicyDescription.add_member(:target_tracking_scaling_policy_configuration, Shapes::ShapeRef.new(shape: AutoScalingTargetTrackingScalingPolicyConfigurationDescription, location_name: "TargetTrackingScalingPolicyConfiguration"))
325
+ AutoScalingPolicyDescription.struct_class = Types::AutoScalingPolicyDescription
326
+
327
+ AutoScalingPolicyDescriptionList.member = Shapes::ShapeRef.new(shape: AutoScalingPolicyDescription)
328
+
329
+ AutoScalingPolicyUpdate.add_member(:policy_name, Shapes::ShapeRef.new(shape: AutoScalingPolicyName, location_name: "PolicyName"))
330
+ AutoScalingPolicyUpdate.add_member(:target_tracking_scaling_policy_configuration, Shapes::ShapeRef.new(shape: AutoScalingTargetTrackingScalingPolicyConfigurationUpdate, required: true, location_name: "TargetTrackingScalingPolicyConfiguration"))
331
+ AutoScalingPolicyUpdate.struct_class = Types::AutoScalingPolicyUpdate
332
+
333
+ AutoScalingSettingsDescription.add_member(:minimum_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "MinimumUnits"))
334
+ AutoScalingSettingsDescription.add_member(:maximum_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "MaximumUnits"))
335
+ AutoScalingSettingsDescription.add_member(:auto_scaling_disabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AutoScalingDisabled"))
336
+ AutoScalingSettingsDescription.add_member(:auto_scaling_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "AutoScalingRoleArn"))
337
+ AutoScalingSettingsDescription.add_member(:scaling_policies, Shapes::ShapeRef.new(shape: AutoScalingPolicyDescriptionList, location_name: "ScalingPolicies"))
338
+ AutoScalingSettingsDescription.struct_class = Types::AutoScalingSettingsDescription
339
+
340
+ AutoScalingSettingsUpdate.add_member(:minimum_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "MinimumUnits"))
341
+ AutoScalingSettingsUpdate.add_member(:maximum_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "MaximumUnits"))
342
+ AutoScalingSettingsUpdate.add_member(:auto_scaling_disabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "AutoScalingDisabled"))
343
+ AutoScalingSettingsUpdate.add_member(:auto_scaling_role_arn, Shapes::ShapeRef.new(shape: AutoScalingRoleArn, location_name: "AutoScalingRoleArn"))
344
+ AutoScalingSettingsUpdate.add_member(:scaling_policy_update, Shapes::ShapeRef.new(shape: AutoScalingPolicyUpdate, location_name: "ScalingPolicyUpdate"))
345
+ AutoScalingSettingsUpdate.struct_class = Types::AutoScalingSettingsUpdate
346
+
347
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription.add_member(:disable_scale_in, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DisableScaleIn"))
348
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription.add_member(:scale_in_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "ScaleInCooldown"))
349
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription.add_member(:scale_out_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "ScaleOutCooldown"))
350
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription.add_member(:target_value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "TargetValue"))
351
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescription.struct_class = Types::AutoScalingTargetTrackingScalingPolicyConfigurationDescription
352
+
353
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.add_member(:disable_scale_in, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DisableScaleIn"))
354
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.add_member(:scale_in_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "ScaleInCooldown"))
355
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.add_member(:scale_out_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "ScaleOutCooldown"))
356
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.add_member(:target_value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "TargetValue"))
357
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.struct_class = Types::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
358
+
312
359
  BackupDescription.add_member(:backup_details, Shapes::ShapeRef.new(shape: BackupDetails, location_name: "BackupDetails"))
313
360
  BackupDescription.add_member(:source_table_details, Shapes::ShapeRef.new(shape: SourceTableDetails, location_name: "SourceTableDetails"))
314
361
  BackupDescription.add_member(:source_table_feature_details, Shapes::ShapeRef.new(shape: SourceTableFeatureDetails, location_name: "SourceTableFeatureDetails"))
@@ -582,6 +629,7 @@ module Aws::DynamoDB
582
629
 
583
630
  GlobalTableGlobalSecondaryIndexSettingsUpdate.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
584
631
  GlobalTableGlobalSecondaryIndexSettingsUpdate.add_member(:provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ProvisionedWriteCapacityUnits"))
632
+ GlobalTableGlobalSecondaryIndexSettingsUpdate.add_member(:provisioned_write_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedWriteCapacityAutoScalingSettingsUpdate"))
585
633
  GlobalTableGlobalSecondaryIndexSettingsUpdate.struct_class = Types::GlobalTableGlobalSecondaryIndexSettingsUpdate
586
634
 
587
635
  GlobalTableGlobalSecondaryIndexSettingsUpdateList.member = Shapes::ShapeRef.new(shape: GlobalTableGlobalSecondaryIndexSettingsUpdate)
@@ -777,13 +825,16 @@ module Aws::DynamoDB
777
825
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
778
826
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
779
827
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ProvisionedReadCapacityUnits"))
828
+ ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:provisioned_read_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ProvisionedReadCapacityAutoScalingSettings"))
780
829
  ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ProvisionedWriteCapacityUnits"))
830
+ ReplicaGlobalSecondaryIndexSettingsDescription.add_member(:provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ProvisionedWriteCapacityAutoScalingSettings"))
781
831
  ReplicaGlobalSecondaryIndexSettingsDescription.struct_class = Types::ReplicaGlobalSecondaryIndexSettingsDescription
782
832
 
783
833
  ReplicaGlobalSecondaryIndexSettingsDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsDescription)
784
834
 
785
835
  ReplicaGlobalSecondaryIndexSettingsUpdate.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
786
836
  ReplicaGlobalSecondaryIndexSettingsUpdate.add_member(:provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ProvisionedReadCapacityUnits"))
837
+ ReplicaGlobalSecondaryIndexSettingsUpdate.add_member(:provisioned_read_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedReadCapacityAutoScalingSettingsUpdate"))
787
838
  ReplicaGlobalSecondaryIndexSettingsUpdate.struct_class = Types::ReplicaGlobalSecondaryIndexSettingsUpdate
788
839
 
789
840
  ReplicaGlobalSecondaryIndexSettingsUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsUpdate)
@@ -793,7 +844,9 @@ module Aws::DynamoDB
793
844
  ReplicaSettingsDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
794
845
  ReplicaSettingsDescription.add_member(:replica_status, Shapes::ShapeRef.new(shape: ReplicaStatus, location_name: "ReplicaStatus"))
795
846
  ReplicaSettingsDescription.add_member(:replica_provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReplicaProvisionedReadCapacityUnits"))
847
+ ReplicaSettingsDescription.add_member(:replica_provisioned_read_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedReadCapacityAutoScalingSettings"))
796
848
  ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReplicaProvisionedWriteCapacityUnits"))
849
+ ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedWriteCapacityAutoScalingSettings"))
797
850
  ReplicaSettingsDescription.add_member(:replica_global_secondary_index_settings, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsDescriptionList, location_name: "ReplicaGlobalSecondaryIndexSettings"))
798
851
  ReplicaSettingsDescription.struct_class = Types::ReplicaSettingsDescription
799
852
 
@@ -801,6 +854,7 @@ module Aws::DynamoDB
801
854
 
802
855
  ReplicaSettingsUpdate.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
803
856
  ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReplicaProvisionedReadCapacityUnits"))
857
+ ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"))
804
858
  ReplicaSettingsUpdate.add_member(:replica_global_secondary_index_settings_update, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsUpdateList, location_name: "ReplicaGlobalSecondaryIndexSettingsUpdate"))
805
859
  ReplicaSettingsUpdate.struct_class = Types::ReplicaSettingsUpdate
806
860
 
@@ -958,6 +1012,7 @@ module Aws::DynamoDB
958
1012
 
959
1013
  UpdateGlobalTableSettingsInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
960
1014
  UpdateGlobalTableSettingsInput.add_member(:global_table_provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "GlobalTableProvisionedWriteCapacityUnits"))
1015
+ UpdateGlobalTableSettingsInput.add_member(:global_table_provisioned_write_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate"))
961
1016
  UpdateGlobalTableSettingsInput.add_member(:global_table_global_secondary_index_settings_update, Shapes::ShapeRef.new(shape: GlobalTableGlobalSecondaryIndexSettingsUpdateList, location_name: "GlobalTableGlobalSecondaryIndexSettingsUpdate"))
962
1017
  UpdateGlobalTableSettingsInput.add_member(:replica_settings_update, Shapes::ShapeRef.new(shape: ReplicaSettingsUpdateList, location_name: "ReplicaSettingsUpdate"))
963
1018
  UpdateGlobalTableSettingsInput.struct_class = Types::UpdateGlobalTableSettingsInput
@@ -279,6 +279,250 @@ module Aws::DynamoDB
279
279
  include Aws::Structure
280
280
  end
281
281
 
282
+ # Represents the properties of the scaling policy.
283
+ #
284
+ # @!attribute [rw] policy_name
285
+ # The name of the scaling policy.
286
+ # @return [String]
287
+ #
288
+ # @!attribute [rw] target_tracking_scaling_policy_configuration
289
+ # Represents a target tracking scaling policy configuration.
290
+ # @return [Types::AutoScalingTargetTrackingScalingPolicyConfigurationDescription]
291
+ #
292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingPolicyDescription AWS API Documentation
293
+ #
294
+ class AutoScalingPolicyDescription < Struct.new(
295
+ :policy_name,
296
+ :target_tracking_scaling_policy_configuration)
297
+ include Aws::Structure
298
+ end
299
+
300
+ # Represents the autoscaling policy to be modified.
301
+ #
302
+ # @note When making an API call, you may pass AutoScalingPolicyUpdate
303
+ # data as a hash:
304
+ #
305
+ # {
306
+ # policy_name: "AutoScalingPolicyName",
307
+ # target_tracking_scaling_policy_configuration: { # required
308
+ # disable_scale_in: false,
309
+ # scale_in_cooldown: 1,
310
+ # scale_out_cooldown: 1,
311
+ # target_value: 1.0, # required
312
+ # },
313
+ # }
314
+ #
315
+ # @!attribute [rw] policy_name
316
+ # The name of the scaling policy.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] target_tracking_scaling_policy_configuration
320
+ # Represents a target tracking scaling policy configuration.
321
+ # @return [Types::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate]
322
+ #
323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingPolicyUpdate AWS API Documentation
324
+ #
325
+ class AutoScalingPolicyUpdate < Struct.new(
326
+ :policy_name,
327
+ :target_tracking_scaling_policy_configuration)
328
+ include Aws::Structure
329
+ end
330
+
331
+ # Represents the autoscaling settings for a global table or global
332
+ # secondary index.
333
+ #
334
+ # @!attribute [rw] minimum_units
335
+ # The minimum capacity units that a global table or global secondary
336
+ # index should be scaled down to.
337
+ # @return [Integer]
338
+ #
339
+ # @!attribute [rw] maximum_units
340
+ # The maximum capacity units that a global table or global secondary
341
+ # index should be scaled up to.
342
+ # @return [Integer]
343
+ #
344
+ # @!attribute [rw] auto_scaling_disabled
345
+ # Disabled autoscaling for this global table or global secondary
346
+ # index.
347
+ # @return [Boolean]
348
+ #
349
+ # @!attribute [rw] auto_scaling_role_arn
350
+ # Role ARN used for configuring autoScaling policy.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] scaling_policies
354
+ # Information about the scaling policies.
355
+ # @return [Array<Types::AutoScalingPolicyDescription>]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingSettingsDescription AWS API Documentation
358
+ #
359
+ class AutoScalingSettingsDescription < Struct.new(
360
+ :minimum_units,
361
+ :maximum_units,
362
+ :auto_scaling_disabled,
363
+ :auto_scaling_role_arn,
364
+ :scaling_policies)
365
+ include Aws::Structure
366
+ end
367
+
368
+ # Represents the autoscaling settings to be modified for a global table
369
+ # or global secondary index.
370
+ #
371
+ # @note When making an API call, you may pass AutoScalingSettingsUpdate
372
+ # data as a hash:
373
+ #
374
+ # {
375
+ # minimum_units: 1,
376
+ # maximum_units: 1,
377
+ # auto_scaling_disabled: false,
378
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
379
+ # scaling_policy_update: {
380
+ # policy_name: "AutoScalingPolicyName",
381
+ # target_tracking_scaling_policy_configuration: { # required
382
+ # disable_scale_in: false,
383
+ # scale_in_cooldown: 1,
384
+ # scale_out_cooldown: 1,
385
+ # target_value: 1.0, # required
386
+ # },
387
+ # },
388
+ # }
389
+ #
390
+ # @!attribute [rw] minimum_units
391
+ # The minimum capacity units that a global table or global secondary
392
+ # index should be scaled down to.
393
+ # @return [Integer]
394
+ #
395
+ # @!attribute [rw] maximum_units
396
+ # The maximum capacity units that a global table or global secondary
397
+ # index should be scaled up to.
398
+ # @return [Integer]
399
+ #
400
+ # @!attribute [rw] auto_scaling_disabled
401
+ # Disabled autoscaling for this global table or global secondary
402
+ # index.
403
+ # @return [Boolean]
404
+ #
405
+ # @!attribute [rw] auto_scaling_role_arn
406
+ # Role ARN used for configuring autoscaling policy.
407
+ # @return [String]
408
+ #
409
+ # @!attribute [rw] scaling_policy_update
410
+ # The scaling policy to apply for scaling target global table or
411
+ # global secondary index capacity units.
412
+ # @return [Types::AutoScalingPolicyUpdate]
413
+ #
414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingSettingsUpdate AWS API Documentation
415
+ #
416
+ class AutoScalingSettingsUpdate < Struct.new(
417
+ :minimum_units,
418
+ :maximum_units,
419
+ :auto_scaling_disabled,
420
+ :auto_scaling_role_arn,
421
+ :scaling_policy_update)
422
+ include Aws::Structure
423
+ end
424
+
425
+ # Represents the properties of a target tracking scaling policy.
426
+ #
427
+ # @!attribute [rw] disable_scale_in
428
+ # Indicates whether scale in by the target tracking policy is
429
+ # disabled. If the value is true, scale in is disabled and the target
430
+ # tracking policy won't remove capacity from the scalable resource.
431
+ # Otherwise, scale in is enabled and the target tracking policy can
432
+ # remove capacity from the scalable resource. The default value is
433
+ # false.
434
+ # @return [Boolean]
435
+ #
436
+ # @!attribute [rw] scale_in_cooldown
437
+ # The amount of time, in seconds, after a scale in activity completes
438
+ # before another scale in activity can start. The cooldown period is
439
+ # used to block subsequent scale in requests until it has expired. You
440
+ # should scale in conservatively to protect your application's
441
+ # availability. However, if another alarm triggers a scale out policy
442
+ # during the cooldown period after a scale-in, application autoscaling
443
+ # scales out your scalable target immediately.
444
+ # @return [Integer]
445
+ #
446
+ # @!attribute [rw] scale_out_cooldown
447
+ # The amount of time, in seconds, after a scale out activity completes
448
+ # before another scale out activity can start. While the cooldown
449
+ # period is in effect, the capacity that has been added by the
450
+ # previous scale out event that initiated the cooldown is calculated
451
+ # as part of the desired capacity for the next scale out. You should
452
+ # continuously (but not excessively) scale out.
453
+ # @return [Integer]
454
+ #
455
+ # @!attribute [rw] target_value
456
+ # The target value for the metric. The range is 8.515920e-109 to
457
+ # 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).
458
+ # @return [Float]
459
+ #
460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingTargetTrackingScalingPolicyConfigurationDescription AWS API Documentation
461
+ #
462
+ class AutoScalingTargetTrackingScalingPolicyConfigurationDescription < Struct.new(
463
+ :disable_scale_in,
464
+ :scale_in_cooldown,
465
+ :scale_out_cooldown,
466
+ :target_value)
467
+ include Aws::Structure
468
+ end
469
+
470
+ # Represents the settings of a target tracking scaling policy that will
471
+ # be modified.
472
+ #
473
+ # @note When making an API call, you may pass AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
474
+ # data as a hash:
475
+ #
476
+ # {
477
+ # disable_scale_in: false,
478
+ # scale_in_cooldown: 1,
479
+ # scale_out_cooldown: 1,
480
+ # target_value: 1.0, # required
481
+ # }
482
+ #
483
+ # @!attribute [rw] disable_scale_in
484
+ # Indicates whether scale in by the target tracking policy is
485
+ # disabled. If the value is true, scale in is disabled and the target
486
+ # tracking policy won't remove capacity from the scalable resource.
487
+ # Otherwise, scale in is enabled and the target tracking policy can
488
+ # remove capacity from the scalable resource. The default value is
489
+ # false.
490
+ # @return [Boolean]
491
+ #
492
+ # @!attribute [rw] scale_in_cooldown
493
+ # The amount of time, in seconds, after a scale in activity completes
494
+ # before another scale in activity can start. The cooldown period is
495
+ # used to block subsequent scale in requests until it has expired. You
496
+ # should scale in conservatively to protect your application's
497
+ # availability. However, if another alarm triggers a scale out policy
498
+ # during the cooldown period after a scale-in, application autoscaling
499
+ # scales out your scalable target immediately.
500
+ # @return [Integer]
501
+ #
502
+ # @!attribute [rw] scale_out_cooldown
503
+ # The amount of time, in seconds, after a scale out activity completes
504
+ # before another scale out activity can start. While the cooldown
505
+ # period is in effect, the capacity that has been added by the
506
+ # previous scale out event that initiated the cooldown is calculated
507
+ # as part of the desired capacity for the next scale out. You should
508
+ # continuously (but not excessively) scale out.
509
+ # @return [Integer]
510
+ #
511
+ # @!attribute [rw] target_value
512
+ # The target value for the metric. The range is 8.515920e-109 to
513
+ # 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).
514
+ # @return [Float]
515
+ #
516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AutoScalingTargetTrackingScalingPolicyConfigurationUpdate AWS API Documentation
517
+ #
518
+ class AutoScalingTargetTrackingScalingPolicyConfigurationUpdate < Struct.new(
519
+ :disable_scale_in,
520
+ :scale_in_cooldown,
521
+ :scale_out_cooldown,
522
+ :target_value)
523
+ include Aws::Structure
524
+ end
525
+
282
526
  # Contains the description of the backup created for the table.
283
527
  #
284
528
  # @!attribute [rw] backup_details
@@ -2976,6 +3220,21 @@ module Aws::DynamoDB
2976
3220
  # {
2977
3221
  # index_name: "IndexName", # required
2978
3222
  # provisioned_write_capacity_units: 1,
3223
+ # provisioned_write_capacity_auto_scaling_settings_update: {
3224
+ # minimum_units: 1,
3225
+ # maximum_units: 1,
3226
+ # auto_scaling_disabled: false,
3227
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
3228
+ # scaling_policy_update: {
3229
+ # policy_name: "AutoScalingPolicyName",
3230
+ # target_tracking_scaling_policy_configuration: { # required
3231
+ # disable_scale_in: false,
3232
+ # scale_in_cooldown: 1,
3233
+ # scale_out_cooldown: 1,
3234
+ # target_value: 1.0, # required
3235
+ # },
3236
+ # },
3237
+ # },
2979
3238
  # }
2980
3239
  #
2981
3240
  # @!attribute [rw] index_name
@@ -2988,11 +3247,17 @@ module Aws::DynamoDB
2988
3247
  # returns a `ThrottlingException.`
2989
3248
  # @return [Integer]
2990
3249
  #
3250
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings_update
3251
+ # AutoScaling settings for managing a global secondary index's write
3252
+ # capacity units.
3253
+ # @return [Types::AutoScalingSettingsUpdate]
3254
+ #
2991
3255
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableGlobalSecondaryIndexSettingsUpdate AWS API Documentation
2992
3256
  #
2993
3257
  class GlobalTableGlobalSecondaryIndexSettingsUpdate < Struct.new(
2994
3258
  :index_name,
2995
- :provisioned_write_capacity_units)
3259
+ :provisioned_write_capacity_units,
3260
+ :provisioned_write_capacity_auto_scaling_settings_update)
2996
3261
  include Aws::Structure
2997
3262
  end
2998
3263
 
@@ -4704,18 +4969,30 @@ module Aws::DynamoDB
4704
4969
  # before DynamoDB returns a `ThrottlingException`.
4705
4970
  # @return [Integer]
4706
4971
  #
4972
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings
4973
+ # Autoscaling settings for a global secondary index replica's read
4974
+ # capacity units.
4975
+ # @return [Types::AutoScalingSettingsDescription]
4976
+ #
4707
4977
  # @!attribute [rw] provisioned_write_capacity_units
4708
4978
  # The maximum number of writes consumed per second before DynamoDB
4709
4979
  # returns a `ThrottlingException`.
4710
4980
  # @return [Integer]
4711
4981
  #
4982
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings
4983
+ # AutoScaling settings for a global secondary index replica's write
4984
+ # capacity units.
4985
+ # @return [Types::AutoScalingSettingsDescription]
4986
+ #
4712
4987
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsDescription AWS API Documentation
4713
4988
  #
4714
4989
  class ReplicaGlobalSecondaryIndexSettingsDescription < Struct.new(
4715
4990
  :index_name,
4716
4991
  :index_status,
4717
4992
  :provisioned_read_capacity_units,
4718
- :provisioned_write_capacity_units)
4993
+ :provisioned_read_capacity_auto_scaling_settings,
4994
+ :provisioned_write_capacity_units,
4995
+ :provisioned_write_capacity_auto_scaling_settings)
4719
4996
  include Aws::Structure
4720
4997
  end
4721
4998
 
@@ -4728,6 +5005,21 @@ module Aws::DynamoDB
4728
5005
  # {
4729
5006
  # index_name: "IndexName", # required
4730
5007
  # provisioned_read_capacity_units: 1,
5008
+ # provisioned_read_capacity_auto_scaling_settings_update: {
5009
+ # minimum_units: 1,
5010
+ # maximum_units: 1,
5011
+ # auto_scaling_disabled: false,
5012
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
5013
+ # scaling_policy_update: {
5014
+ # policy_name: "AutoScalingPolicyName",
5015
+ # target_tracking_scaling_policy_configuration: { # required
5016
+ # disable_scale_in: false,
5017
+ # scale_in_cooldown: 1,
5018
+ # scale_out_cooldown: 1,
5019
+ # target_value: 1.0, # required
5020
+ # },
5021
+ # },
5022
+ # },
4731
5023
  # }
4732
5024
  #
4733
5025
  # @!attribute [rw] index_name
@@ -4740,11 +5032,17 @@ module Aws::DynamoDB
4740
5032
  # before DynamoDB returns a `ThrottlingException`.
4741
5033
  # @return [Integer]
4742
5034
  #
5035
+ # @!attribute [rw] provisioned_read_capacity_auto_scaling_settings_update
5036
+ # Autoscaling settings for managing a global secondary index
5037
+ # replica's read capacity units.
5038
+ # @return [Types::AutoScalingSettingsUpdate]
5039
+ #
4743
5040
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexSettingsUpdate AWS API Documentation
4744
5041
  #
4745
5042
  class ReplicaGlobalSecondaryIndexSettingsUpdate < Struct.new(
4746
5043
  :index_name,
4747
- :provisioned_read_capacity_units)
5044
+ :provisioned_read_capacity_units,
5045
+ :provisioned_read_capacity_auto_scaling_settings_update)
4748
5046
  include Aws::Structure
4749
5047
  end
4750
5048
 
@@ -4777,6 +5075,11 @@ module Aws::DynamoDB
4777
5075
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
4778
5076
  # @return [Integer]
4779
5077
  #
5078
+ # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings
5079
+ # Autoscaling settings for a global table replica's read capacity
5080
+ # units.
5081
+ # @return [Types::AutoScalingSettingsDescription]
5082
+ #
4780
5083
  # @!attribute [rw] replica_provisioned_write_capacity_units
4781
5084
  # The maximum number of writes consumed per second before DynamoDB
4782
5085
  # returns a `ThrottlingException`. For more information, see
@@ -4788,6 +5091,11 @@ module Aws::DynamoDB
4788
5091
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
4789
5092
  # @return [Integer]
4790
5093
  #
5094
+ # @!attribute [rw] replica_provisioned_write_capacity_auto_scaling_settings
5095
+ # AutoScaling settings for a global table replica's write capacity
5096
+ # units.
5097
+ # @return [Types::AutoScalingSettingsDescription]
5098
+ #
4791
5099
  # @!attribute [rw] replica_global_secondary_index_settings
4792
5100
  # Replica global secondary index settings for the global table.
4793
5101
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsDescription>]
@@ -4798,7 +5106,9 @@ module Aws::DynamoDB
4798
5106
  :region_name,
4799
5107
  :replica_status,
4800
5108
  :replica_provisioned_read_capacity_units,
5109
+ :replica_provisioned_read_capacity_auto_scaling_settings,
4801
5110
  :replica_provisioned_write_capacity_units,
5111
+ :replica_provisioned_write_capacity_auto_scaling_settings,
4802
5112
  :replica_global_secondary_index_settings)
4803
5113
  include Aws::Structure
4804
5114
  end
@@ -4812,10 +5122,40 @@ module Aws::DynamoDB
4812
5122
  # {
4813
5123
  # region_name: "RegionName", # required
4814
5124
  # replica_provisioned_read_capacity_units: 1,
5125
+ # replica_provisioned_read_capacity_auto_scaling_settings_update: {
5126
+ # minimum_units: 1,
5127
+ # maximum_units: 1,
5128
+ # auto_scaling_disabled: false,
5129
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
5130
+ # scaling_policy_update: {
5131
+ # policy_name: "AutoScalingPolicyName",
5132
+ # target_tracking_scaling_policy_configuration: { # required
5133
+ # disable_scale_in: false,
5134
+ # scale_in_cooldown: 1,
5135
+ # scale_out_cooldown: 1,
5136
+ # target_value: 1.0, # required
5137
+ # },
5138
+ # },
5139
+ # },
4815
5140
  # replica_global_secondary_index_settings_update: [
4816
5141
  # {
4817
5142
  # index_name: "IndexName", # required
4818
5143
  # provisioned_read_capacity_units: 1,
5144
+ # provisioned_read_capacity_auto_scaling_settings_update: {
5145
+ # minimum_units: 1,
5146
+ # maximum_units: 1,
5147
+ # auto_scaling_disabled: false,
5148
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
5149
+ # scaling_policy_update: {
5150
+ # policy_name: "AutoScalingPolicyName",
5151
+ # target_tracking_scaling_policy_configuration: { # required
5152
+ # disable_scale_in: false,
5153
+ # scale_in_cooldown: 1,
5154
+ # scale_out_cooldown: 1,
5155
+ # target_value: 1.0, # required
5156
+ # },
5157
+ # },
5158
+ # },
4819
5159
  # },
4820
5160
  # ],
4821
5161
  # }
@@ -4835,6 +5175,11 @@ module Aws::DynamoDB
4835
5175
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
4836
5176
  # @return [Integer]
4837
5177
  #
5178
+ # @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings_update
5179
+ # Autoscaling settings for managing a global table replica's read
5180
+ # capacity units.
5181
+ # @return [Types::AutoScalingSettingsUpdate]
5182
+ #
4838
5183
  # @!attribute [rw] replica_global_secondary_index_settings_update
4839
5184
  # Represents the settings of a global secondary index for a global
4840
5185
  # table that will be modified.
@@ -4845,6 +5190,7 @@ module Aws::DynamoDB
4845
5190
  class ReplicaSettingsUpdate < Struct.new(
4846
5191
  :region_name,
4847
5192
  :replica_provisioned_read_capacity_units,
5193
+ :replica_provisioned_read_capacity_auto_scaling_settings_update,
4848
5194
  :replica_global_secondary_index_settings_update)
4849
5195
  include Aws::Structure
4850
5196
  end
@@ -6181,20 +6527,80 @@ module Aws::DynamoDB
6181
6527
  # {
6182
6528
  # global_table_name: "TableName", # required
6183
6529
  # global_table_provisioned_write_capacity_units: 1,
6530
+ # global_table_provisioned_write_capacity_auto_scaling_settings_update: {
6531
+ # minimum_units: 1,
6532
+ # maximum_units: 1,
6533
+ # auto_scaling_disabled: false,
6534
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6535
+ # scaling_policy_update: {
6536
+ # policy_name: "AutoScalingPolicyName",
6537
+ # target_tracking_scaling_policy_configuration: { # required
6538
+ # disable_scale_in: false,
6539
+ # scale_in_cooldown: 1,
6540
+ # scale_out_cooldown: 1,
6541
+ # target_value: 1.0, # required
6542
+ # },
6543
+ # },
6544
+ # },
6184
6545
  # global_table_global_secondary_index_settings_update: [
6185
6546
  # {
6186
6547
  # index_name: "IndexName", # required
6187
6548
  # provisioned_write_capacity_units: 1,
6549
+ # provisioned_write_capacity_auto_scaling_settings_update: {
6550
+ # minimum_units: 1,
6551
+ # maximum_units: 1,
6552
+ # auto_scaling_disabled: false,
6553
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6554
+ # scaling_policy_update: {
6555
+ # policy_name: "AutoScalingPolicyName",
6556
+ # target_tracking_scaling_policy_configuration: { # required
6557
+ # disable_scale_in: false,
6558
+ # scale_in_cooldown: 1,
6559
+ # scale_out_cooldown: 1,
6560
+ # target_value: 1.0, # required
6561
+ # },
6562
+ # },
6563
+ # },
6188
6564
  # },
6189
6565
  # ],
6190
6566
  # replica_settings_update: [
6191
6567
  # {
6192
6568
  # region_name: "RegionName", # required
6193
6569
  # replica_provisioned_read_capacity_units: 1,
6570
+ # replica_provisioned_read_capacity_auto_scaling_settings_update: {
6571
+ # minimum_units: 1,
6572
+ # maximum_units: 1,
6573
+ # auto_scaling_disabled: false,
6574
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6575
+ # scaling_policy_update: {
6576
+ # policy_name: "AutoScalingPolicyName",
6577
+ # target_tracking_scaling_policy_configuration: { # required
6578
+ # disable_scale_in: false,
6579
+ # scale_in_cooldown: 1,
6580
+ # scale_out_cooldown: 1,
6581
+ # target_value: 1.0, # required
6582
+ # },
6583
+ # },
6584
+ # },
6194
6585
  # replica_global_secondary_index_settings_update: [
6195
6586
  # {
6196
6587
  # index_name: "IndexName", # required
6197
6588
  # provisioned_read_capacity_units: 1,
6589
+ # provisioned_read_capacity_auto_scaling_settings_update: {
6590
+ # minimum_units: 1,
6591
+ # maximum_units: 1,
6592
+ # auto_scaling_disabled: false,
6593
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6594
+ # scaling_policy_update: {
6595
+ # policy_name: "AutoScalingPolicyName",
6596
+ # target_tracking_scaling_policy_configuration: { # required
6597
+ # disable_scale_in: false,
6598
+ # scale_in_cooldown: 1,
6599
+ # scale_out_cooldown: 1,
6600
+ # target_value: 1.0, # required
6601
+ # },
6602
+ # },
6603
+ # },
6198
6604
  # },
6199
6605
  # ],
6200
6606
  # },
@@ -6210,6 +6616,11 @@ module Aws::DynamoDB
6210
6616
  # returns a `ThrottlingException.`
6211
6617
  # @return [Integer]
6212
6618
  #
6619
+ # @!attribute [rw] global_table_provisioned_write_capacity_auto_scaling_settings_update
6620
+ # AutoScaling settings for managing provisioned write capacity for the
6621
+ # global table.
6622
+ # @return [Types::AutoScalingSettingsUpdate]
6623
+ #
6213
6624
  # @!attribute [rw] global_table_global_secondary_index_settings_update
6214
6625
  # Represents the settings of a global secondary index for a global
6215
6626
  # table that will be modified.
@@ -6225,6 +6636,7 @@ module Aws::DynamoDB
6225
6636
  class UpdateGlobalTableSettingsInput < Struct.new(
6226
6637
  :global_table_name,
6227
6638
  :global_table_provisioned_write_capacity_units,
6639
+ :global_table_provisioned_write_capacity_auto_scaling_settings_update,
6228
6640
  :global_table_global_secondary_index_settings_update,
6229
6641
  :replica_settings_update)
6230
6642
  include Aws::Structure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core