AWSSDK.RDS.jl

AWSSDK.RDS

Amazon Relational Database Service

Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks, freeing up developers to focus on what makes their applications and businesses unique.

Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS is flexible: you can scale your database instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for the resources you use.

This interface reference for Amazon RDS contains documentation for a programming or command line interface you can use to manage Amazon RDS. Note that Amazon RDS is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.

Amazon RDS API Reference

Amazon RDS User Guide

This document is generated from apis/rds-2014-10-31.normal.json. See JuliaCloud/AWSCore.jl.

using AWSSDK.RDS.add_role_to_dbcluster
add_role_to_dbcluster([::AWSConfig], arguments::Dict)
add_role_to_dbcluster([::AWSConfig]; DBClusterIdentifier=, RoleArn=)

using AWSCore.Services.rds
rds([::AWSConfig], "AddRoleToDBCluster", arguments::Dict)
rds([::AWSConfig], "AddRoleToDBCluster", DBClusterIdentifier=, RoleArn=)

AddRoleToDBCluster Operation

Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf.

Arguments

DBClusterIdentifier = ::StringRequired

The name of the DB cluster to associate the IAM role with.

RoleArn = ::StringRequired

The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole.

Exceptions

DBClusterNotFoundFault, DBClusterRoleAlreadyExistsFault, InvalidDBClusterStateFault or DBClusterRoleQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.add_source_identifier_to_subscription
add_source_identifier_to_subscription([::AWSConfig], arguments::Dict)
add_source_identifier_to_subscription([::AWSConfig]; SubscriptionName=, SourceIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "AddSourceIdentifierToSubscription", arguments::Dict)
rds([::AWSConfig], "AddSourceIdentifierToSubscription", SubscriptionName=, SourceIdentifier=)

AddSourceIdentifierToSubscription Operation

Adds a source identifier to an existing RDS event notification subscription.

Arguments

SubscriptionName = ::StringRequired

The name of the RDS event notification subscription you want to add a source identifier to.

SourceIdentifier = ::StringRequired

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Returns

AddSourceIdentifierToSubscriptionResult

Exceptions

SubscriptionNotFoundFault or SourceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.add_tags_to_resource
add_tags_to_resource([::AWSConfig], arguments::Dict)
add_tags_to_resource([::AWSConfig]; ResourceName=, Tags=)

using AWSCore.Services.rds
rds([::AWSConfig], "AddTagsToResource", arguments::Dict)
rds([::AWSConfig], "AddTagsToResource", ResourceName=, Tags=)

AddTagsToResource Operation

Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.

For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources.

Arguments

ResourceName = ::StringRequired

The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Tags = [[ ... ], ...]Required

The tags to be assigned to the Amazon RDS resource.

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Exceptions

DBInstanceNotFoundFault, DBSnapshotNotFoundFault or DBClusterNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.apply_pending_maintenance_action
apply_pending_maintenance_action([::AWSConfig], arguments::Dict)
apply_pending_maintenance_action([::AWSConfig]; ResourceIdentifier=, ApplyAction=, OptInType=)

using AWSCore.Services.rds
rds([::AWSConfig], "ApplyPendingMaintenanceAction", arguments::Dict)
rds([::AWSConfig], "ApplyPendingMaintenanceAction", ResourceIdentifier=, ApplyAction=, OptInType=)

ApplyPendingMaintenanceAction Operation

Applies a pending maintenance action to a resource (for example, to a DB instance).

Arguments

ResourceIdentifier = ::StringRequired

The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

ApplyAction = ::StringRequired

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade

OptInType = ::StringRequired

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type immediate cannot be undone.

Valid values:

  • immediate - Apply the maintenance action immediately.

  • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

  • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

Returns

ApplyPendingMaintenanceActionResult

Exceptions

ResourceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.authorize_dbsecurity_group_ingress
authorize_dbsecurity_group_ingress([::AWSConfig], arguments::Dict)
authorize_dbsecurity_group_ingress([::AWSConfig]; DBSecurityGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "AuthorizeDBSecurityGroupIngress", arguments::Dict)
rds([::AWSConfig], "AuthorizeDBSecurityGroupIngress", DBSecurityGroupName=, <keyword arguments>)

AuthorizeDBSecurityGroupIngress Operation

Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).

Note

You cannot authorize ingress from an EC2 security group in one AWS Region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.

For an overview of CIDR ranges, go to the Wikipedia Tutorial.

Arguments

DBSecurityGroupName = ::StringRequired

The name of the DB security group to add authorization to.

CIDRIP = ::String

The IP range to authorize.

EC2SecurityGroupName = ::String

Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupId = ::String

Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupOwnerId = ::String

AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Returns

AuthorizeDBSecurityGroupIngressResult

Exceptions

DBSecurityGroupNotFoundFault, InvalidDBSecurityGroupStateFault, AuthorizationAlreadyExistsFault or AuthorizationQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.copy_dbcluster_parameter_group
copy_dbcluster_parameter_group([::AWSConfig], arguments::Dict)
copy_dbcluster_parameter_group([::AWSConfig]; SourceDBClusterParameterGroupIdentifier=, TargetDBClusterParameterGroupIdentifier=, TargetDBClusterParameterGroupDescription=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CopyDBClusterParameterGroup", arguments::Dict)
rds([::AWSConfig], "CopyDBClusterParameterGroup", SourceDBClusterParameterGroupIdentifier=, TargetDBClusterParameterGroupIdentifier=, TargetDBClusterParameterGroupDescription=, <keyword arguments>)

CopyDBClusterParameterGroup Operation

Copies the specified DB cluster parameter group.

Arguments

SourceDBClusterParameterGroupIdentifier = ::StringRequired

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid DB cluster parameter group.

  • If the source DB cluster parameter group is in the same AWS Region as the copy, specify a valid DB parameter group identifier, for example my-db-cluster-param-group, or a valid ARN.

  • If the source DB parameter group is in a different AWS Region than the copy, specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.

TargetDBClusterParameterGroupIdentifier = ::StringRequired

The identifier for the copied DB cluster parameter group.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-cluster-param-group1

TargetDBClusterParameterGroupDescription = ::StringRequired

A description for the copied DB cluster parameter group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CopyDBClusterParameterGroupResult

Exceptions

DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault or DBParameterGroupAlreadyExistsFault.

See also: AWS API Documentation

using AWSSDK.RDS.copy_dbcluster_snapshot
copy_dbcluster_snapshot([::AWSConfig], arguments::Dict)
copy_dbcluster_snapshot([::AWSConfig]; SourceDBClusterSnapshotIdentifier=, TargetDBClusterSnapshotIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CopyDBClusterSnapshot", arguments::Dict)
rds([::AWSConfig], "CopyDBClusterSnapshot", SourceDBClusterSnapshotIdentifier=, TargetDBClusterSnapshotIdentifier=, <keyword arguments>)

CopyDBClusterSnapshot Operation

Copies a snapshot of a DB cluster.

To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.

You can copy an encrypted DB cluster snapshot from another AWS Region. In that case, the AWS Region where you call the CopyDBClusterSnapshot action is the destination AWS Region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another AWS Region, you must provide the following values:

  • KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region.

  • PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot action to be called in the source AWS Region where the DB cluster snapshot is copied from. The pre-signed URL must be a valid request for the CopyDBClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied.

    The pre-signed URL request must contain the following parameter values:

    • KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the pre-signed URL.

    • DestinationRegion - The name of the AWS Region that the DB cluster snapshot will be created in.

    • SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115.

    To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.

  • TargetDBClusterSnapshotIdentifier - The identifier for the new copy of the DB cluster snapshot in the destination AWS Region.

  • SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the ARN format for the source AWS Region and is the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed URL.

To cancel the copy operation once it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in "copying" status.

For more information on copying encrypted DB cluster snapshots from one AWS Region to another, see Copying a DB Cluster Snapshot in the Same Account, Either in the Same Region or Across Regions in the Amazon RDS User Guide.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

SourceDBClusterSnapshotIdentifier = ::StringRequired

The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

You cannot copy an encrypted, shared DB cluster snapshot from one AWS Region to another.

Constraints:

  • Must specify a valid system snapshot in the "available" state.

  • If the source snapshot is in the same AWS Region as the copy, specify a valid DB snapshot identifier.

  • If the source snapshot is in a different AWS Region than the copy, specify a valid DB cluster snapshot ARN. For more information, go to Copying a DB Snapshot or DB Cluster Snapshot.

Example: my-cluster-snapshot1

TargetDBClusterSnapshotIdentifier = ::StringRequired

The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster-snapshot2

KmsKeyId = ::String

The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

If you copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, Amazon RDS encrypts the target DB cluster snapshot using the specified KMS encryption key.

If you copy an encrypted DB cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same KMS key as the source DB cluster snapshot.

If you copy an encrypted DB cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId.

To copy an encrypted DB cluster snapshot to another AWS Region, you must set KmsKeyId to the KMS key ID you want to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region. KMS encryption keys are specific to the AWS Region that they are created in, and you cannot use encryption keys from one AWS Region in another AWS Region.

PreSignedUrl = ::String

The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source DB cluster snapshot to copy. The PreSignedUrl parameter must be used when copying an encrypted DB cluster snapshot from another AWS Region.

The pre-signed URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The pre-signed URL request must contain the following parameter values:

  • KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the pre-signed URL.

  • DestinationRegion - The name of the AWS Region that the DB cluster snapshot will be created in.

  • SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.

Note

If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf.

CopyTags = ::Bool

True to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot; otherwise false. The default is false.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

SourceRegion = ::String

The ID of the region that contains the snapshot to be copied.

Returns

CopyDBClusterSnapshotResult

Exceptions

DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, InvalidDBClusterStateFault, InvalidDBClusterSnapshotStateFault, SnapshotQuotaExceededFault or KMSKeyNotAccessibleFault.

See also: AWS API Documentation

using AWSSDK.RDS.copy_dbparameter_group
copy_dbparameter_group([::AWSConfig], arguments::Dict)
copy_dbparameter_group([::AWSConfig]; SourceDBParameterGroupIdentifier=, TargetDBParameterGroupIdentifier=, TargetDBParameterGroupDescription=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CopyDBParameterGroup", arguments::Dict)
rds([::AWSConfig], "CopyDBParameterGroup", SourceDBParameterGroupIdentifier=, TargetDBParameterGroupIdentifier=, TargetDBParameterGroupDescription=, <keyword arguments>)

CopyDBParameterGroup Operation

Copies the specified DB parameter group.

Arguments

SourceDBParameterGroupIdentifier = ::StringRequired

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid DB parameter group.

  • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

TargetDBParameterGroupIdentifier = ::StringRequired

The identifier for the copied DB parameter group.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-db-parameter-group

TargetDBParameterGroupDescription = ::StringRequired

A description for the copied DB parameter group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CopyDBParameterGroupResult

Exceptions

DBParameterGroupNotFoundFault, DBParameterGroupAlreadyExistsFault or DBParameterGroupQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.copy_dbsnapshot
copy_dbsnapshot([::AWSConfig], arguments::Dict)
copy_dbsnapshot([::AWSConfig]; SourceDBSnapshotIdentifier=, TargetDBSnapshotIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CopyDBSnapshot", arguments::Dict)
rds([::AWSConfig], "CopyDBSnapshot", SourceDBSnapshotIdentifier=, TargetDBSnapshotIdentifier=, <keyword arguments>)

CopyDBSnapshot Operation

Copies the specified DB snapshot. The source DB snapshot must be in the "available" state.

You can copy a snapshot from one AWS Region to another. In that case, the AWS Region where you call the CopyDBSnapshot action is the destination AWS Region for the DB snapshot copy.

You cannot copy an encrypted, shared DB snapshot from one AWS Region to another.

For more information about copying snapshots, see Copying a DB Snapshot in the Amazon RDS User Guide.

Arguments

SourceDBSnapshotIdentifier = ::StringRequired

The identifier for the source DB snapshot.

If the source snapshot is in the same AWS Region as the copy, specify a valid DB snapshot identifier. For example, you might specify rds:mysql-instance1-snapshot-20130805.

If the source snapshot is in a different AWS Region than the copy, specify a valid DB snapshot ARN. For example, you might specify arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805.

If you are copying from a shared manual DB snapshot, this parameter must be the Amazon Resource Name (ARN) of the shared DB snapshot.

If you are copying an encrypted snapshot this parameter must be in the ARN format for the source AWS Region, and must match the SourceDBSnapshotIdentifier in the PreSignedUrl parameter.

Constraints:

  • Must specify a valid system snapshot in the "available" state.

Example: rds:mydb-2012-04-02-00-01

Example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805

TargetDBSnapshotIdentifier = ::StringRequired

The identifier for the copy of the snapshot.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-db-snapshot

KmsKeyId = ::String

The AWS KMS key ID for an encrypted DB snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

If you copy an encrypted DB snapshot from your AWS account, you can specify a value for this parameter to encrypt the copy with a new KMS encryption key. If you don't specify a value for this parameter, then the copy of the DB snapshot is encrypted with the same KMS key as the source DB snapshot.

If you copy an encrypted DB snapshot that is shared from another AWS account, then you must specify a value for this parameter.

If you specify this parameter when you copy an unencrypted snapshot, the copy is encrypted.

If you copy an encrypted snapshot to a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the AWS Region that they are created in, and you cannot use encryption keys from one AWS Region in another AWS Region.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

CopyTags = ::Bool

True to copy all tags from the source DB snapshot to the target DB snapshot; otherwise false. The default is false.

PreSignedUrl = ::String

The URL that contains a Signature Version 4 signed request for the CopyDBSnapshot API action in the source AWS Region that contains the source DB snapshot to copy.

You must specify this parameter when you copy an encrypted DB snapshot from another AWS Region by using the Amazon RDS API. You can specify the source region option instead of this parameter when you copy an encrypted DB snapshot from another AWS Region by using the AWS CLI.

The presigned URL must be a valid request for the CopyDBSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB snapshot to be copied. The presigned URL request must contain the following parameter values:

  • DestinationRegion - The AWS Region that the encrypted DB snapshot is copied to. This AWS Region is the same one where the CopyDBSnapshot action is called that contains this presigned URL.

    For example, if you copy an encrypted DB snapshot from the us-west-2 region to the us-east-1 region, then you call the CopyDBSnapshot action in the us-east-1 region and provide a presigned URL that contains a call to the CopyDBSnapshot action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region.

  • KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB snapshot in the destination AWS Region. This is the same identifier for both the CopyDBSnapshot action that is called in the destination AWS Region, and the action contained in the presigned URL.

  • SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB snapshot from the us-west-2 region, then your SourceDBSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.

Note

If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf.

OptionGroupName = ::String

The name of an option group to associate with the copy of the snapshot.

Specify this option if you are copying a snapshot from one AWS Region to another, and your DB instance uses a nondefault option group. If your source DB instance uses Transparent Data Encryption for Oracle or Microsoft SQL Server, you must specify this option when copying across regions. For more information, see Option Group Considerations.

SourceRegion = ::String

The ID of the region that contains the snapshot to be copied.

Returns

CopyDBSnapshotResult

Exceptions

DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, InvalidDBSnapshotStateFault, SnapshotQuotaExceededFault or KMSKeyNotAccessibleFault.

See also: AWS API Documentation

using AWSSDK.RDS.copy_option_group
copy_option_group([::AWSConfig], arguments::Dict)
copy_option_group([::AWSConfig]; SourceOptionGroupIdentifier=, TargetOptionGroupIdentifier=, TargetOptionGroupDescription=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CopyOptionGroup", arguments::Dict)
rds([::AWSConfig], "CopyOptionGroup", SourceOptionGroupIdentifier=, TargetOptionGroupIdentifier=, TargetOptionGroupDescription=, <keyword arguments>)

CopyOptionGroup Operation

Copies the specified option group.

Arguments

SourceOptionGroupIdentifier = ::StringRequired

The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid option group.

  • If the source option group is in the same AWS Region as the copy, specify a valid option group identifier, for example my-option-group, or a valid ARN.

  • If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options.

TargetOptionGroupIdentifier = ::StringRequired

The identifier for the copied option group.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-option-group

TargetOptionGroupDescription = ::StringRequired

The description for the copied option group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CopyOptionGroupResult

Exceptions

OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault or OptionGroupQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbcluster
create_dbcluster([::AWSConfig], arguments::Dict)
create_dbcluster([::AWSConfig]; DBClusterIdentifier=, Engine=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBCluster", arguments::Dict)
rds([::AWSConfig], "CreateDBCluster", DBClusterIdentifier=, Engine=, <keyword arguments>)

CreateDBCluster Operation

Creates a new Amazon Aurora DB cluster.

You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon RDS MySQL DB instance. For cross-region replication where the DB cluster identified by ReplicationSourceIdentifier is encrypted, you must also specify the PreSignedUrl parameter.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

AvailabilityZones = [::String, ...]

A list of EC2 Availability Zones that instances in the DB cluster can be created in. For information on regions and Availability Zones, see Regions and Availability Zones.

BackupRetentionPeriod = ::Int

The number of days for which automated backups are retained. You must specify a minimum value of 1.

Default: 1

Constraints:

  • Must be a value from 1 to 35

CharacterSetName = ::String

A value that indicates that the DB cluster should be associated with the specified CharacterSet.

DatabaseName = ::String

The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating.

DBClusterIdentifier = ::StringRequired

The DB cluster identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1

DBClusterParameterGroupName = ::String

The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, default.aurora5.6 is used.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

VpcSecurityGroupIds = [::String, ...]

A list of EC2 VPC security groups to associate with this DB cluster.

DBSubnetGroupName = ::String

A DB subnet group to associate with this DB cluster.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Engine = ::StringRequired

The name of the database engine to be used for this DB cluster.

Valid Values: aurora

EngineVersion = ::String

The version number of the database engine to use.

Aurora

Example: 5.6.10a

Port = ::Int

The port number on which the instances in the DB cluster accept connections.

Default: 3306

MasterUsername = ::String

The name of the master user for the DB cluster.

Constraints:

  • Must be 1 to 16 letters or numbers.

  • First character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

MasterUserPassword = ::String

The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".

Constraints: Must contain from 8 to 41 characters.

OptionGroupName = ::String

A value that indicates that the DB cluster should be associated with the specified option group.

Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Times should be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

PreferredMaintenanceWindow = ::String

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

ReplicationSourceIdentifier = ::String

The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

StorageEncrypted = ::Bool

Specifies whether the DB cluster is encrypted.

KmsKeyId = ::String

The KMS key identifier for an encrypted DB cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

If an encryption key is not specified in KmsKeyId:

  • If ReplicationSourceIdentifier identifies an encrypted source, then Amazon RDS will use the encryption key used to encrypt the source. Otherwise, Amazon RDS will use your default encryption key.

  • If the StorageEncrypted parameter is true and ReplicationSourceIdentifier is not specified, then Amazon RDS will use your default encryption key.

AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

If you create a Read Replica of an encrypted DB cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the Read Replica in that AWS Region.

PreSignedUrl = ::String

A URL that contains a Signature Version 4 signed request for the CreateDBCluster action to be called in the source AWS Region where the DB cluster is replicated from. You only need to specify PreSignedUrl when you are performing cross-region replication from an encrypted DB cluster.

The pre-signed URL must be a valid request for the CreateDBCluster API action that can be executed in the source AWS Region that contains the encrypted DB cluster to be copied.

The pre-signed URL request must contain the following parameter values:

  • KmsKeyId - The KMS key identifier for the key to use to encrypt the copy of the DB cluster in the destination AWS Region. This should refer to the same KMS key for both the CreateDBCluster action that is called in the destination AWS Region, and the action contained in the pre-signed URL.

  • DestinationRegion - The name of the AWS Region that Aurora Read Replica will be created in.

  • ReplicationSourceIdentifier - The DB cluster identifier for the encrypted DB cluster to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster from the us-west-2 region, then your ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.

Note

If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf.

EnableIAMDatabaseAuthentication = ::Bool

A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

SourceRegion = ::String

The ID of the region that contains the source for the read replica.

Returns

CreateDBClusterResult

Exceptions

DBClusterAlreadyExistsFault, InsufficientStorageClusterCapacityFault, DBClusterQuotaExceededFault, StorageQuotaExceededFault, DBSubnetGroupNotFoundFault, InvalidVPCNetworkStateFault, InvalidDBClusterStateFault, InvalidDBSubnetGroupStateFault, InvalidSubnet, InvalidDBInstanceStateFault, DBClusterParameterGroupNotFoundFault, KMSKeyNotAccessibleFault, DBClusterNotFoundFault, DBInstanceNotFoundFault or DBSubnetGroupDoesNotCoverEnoughAZs.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbcluster_parameter_group
create_dbcluster_parameter_group([::AWSConfig], arguments::Dict)
create_dbcluster_parameter_group([::AWSConfig]; DBClusterParameterGroupName=, DBParameterGroupFamily=, Description=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBClusterParameterGroup", arguments::Dict)
rds([::AWSConfig], "CreateDBClusterParameterGroup", DBClusterParameterGroupName=, DBParameterGroupFamily=, Description=, <keyword arguments>)

CreateDBClusterParameterGroup Operation

Creates a new DB cluster parameter group.

Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.

A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.

Important

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterParameterGroupName = ::StringRequired

The name of the DB cluster parameter group.

Constraints:

  • Must match the name of an existing DBClusterParameterGroup.

Note

This value is stored as a lowercase string.

DBParameterGroupFamily = ::StringRequired

The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.

Description = ::StringRequired

The description for the DB cluster parameter group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBClusterParameterGroupResult

Exceptions

DBParameterGroupQuotaExceededFault or DBParameterGroupAlreadyExistsFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbcluster_snapshot
create_dbcluster_snapshot([::AWSConfig], arguments::Dict)
create_dbcluster_snapshot([::AWSConfig]; DBClusterSnapshotIdentifier=, DBClusterIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBClusterSnapshot", arguments::Dict)
rds([::AWSConfig], "CreateDBClusterSnapshot", DBClusterSnapshotIdentifier=, DBClusterIdentifier=, <keyword arguments>)

CreateDBClusterSnapshot Operation

Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterSnapshotIdentifier = ::StringRequired

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1-snapshot1

DBClusterIdentifier = ::StringRequired

The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

Example: my-cluster1

Tags = [[ ... ], ...]

The tags to be assigned to the DB cluster snapshot.

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBClusterSnapshotResult

Exceptions

DBClusterSnapshotAlreadyExistsFault, InvalidDBClusterStateFault, DBClusterNotFoundFault, SnapshotQuotaExceededFault or InvalidDBClusterSnapshotStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbinstance
create_dbinstance([::AWSConfig], arguments::Dict)
create_dbinstance([::AWSConfig]; DBInstanceIdentifier=, DBInstanceClass=, Engine=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBInstance", arguments::Dict)
rds([::AWSConfig], "CreateDBInstance", DBInstanceIdentifier=, DBInstanceClass=, Engine=, <keyword arguments>)

CreateDBInstance Operation

Creates a new DB instance.

Arguments

DBName = ::String

The meaning of this parameter differs according to the database engine you use.

Type: String

MySQL

The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance.

Constraints:

  • Must contain 1 to 64 letters or numbers.

  • Cannot be a word reserved by the specified database engine

MariaDB

The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance.

Constraints:

  • Must contain 1 to 64 letters or numbers.

  • Cannot be a word reserved by the specified database engine

PostgreSQL

The name of the database to create when the DB instance is created. If this parameter is not specified, the default "postgres" database is created in the DB instance.

Constraints:

  • Must contain 1 to 63 letters, numbers, or underscores.

  • Must begin with a letter or an underscore. Subsequent characters can be letters, underscores, or digits (0-9).

  • Cannot be a word reserved by the specified database engine

Oracle

The Oracle System ID (SID) of the created DB instance. If you specify null, the default value ORCL is used. You can't specify the string NULL, or any other reserved word, for DBName.

Default: ORCL

Constraints:

  • Cannot be longer than 8 characters

SQL Server

Not applicable. Must be null.

Amazon Aurora

The name of the database to create when the primary instance of the DB cluster is created. If this parameter is not specified, no database is created in the DB instance.

Constraints:

  • Must contain 1 to 64 letters or numbers.

  • Cannot be a word reserved by the specified database engine

DBInstanceIdentifier = ::StringRequired

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: mydbinstance

AllocatedStorage = ::Int

The amount of storage (in gigabytes) to be initially allocated for the database instance.

Type: Integer

Amazon Aurora

Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.

MySQL

Constraints to the amount of storage for each storage type are the following:

  • General Purpose (SSD) storage (gp2): Must be an integer from 5 to 6144.

  • Provisioned IOPS storage (io1): Must be an integer from 100 to 6144.

  • Magnetic storage (standard): Must be an integer from 5 to 3072.

MariaDB

Constraints to the amount of storage for each storage type are the following:

  • General Purpose (SSD) storage (gp2): Must be an integer from 5 to 6144.

  • Provisioned IOPS storage (io1): Must be an integer from 100 to 6144.

  • Magnetic storage (standard): Must be an integer from 5 to 3072.

PostgreSQL

Constraints to the amount of storage for each storage type are the following:

  • General Purpose (SSD) storage (gp2): Must be an integer from 5 to 6144.

  • Provisioned IOPS storage (io1): Must be an integer from 100 to 6144.

  • Magnetic storage (standard): Must be an integer from 5 to 3072.

Oracle

Constraints to the amount of storage for each storage type are the following:

  • General Purpose (SSD) storage (gp2): Must be an integer from 10 to 6144.

  • Provisioned IOPS storage (io1): Must be an integer from 100 to 6144.

  • Magnetic storage (standard): Must be an integer from 10 to 3072.

SQL Server

Constraints to the amount of storage for each storage type are the following:

  • General Purpose (SSD) storage (gp2):

    • Enterprise and Standard editions: Must be an integer from 200 to 16384.

    • Web and Express editions: Must be an integer from 20 to 16384.

  • Provisioned IOPS storage (io1):

    • Enterprise and Standard editions: Must be an integer from 200 to 16384.

    • Web and Express editions: Must be an integer from 100 to 16384.

  • Magnetic storage (standard):

    • Enterprise and Standard editions: Must be an integer from 200 to 1024.

    • Web and Express editions: Must be an integer from 20 to 1024.

DBInstanceClass = ::StringRequired

The compute and memory capacity of the DB instance, for example, db.m4.large. Not all DB instance classes are available in all regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

Engine = ::StringRequired

The name of the database engine to be used for this instance.

Not every database engine is available for every AWS Region.

Valid Values:

  • aurora

  • mariadb

  • mysql

  • oracle-ee

  • oracle-se2

  • oracle-se1

  • oracle-se

  • postgres

  • sqlserver-ee

  • sqlserver-se

  • sqlserver-ex

  • sqlserver-web

MasterUsername = ::String

The name for the master user.

Amazon Aurora

Not applicable. The name for the master user is managed by the DB cluster. For more information, see CreateDBCluster.

MariaDB

Constraints:

  • Required for MariaDB.

  • Must be 1 to 16 letters or numbers.

  • Cannot be a reserved word for the chosen database engine.

Microsoft SQL Server

Constraints:

  • Required for SQL Server.

  • Must be 1 to 128 letters or numbers.

  • The first character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

MySQL

Constraints:

  • Required for MySQL.

  • Must be 1 to 16 letters or numbers.

  • First character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

Oracle

Constraints:

  • Required for Oracle.

  • Must be 1 to 30 letters or numbers.

  • First character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

PostgreSQL

Constraints:

  • Required for PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • First character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

MasterUserPassword = ::String

The password for the master user. Can be any printable ASCII character except "/", """, or "@".

Amazon Aurora

Not applicable. The password for the master user is managed by the DB cluster. For more information, see CreateDBCluster.

MariaDB

Constraints: Must contain from 8 to 41 characters.

Microsoft SQL Server

Constraints: Must contain from 8 to 128 characters.

MySQL

Constraints: Must contain from 8 to 41 characters.

Oracle

Constraints: Must contain from 8 to 30 characters.

PostgreSQL

Constraints: Must contain from 8 to 128 characters.

DBSecurityGroups = [::String, ...]

A list of DB security groups to associate with this DB instance.

Default: The default DB security group for the database engine.

VpcSecurityGroupIds = [::String, ...]

A list of EC2 VPC security groups to associate with this DB instance.

Amazon Aurora

Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see CreateDBCluster.

Default: The default EC2 VPC security group for the DB subnet group's VPC.

AvailabilityZone = ::String

The EC2 Availability Zone that the database instance is created in. For information on regions and Availability Zones, see Regions and Availability Zones.

Default: A random, system-chosen Availability Zone in the endpoint's AWS Region.

Example: us-east-1d

Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint.

DBSubnetGroupName = ::String

A DB subnet group to associate with this DB instance.

If there is no DB subnet group, then it is a non-VPC DB instance.

PreferredMaintenanceWindow = ::String

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). For more information, see DB Instance Maintenance.

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

DBParameterGroupName = ::String

The name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine is used.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

BackupRetentionPeriod = ::Int

The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.

Amazon Aurora

Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see CreateDBCluster.

Default: 1

Constraints:

  • Must be a value from 0 to 35

  • Cannot be set to 0 if the DB instance is a source to Read Replicas

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. For more information, see DB Instance Backups.

Amazon Aurora

Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see CreateDBCluster.

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region. To see the time blocks available, see Adjusting the Preferred DB Instance Maintenance Window.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Times should be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

Port = ::Int

The port number on which the database accepts connections.

MySQL

Default: 3306

Valid Values: 1150-65535

Type: Integer

MariaDB

Default: 3306

Valid Values: 1150-65535

Type: Integer

PostgreSQL

Default: 5432

Valid Values: 1150-65535

Type: Integer

Oracle

Default: 1521

Valid Values: 1150-65535

SQL Server

Default: 1433

Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through 49156.

Amazon Aurora

Default: 3306

Valid Values: 1150-65535

Type: Integer

MultiAZ = ::Bool

Specifies if the DB instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

EngineVersion = ::String

The version number of the database engine to use.

The following are the database engines and major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region.

Amazon Aurora

Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. For more information, see CreateDBCluster.

MariaDB

  • 10.1.23 (supported in all AWS regions)

  • 10.1.19 (supported in all AWS regions)

  • 10.1.14 (supported in all regions except us-east-2)

  • 10.0.31 (supported in all AWS regions)

  • 10.0.28 (supported in all AWS regions)

  • 10.0.24 (supported in all AWS regions)

  • 10.0.17 (supported in all regions except us-east-2, ca-central-1, eu-west-2)

Microsoft SQL Server 2016

  • 13.00.4422.0.v1 (supported for all editions, and all AWS regions)

  • 13.00.2164.0.v1 (supported for all editions, and all AWS regions)

Microsoft SQL Server 2014

  • 12.00.5546.0.v1 (supported for all editions, and all AWS regions)

  • 12.00.5000.0.v1 (supported for all editions, and all AWS regions)

  • 12.00.4422.0.v1 (supported for all editions except Enterprise Edition, and all AWS regions except ca-central-1 and eu-west-2)

Microsoft SQL Server 2012

  • 11.00.6594.0.v1 (supported for all editions, and all AWS regions)

  • 11.00.6020.0.v1 (supported for all editions, and all AWS regions)

  • 11.00.5058.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2)

  • 11.00.2100.60.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2)

Microsoft SQL Server 2008 R2

  • 10.50.6529.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2)

  • 10.50.6000.34.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2)

  • 10.50.2789.0.v1 (supported for all editions, and all AWS regions except us-east-2, ca-central-1, and eu-west-2)

MySQL

  • 5.7.19 (supported in all AWS regions)

  • 5.7.17 (supported in all AWS regions)

  • 5.7.16 (supported in all AWS regions)

  • 5.7.11 (supported in all AWS regions)

  • 5.6.37 (supported in all AWS regions)

  • 5.6.35 (supported in all AWS regions)

  • 5.6.34 (supported in all AWS regions)

  • 5.6.29 (supported in all AWS regions)

  • 5.6.27 (supported in all regions except us-east-2, ca-central-1, eu-west-2)

  • 5.5.57 (supported in all AWS regions)

  • 5.5.54 (supported in all AWS regions)

  • 5.5.53 (supported in all AWS regions)

  • 5.5.46 (supported in all AWS regions)

Oracle 12c

  • 12.1.0.2.v9 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v8 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v7 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v6 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v5 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v4 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v3 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v2 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

  • 12.1.0.2.v1 (supported for EE in all AWS regions, and SE2 in all AWS regions except us-gov-west-1)

Oracle 11g

  • 11.2.0.4.v13 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v12 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v11 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v10 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v9 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v8 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v7 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v6 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v5 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v4 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v3 (supported for EE, SE1, and SE, in all AWS regions)

  • 11.2.0.4.v1 (supported for EE, SE1, and SE, in all AWS regions)

PostgreSQL

  • Version 9.6.x: 9.6.5 | 9.6.3 | 9.6.2 | 9.6.1

  • Version 9.5.x: 9.5.9 | 9.5.7 | 9.5.6 | 9.5.4 | 9.5.2

  • Version 9.4.x: 9.4.14 | 9.4.12 | 9.4.11 | 9.4.9 | 9.4.7

  • Version 9.3.x: 9.3.19 | 9.3.17 | 9.3.16 | 9.3.14 | 9.3.12

AutoMinorVersionUpgrade = ::Bool

Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

Default: true

LicenseModel = ::String

License model information for this DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

Iops = ::Int

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

Constraints: Must be a multiple between 3 and 10 of the storage amount for the DB instance. Must also be an integer multiple of 1000. For example, if the size of your DB instance is 500 GB, then your Iops value can be 2000, 3000, 4000, or 5000.

OptionGroupName = ::String

Indicates that the DB instance should be associated with the specified option group.

Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

CharacterSetName = ::String

For supported engines, indicates that the DB instance should be associated with the specified CharacterSet.

Amazon Aurora

Not applicable. The character set is managed by the DB cluster. For more information, see CreateDBCluster.

PubliclyAccessible = ::Bool

Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

  • Default VPC: true

  • VPC: false

If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is private.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

DBClusterIdentifier = ::String

The identifier of the DB cluster that the instance will belong to.

For information on creating a DB cluster, see CreateDBCluster.

Type: String

StorageType = ::String

Specifies the storage type to be associated with the DB instance.

Valid values: standard | gp2 | io1

If you specify io1, you must also include a value for the Iops parameter.

Default: io1 if the Iops parameter is specified; otherwise standard

TdeCredentialArn = ::String

The ARN from the Key Store with which to associate the instance for TDE encryption.

TdeCredentialPassword = ::String

The password for the given ARN from the Key Store in order to access the device.

StorageEncrypted = ::Bool

Specifies whether the DB instance is encrypted.

Amazon Aurora

Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see CreateDBCluster.

Default: false

KmsKeyId = ::String

The KMS key identifier for an encrypted DB instance.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same AWS account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key.

Amazon Aurora

Not applicable. The KMS key identifier is managed by the DB cluster. For more information, see CreateDBCluster.

If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

Domain = ::String

Specify the Active Directory Domain to create the instance in.

CopyTagsToSnapshot = ::Bool

True to copy all tags from the DB instance to snapshots of the DB instance; otherwise false. The default is false.

MonitoringInterval = ::Int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.

If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

MonitoringRoleArn = ::String

The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to Setting Up and Enabling Enhanced Monitoring.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

DomainIAMRoleName = ::String

Specify the name of the IAM role to be used when making API calls to the Directory Service.

PromotionTier = ::Int

A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.

Default: 1

Valid Values: 0 - 15

Timezone = ::String

The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.

EnableIAMDatabaseAuthentication = ::Bool

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false.

You can enable IAM database authentication for the following database engines:

Amazon Aurora

Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster. For more information, see CreateDBCluster.

MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

Default: false

EnablePerformanceInsights = ::Bool

True to enable Performance Insights for the DB instance; otherwise false.

PerformanceInsightsKMSKeyId = ::String

The KMS key identifier for encryption of Performance Insights data. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

Returns

CreateDBInstanceResult

Exceptions

DBInstanceAlreadyExistsFault, InsufficientDBInstanceCapacityFault, DBParameterGroupNotFoundFault, DBSecurityGroupNotFoundFault, InstanceQuotaExceededFault, StorageQuotaExceededFault, DBSubnetGroupNotFoundFault, DBSubnetGroupDoesNotCoverEnoughAZs, InvalidDBClusterStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, ProvisionedIopsNotAvailableInAZFault, OptionGroupNotFoundFault, DBClusterNotFoundFault, StorageTypeNotSupportedFault, AuthorizationNotFoundFault, KMSKeyNotAccessibleFault or DomainNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbinstance_read_replica
create_dbinstance_read_replica([::AWSConfig], arguments::Dict)
create_dbinstance_read_replica([::AWSConfig]; DBInstanceIdentifier=, SourceDBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBInstanceReadReplica", arguments::Dict)
rds([::AWSConfig], "CreateDBInstanceReadReplica", DBInstanceIdentifier=, SourceDBInstanceIdentifier=, <keyword arguments>)

CreateDBInstanceReadReplica Operation

Creates a new DB instance that acts as a Read Replica for an existing source DB instance. You can create a Read Replica for a DB instance running MySQL, MariaDB, or PostgreSQL.

Note

Amazon Aurora does not support this action. You must call the CreateDBInstance action to create a DB instance for an Aurora DB cluster.

All Read Replica DB instances are created as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are inherited from the source DB instance, except as specified below.

Important

The source DB instance must have backup retention enabled.

For more information, see Working with PostgreSQL, MySQL, and MariaDB Read Replicas.

Arguments

DBInstanceIdentifier = ::StringRequired

The DB instance identifier of the Read Replica. This identifier is the unique key that identifies a DB instance. This parameter is stored as a lowercase string.

SourceDBInstanceIdentifier = ::StringRequired

The identifier of the DB instance that will act as the source for the Read Replica. Each DB instance can have up to five Read Replicas.

Constraints:

  • Must be the identifier of an existing MySQL, MariaDB, or PostgreSQL DB instance.

  • Can specify a DB instance that is a MySQL Read Replica only if the source is running MySQL 5.6.

  • Can specify a DB instance that is a PostgreSQL DB instance only if the source is running PostgreSQL 9.3.5 or later (9.4.7 and higher for cross region replication).

  • The specified DB instance must have automatic backups enabled, its backup retention period must be greater than 0.

  • If the source DB instance is in the same AWS Region as the Read Replica, specify a valid DB instance identifier.

  • If the source DB instance is in a different AWS Region than the Read Replica, specify a valid DB instance ARN. For more information, go to Constructing a Amazon RDS Amazon Resource Name (ARN).

DBInstanceClass = ::String

The compute and memory capacity of the Read Replica, for example, db.m4.large. Not all DB instance classes are available in all regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

Default: Inherits from the source DB instance.

AvailabilityZone = ::String

The Amazon EC2 Availability Zone that the Read Replica is created in.

Default: A random, system-chosen Availability Zone in the endpoint's AWS Region.

Example: us-east-1d

Port = ::Int

The port number that the DB instance uses for connections.

Default: Inherits from the source DB instance

Valid Values: 1150-65535

AutoMinorVersionUpgrade = ::Bool

Indicates that minor engine upgrades are applied automatically to the Read Replica during the maintenance window.

Default: Inherits from the source DB instance

Iops = ::Int

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

OptionGroupName = ::String

The option group the DB instance is associated with. If omitted, the default option group for the engine specified is used.

PubliclyAccessible = ::Bool

Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

  • Default VPC:true

  • VPC:false

If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is private.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

DBSubnetGroupName = ::String

Specifies a DB subnet group for the DB instance. The new DB instance is created in the VPC associated with the DB subnet group. If no DB subnet group is specified, then the new DB instance is not created in a VPC.

Constraints:

  • Can only be specified if the source DB instance identifier specifies a DB instance in another AWS Region.

  • If supplied, must match the name of an existing DBSubnetGroup.

  • The specified DB subnet group must be in the same AWS Region in which the operation is running.

  • All Read Replicas in one AWS Region that are created from the same source DB instance must either:>

    • Specify DB subnet groups from the same VPC. All these Read Replicas are created in the same VPC.

    • Not specify a DB subnet group. All these Read Replicas are created outside of any VPC.

Example: mySubnetgroup

StorageType = ::String

Specifies the storage type to be associated with the Read Replica.

Valid values: standard | gp2 | io1

If you specify io1, you must also include a value for the Iops parameter.

Default: io1 if the Iops parameter is specified; otherwise standard

CopyTagsToSnapshot = ::Bool

True to copy all tags from the Read Replica to snapshots of the Read Replica; otherwise false. The default is false.

MonitoringInterval = ::Int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the Read Replica. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.

If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

MonitoringRoleArn = ::String

The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to To create an IAM role for Amazon RDS Enhanced Monitoring.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

KmsKeyId = ::String

The AWS KMS key ID for an encrypted Read Replica. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

If you specify this parameter when you create a Read Replica from an unencrypted DB instance, the Read Replica is encrypted.

If you create an encrypted Read Replica in the same AWS Region as the source DB instance, then you do not have to specify a value for this parameter. The Read Replica is encrypted with the same KMS key as the source DB instance.

If you create an encrypted Read Replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the AWS Region that they are created in, and you cannot use encryption keys from one AWS Region in another AWS Region.

PreSignedUrl = ::String

The URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica API action in the source AWS Region that contains the source DB instance.

You must specify this parameter when you create an encrypted Read Replica from another AWS Region by using the Amazon RDS API. You can specify the source region option instead of this parameter when you create an encrypted Read Replica from another AWS Region by using the AWS CLI.

The presigned URL must be a valid request for the CreateDBInstanceReadReplica API action that can be executed in the source AWS Region that contains the encrypted source DB instance. The presigned URL request must contain the following parameter values:

  • DestinationRegion - The AWS Region that the encrypted Read Replica is created in. This AWS Region is the same one where the CreateDBInstanceReadReplica action is called that contains this presigned URL.

    For example, if you create an encrypted DB instance in the us-west-1 region, from a source DB instance in the us-east-2 region, then you call the CreateDBInstanceReadReplica action in the us-east-1 region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region.

  • KmsKeyId - The KMS key identifier for the key to use to encrypt the Read Replica in the destination AWS Region. This is the same identifier for both the CreateDBInstanceReadReplica action that is called in the destination AWS Region, and the action contained in the presigned URL.

  • SourceDBInstanceIdentifier - The DB instance identifier for the encrypted DB instance to be replicated. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are creating an encrypted Read Replica from a DB instance in the us-west-2 region, then your SourceDBInstanceIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (AWS Signature Version 4) and Signature Version 4 Signing Process.

Note

If you supply a value for this operation's SourceRegion parameter, a pre-signed URL will be calculated on your behalf.

EnableIAMDatabaseAuthentication = ::Bool

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false.

You can enable IAM database authentication for the following database engines

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

  • Aurora 5.6 or higher.

Default: false

EnablePerformanceInsights = ::Bool

True to enable Performance Insights for the read replica; otherwise false.

PerformanceInsightsKMSKeyId = ::String

The KMS key identifier for encryption of Performance Insights data. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

SourceRegion = ::String

The ID of the region that contains the source for the read replica.

Returns

CreateDBInstanceReadReplicaResult

Exceptions

DBInstanceAlreadyExistsFault, InsufficientDBInstanceCapacityFault, DBParameterGroupNotFoundFault, DBSecurityGroupNotFoundFault, InstanceQuotaExceededFault, StorageQuotaExceededFault, DBInstanceNotFoundFault, InvalidDBInstanceStateFault, DBSubnetGroupNotFoundFault, DBSubnetGroupDoesNotCoverEnoughAZs, InvalidSubnet, InvalidVPCNetworkStateFault, ProvisionedIopsNotAvailableInAZFault, OptionGroupNotFoundFault, DBSubnetGroupNotAllowedFault, InvalidDBSubnetGroupFault, StorageTypeNotSupportedFault or KMSKeyNotAccessibleFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbparameter_group
create_dbparameter_group([::AWSConfig], arguments::Dict)
create_dbparameter_group([::AWSConfig]; DBParameterGroupName=, DBParameterGroupFamily=, Description=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBParameterGroup", arguments::Dict)
rds([::AWSConfig], "CreateDBParameterGroup", DBParameterGroupName=, DBParameterGroupFamily=, Description=, <keyword arguments>)

CreateDBParameterGroup Operation

Creates a new DB parameter group.

A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance. When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect.

Important

After you create a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.

Arguments

DBParameterGroupName = ::StringRequired

The name of the DB parameter group.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Note

This value is stored as a lowercase string.

DBParameterGroupFamily = ::StringRequired

The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.

Description = ::StringRequired

The description for the DB parameter group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBParameterGroupResult

Exceptions

DBParameterGroupQuotaExceededFault or DBParameterGroupAlreadyExistsFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbsecurity_group
create_dbsecurity_group([::AWSConfig], arguments::Dict)
create_dbsecurity_group([::AWSConfig]; DBSecurityGroupName=, DBSecurityGroupDescription=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBSecurityGroup", arguments::Dict)
rds([::AWSConfig], "CreateDBSecurityGroup", DBSecurityGroupName=, DBSecurityGroupDescription=, <keyword arguments>)

CreateDBSecurityGroup Operation

Creates a new DB security group. DB security groups control access to a DB instance.

Arguments

DBSecurityGroupName = ::StringRequired

The name for the DB security group. This value is stored as a lowercase string.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Example: mysecuritygroup

DBSecurityGroupDescription = ::StringRequired

The description for the DB security group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBSecurityGroupResult

Exceptions

DBSecurityGroupAlreadyExistsFault, DBSecurityGroupQuotaExceededFault or DBSecurityGroupNotSupportedFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbsnapshot
create_dbsnapshot([::AWSConfig], arguments::Dict)
create_dbsnapshot([::AWSConfig]; DBSnapshotIdentifier=, DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBSnapshot", arguments::Dict)
rds([::AWSConfig], "CreateDBSnapshot", DBSnapshotIdentifier=, DBInstanceIdentifier=, <keyword arguments>)

CreateDBSnapshot Operation

Creates a DBSnapshot. The source DBInstance must be in "available" state.

Arguments

DBSnapshotIdentifier = ::StringRequired

The identifier for the DB snapshot.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

DBInstanceIdentifier = ::StringRequired

The identifier of the DB instance that you want to create the snapshot of.

Constraints:

  • Must match the identifier of an existing DBInstance.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBSnapshotResult

Exceptions

DBSnapshotAlreadyExistsFault, InvalidDBInstanceStateFault, DBInstanceNotFoundFault or SnapshotQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_dbsubnet_group
create_dbsubnet_group([::AWSConfig], arguments::Dict)
create_dbsubnet_group([::AWSConfig]; DBSubnetGroupName=, DBSubnetGroupDescription=, SubnetIds=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateDBSubnetGroup", arguments::Dict)
rds([::AWSConfig], "CreateDBSubnetGroup", DBSubnetGroupName=, DBSubnetGroupDescription=, SubnetIds=, <keyword arguments>)

CreateDBSubnetGroup Operation

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

Arguments

DBSubnetGroupName = ::StringRequired

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

DBSubnetGroupDescription = ::StringRequired

The description for the DB subnet group.

SubnetIds = [::String, ...]Required

The EC2 Subnet IDs for the DB subnet group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateDBSubnetGroupResult

Exceptions

DBSubnetGroupAlreadyExistsFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBSubnetGroupDoesNotCoverEnoughAZs or InvalidSubnet.

See also: AWS API Documentation

using AWSSDK.RDS.create_event_subscription
create_event_subscription([::AWSConfig], arguments::Dict)
create_event_subscription([::AWSConfig]; SubscriptionName=, SnsTopicArn=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateEventSubscription", arguments::Dict)
rds([::AWSConfig], "CreateEventSubscription", SubscriptionName=, SnsTopicArn=, <keyword arguments>)

CreateEventSubscription Operation

Creates an RDS event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.

You can specify the type of source (SourceType) you want to be notified of, provide a list of RDS sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.

If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your RDS sources. If you do not specify either the SourceType nor the SourceIdentifier, you are notified of events generated from all RDS sources belonging to your customer account.

Arguments

SubscriptionName = ::StringRequired

The name of the subscription.

Constraints: The name must be less than 255 characters.

SnsTopicArn = ::StringRequired

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

SourceType = ::String

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

EventCategories = [::String, ...]

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.

SourceIds = [::String, ...]

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Enabled = ::Bool

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateEventSubscriptionResult

Exceptions

EventSubscriptionQuotaExceededFault, SubscriptionAlreadyExistFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SubscriptionCategoryNotFoundFault or SourceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.create_option_group
create_option_group([::AWSConfig], arguments::Dict)
create_option_group([::AWSConfig]; OptionGroupName=, EngineName=, MajorEngineVersion=, OptionGroupDescription=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "CreateOptionGroup", arguments::Dict)
rds([::AWSConfig], "CreateOptionGroup", OptionGroupName=, EngineName=, MajorEngineVersion=, OptionGroupDescription=, <keyword arguments>)

CreateOptionGroup Operation

Creates a new option group. You can create up to 20 option groups.

Arguments

OptionGroupName = ::StringRequired

Specifies the name of the option group to be created.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: myoptiongroup

EngineName = ::StringRequired

Specifies the name of the engine that this option group should be associated with.

MajorEngineVersion = ::StringRequired

Specifies the major version of the engine that this option group should be associated with.

OptionGroupDescription = ::StringRequired

The description of the option group.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

CreateOptionGroupResult

Exceptions

OptionGroupAlreadyExistsFault or OptionGroupQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbcluster
delete_dbcluster([::AWSConfig], arguments::Dict)
delete_dbcluster([::AWSConfig]; DBClusterIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBCluster", arguments::Dict)
rds([::AWSConfig], "DeleteDBCluster", DBClusterIdentifier=, <keyword arguments>)

DeleteDBCluster Operation

The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::StringRequired

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing DBClusterIdentifier.

SkipFinalSnapshot = ::Bool

Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted.

Note

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

Default: false

FinalDBSnapshotIdentifier = ::String

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Note

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Returns

DeleteDBClusterResult

Exceptions

DBClusterNotFoundFault, InvalidDBClusterStateFault, DBClusterSnapshotAlreadyExistsFault, SnapshotQuotaExceededFault or InvalidDBClusterSnapshotStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbcluster_parameter_group
delete_dbcluster_parameter_group([::AWSConfig], arguments::Dict)
delete_dbcluster_parameter_group([::AWSConfig]; DBClusterParameterGroupName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBClusterParameterGroup", arguments::Dict)
rds([::AWSConfig], "DeleteDBClusterParameterGroup", DBClusterParameterGroupName=)

DeleteDBClusterParameterGroup Operation

Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted cannot be associated with any DB clusters.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterParameterGroupName = ::StringRequired

The name of the DB cluster parameter group.

Constraints:

  • Must be the name of an existing DB cluster parameter group.

  • You cannot delete a default DB cluster parameter group.

  • Cannot be associated with any DB clusters.

Exceptions

InvalidDBParameterGroupStateFault or DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbcluster_snapshot
delete_dbcluster_snapshot([::AWSConfig], arguments::Dict)
delete_dbcluster_snapshot([::AWSConfig]; DBClusterSnapshotIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBClusterSnapshot", arguments::Dict)
rds([::AWSConfig], "DeleteDBClusterSnapshot", DBClusterSnapshotIdentifier=)

DeleteDBClusterSnapshot Operation

Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

Note

The DB cluster snapshot must be in the available state to be deleted.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterSnapshotIdentifier = ::StringRequired

The identifier of the DB cluster snapshot to delete.

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

Returns

DeleteDBClusterSnapshotResult

Exceptions

InvalidDBClusterSnapshotStateFault or DBClusterSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbinstance
delete_dbinstance([::AWSConfig], arguments::Dict)
delete_dbinstance([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBInstance", arguments::Dict)
rds([::AWSConfig], "DeleteDBInstance", DBInstanceIdentifier=, <keyword arguments>)

DeleteDBInstance Operation

The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and cannot be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted.

If you request a final DB snapshot the status of the Amazon RDS DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action cannot be canceled or reverted once submitted.

Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true.

If the specified DB instance is part of an Amazon Aurora DB cluster, you cannot delete the DB instance if both of the following conditions are true:

  • The DB cluster is a Read Replica of another Amazon Aurora DB cluster.

  • The DB instance is the only instance in the DB cluster.

To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster API action to promote the DB cluster so it's no longer a Read Replica. After the promotion completes, then call the DeleteDBInstance API action to delete the final instance in the DB cluster.

Arguments

DBInstanceIdentifier = ::StringRequired

The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match the name of an existing DB instance.

SkipFinalSnapshot = ::Bool

Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted.

Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".

Specify true when deleting a Read Replica.

Note

The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is false.

Default: false

FinalDBSnapshotIdentifier = ::String

The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false.

Note

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters or numbers.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Cannot be specified when deleting a Read Replica.

Returns

DeleteDBInstanceResult

Exceptions

DBInstanceNotFoundFault, InvalidDBInstanceStateFault, DBSnapshotAlreadyExistsFault, SnapshotQuotaExceededFault or InvalidDBClusterStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbparameter_group
delete_dbparameter_group([::AWSConfig], arguments::Dict)
delete_dbparameter_group([::AWSConfig]; DBParameterGroupName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBParameterGroup", arguments::Dict)
rds([::AWSConfig], "DeleteDBParameterGroup", DBParameterGroupName=)

DeleteDBParameterGroup Operation

Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted cannot be associated with any DB instances.

Arguments

DBParameterGroupName = ::StringRequired

The name of the DB parameter group.

Constraints:

  • Must be the name of an existing DB parameter group

  • You cannot delete a default DB parameter group

  • Cannot be associated with any DB instances

Exceptions

InvalidDBParameterGroupStateFault or DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbsecurity_group
delete_dbsecurity_group([::AWSConfig], arguments::Dict)
delete_dbsecurity_group([::AWSConfig]; DBSecurityGroupName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBSecurityGroup", arguments::Dict)
rds([::AWSConfig], "DeleteDBSecurityGroup", DBSecurityGroupName=)

DeleteDBSecurityGroup Operation

Deletes a DB security group.

Note

The specified DB security group must not be associated with any DB instances.

Arguments

DBSecurityGroupName = ::StringRequired

The name of the DB security group to delete.

Note

You cannot delete the default DB security group.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Must not be "Default"

Exceptions

InvalidDBSecurityGroupStateFault or DBSecurityGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbsnapshot
delete_dbsnapshot([::AWSConfig], arguments::Dict)
delete_dbsnapshot([::AWSConfig]; DBSnapshotIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBSnapshot", arguments::Dict)
rds([::AWSConfig], "DeleteDBSnapshot", DBSnapshotIdentifier=)

DeleteDBSnapshot Operation

Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.

Note

The DBSnapshot must be in the available state to be deleted.

Arguments

DBSnapshotIdentifier = ::StringRequired

The DBSnapshot identifier.

Constraints: Must be the name of an existing DB snapshot in the available state.

Returns

DeleteDBSnapshotResult

Exceptions

InvalidDBSnapshotStateFault or DBSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_dbsubnet_group
delete_dbsubnet_group([::AWSConfig], arguments::Dict)
delete_dbsubnet_group([::AWSConfig]; DBSubnetGroupName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteDBSubnetGroup", arguments::Dict)
rds([::AWSConfig], "DeleteDBSubnetGroup", DBSubnetGroupName=)

DeleteDBSubnetGroup Operation

Deletes a DB subnet group.

Note

The specified database subnet group must not be associated with any DB instances.

Arguments

DBSubnetGroupName = ::StringRequired

The name of the database subnet group to delete.

Note

You cannot delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Exceptions

InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault or DBSubnetGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_event_subscription
delete_event_subscription([::AWSConfig], arguments::Dict)
delete_event_subscription([::AWSConfig]; SubscriptionName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteEventSubscription", arguments::Dict)
rds([::AWSConfig], "DeleteEventSubscription", SubscriptionName=)

DeleteEventSubscription Operation

Deletes an RDS event notification subscription.

Arguments

SubscriptionName = ::StringRequired

The name of the RDS event notification subscription you want to delete.

Returns

DeleteEventSubscriptionResult

Exceptions

SubscriptionNotFoundFault or InvalidEventSubscriptionStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.delete_option_group
delete_option_group([::AWSConfig], arguments::Dict)
delete_option_group([::AWSConfig]; OptionGroupName=)

using AWSCore.Services.rds
rds([::AWSConfig], "DeleteOptionGroup", arguments::Dict)
rds([::AWSConfig], "DeleteOptionGroup", OptionGroupName=)

DeleteOptionGroup Operation

Deletes an existing option group.

Arguments

OptionGroupName = ::StringRequired

The name of the option group to be deleted.

Note

You cannot delete default option groups.

Exceptions

OptionGroupNotFoundFault or InvalidOptionGroupStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_account_attributes
describe_account_attributes([::AWSConfig], arguments::Dict)
describe_account_attributes([::AWSConfig]; )

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeAccountAttributes", arguments::Dict)
rds([::AWSConfig], "DescribeAccountAttributes", )

DescribeAccountAttributes Operation

Lists all of the attributes for a customer account. The attributes include Amazon RDS quotas for the account, such as the number of DB instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.

This command does not take any parameters.

Arguments

Returns

AccountAttributesMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_certificates
describe_certificates([::AWSConfig], arguments::Dict)
describe_certificates([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeCertificates", arguments::Dict)
rds([::AWSConfig], "DescribeCertificates", <keyword arguments>)

DescribeCertificates Operation

Lists the set of CA certificates provided by Amazon RDS for this AWS account.

Arguments

CertificateIdentifier = ::String

The user-supplied certificate identifier. If this parameter is specified, information for only the identified certificate is returned. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing CertificateIdentifier.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeCertificates request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

CertificateMessage

Exceptions

CertificateNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbcluster_parameter_groups
describe_dbcluster_parameter_groups([::AWSConfig], arguments::Dict)
describe_dbcluster_parameter_groups([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBClusterParameterGroups", arguments::Dict)
rds([::AWSConfig], "DescribeDBClusterParameterGroups", <keyword arguments>)

DescribeDBClusterParameterGroups Operation

Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description of the specified DB cluster parameter group.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterParameterGroupName = ::String

The name of a specific DB cluster parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBClusterParameterGroupsMessage

Exceptions

DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbcluster_parameters
describe_dbcluster_parameters([::AWSConfig], arguments::Dict)
describe_dbcluster_parameters([::AWSConfig]; DBClusterParameterGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBClusterParameters", arguments::Dict)
rds([::AWSConfig], "DescribeDBClusterParameters", DBClusterParameterGroupName=, <keyword arguments>)

DescribeDBClusterParameters Operation

Returns the detailed parameter list for a particular DB cluster parameter group.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterParameterGroupName = ::StringRequired

The name of a specific DB cluster parameter group to return parameter details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Source = ::String

A value that indicates to return only parameters for a specific source. Parameter sources can be engine, service, or customer.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBClusterParameterGroupDetails

Exceptions

DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbcluster_snapshot_attributes
describe_dbcluster_snapshot_attributes([::AWSConfig], arguments::Dict)
describe_dbcluster_snapshot_attributes([::AWSConfig]; DBClusterSnapshotIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBClusterSnapshotAttributes", arguments::Dict)
rds([::AWSConfig], "DescribeDBClusterSnapshotAttributes", DBClusterSnapshotIdentifier=)

DescribeDBClusterSnapshotAttributes Operation

Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.

When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.

To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.

Arguments

DBClusterSnapshotIdentifier = ::StringRequired

The identifier for the DB cluster snapshot to describe the attributes for.

Returns

DescribeDBClusterSnapshotAttributesResult

Exceptions

DBClusterSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbcluster_snapshots
describe_dbcluster_snapshots([::AWSConfig], arguments::Dict)
describe_dbcluster_snapshots([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBClusterSnapshots", arguments::Dict)
rds([::AWSConfig], "DescribeDBClusterSnapshots", <keyword arguments>)

DescribeDBClusterSnapshots Operation

Returns information about DB cluster snapshots. This API action supports pagination.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::String

The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier parameter. This parameter is not case-sensitive.

Constraints:

  • If supplied, must match the identifier of an existing DBCluster.

DBClusterSnapshotIdentifier = ::String

A specific DB cluster snapshot identifier to describe. This parameter cannot be used in conjunction with the DBClusterIdentifier parameter. This value is stored as a lowercase string.

Constraints:

  • If supplied, must match the identifier of an existing DBClusterSnapshot.

  • If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified.

SnapshotType = ::String

The type of DB cluster snapshots to be returned. You can specify one of the following values:

  • automated - Return all DB cluster snapshots that have been automatically taken by Amazon RDS for my AWS account.

  • manual - Return all DB cluster snapshots that have been taken by my AWS account.

  • shared - Return all manual DB cluster snapshots that have been shared to my AWS account.

  • public - Return all DB cluster snapshots that have been marked as public.

If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

IncludeShared = ::Bool

Set this value to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is false.

You can give an AWS account permission to restore a manual DB cluster snapshot from another AWS account by the ModifyDBClusterSnapshotAttribute API action.

IncludePublic = ::Bool

Set this value to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is false. The default is false.

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

Returns

DBClusterSnapshotMessage

Exceptions

DBClusterSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbclusters
describe_dbclusters([::AWSConfig], arguments::Dict)
describe_dbclusters([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBClusters", arguments::Dict)
rds([::AWSConfig], "DescribeDBClusters", <keyword arguments>)

DescribeDBClusters Operation

Returns information about provisioned Aurora DB clusters. This API supports pagination.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::String

The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive.

Constraints:

  • If supplied, must match an existing DBClusterIdentifier.

Filters = [[ ... ], ...]

A filter that specifies one or more DB clusters to describe.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBClusterMessage

Exceptions

DBClusterNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbengine_versions
describe_dbengine_versions([::AWSConfig], arguments::Dict)
describe_dbengine_versions([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBEngineVersions", arguments::Dict)
rds([::AWSConfig], "DescribeDBEngineVersions", <keyword arguments>)

DescribeDBEngineVersions Operation

Returns a list of the available DB engines.

Arguments

Engine = ::String

The database engine to return.

EngineVersion = ::String

The database engine version to return.

Example: 5.1.49

DBParameterGroupFamily = ::String

The name of a specific DB parameter group family to return details for.

Constraints:

  • If supplied, must match an existing DBParameterGroupFamily.

Filters = [[ ... ], ...]

Not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DefaultOnly = ::Bool

Indicates that only the default version of the specified engine or engine and major version combination is returned.

ListSupportedCharacterSets = ::Bool

If this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.

ListSupportedTimezones = ::Bool

If this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version.

Returns

DBEngineVersionMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbinstances
describe_dbinstances([::AWSConfig], arguments::Dict)
describe_dbinstances([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBInstances", arguments::Dict)
rds([::AWSConfig], "DescribeDBInstances", <keyword arguments>)

DescribeDBInstances Operation

Returns information about provisioned RDS instances. This API supports pagination.

Arguments

DBInstanceIdentifier = ::String

The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

Constraints:

  • If supplied, must match the identifier of an existing DBInstance.

Filters = [[ ... ], ...]

A filter that specifies one or more DB instances to describe.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB Clusters identified by these ARNs.

  • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBInstanceMessage

Exceptions

DBInstanceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dblog_files
describe_dblog_files([::AWSConfig], arguments::Dict)
describe_dblog_files([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBLogFiles", arguments::Dict)
rds([::AWSConfig], "DescribeDBLogFiles", DBInstanceIdentifier=, <keyword arguments>)

DescribeDBLogFiles Operation

Returns a list of DB log files for the DB instance.

Arguments

DBInstanceIdentifier = ::StringRequired

The customer-assigned name of the DB instance that contains the log files you want to list.

Constraints:

  • Must match the identifier of an existing DBInstance.

FilenameContains = ::String

Filters the available log files for log file names that contain the specified string.

FileLastWritten = ::Int

Filters the available log files for files written since the specified date, in POSIX timestamp format with milliseconds.

FileSize = ::Int

Filters the available log files for files larger than the specified size.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Marker = ::String

The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

Returns

DescribeDBLogFilesResponse

Exceptions

DBInstanceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbparameter_groups
describe_dbparameter_groups([::AWSConfig], arguments::Dict)
describe_dbparameter_groups([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBParameterGroups", arguments::Dict)
rds([::AWSConfig], "DescribeDBParameterGroups", <keyword arguments>)

DescribeDBParameterGroups Operation

Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group.

Arguments

DBParameterGroupName = ::String

The name of a specific DB parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBParameterGroupsMessage

Exceptions

DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbparameters
describe_dbparameters([::AWSConfig], arguments::Dict)
describe_dbparameters([::AWSConfig]; DBParameterGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBParameters", arguments::Dict)
rds([::AWSConfig], "DescribeDBParameters", DBParameterGroupName=, <keyword arguments>)

DescribeDBParameters Operation

Returns the detailed parameter list for a particular DB parameter group.

Arguments

DBParameterGroupName = ::StringRequired

The name of a specific DB parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBParameterGroup.

Source = ::String

The parameter types to return.

Default: All parameter types returned

Valid Values: user | system | engine-default

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBParameterGroupDetails

Exceptions

DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbsecurity_groups
describe_dbsecurity_groups([::AWSConfig], arguments::Dict)
describe_dbsecurity_groups([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBSecurityGroups", arguments::Dict)
rds([::AWSConfig], "DescribeDBSecurityGroups", <keyword arguments>)

DescribeDBSecurityGroups Operation

Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group.

Arguments

DBSecurityGroupName = ::String

The name of the DB security group to return details for.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBSecurityGroupMessage

Exceptions

DBSecurityGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbsnapshot_attributes
describe_dbsnapshot_attributes([::AWSConfig], arguments::Dict)
describe_dbsnapshot_attributes([::AWSConfig]; DBSnapshotIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBSnapshotAttributes", arguments::Dict)
rds([::AWSConfig], "DescribeDBSnapshotAttributes", DBSnapshotIdentifier=)

DescribeDBSnapshotAttributes Operation

Returns a list of DB snapshot attribute names and values for a manual DB snapshot.

When sharing snapshots with other AWS accounts, DescribeDBSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB snapshot. If all is included in the list of values for the restore attribute, then the manual DB snapshot is public and can be copied or restored by all AWS accounts.

To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action.

Arguments

DBSnapshotIdentifier = ::StringRequired

The identifier for the DB snapshot to describe the attributes for.

Returns

DescribeDBSnapshotAttributesResult

Exceptions

DBSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbsnapshots
describe_dbsnapshots([::AWSConfig], arguments::Dict)
describe_dbsnapshots([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBSnapshots", arguments::Dict)
rds([::AWSConfig], "DescribeDBSnapshots", <keyword arguments>)

DescribeDBSnapshots Operation

Returns information about DB snapshots. This API action supports pagination.

Arguments

DBInstanceIdentifier = ::String

The ID of the DB instance to retrieve the list of DB snapshots for. This parameter cannot be used in conjunction with DBSnapshotIdentifier. This parameter is not case-sensitive.

Constraints:

  • If supplied, must match the identifier of an existing DBInstance.

DBSnapshotIdentifier = ::String

A specific DB snapshot identifier to describe. This parameter cannot be used in conjunction with DBInstanceIdentifier. This value is stored as a lowercase string.

Constraints:

  • If supplied, must match the identifier of an existing DBSnapshot.

  • If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified.

SnapshotType = ::String

The type of snapshots to be returned. You can specify one of the following values:

  • automated - Return all DB snapshots that have been automatically taken by Amazon RDS for my AWS account.

  • manual - Return all DB snapshots that have been taken by my AWS account.

  • shared - Return all manual DB snapshots that have been shared to my AWS account.

  • public - Return all DB snapshots that have been marked as public.

If you don't specify a SnapshotType value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not included in the returned results by default. You can include shared snapshots with these results by setting the IncludeShared parameter to true. You can include public snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

IncludeShared = ::Bool

Set this value to true to include shared manual DB snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is false.

You can give an AWS account permission to restore a manual DB snapshot from another AWS account by using the ModifyDBSnapshotAttribute API action.

IncludePublic = ::Bool

Set this value to true to include manual DB snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is false.

You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute API.

Returns

DBSnapshotMessage

Exceptions

DBSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_dbsubnet_groups
describe_dbsubnet_groups([::AWSConfig], arguments::Dict)
describe_dbsubnet_groups([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeDBSubnetGroups", arguments::Dict)
rds([::AWSConfig], "DescribeDBSubnetGroups", <keyword arguments>)

DescribeDBSubnetGroups Operation

Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.

For an overview of CIDR ranges, go to the Wikipedia Tutorial.

Arguments

DBSubnetGroupName = ::String

The name of the DB subnet group to return details for.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DBSubnetGroupMessage

Exceptions

DBSubnetGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_engine_default_cluster_parameters
describe_engine_default_cluster_parameters([::AWSConfig], arguments::Dict)
describe_engine_default_cluster_parameters([::AWSConfig]; DBParameterGroupFamily=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeEngineDefaultClusterParameters", arguments::Dict)
rds([::AWSConfig], "DescribeEngineDefaultClusterParameters", DBParameterGroupFamily=, <keyword arguments>)

DescribeEngineDefaultClusterParameters Operation

Returns the default engine and system parameter information for the cluster database engine.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBParameterGroupFamily = ::StringRequired

The name of the DB cluster parameter group family to return engine parameter information for.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DescribeEngineDefaultClusterParametersResult

See also: AWS API Documentation

using AWSSDK.RDS.describe_engine_default_parameters
describe_engine_default_parameters([::AWSConfig], arguments::Dict)
describe_engine_default_parameters([::AWSConfig]; DBParameterGroupFamily=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeEngineDefaultParameters", arguments::Dict)
rds([::AWSConfig], "DescribeEngineDefaultParameters", DBParameterGroupFamily=, <keyword arguments>)

DescribeEngineDefaultParameters Operation

Returns the default engine and system parameter information for the specified database engine.

Arguments

DBParameterGroupFamily = ::StringRequired

The name of the DB parameter group family.

Filters = [[ ... ], ...]

Not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

DescribeEngineDefaultParametersResult

See also: AWS API Documentation

using AWSSDK.RDS.describe_event_categories
describe_event_categories([::AWSConfig], arguments::Dict)
describe_event_categories([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeEventCategories", arguments::Dict)
rds([::AWSConfig], "DescribeEventCategories", <keyword arguments>)

DescribeEventCategories Operation

Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in the Events topic in the Amazon RDS User Guide.

Arguments

SourceType = ::String

The type of source that is generating the events.

Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

Returns

EventCategoriesMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_event_subscriptions
describe_event_subscriptions([::AWSConfig], arguments::Dict)
describe_event_subscriptions([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeEventSubscriptions", arguments::Dict)
rds([::AWSConfig], "DescribeEventSubscriptions", <keyword arguments>)

DescribeEventSubscriptions Operation

Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

If you specify a SubscriptionName, lists the description for that subscription.

Arguments

SubscriptionName = ::String

The name of the RDS event notification subscription you want to describe.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Returns

EventSubscriptionsMessage

Exceptions

SubscriptionNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_events
describe_events([::AWSConfig], arguments::Dict)
describe_events([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeEvents", arguments::Dict)
rds([::AWSConfig], "DescribeEvents", <keyword arguments>)

DescribeEvents Operation

Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

Arguments

SourceIdentifier = ::String

The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.

Constraints:

  • If SourceIdentifier is supplied, SourceType must also be provided.

  • If the source type is DBInstance, then a DBInstanceIdentifier must be supplied.

  • If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.

  • If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.

  • If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.

  • Cannot end with a hyphen or contain two consecutive hyphens.

SourceType = "db-instance", "db-parameter-group", "db-security-group", "db-snapshot", "db-cluster" or "db-cluster-snapshot"

The event source to retrieve events for. If no value is specified, all events are returned.

StartTime = timestamp

The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

EndTime = timestamp

The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

Duration = ::Int

The number of minutes to retrieve events for.

Default: 60

EventCategories = [::String, ...]

A list of event categories that trigger notifications for a event notification subscription.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

EventsMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_option_group_options
describe_option_group_options([::AWSConfig], arguments::Dict)
describe_option_group_options([::AWSConfig]; EngineName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeOptionGroupOptions", arguments::Dict)
rds([::AWSConfig], "DescribeOptionGroupOptions", EngineName=, <keyword arguments>)

DescribeOptionGroupOptions Operation

Describes all available options.

Arguments

EngineName = ::StringRequired

A required parameter. Options available for the given engine name are described.

MajorEngineVersion = ::String

If specified, filters the results to include only options for the specified major engine version.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

OptionGroupOptionsMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_option_groups
describe_option_groups([::AWSConfig], arguments::Dict)
describe_option_groups([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeOptionGroups", arguments::Dict)
rds([::AWSConfig], "DescribeOptionGroups", <keyword arguments>)

DescribeOptionGroups Operation

Describes the available option groups.

Arguments

OptionGroupName = ::String

The name of the option group to describe. Cannot be supplied together with EngineName or MajorEngineVersion.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

Marker = ::String

An optional pagination token provided by a previous DescribeOptionGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

EngineName = ::String

Filters the list of option groups to only include groups associated with a specific database engine.

MajorEngineVersion = ::String

Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.

Returns

OptionGroups

Exceptions

OptionGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_orderable_dbinstance_options
describe_orderable_dbinstance_options([::AWSConfig], arguments::Dict)
describe_orderable_dbinstance_options([::AWSConfig]; Engine=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeOrderableDBInstanceOptions", arguments::Dict)
rds([::AWSConfig], "DescribeOrderableDBInstanceOptions", Engine=, <keyword arguments>)

DescribeOrderableDBInstanceOptions Operation

Returns a list of orderable DB instance options for the specified engine.

Arguments

Engine = ::StringRequired

The name of the engine to retrieve DB instance options for.

EngineVersion = ::String

The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.

DBInstanceClass = ::String

The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.

LicenseModel = ::String

The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.

Vpc = ::Bool

The VPC filter value. Specify this parameter to show only the available VPC or non-VPC offerings.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Returns

OrderableDBInstanceOptionsMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_pending_maintenance_actions
describe_pending_maintenance_actions([::AWSConfig], arguments::Dict)
describe_pending_maintenance_actions([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribePendingMaintenanceActions", arguments::Dict)
rds([::AWSConfig], "DescribePendingMaintenanceActions", <keyword arguments>)

DescribePendingMaintenanceActions Operation

Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

Arguments

ResourceIdentifier = ::String

The ARN of a resource to return pending maintenance actions for.

Filters = [[ ... ], ...]

A filter that specifies one or more resources to return pending maintenance actions for.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs.

  • db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

Marker = ::String

An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords.

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Returns

PendingMaintenanceActionsMessage

Exceptions

ResourceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_reserved_dbinstances
describe_reserved_dbinstances([::AWSConfig], arguments::Dict)
describe_reserved_dbinstances([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeReservedDBInstances", arguments::Dict)
rds([::AWSConfig], "DescribeReservedDBInstances", <keyword arguments>)

DescribeReservedDBInstances Operation

Returns information about reserved DB instances for this account, or about a specified reserved DB instance.

Arguments

ReservedDBInstanceId = ::String

The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.

ReservedDBInstancesOfferingId = ::String

The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.

DBInstanceClass = ::String

The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.

Duration = ::String

The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

Valid Values: 1 | 3 | 31536000 | 94608000

ProductDescription = ::String

The product description filter value. Specify this parameter to show only those reservations matching the specified product description.

OfferingType = ::String

The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"

MultiAZ = ::Bool

The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

ReservedDBInstanceMessage

Exceptions

ReservedDBInstanceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_reserved_dbinstances_offerings
describe_reserved_dbinstances_offerings([::AWSConfig], arguments::Dict)
describe_reserved_dbinstances_offerings([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeReservedDBInstancesOfferings", arguments::Dict)
rds([::AWSConfig], "DescribeReservedDBInstancesOfferings", <keyword arguments>)

DescribeReservedDBInstancesOfferings Operation

Lists available reserved DB instance offerings.

Arguments

ReservedDBInstancesOfferingId = ::String

The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

DBInstanceClass = ::String

The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.

Duration = ::String

Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

Valid Values: 1 | 3 | 31536000 | 94608000

ProductDescription = ::String

Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

OfferingType = ::String

The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"

MultiAZ = ::Bool

The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

MaxRecords = ::Int

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns

ReservedDBInstancesOfferingMessage

Exceptions

ReservedDBInstancesOfferingNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.describe_source_regions
describe_source_regions([::AWSConfig], arguments::Dict)
describe_source_regions([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeSourceRegions", arguments::Dict)
rds([::AWSConfig], "DescribeSourceRegions", <keyword arguments>)

DescribeSourceRegions Operation

Returns a list of the source AWS regions where the current AWS Region can create a Read Replica or copy a DB snapshot from. This API action supports pagination.

Arguments

RegionName = ::String

The source AWS Region name. For example, us-east-1.

Constraints:

  • Must specify a valid AWS Region name.

MaxRecords = ::Int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Marker = ::String

An optional pagination token provided by a previous DescribeSourceRegions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

Returns

SourceRegionMessage

See also: AWS API Documentation

using AWSSDK.RDS.describe_valid_dbinstance_modifications
describe_valid_dbinstance_modifications([::AWSConfig], arguments::Dict)
describe_valid_dbinstance_modifications([::AWSConfig]; DBInstanceIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "DescribeValidDBInstanceModifications", arguments::Dict)
rds([::AWSConfig], "DescribeValidDBInstanceModifications", DBInstanceIdentifier=)

DescribeValidDBInstanceModifications Operation

You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB instance. You can use this information when you call ModifyDBInstance.

Arguments

DBInstanceIdentifier = ::StringRequired

The customer identifier or the ARN of your DB instance.

Returns

DescribeValidDBInstanceModificationsResult

Exceptions

DBInstanceNotFoundFault or InvalidDBInstanceStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.download_dblog_file_portion
download_dblog_file_portion([::AWSConfig], arguments::Dict)
download_dblog_file_portion([::AWSConfig]; DBInstanceIdentifier=, LogFileName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "DownloadDBLogFilePortion", arguments::Dict)
rds([::AWSConfig], "DownloadDBLogFilePortion", DBInstanceIdentifier=, LogFileName=, <keyword arguments>)

DownloadDBLogFilePortion Operation

Downloads all or a portion of the specified log file, up to 1 MB in size.

Arguments

DBInstanceIdentifier = ::StringRequired

The customer-assigned name of the DB instance that contains the log files you want to list.

Constraints:

  • Must match the identifier of an existing DBInstance.

LogFileName = ::StringRequired

The name of the log file to be downloaded.

Marker = ::String

The pagination token provided in the previous request or "0". If the Marker parameter is specified the response includes only records beyond the marker until the end of the file or up to NumberOfLines.

NumberOfLines = ::Int

The number of lines to download. If the number of lines specified results in a file over 1 MB in size, the file is truncated at 1 MB in size.

If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.

  • If neither Marker or NumberOfLines are specified, the entire log file is returned up to a maximum of 10000 lines, starting with the most recent log entries first.

  • If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.

  • If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.

  • You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.

Returns

DownloadDBLogFilePortionDetails

Exceptions

DBInstanceNotFoundFault or DBLogFileNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.failover_dbcluster
failover_dbcluster([::AWSConfig], arguments::Dict)
failover_dbcluster([::AWSConfig]; <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "FailoverDBCluster", arguments::Dict)
rds([::AWSConfig], "FailoverDBCluster", <keyword arguments>)

FailoverDBCluster Operation

Forces a failover for a DB cluster.

A failover for a DB cluster promotes one of the Aurora Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).

Amazon Aurora will automatically fail over to an Aurora Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::String

A DB cluster identifier to force a failover for. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

TargetDBInstanceIdentifier = ::String

The name of the instance to promote to the primary instance.

You must specify the instance identifier for an Aurora Replica in the DB cluster. For example, mydbcluster-replica1.

Returns

FailoverDBClusterResult

Exceptions

DBClusterNotFoundFault, InvalidDBClusterStateFault or InvalidDBInstanceStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.list_tags_for_resource
list_tags_for_resource([::AWSConfig], arguments::Dict)
list_tags_for_resource([::AWSConfig]; ResourceName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ListTagsForResource", arguments::Dict)
rds([::AWSConfig], "ListTagsForResource", ResourceName=, <keyword arguments>)

ListTagsForResource Operation

Lists all tags on an Amazon RDS resource.

For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources.

Arguments

ResourceName = ::StringRequired

The Amazon RDS resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Filters = [[ ... ], ...]

This parameter is not currently supported.

 Filters = [[
        "Name" => <required> ::String,
        "Values" => <required> [::String, ...]
    ], ...]

Returns

TagListMessage

Exceptions

DBInstanceNotFoundFault, DBSnapshotNotFoundFault or DBClusterNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbcluster
modify_dbcluster([::AWSConfig], arguments::Dict)
modify_dbcluster([::AWSConfig]; DBClusterIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBCluster", arguments::Dict)
rds([::AWSConfig], "ModifyDBCluster", DBClusterIdentifier=, <keyword arguments>)

ModifyDBCluster Operation

Modify a setting for an Amazon Aurora DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::StringRequired

The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

NewDBClusterIdentifier = ::String

The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • The first character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-cluster2

ApplyImmediately = ::Bool

A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window.

The ApplyImmediately parameter only affects the NewDBClusterIdentifier and MasterUserPassword values. If you set the ApplyImmediately parameter value to false, then changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter.

Default: false

BackupRetentionPeriod = ::Int

The number of days for which automated backups are retained. You must specify a minimum value of 1.

Default: 1

Constraints:

  • Must be a value from 1 to 35

DBClusterParameterGroupName = ::String

The name of the DB cluster parameter group to use for the DB cluster.

VpcSecurityGroupIds = [::String, ...]

A list of VPC security groups that the DB cluster will belong to.

Port = ::Int

The port number on which the DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

MasterUserPassword = ::String

The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".

Constraints: Must contain from 8 to 41 characters.

OptionGroupName = ::String

A value that indicates that the DB cluster should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case, and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.

Permanent options cannot be removed from an option group. The option group cannot be removed from a DB cluster once it is associated with a DB cluster.

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Times should be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

PreferredMaintenanceWindow = ::String

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

EnableIAMDatabaseAuthentication = ::Bool

A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

Returns

ModifyDBClusterResult

Exceptions

DBClusterNotFoundFault, InvalidDBClusterStateFault, StorageQuotaExceededFault, DBSubnetGroupNotFoundFault, InvalidVPCNetworkStateFault, InvalidDBSubnetGroupStateFault, InvalidSubnet, DBClusterParameterGroupNotFoundFault, InvalidDBSecurityGroupStateFault, InvalidDBInstanceStateFault or DBClusterAlreadyExistsFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbcluster_parameter_group
modify_dbcluster_parameter_group([::AWSConfig], arguments::Dict)
modify_dbcluster_parameter_group([::AWSConfig]; DBClusterParameterGroupName=, Parameters=)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBClusterParameterGroup", arguments::Dict)
rds([::AWSConfig], "ModifyDBClusterParameterGroup", DBClusterParameterGroupName=, Parameters=)

ModifyDBClusterParameterGroup Operation

Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Note

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect.

Important

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

Arguments

DBClusterParameterGroupName = ::StringRequired

The name of the DB cluster parameter group to modify.

Parameters = [[ ... ], ...]Required

A list of parameters in the DB cluster parameter group to modify.

 Parameters = [[
        "ParameterName" =>  ::String,
        "ParameterValue" =>  ::String,
        "Description" =>  ::String,
        "Source" =>  ::String,
        "ApplyType" =>  ::String,
        "DataType" =>  ::String,
        "AllowedValues" =>  ::String,
        "IsModifiable" =>  ::Bool,
        "MinimumEngineVersion" =>  ::String,
        "ApplyMethod" =>  "immediate" or "pending-reboot"
    ], ...]

Returns

DBClusterParameterGroupNameMessage

Exceptions

DBParameterGroupNotFoundFault or InvalidDBParameterGroupStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbcluster_snapshot_attribute
modify_dbcluster_snapshot_attribute([::AWSConfig], arguments::Dict)
modify_dbcluster_snapshot_attribute([::AWSConfig]; DBClusterSnapshotIdentifier=, AttributeName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBClusterSnapshotAttribute", arguments::Dict)
rds([::AWSConfig], "ModifyDBClusterSnapshotAttribute", DBClusterSnapshotIdentifier=, AttributeName=, <keyword arguments>)

ModifyDBClusterSnapshotAttribute Operation

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.

Arguments

DBClusterSnapshotIdentifier = ::StringRequired

The identifier for the DB cluster snapshot to modify the attributes for.

AttributeName = ::StringRequired

The name of the DB cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

ValuesToAdd = [::String, ...]

A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB cluster snapshot restorable by any AWS account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts.

ValuesToRemove = [::String, ...]

A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers, or all to remove authorization for any AWS account to copy or restore the DB cluster snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

Returns

ModifyDBClusterSnapshotAttributeResult

Exceptions

DBClusterSnapshotNotFoundFault, InvalidDBClusterSnapshotStateFault or SharedSnapshotQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbinstance
modify_dbinstance([::AWSConfig], arguments::Dict)
modify_dbinstance([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBInstance", arguments::Dict)
rds([::AWSConfig], "ModifyDBInstance", DBInstanceIdentifier=, <keyword arguments>)

ModifyDBInstance Operation

Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. To learn what modifications you can make to your DB instance, call DescribeValidDBInstanceModifications before you call ModifyDBInstance.

Arguments

DBInstanceIdentifier = ::StringRequired

The DB instance identifier. This value is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

AllocatedStorage = ::Int

The new storage capacity of the RDS instance. Changing this setting does not result in an outage and the change is applied during the next maintenance window unless ApplyImmediately is set to true for this request.

MySQL

Default: Uses existing setting

Valid Values: 5-6144

Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

Type: Integer

MariaDB

Default: Uses existing setting

Valid Values: 5-6144

Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

Type: Integer

PostgreSQL

Default: Uses existing setting

Valid Values: 5-6144

Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

Type: Integer

Oracle

Default: Uses existing setting

Valid Values: 10-6144

Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.

SQL Server

Cannot be modified.

If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance is available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance are suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a Read Replica for the instance, and creating a DB snapshot of the instance.

DBInstanceClass = ::String

The new compute and memory capacity of the DB instance, for example, db.m4.large. Not all DB instance classes are available in all regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request.

Default: Uses existing setting

DBSubnetGroupName = ::String

The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance is not in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Updating the VPC for a DB Instance.

Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you specify true for the ApplyImmediately parameter.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetGroup

DBSecurityGroups = [::String, ...]

A list of DB security groups to authorize on this DB instance. Changing this setting does not result in an outage and the change is asynchronously applied as soon as possible.

Constraints:

  • If supplied, must match existing DBSecurityGroups.

VpcSecurityGroupIds = [::String, ...]

A list of EC2 VPC security groups to authorize on this DB instance. This change is asynchronously applied as soon as possible.

Amazon Aurora

Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see ModifyDBCluster.

Constraints:

  • If supplied, must match existing VpcSecurityGroupIds.

ApplyImmediately = ::Bool

Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance.

If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next call to RebootDBInstance, or the next failure reboot. Review the table of parameters in Modifying a DB Instance and Using the Apply Immediately Parameter to see the impact that setting ApplyImmediately to true or false has for each modified parameter and to determine when the changes are applied.

Default: false

MasterUserPassword = ::String

The new password for the master user. Can be any printable ASCII character except "/", """, or "@".

Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response.

Amazon Aurora

Not applicable. The password for the master user is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: Uses existing setting

MariaDB

Constraints: Must contain from 8 to 41 characters.

Microsoft SQL Server

Constraints: Must contain from 8 to 128 characters.

MySQL

Constraints: Must contain from 8 to 41 characters.

Oracle

Constraints: Must contain from 8 to 30 characters.

PostgreSQL

Constraints: Must contain from 8 to 128 characters.

Note

Amazon RDS API actions never return the password, so this action provides a way to regain access to a primary instance user if the password is lost. This includes restoring privileges that might have been accidentally revoked.

DBParameterGroupName = ::String

The name of the DB parameter group to apply to the DB instance. Changing this setting does not result in an outage. The parameter group name itself is changed immediately, but the actual parameter changes are not applied until you reboot the instance without failover. The db instance will NOT be rebooted automatically and the parameter changes will NOT be applied during the next maintenance window.

Default: Uses existing setting

Constraints: The DB parameter group must be in the same DB parameter group family as this DB instance.

BackupRetentionPeriod = ::Int

The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.

Changing this parameter can result in an outage if you change from 0 to a non-zero value or from a non-zero value to 0. These changes are applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If you change the parameter from one non-zero value to another non-zero value, the change is asynchronously applied as soon as possible.

Amazon Aurora

Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: Uses existing setting

Constraints:

  • Must be a value from 0 to 35

  • Can be specified for a MySQL Read Replica only if the source is running MySQL 5.6

  • Can be specified for a PostgreSQL Read Replica only if the source is running PostgreSQL 9.3.5

  • Cannot be set to 0 if the DB instance is a source to Read Replicas

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod parameter. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.

Amazon Aurora

Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see ModifyDBCluster.

Constraints:

  • Must be in the format hh24:mi-hh24:mi

  • Times should be in Universal Time Coordinated (UTC)

  • Must not conflict with the preferred maintenance window

  • Must be at least 30 minutes

PreferredMaintenanceWindow = ::String

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, then changing this parameter will cause a reboot of the DB instance. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.

Default: Uses existing setting

Format: ddd:hh24:mi-ddd:hh24:mi

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 minutes

MultiAZ = ::Bool

Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.

Constraints: Cannot be specified if the DB instance is a Read Replica.

EngineVersion = ::String

The version number of the database engine to upgrade to. Changing this parameter results in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.

For major version upgrades, if a nondefault DB parameter group is currently in use, a new DB parameter group in the DB parameter group family for the new engine version must be specified. The new DB parameter group can be the default for that DB parameter group family.

For a list of valid engine versions, see CreateDBInstance.

AllowMajorVersionUpgrade = ::Bool

Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.

Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.

AutoMinorVersionUpgrade = ::Bool

Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and RDS has enabled auto patching for that engine version.

LicenseModel = ::String

The license model for the DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

Iops = ::Int

The new Provisioned IOPS (I/O operations per second) value for the RDS instance. Changing this setting does not result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.

Default: Uses existing setting

Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. If you are migrating from Provisioned IOPS to standard storage, set this value to 0. The DB instance will require a reboot for the change in storage type to take effect.

SQL Server

Setting the IOPS value for the SQL Server database engine is not supported.

Type: Integer

If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance is available for use, but might experience performance degradation. While the migration takes place, nightly backups for the instance are suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a Read Replica for the instance, and creating a DB snapshot of the instance.

OptionGroupName = ::String

Indicates that the DB instance should be associated with the specified option group. Changing this parameter does not result in an outage except in the following case and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request. If the parameter change results in an option group that enables OEM, this change can cause a brief (sub-second) period during which new connections are rejected but existing connections are not interrupted.

Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

NewDBInstanceIdentifier = ::String

The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot will occur immediately if you set Apply Immediately to true, or will occur during the next maintenance window if Apply Immediately to false. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • The first character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: mydbinstance

StorageType = ::String

Specifies the storage type to be associated with the DB instance.

Valid values: standard | gp2 | io1

If you specify io1, you must also include a value for the Iops parameter.

Default: io1 if the Iops parameter is specified; otherwise standard

TdeCredentialArn = ::String

The ARN from the Key Store with which to associate the instance for TDE encryption.

TdeCredentialPassword = ::String

The password for the given ARN from the Key Store in order to access the device.

CACertificateIdentifier = ::String

Indicates the certificate that needs to be associated with the instance.

Domain = ::String

The Active Directory Domain to move the instance to. Specify none to remove the instance from its current domain. The domain must be created prior to this operation. Currently only a Microsoft SQL Server instance can be created in a Active Directory Domain.

CopyTagsToSnapshot = ::Bool

True to copy all tags from the DB instance to snapshots of the DB instance; otherwise false. The default is false.

MonitoringInterval = ::Int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.

If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

DBPortNumber = ::Int

The port number on which the database accepts connections.

The value of the DBPortNumber parameter must not match any of the port values specified for options in the option group for the DB instance.

Your database will restart when you change the DBPortNumber value regardless of the value of the ApplyImmediately parameter.

MySQL

Default: 3306

Valid Values: 1150-65535

MariaDB

Default: 3306

Valid Values: 1150-65535

PostgreSQL

Default: 5432

Valid Values: 1150-65535

Type: Integer

Oracle

Default: 1521

Valid Values: 1150-65535

SQL Server

Default: 1433

Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through 49156.

Amazon Aurora

Default: 3306

Valid Values: 1150-65535

PubliclyAccessible = ::Bool

Boolean value that indicates if the DB instance has a publicly resolvable DNS name. Set to True to make the DB instance Internet-facing with a publicly resolvable DNS name, which resolves to a public IP address. Set to False to make the DB instance internal with a DNS name that resolves to a private IP address.

PubliclyAccessible only applies to DB instances in a VPC. The DB instance must be part of a public subnet and PubliclyAccessible must be true in order for it to be publicly accessible.

Changes to the PubliclyAccessible parameter are applied immediately regardless of the value of the ApplyImmediately parameter.

Default: false

MonitoringRoleArn = ::String

The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, go to To create an IAM role for Amazon RDS Enhanced Monitoring.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

DomainIAMRoleName = ::String

The name of the IAM role to use when making API calls to the Directory Service.

PromotionTier = ::Int

A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.

Default: 1

Valid Values: 0 - 15

EnableIAMDatabaseAuthentication = ::Bool

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false.

You can enable IAM database authentication for the following database engines

Amazon Aurora

Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster. For more information, see ModifyDBCluster.

MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

Default: false

EnablePerformanceInsights = ::Bool

True to enable Performance Insights for the DB instance; otherwise false.

PerformanceInsightsKMSKeyId = ::String

The KMS key identifier for encryption of Performance Insights data. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

Returns

ModifyDBInstanceResult

Exceptions

InvalidDBInstanceStateFault, InvalidDBSecurityGroupStateFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBSecurityGroupNotFoundFault, DBParameterGroupNotFoundFault, InsufficientDBInstanceCapacityFault, StorageQuotaExceededFault, InvalidVPCNetworkStateFault, ProvisionedIopsNotAvailableInAZFault, OptionGroupNotFoundFault, DBUpgradeDependencyFailureFault, StorageTypeNotSupportedFault, AuthorizationNotFoundFault, CertificateNotFoundFault or DomainNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbparameter_group
modify_dbparameter_group([::AWSConfig], arguments::Dict)
modify_dbparameter_group([::AWSConfig]; DBParameterGroupName=, Parameters=)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBParameterGroup", arguments::Dict)
rds([::AWSConfig], "ModifyDBParameterGroup", DBParameterGroupName=, Parameters=)

ModifyDBParameterGroup Operation

Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Note

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect.

Important

After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.

Arguments

DBParameterGroupName = ::StringRequired

The name of the DB parameter group.

Constraints:

  • If supplied, must match the name of an existing DBParameterGroup.

Parameters = [[ ... ], ...]Required

An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.

Valid Values (for the application method): immediate | pending-reboot

Note

You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover.

 Parameters = [[
        "ParameterName" =>  ::String,
        "ParameterValue" =>  ::String,
        "Description" =>  ::String,
        "Source" =>  ::String,
        "ApplyType" =>  ::String,
        "DataType" =>  ::String,
        "AllowedValues" =>  ::String,
        "IsModifiable" =>  ::Bool,
        "MinimumEngineVersion" =>  ::String,
        "ApplyMethod" =>  "immediate" or "pending-reboot"
    ], ...]

Returns

DBParameterGroupNameMessage

Exceptions

DBParameterGroupNotFoundFault or InvalidDBParameterGroupStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbsnapshot
modify_dbsnapshot([::AWSConfig], arguments::Dict)
modify_dbsnapshot([::AWSConfig]; DBSnapshotIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBSnapshot", arguments::Dict)
rds([::AWSConfig], "ModifyDBSnapshot", DBSnapshotIdentifier=, <keyword arguments>)

ModifyDBSnapshot Operation

Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version.

Amazon RDS supports upgrading DB snapshots for MySQL and Oracle.

Arguments

DBSnapshotIdentifier = ::StringRequired

The identifier of the DB snapshot to modify.

EngineVersion = ::String

The engine version to upgrade the DB snapshot to.

The following are the database engines and engine versions that are available when you upgrade a DB snapshot.

MySQL

  • 5.5.46 (supported for 5.1 DB snapshots)

Oracle

  • 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • 11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

OptionGroupName = ::String

The option group to identify with the upgraded DB snapshot.

You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations.

Returns

ModifyDBSnapshotResult

Exceptions

DBSnapshotNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbsnapshot_attribute
modify_dbsnapshot_attribute([::AWSConfig], arguments::Dict)
modify_dbsnapshot_attribute([::AWSConfig]; DBSnapshotIdentifier=, AttributeName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBSnapshotAttribute", arguments::Dict)
rds([::AWSConfig], "ModifyDBSnapshotAttribute", DBSnapshotIdentifier=, AttributeName=, <keyword arguments>)

ModifyDBSnapshotAttribute Operation

Adds an attribute and values to, or removes an attribute and values from, a manual DB snapshot.

To share a manual DB snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts. If the manual DB snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which AWS accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API action.

Arguments

DBSnapshotIdentifier = ::StringRequired

The identifier for the DB snapshot to modify the attributes for.

AttributeName = ::StringRequired

The name of the DB snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to restore.

ValuesToAdd = [::String, ...]

A list of DB snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account IDs, or all to make the manual DB snapshot restorable by any AWS account. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts.

ValuesToRemove = [::String, ...]

A list of DB snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include one or more AWS account identifiers, or all to remove authorization for any AWS account to copy or restore the DB snapshot. If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore the manual DB snapshot.

Returns

ModifyDBSnapshotAttributeResult

Exceptions

DBSnapshotNotFoundFault, InvalidDBSnapshotStateFault or SharedSnapshotQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_dbsubnet_group
modify_dbsubnet_group([::AWSConfig], arguments::Dict)
modify_dbsubnet_group([::AWSConfig]; DBSubnetGroupName=, SubnetIds=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyDBSubnetGroup", arguments::Dict)
rds([::AWSConfig], "ModifyDBSubnetGroup", DBSubnetGroupName=, SubnetIds=, <keyword arguments>)

ModifyDBSubnetGroup Operation

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

Arguments

DBSubnetGroupName = ::StringRequired

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

DBSubnetGroupDescription = ::String

The description for the DB subnet group.

SubnetIds = [::String, ...]Required

The EC2 subnet IDs for the DB subnet group.

Returns

ModifyDBSubnetGroupResult

Exceptions

DBSubnetGroupNotFoundFault, DBSubnetQuotaExceededFault, SubnetAlreadyInUse, DBSubnetGroupDoesNotCoverEnoughAZs or InvalidSubnet.

See also: AWS API Documentation

using AWSSDK.RDS.modify_event_subscription
modify_event_subscription([::AWSConfig], arguments::Dict)
modify_event_subscription([::AWSConfig]; SubscriptionName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyEventSubscription", arguments::Dict)
rds([::AWSConfig], "ModifyEventSubscription", SubscriptionName=, <keyword arguments>)

ModifyEventSubscription Operation

Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.

You can see a list of the event categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.

Arguments

SubscriptionName = ::StringRequired

The name of the RDS event notification subscription.

SnsTopicArn = ::String

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

SourceType = ::String

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

EventCategories = [::String, ...]

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.

Enabled = ::Bool

A Boolean value; set to true to activate the subscription.

Returns

ModifyEventSubscriptionResult

Exceptions

EventSubscriptionQuotaExceededFault, SubscriptionNotFoundFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault or SubscriptionCategoryNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.modify_option_group
modify_option_group([::AWSConfig], arguments::Dict)
modify_option_group([::AWSConfig]; OptionGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ModifyOptionGroup", arguments::Dict)
rds([::AWSConfig], "ModifyOptionGroup", OptionGroupName=, <keyword arguments>)

ModifyOptionGroup Operation

Modifies an existing option group.

Arguments

OptionGroupName = ::StringRequired

The name of the option group to be modified.

Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

OptionsToInclude = [[ ... ], ...]

Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.

 OptionsToInclude = [[
        "OptionName" => <required> ::String,
        "Port" =>  ::Int,
        "OptionVersion" =>  ::String,
        "DBSecurityGroupMemberships" =>  [::String, ...],
        "VpcSecurityGroupMemberships" =>  [::String, ...],
        "OptionSettings" =>  [[
            "Name" =>  ::String,
            "Value" =>  ::String,
            "DefaultValue" =>  ::String,
            "Description" =>  ::String,
            "ApplyType" =>  ::String,
            "DataType" =>  ::String,
            "AllowedValues" =>  ::String,
            "IsModifiable" =>  ::Bool,
            "IsCollection" =>  ::Bool
        ], ...]
    ], ...]

OptionsToRemove = [::String, ...]

Options in this list are removed from the option group.

ApplyImmediately = ::Bool

Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the option group.

Returns

ModifyOptionGroupResult

Exceptions

InvalidOptionGroupStateFault or OptionGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.promote_read_replica
promote_read_replica([::AWSConfig], arguments::Dict)
promote_read_replica([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "PromoteReadReplica", arguments::Dict)
rds([::AWSConfig], "PromoteReadReplica", DBInstanceIdentifier=, <keyword arguments>)

PromoteReadReplica Operation

Promotes a Read Replica DB instance to a standalone DB instance.

Note

We recommend that you enable automated backups on your Read Replica before promoting the Read Replica. This ensures that no backup is taken during the promotion process. Once the instance is promoted to a primary instance, backups are taken based on your backup settings.

Arguments

DBInstanceIdentifier = ::StringRequired

The DB instance identifier. This value is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing Read Replica DB instance.

Example: mydbinstance

BackupRetentionPeriod = ::Int

The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.

Default: 1

Constraints:

  • Must be a value from 0 to 8

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Times should be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

Returns

PromoteReadReplicaResult

Exceptions

InvalidDBInstanceStateFault or DBInstanceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.promote_read_replica_dbcluster
promote_read_replica_dbcluster([::AWSConfig], arguments::Dict)
promote_read_replica_dbcluster([::AWSConfig]; DBClusterIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "PromoteReadReplicaDBCluster", arguments::Dict)
rds([::AWSConfig], "PromoteReadReplicaDBCluster", DBClusterIdentifier=)

PromoteReadReplicaDBCluster Operation

Promotes a Read Replica DB cluster to a standalone DB cluster.

Arguments

DBClusterIdentifier = ::StringRequired

The identifier of the DB cluster Read Replica to promote. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster Read Replica.

Example: my-cluster-replica1

Returns

PromoteReadReplicaDBClusterResult

Exceptions

DBClusterNotFoundFault or InvalidDBClusterStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.purchase_reserved_dbinstances_offering
purchase_reserved_dbinstances_offering([::AWSConfig], arguments::Dict)
purchase_reserved_dbinstances_offering([::AWSConfig]; ReservedDBInstancesOfferingId=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "PurchaseReservedDBInstancesOffering", arguments::Dict)
rds([::AWSConfig], "PurchaseReservedDBInstancesOffering", ReservedDBInstancesOfferingId=, <keyword arguments>)

PurchaseReservedDBInstancesOffering Operation

Purchases a reserved DB instance offering.

Arguments

ReservedDBInstancesOfferingId = ::StringRequired

The ID of the Reserved DB instance offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

ReservedDBInstanceId = ::String

Customer-specified identifier to track this reservation.

Example: myreservationID

DBInstanceCount = ::Int

The number of instances to reserve.

Default: 1

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

Returns

PurchaseReservedDBInstancesOfferingResult

Exceptions

ReservedDBInstancesOfferingNotFoundFault, ReservedDBInstanceAlreadyExistsFault or ReservedDBInstanceQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.reboot_dbinstance
reboot_dbinstance([::AWSConfig], arguments::Dict)
reboot_dbinstance([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RebootDBInstance", arguments::Dict)
rds([::AWSConfig], "RebootDBInstance", DBInstanceIdentifier=, <keyword arguments>)

RebootDBInstance Operation

Rebooting a DB instance restarts the database engine service. A reboot also applies to the DB instance any modifications to the associated DB parameter group that were pending. Rebooting a DB instance results in a momentary outage of the instance, during which the DB instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot is conducted through a failover. An Amazon RDS event is created when the reboot is completed.

If your DB instance is deployed in multiple Availability Zones, you can force a failover from one AZ to the other during the reboot. You might force a failover to test the availability of your DB instance deployment or to restore operations to the original AZ after a failover occurs.

The time required to reboot is a function of the specific database engine's crash recovery process. To improve the reboot time, we recommend that you reduce database activities as much as possible during the reboot process to reduce rollback activity for in-transit transactions.

Arguments

DBInstanceIdentifier = ::StringRequired

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

ForceFailover = ::Bool

When true, the reboot is conducted through a MultiAZ failover.

Constraint: You cannot specify true if the instance is not configured for MultiAZ.

Returns

RebootDBInstanceResult

Exceptions

InvalidDBInstanceStateFault or DBInstanceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.remove_role_from_dbcluster
remove_role_from_dbcluster([::AWSConfig], arguments::Dict)
remove_role_from_dbcluster([::AWSConfig]; DBClusterIdentifier=, RoleArn=)

using AWSCore.Services.rds
rds([::AWSConfig], "RemoveRoleFromDBCluster", arguments::Dict)
rds([::AWSConfig], "RemoveRoleFromDBCluster", DBClusterIdentifier=, RoleArn=)

RemoveRoleFromDBCluster Operation

Disassociates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf.

Arguments

DBClusterIdentifier = ::StringRequired

The name of the DB cluster to disassociate the IAM role from.

RoleArn = ::StringRequired

The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole.

Exceptions

DBClusterNotFoundFault, DBClusterRoleNotFoundFault or InvalidDBClusterStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.remove_source_identifier_from_subscription
remove_source_identifier_from_subscription([::AWSConfig], arguments::Dict)
remove_source_identifier_from_subscription([::AWSConfig]; SubscriptionName=, SourceIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "RemoveSourceIdentifierFromSubscription", arguments::Dict)
rds([::AWSConfig], "RemoveSourceIdentifierFromSubscription", SubscriptionName=, SourceIdentifier=)

RemoveSourceIdentifierFromSubscription Operation

Removes a source identifier from an existing RDS event notification subscription.

Arguments

SubscriptionName = ::StringRequired

The name of the RDS event notification subscription you want to remove a source identifier from.

SourceIdentifier = ::StringRequired

The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.

Returns

RemoveSourceIdentifierFromSubscriptionResult

Exceptions

SubscriptionNotFoundFault or SourceNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.remove_tags_from_resource
remove_tags_from_resource([::AWSConfig], arguments::Dict)
remove_tags_from_resource([::AWSConfig]; ResourceName=, TagKeys=)

using AWSCore.Services.rds
rds([::AWSConfig], "RemoveTagsFromResource", arguments::Dict)
rds([::AWSConfig], "RemoveTagsFromResource", ResourceName=, TagKeys=)

RemoveTagsFromResource Operation

Removes metadata tags from an Amazon RDS resource.

For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources.

Arguments

ResourceName = ::StringRequired

The Amazon RDS resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

TagKeys = [::String, ...]Required

The tag key (name) of the tag to be removed.

Exceptions

DBInstanceNotFoundFault, DBSnapshotNotFoundFault or DBClusterNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.reset_dbcluster_parameter_group
reset_dbcluster_parameter_group([::AWSConfig], arguments::Dict)
reset_dbcluster_parameter_group([::AWSConfig]; DBClusterParameterGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ResetDBClusterParameterGroup", arguments::Dict)
rds([::AWSConfig], "ResetDBClusterParameterGroup", DBClusterParameterGroupName=, <keyword arguments>)

ResetDBClusterParameterGroup Operation

Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters.

When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterParameterGroupName = ::StringRequired

The name of the DB cluster parameter group to reset.

ResetAllParameters = ::Bool

A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You cannot use this parameter if there is a list of parameter names specified for the Parameters parameter.

Parameters = [[ ... ], ...]

A list of parameter names in the DB cluster parameter group to reset to the default values. You cannot use this parameter if the ResetAllParameters parameter is set to true.

 Parameters = [[
        "ParameterName" =>  ::String,
        "ParameterValue" =>  ::String,
        "Description" =>  ::String,
        "Source" =>  ::String,
        "ApplyType" =>  ::String,
        "DataType" =>  ::String,
        "AllowedValues" =>  ::String,
        "IsModifiable" =>  ::Bool,
        "MinimumEngineVersion" =>  ::String,
        "ApplyMethod" =>  "immediate" or "pending-reboot"
    ], ...]

Returns

DBClusterParameterGroupNameMessage

Exceptions

InvalidDBParameterGroupStateFault or DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.reset_dbparameter_group
reset_dbparameter_group([::AWSConfig], arguments::Dict)
reset_dbparameter_group([::AWSConfig]; DBParameterGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "ResetDBParameterGroup", arguments::Dict)
rds([::AWSConfig], "ResetDBParameterGroup", DBParameterGroupName=, <keyword arguments>)

ResetDBParameterGroup Operation

Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.

Arguments

DBParameterGroupName = ::StringRequired

The name of the DB parameter group.

Constraints:

  • Must match the name of an existing DBParameterGroup.

ResetAllParameters = ::Bool

Specifies whether (true) or not (false) to reset all parameters in the DB parameter group to default values.

Default: true

Parameters = [[ ... ], ...]

To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

MySQL

Valid Values (for Apply method): immediate | pending-reboot

You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots.

MariaDB

Valid Values (for Apply method): immediate | pending-reboot

You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots.

Oracle

Valid Values (for Apply method): pending-reboot

 Parameters = [[
        "ParameterName" =>  ::String,
        "ParameterValue" =>  ::String,
        "Description" =>  ::String,
        "Source" =>  ::String,
        "ApplyType" =>  ::String,
        "DataType" =>  ::String,
        "AllowedValues" =>  ::String,
        "IsModifiable" =>  ::Bool,
        "MinimumEngineVersion" =>  ::String,
        "ApplyMethod" =>  "immediate" or "pending-reboot"
    ], ...]

Returns

DBParameterGroupNameMessage

Exceptions

InvalidDBParameterGroupStateFault or DBParameterGroupNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.restore_dbcluster_from_s3
restore_dbcluster_from_s3([::AWSConfig], arguments::Dict)
restore_dbcluster_from_s3([::AWSConfig]; DBClusterIdentifier=, Engine=, MasterUsername=, MasterUserPassword=, SourceEngine=, SourceEngineVersion=, S3BucketName=, S3IngestionRoleArn=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RestoreDBClusterFromS3", arguments::Dict)
rds([::AWSConfig], "RestoreDBClusterFromS3", DBClusterIdentifier=, Engine=, MasterUsername=, MasterUserPassword=, SourceEngine=, SourceEngineVersion=, S3BucketName=, S3IngestionRoleArn=, <keyword arguments>)

RestoreDBClusterFromS3 Operation

Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data from MySQL by Using an Amazon S3 Bucket.

Arguments

AvailabilityZones = [::String, ...]

A list of EC2 Availability Zones that instances in the restored DB cluster can be created in.

BackupRetentionPeriod = ::Int

The number of days for which automated backups of the restored DB cluster are retained. You must specify a minimum value of 1.

Default: 1

Constraints:

  • Must be a value from 1 to 35

CharacterSetName = ::String

A value that indicates that the restored DB cluster should be associated with the specified CharacterSet.

DatabaseName = ::String

The database name for the restored DB cluster.

DBClusterIdentifier = ::StringRequired

The name of the DB cluster to create from the source data in the S3 bucket. This parameter is isn't case-sensitive.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1

DBClusterParameterGroupName = ::String

The name of the DB cluster parameter group to associate with the restored DB cluster. If this argument is omitted, default.aurora5.6 is used.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

VpcSecurityGroupIds = [::String, ...]

A list of EC2 VPC security groups to associate with the restored DB cluster.

DBSubnetGroupName = ::String

A DB subnet group to associate with the restored DB cluster.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

Engine = ::StringRequired

The name of the database engine to be used for the restored DB cluster.

Valid Values: aurora

EngineVersion = ::String

The version number of the database engine to use.

Aurora

Example: 5.6.10a

Port = ::Int

The port number on which the instances in the restored DB cluster accept connections.

Default: 3306

MasterUsername = ::StringRequired

The name of the master user for the restored DB cluster.

Constraints:

  • Must be 1 to 16 letters or numbers.

  • First character must be a letter.

  • Cannot be a reserved word for the chosen database engine.

MasterUserPassword = ::StringRequired

The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".

Constraints: Must contain from 8 to 41 characters.

OptionGroupName = ::String

A value that indicates that the restored DB cluster should be associated with the specified option group.

Permanent options cannot be removed from an option group. An option group cannot be removed from a DB cluster once it is associated with a DB cluster.

PreferredBackupWindow = ::String

The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Times should be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

PreferredMaintenanceWindow = ::String

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

StorageEncrypted = ::Bool

Specifies whether the restored DB cluster is encrypted.

KmsKeyId = ::String

The KMS key identifier for an encrypted DB cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KM encryption key.

If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon RDS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

EnableIAMDatabaseAuthentication = ::Bool

A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

SourceEngine = ::StringRequired

The identifier for the database engine that was backed up to create the files stored in the Amazon S3 bucket.

Valid values: mysql

SourceEngineVersion = ::StringRequired

The version of the database that the backup files were created from.

MySQL version 5.5 and 5.6 are supported.

Example: 5.6.22

S3BucketName = ::StringRequired

The name of the Amazon S3 bucket that contains the data used to create the Amazon Aurora DB cluster.

S3Prefix = ::String

The prefix for all of the file names that contain the data used to create the Amazon Aurora DB cluster. If you do not specify a SourceS3Prefix value, then the Amazon Aurora DB cluster is created by using all of the files in the Amazon S3 bucket.

S3IngestionRoleArn = ::StringRequired

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf.

Returns

RestoreDBClusterFromS3Result

Exceptions

DBClusterAlreadyExistsFault, DBClusterQuotaExceededFault, StorageQuotaExceededFault, DBSubnetGroupNotFoundFault, InvalidVPCNetworkStateFault, InvalidDBClusterStateFault, InvalidDBSubnetGroupStateFault, InvalidSubnet, InvalidS3BucketFault, DBClusterParameterGroupNotFoundFault, KMSKeyNotAccessibleFault, DBClusterNotFoundFault or InsufficientStorageClusterCapacityFault.

See also: AWS API Documentation

using AWSSDK.RDS.restore_dbcluster_from_snapshot
restore_dbcluster_from_snapshot([::AWSConfig], arguments::Dict)
restore_dbcluster_from_snapshot([::AWSConfig]; DBClusterIdentifier=, SnapshotIdentifier=, Engine=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RestoreDBClusterFromSnapshot", arguments::Dict)
rds([::AWSConfig], "RestoreDBClusterFromSnapshot", DBClusterIdentifier=, SnapshotIdentifier=, Engine=, <keyword arguments>)

RestoreDBClusterFromSnapshot Operation

Creates a new DB cluster from a DB snapshot or DB cluster snapshot.

If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.

If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

AvailabilityZones = [::String, ...]

Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in.

DBClusterIdentifier = ::StringRequired

The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This parameter isn't case-sensitive.

Constraints:

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

SnapshotIdentifier = ::StringRequired

The identifier for the DB snapshot or DB cluster snapshot to restore from.

You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot.

Constraints:

  • Must match the identifier of an existing Snapshot.

Engine = ::StringRequired

The database engine to use for the new DB cluster.

Default: The same as source

Constraint: Must be compatible with the engine of the source

EngineVersion = ::String

The version of the database engine to use for the new DB cluster.

Port = ::Int

The port number on which the new DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

DBSubnetGroupName = ::String

The name of the DB subnet group to use for the new DB cluster.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

DatabaseName = ::String

The database name for the restored DB cluster.

OptionGroupName = ::String

The name of the option group to use for the restored DB cluster.

VpcSecurityGroupIds = [::String, ...]

A list of VPC security groups that the new DB cluster will belong to.

Tags = [[ ... ], ...]

The tags to be assigned to the restored DB cluster.

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

KmsKeyId = ::String

The KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

If you do not specify a value for the KmsKeyId parameter, then the following will occur:

  • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB snapshot or DB cluster snapshot.

  • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is not encrypted, then the restored DB cluster is not encrypted.

EnableIAMDatabaseAuthentication = ::Bool

A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

Returns

RestoreDBClusterFromSnapshotResult

Exceptions

DBClusterAlreadyExistsFault, DBClusterQuotaExceededFault, StorageQuotaExceededFault, DBSubnetGroupNotFoundFault, DBSnapshotNotFoundFault, DBClusterSnapshotNotFoundFault, InsufficientDBClusterCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBSnapshotStateFault, InvalidDBClusterSnapshotStateFault, StorageQuotaExceededFault, InvalidVPCNetworkStateFault, InvalidRestoreFault, DBSubnetGroupNotFoundFault, InvalidSubnet, OptionGroupNotFoundFault or KMSKeyNotAccessibleFault.

See also: AWS API Documentation

using AWSSDK.RDS.restore_dbcluster_to_point_in_time
restore_dbcluster_to_point_in_time([::AWSConfig], arguments::Dict)
restore_dbcluster_to_point_in_time([::AWSConfig]; DBClusterIdentifier=, SourceDBClusterIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RestoreDBClusterToPointInTime", arguments::Dict)
rds([::AWSConfig], "RestoreDBClusterToPointInTime", DBClusterIdentifier=, SourceDBClusterIdentifier=, <keyword arguments>)

RestoreDBClusterToPointInTime Operation

Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.

Note

This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterToPointInTime action has completed and the DB cluster is available.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Arguments

DBClusterIdentifier = ::StringRequired

The name of the new DB cluster to be created.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

RestoreType = ::String

The type of restore to be performed. You can specify one of the following values:

  • full-copy - The new DB cluster is restored as a full copy of the source DB cluster.

  • copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.

Constraints: You cannot specify copy-on-write if the engine version of the source DB cluster is earlier than 1.11.

If you don't specify a RestoreType value, then the new DB cluster is restored as a full copy of the source DB cluster.

SourceDBClusterIdentifier = ::StringRequired

The identifier of the source DB cluster from which to restore.

Constraints:

  • Must match the identifier of an existing DBCluster.

RestoreToTime = timestamp

The date and time to restore the DB cluster to.

Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

Constraints:

  • Must be before the latest restorable time for the DB instance

  • Must be specified if UseLatestRestorableTime parameter is not provided

  • Cannot be specified if UseLatestRestorableTime parameter is true

  • Cannot be specified if RestoreType parameter is copy-on-write

Example: 2015-03-07T23:45:00Z

UseLatestRestorableTime = ::Bool

A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise.

Default: false

Constraints: Cannot be specified if RestoreToTime parameter is provided.

Port = ::Int

The port number on which the new DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

DBSubnetGroupName = ::String

The DB subnet group name to use for the new DB cluster.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

OptionGroupName = ::String

The name of the option group for the new DB cluster.

VpcSecurityGroupIds = [::String, ...]

A list of VPC security groups that the new DB cluster belongs to.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

KmsKeyId = ::String

The KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

You can restore to a new DB cluster and encrypt the new DB cluster with a KMS key that is different than the KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the KMS key identified by the KmsKeyId parameter.

If you do not specify a value for the KmsKeyId parameter, then the following will occur:

  • If the DB cluster is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the source DB cluster.

  • If the DB cluster is not encrypted, then the restored DB cluster is not encrypted.

If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected.

EnableIAMDatabaseAuthentication = ::Bool

A Boolean value that is true to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

Returns

RestoreDBClusterToPointInTimeResult

Exceptions

DBClusterAlreadyExistsFault, DBClusterNotFoundFault, DBClusterQuotaExceededFault, DBClusterSnapshotNotFoundFault, DBSubnetGroupNotFoundFault, InsufficientDBClusterCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBSnapshotStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, OptionGroupNotFoundFault or StorageQuotaExceededFault.

See also: AWS API Documentation

using AWSSDK.RDS.restore_dbinstance_from_dbsnapshot
restore_dbinstance_from_dbsnapshot([::AWSConfig], arguments::Dict)
restore_dbinstance_from_dbsnapshot([::AWSConfig]; DBInstanceIdentifier=, DBSnapshotIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RestoreDBInstanceFromDBSnapshot", arguments::Dict)
rds([::AWSConfig], "RestoreDBInstanceFromDBSnapshot", DBInstanceIdentifier=, DBSnapshotIdentifier=, <keyword arguments>)

RestoreDBInstanceFromDBSnapshot Operation

Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with the most of original configuration with the default security group and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored AZ deployment and not a single-AZ deployment.

If your intent is to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot action. RDS does not allow two DB instances with the same name. Once you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot action. The result is that you will replace the original DB instance with the DB instance created from the snapshot.

If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot.

Arguments

DBInstanceIdentifier = ::StringRequired

Name of the DB instance to create from the DB snapshot. This parameter isn't case-sensitive.

Constraints:

  • Must contain from 1 to 63 numbers, letters, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

DBSnapshotIdentifier = ::StringRequired

The identifier for the DB snapshot to restore from.

Constraints:

  • Must match the identifier of an existing DBSnapshot.

  • If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot.

DBInstanceClass = ::String

The compute and memory capacity of the Amazon RDS DB instance, for example, db.m4.large. Not all DB instance classes are available in all regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

Default: The same DBInstanceClass as the original DB instance.

Port = ::Int

The port number on which the database accepts connections.

Default: The same port as the original DB instance

Constraints: Value must be 1150-65535

AvailabilityZone = ::String

The EC2 Availability Zone that the database instance is created in.

Default: A random, system-chosen Availability Zone.

Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

Example: us-east-1a

DBSubnetGroupName = ::String

The DB subnet group name to use for the new instance.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

MultiAZ = ::Bool

Specifies if the DB instance is a Multi-AZ deployment.

Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

PubliclyAccessible = ::Bool

Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

  • Default VPC: true

  • VPC: false

If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is private.

AutoMinorVersionUpgrade = ::Bool

Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window.

LicenseModel = ::String

License model information for the restored DB instance.

Default: Same as source.

Valid values: license-included | bring-your-own-license | general-public-license

DBName = ::String

The database name for the restored DB instance.

Note

This parameter doesn't apply to the MySQL, PostgreSQL, or MariaDB engines.

Engine = ::String

The database engine to use for the new instance.

Default: The same as source

Constraint: Must be compatible with the engine of the source. You can restore a MariaDB 10.1 DB instance from a MySQL 5.6 snapshot.

Valid Values:

  • aurora

  • mariadb

  • mysql

  • oracle-ee

  • oracle-se2

  • oracle-se1

  • oracle-se

  • postgres

  • sqlserver-ee

  • sqlserver-se

  • sqlserver-ex

  • sqlserver-web

Iops = ::Int

Specifies the amount of provisioned IOPS for the DB instance, expressed in I/O operations per second. If this parameter is not specified, the IOPS value is taken from the backup. If this parameter is set to 0, the new instance is converted to a non-PIOPS instance. The conversion takes additional time, though your DB instance is available for connections before the conversion starts.

The provisioned IOPS value must follow the requirements for your database engine. For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance.

Constraints: Must be an integer greater than 1000.

OptionGroupName = ::String

The name of the option group to be used for the restored DB instance.

Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

StorageType = ::String

Specifies the storage type to be associated with the DB instance.

Valid values: standard | gp2 | io1

If you specify io1, you must also include a value for the Iops parameter.

Default: io1 if the Iops parameter is specified; otherwise standard

TdeCredentialArn = ::String

The ARN from the Key Store with which to associate the instance for TDE encryption.

TdeCredentialPassword = ::String

The password for the given ARN from the Key Store in order to access the device.

Domain = ::String

Specify the Active Directory Domain to restore the instance in.

CopyTagsToSnapshot = ::Bool

True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

DomainIAMRoleName = ::String

Specify the name of the IAM role to be used when making API calls to the Directory Service.

EnableIAMDatabaseAuthentication = ::Bool

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false.

You can enable IAM database authentication for the following database engines

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

  • Aurora 5.6 or higher.

Default: false

Returns

RestoreDBInstanceFromDBSnapshotResult

Exceptions

DBInstanceAlreadyExistsFault, DBSnapshotNotFoundFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InvalidDBSnapshotStateFault, StorageQuotaExceededFault, InvalidVPCNetworkStateFault, InvalidRestoreFault, DBSubnetGroupNotFoundFault, DBSubnetGroupDoesNotCoverEnoughAZs, InvalidSubnet, ProvisionedIopsNotAvailableInAZFault, OptionGroupNotFoundFault, StorageTypeNotSupportedFault, AuthorizationNotFoundFault, KMSKeyNotAccessibleFault, DBSecurityGroupNotFoundFault or DomainNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.restore_dbinstance_to_point_in_time
restore_dbinstance_to_point_in_time([::AWSConfig], arguments::Dict)
restore_dbinstance_to_point_in_time([::AWSConfig]; SourceDBInstanceIdentifier=, TargetDBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RestoreDBInstanceToPointInTime", arguments::Dict)
rds([::AWSConfig], "RestoreDBInstanceToPointInTime", SourceDBInstanceIdentifier=, TargetDBInstanceIdentifier=, <keyword arguments>)

RestoreDBInstanceToPointInTime Operation

Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property.

The target database is created with most of the original configuration, but in a system-selected availability zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment.

Arguments

SourceDBInstanceIdentifier = ::StringRequired

The identifier of the source DB instance from which to restore.

Constraints:

  • Must match the identifier of an existing DBInstance.

TargetDBInstanceIdentifier = ::StringRequired

The name of the new database instance to be created.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

RestoreTime = timestamp

The date and time to restore from.

Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

Constraints:

  • Must be before the latest restorable time for the DB instance

  • Cannot be specified if UseLatestRestorableTime parameter is true

Example: 2009-09-07T23:45:00Z

UseLatestRestorableTime = ::Bool

Specifies whether (true) or not (false) the DB instance is restored from the latest backup time.

Default: false

Constraints: Cannot be specified if RestoreTime parameter is provided.

DBInstanceClass = ::String

The compute and memory capacity of the Amazon RDS DB instance, for example, db.m4.large. Not all DB instance classes are available in all regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

Default: The same DBInstanceClass as the original DB instance.

Port = ::Int

The port number on which the database accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB instance.

AvailabilityZone = ::String

The EC2 Availability Zone that the database instance is created in.

Default: A random, system-chosen Availability Zone.

Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

Example: us-east-1a

DBSubnetGroupName = ::String

The DB subnet group name to use for the new instance.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

MultiAZ = ::Bool

Specifies if the DB instance is a Multi-AZ deployment.

Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

PubliclyAccessible = ::Bool

Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.

  • Default VPC:true

  • VPC:false

If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance is private.

AutoMinorVersionUpgrade = ::Bool

Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window.

LicenseModel = ::String

License model information for the restored DB instance.

Default: Same as source.

Valid values: license-included | bring-your-own-license | general-public-license

DBName = ::String

The database name for the restored DB instance.

Note

This parameter is not used for the MySQL or MariaDB engines.

Engine = ::String

The database engine to use for the new instance.

Default: The same as source

Constraint: Must be compatible with the engine of the source

Valid Values:

  • aurora

  • mariadb

  • mysql

  • oracle-ee

  • oracle-se2

  • oracle-se1

  • oracle-se

  • postgres

  • sqlserver-ee

  • sqlserver-se

  • sqlserver-ex

  • sqlserver-web

Iops = ::Int

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

Constraints: Must be an integer greater than 1000.

SQL Server

Setting the IOPS value for the SQL Server database engine is not supported.

OptionGroupName = ::String

The name of the option group to be used for the restored DB instance.

Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

CopyTagsToSnapshot = ::Bool

True to copy all tags from the restored DB instance to snapshots of the DB instance; otherwise false. The default is false.

Tags = [[ ... ], ...]

 Tags = [[
        "Key" =>  ::String,
        "Value" =>  ::String
    ], ...]

StorageType = ::String

Specifies the storage type to be associated with the DB instance.

Valid values: standard | gp2 | io1

If you specify io1, you must also include a value for the Iops parameter.

Default: io1 if the Iops parameter is specified; otherwise standard

TdeCredentialArn = ::String

The ARN from the Key Store with which to associate the instance for TDE encryption.

TdeCredentialPassword = ::String

The password for the given ARN from the Key Store in order to access the device.

Domain = ::String

Specify the Active Directory Domain to restore the instance in.

DomainIAMRoleName = ::String

Specify the name of the IAM role to be used when making API calls to the Directory Service.

EnableIAMDatabaseAuthentication = ::Bool

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts; otherwise false.

You can enable IAM database authentication for the following database engines

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

  • Aurora 5.6 or higher.

Default: false

Returns

RestoreDBInstanceToPointInTimeResult

Exceptions

DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InvalidDBInstanceStateFault, PointInTimeRestoreNotEnabledFault, StorageQuotaExceededFault, InvalidVPCNetworkStateFault, InvalidRestoreFault, DBSubnetGroupNotFoundFault, DBSubnetGroupDoesNotCoverEnoughAZs, InvalidSubnet, ProvisionedIopsNotAvailableInAZFault, OptionGroupNotFoundFault, StorageTypeNotSupportedFault, AuthorizationNotFoundFault, KMSKeyNotAccessibleFault, DBSecurityGroupNotFoundFault or DomainNotFoundFault.

See also: AWS API Documentation

using AWSSDK.RDS.revoke_dbsecurity_group_ingress
revoke_dbsecurity_group_ingress([::AWSConfig], arguments::Dict)
revoke_dbsecurity_group_ingress([::AWSConfig]; DBSecurityGroupName=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "RevokeDBSecurityGroupIngress", arguments::Dict)
rds([::AWSConfig], "RevokeDBSecurityGroupIngress", DBSecurityGroupName=, <keyword arguments>)

RevokeDBSecurityGroupIngress Operation

Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).

Arguments

DBSecurityGroupName = ::StringRequired

The name of the DB security group to revoke ingress from.

CIDRIP = ::String

The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.

EC2SecurityGroupName = ::String

The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupId = ::String

The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

EC2SecurityGroupOwnerId = ::String

The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

Returns

RevokeDBSecurityGroupIngressResult

Exceptions

DBSecurityGroupNotFoundFault, AuthorizationNotFoundFault or InvalidDBSecurityGroupStateFault.

See also: AWS API Documentation

using AWSSDK.RDS.start_dbinstance
start_dbinstance([::AWSConfig], arguments::Dict)
start_dbinstance([::AWSConfig]; DBInstanceIdentifier=)

using AWSCore.Services.rds
rds([::AWSConfig], "StartDBInstance", arguments::Dict)
rds([::AWSConfig], "StartDBInstance", DBInstanceIdentifier=)

StartDBInstance Operation

Starts a DB instance that was stopped using the AWS console, the stop-db-instance AWS CLI command, or the StopDBInstance action. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide.

Arguments

DBInstanceIdentifier = ::StringRequired

The user-supplied instance identifier.

Returns

StartDBInstanceResult

Exceptions

DBInstanceNotFoundFault, InvalidDBInstanceStateFault, InsufficientDBInstanceCapacityFault, DBSubnetGroupNotFoundFault, DBSubnetGroupDoesNotCoverEnoughAZs, InvalidDBClusterStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, DBClusterNotFoundFault, AuthorizationNotFoundFault or KMSKeyNotAccessibleFault.

See also: AWS API Documentation

using AWSSDK.RDS.stop_dbinstance
stop_dbinstance([::AWSConfig], arguments::Dict)
stop_dbinstance([::AWSConfig]; DBInstanceIdentifier=, <keyword arguments>)

using AWSCore.Services.rds
rds([::AWSConfig], "StopDBInstance", arguments::Dict)
rds([::AWSConfig], "StopDBInstance", DBInstanceIdentifier=, <keyword arguments>)

StopDBInstance Operation

Stops a DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide.

Arguments

DBInstanceIdentifier = ::StringRequired

The user-supplied instance identifier.

DBSnapshotIdentifier = ::String

The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.

Returns

StopDBInstanceResult

Exceptions

DBInstanceNotFoundFault, InvalidDBInstanceStateFault, DBSnapshotAlreadyExistsFault, SnapshotQuotaExceededFault or InvalidDBClusterStateFault.

See also: AWS API Documentation