Provided by: rdscli_1.10.003-0ubuntu1_all bug

NAME

       rds-create-db-subnet-group - Creates a DB subnet group.

SYNOPSIS

        rds-create-db-subnet-group
            DBSubnetGroupName  --db-subnet-group-description  value
           [--db-subnet-list  value[,value...] ]  [General Options]

DESCRIPTION

           Creates a DB subnet group.

ARGUMENTS

        DBSubnetGroupName
           The name of new subnet group (255 character max). You can also set this
           value using "--db-subnet-group-name". Required.

SPECIFIC OPTIONS

        -d, --db-subnet-group-description VALUE
           The description of the new subnet group (255 character max). Required.

        -s, --db-subnet-list VALUE1,VALUE2,VALUE3...
           Subnet Ids belongs to the subnet group. All input subnet Ids must be in
           same Ec2 VPC, and they should cover all availability zones.

GENERAL OPTIONS

        --aws-credential-file VALUE
           Location of the file with your AWS credentials. Must not be specified in
           conjunction with --ec2-cert-file-path or --ec2-private-key-file-path.
           This value can be set by using the environment variable
           'AWS_CREDENTIAL_FILE'.

        -C, --ec2-cert-file-path VALUE
           Path to AWS X.509 certificate file. Must be specified in conjunction with
           --ec2-private-key-file-path and must not be specified in conjunction with
           --aws-credential-file. This value can be set by using the environment
           variable 'EC2_CERT'.

        --connection-timeout VALUE
           Specify a connection timeout VALUE (in seconds) for API calls. The
           default value is '30'.

        --debug
           If an error occurs while --debug is used, it will display information
           useful for debugging the problem. The default value is 'false'.

        --delimiter VALUE
           What delimiter to use when displaying delimited (long) results.

        --headers
           If you are displaying tabular or delimited results, it includes the
           column headers. If you are showing xml results, it returns the HTTP
           headers from the service request, if applicable. This is off by default.

        -I, --access-key-id VALUE
           Specify the AWS Access ID to use.

        -K, --ec2-private-key-file-path VALUE
           Path to AWS X.509 private key file. Must be specified in conjunction with
           --ec2-cert-file-path and must not be specified in conjunction with
           --aws-credential-file. This value can be set by using the environment
           variable 'EC2_PRIVATE_KEY'.

        --region VALUE
           Specify region VALUE as the web service region to use. This value can be
           set by using the environment variable 'EC2_REGION'.

        -S, --secret-key VALUE
           Specify the AWS Secret Key to use.

        --service-sig-name VALUE
           Specify the service name to use when signing requests.  The default is
           "rds". This value can be set by using the environment variable
           'SERVICE_SIG_NAME'.

        --show-empty-fields
           Show empty fields and rows, using a "(nil)" value. The default is to not
           show empty fields or columns.

        --show-request
           Displays the URL used by the tools to call the AWS Service. The default
           value is 'false'.

        --show-table, --show-long, --show-xml, --quiet
           Specify how the results are displayed: tabular, delimited (long), xml, or
           no output (quiet). Tabular shows a subset of the data in fixed
           column-width form, while long shows all of the returned values delimited
           by a character. The xml is the raw return from the service, while quiet
           suppresses all standard output. The default is tabular, or 'show-table'.

        -U, --url VALUE
           This option will override the URL for the service call with VALUE. This
           value can be set by using the environment variable 'RDS_URL'.

INPUT EXAMPLES

        This shows how to create the subnet group mygroup:

        $PROMPT>rds-create-db-subnet-group             --db-subnet-group-name             mygroup
       --db-subnet-group-description "My Subnet Group" --db-subnet-list subnet1, subnet2, subnet3
        SUBNETGROUP  mygroup  My Subnet Group Complete vpc-7f5ab317
            SUBNET  subnet-7c5b4115  us-east-1c  Active
            SUBNET  subnet-7b5b4112  us-east-1b  Active
            SUBNET  subnet-3ea6bd57  us-east-1d  Active

OUTPUT

        This command returns a table that contains the following:
        * Name - Subnet Group name.
        * Description - Subnet Group description.
        * Status - Status of the DB Subnet Group.
        * VpcId - Vpc Id of the Subnet Group.
        * Subnet Identifier - Subnet Group Identifier.
        * Subnet Availability Zone - Subnet Availability Zone.
        * Status - Status of Subnet.

OUTPUT EXAMPLES

        Short output for Subnet Groups with headers displayed

SEE ALSO

         http://docs.amazonwebservices.com/AmazonRDS/2012-09-17/CommandLineReference/
         http://docs.amazonwebservices.com/AmazonRDS/latest/CommandLineReference