|
NAMEPaws::DMS::CreateReplicationSubnetGroup - Arguments for method CreateReplicationSubnetGroup on Paws::DMS DESCRIPTIONThis class represents the parameters used for calling the method CreateReplicationSubnetGroup on the AWS Database Migration Service service. Use the attributes of this class as arguments to method CreateReplicationSubnetGroup. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationSubnetGroup. SYNOPSIS my $dms = Paws->service('DMS');
# Create replication subnet group
# Creates a replication subnet group given a list of the subnet IDs in a VPC.
my $CreateReplicationSubnetGroupResponse =
$dms->CreateReplicationSubnetGroup(
'ReplicationSubnetGroupDescription' => 'US West subnet group',
'ReplicationSubnetGroupIdentifier' => 'us-west-2ab-vpc-215ds366',
'SubnetIds' => [ 'subnet-e145356n', 'subnet-58f79200' ],
'Tags' => [
{
'Key' => 'Acount',
'Value' => 145235
}
]
);
# Results:
my $ReplicationSubnetGroup =
$CreateReplicationSubnetGroupResponse->ReplicationSubnetGroup;
# Returns a L<Paws::DMS::CreateReplicationSubnetGroupResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/dms/CreateReplicationSubnetGroup> ATTRIBUTESREQUIRED ReplicationSubnetGroupDescription => StrThe description for the subnet group. REQUIRED ReplicationSubnetGroupIdentifier => StrThe name for the replication subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default". Example: "mySubnetgroup" REQUIRED SubnetIds => ArrayRef[Str|Undef]One or more subnet IDs to be assigned to the subnet group. Tags => ArrayRef[Paws::DMS::Tag]One or more tags to be assigned to the subnet group. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateReplicationSubnetGroup in Paws::DMS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|