Class: Aws::DynamoDB::Types::ReplicationGroupUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::ReplicationGroupUpdate
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
When making an API call, you may pass ReplicationGroupUpdate data as a hash:
{
create: {
region_name: "RegionName", # required
kms_master_key_id: "KMSMasterKeyId",
provisioned_throughput_override: {
read_capacity_units: 1,
},
global_secondary_indexes: [
{
index_name: "IndexName", # required
provisioned_throughput_override: {
read_capacity_units: 1,
},
},
],
},
update: {
region_name: "RegionName", # required
kms_master_key_id: "KMSMasterKeyId",
provisioned_throughput_override: {
read_capacity_units: 1,
},
global_secondary_indexes: [
{
index_name: "IndexName", # required
provisioned_throughput_override: {
read_capacity_units: 1,
},
},
],
},
delete: {
region_name: "RegionName", # required
},
}
Represents one of the following:
-
A new replica to be added to an existing regional table or global table. This request invokes the ‘CreateTableReplica` action in the destination Region.
-
New parameters for an existing replica. This request invokes the ‘UpdateTable` action in the destination Region.
-
An existing replica to be deleted. The request invokes the ‘DeleteTableReplica` action in the destination Region, deleting the replica and all if its items in the destination Region.
Instance Attribute Summary collapse
-
#create ⇒ Types::CreateReplicationGroupMemberAction
The parameters required for creating a replica for the table.
-
#delete ⇒ Types::DeleteReplicationGroupMemberAction
The parameters required for deleting a replica for the table.
-
#update ⇒ Types::UpdateReplicationGroupMemberAction
The parameters required for updating a replica for the table.
Instance Attribute Details
#create ⇒ Types::CreateReplicationGroupMemberAction
The parameters required for creating a replica for the table.
6659 6660 6661 6662 6663 6664 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659 class ReplicationGroupUpdate < Struct.new( :create, :update, :delete) include Aws::Structure end |
#delete ⇒ Types::DeleteReplicationGroupMemberAction
The parameters required for deleting a replica for the table.
6659 6660 6661 6662 6663 6664 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659 class ReplicationGroupUpdate < Struct.new( :create, :update, :delete) include Aws::Structure end |
#update ⇒ Types::UpdateReplicationGroupMemberAction
The parameters required for updating a replica for the table.
6659 6660 6661 6662 6663 6664 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 6659 class ReplicationGroupUpdate < Struct.new( :create, :update, :delete) include Aws::Structure end |