@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDocDBClient extends AmazonWebServiceClient implements AmazonDocDB
Amazon DocumentDB API documentation
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonDocDBClientBuilder builder()
public AddTagsToResourceResult addTagsToResource(AddTagsToResourceRequest request)
Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to
track costs that are associated with Amazon DocumentDB resources. or in a Condition statement in an
AWS Identity and Access Management (IAM) policy for Amazon DocumentDB.
addTagsToResource in interface AmazonDocDBaddTagsToResourceRequest - Represents the input to AddTagsToResource.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.DBSnapshotNotFoundException - DBSnapshotIdentifier doesn't refer to an existing DB snapshot.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.public ResourcePendingMaintenanceActions applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
Applies a pending maintenance action to a resource (for example, to a DB instance).
applyPendingMaintenanceAction in interface AmazonDocDBapplyPendingMaintenanceActionRequest - Represents the input to ApplyPendingMaintenanceAction.ResourceNotFoundException - The specified resource ID was not found.public DBClusterParameterGroup copyDBClusterParameterGroup(CopyDBClusterParameterGroupRequest request)
Copies the specified DB cluster parameter group.
copyDBClusterParameterGroup in interface AmazonDocDBcopyDBClusterParameterGroupRequest - Represents the input to CopyDBClusterParameterGroup.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.DBParameterGroupQuotaExceededException - This request would cause you to exceed the allowed number of DB parameter groups.DBParameterGroupAlreadyExistsException - A DB parameter group with the same name already exists.public DBClusterSnapshot copyDBClusterSnapshot(CopyDBClusterSnapshotRequest request)
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.
To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by
TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status.
copyDBClusterSnapshot in interface AmazonDocDBcopyDBClusterSnapshotRequest - Represents the input to CopyDBClusterSnapshot.DBClusterSnapshotAlreadyExistsException - You already have a DB cluster snapshot with the given identifier.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.InvalidDBClusterStateException - The DB cluster isn't in a valid state.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.SnapshotQuotaExceededException - The request would cause you to exceed the allowed number of DB snapshots.KMSKeyNotAccessibleException - An error occurred when accessing an AWS KMS key.public DBCluster createDBCluster(CreateDBClusterRequest request)
Creates a new Amazon DocumentDB DB cluster.
createDBCluster in interface AmazonDocDBcreateDBClusterRequest - Represents the input to CreateDBCluster.DBClusterAlreadyExistsException - You already have a DB cluster with the given identifier.InsufficientStorageClusterCapacityException - There is not enough storage available for the current action. You might be able to resolve this error by
updating your subnet group to use different Availability Zones that have more storage available.DBClusterQuotaExceededException - The DB cluster can't be created because you have reached the maximum allowed quota of DB clusters.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.InvalidDBClusterStateException - The DB cluster isn't in a valid state.InvalidDBSubnetGroupStateException - The DB subnet group can't be deleted because it's in use.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).InvalidDBInstanceStateException - The specified DB instance isn't in the available state.DBClusterParameterGroupNotFoundException - DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter group.KMSKeyNotAccessibleException - An error occurred when accessing an AWS KMS key.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.DBSubnetGroupDoesNotCoverEnoughAZsException - Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
Availability Zone.public DBClusterParameterGroup createDBClusterParameterGroup(CreateDBClusterParameterGroupRequest request)
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 you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover.
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 DocumentDB
to fully complete the create action before the DB cluster parameter group is used as the default for a new DB
cluster. This step 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.
createDBClusterParameterGroup in interface AmazonDocDBcreateDBClusterParameterGroupRequest - Represents the input of CreateDBClusterParameterGroup.DBParameterGroupQuotaExceededException - This request would cause you to exceed the allowed number of DB parameter groups.DBParameterGroupAlreadyExistsException - A DB parameter group with the same name already exists.public DBClusterSnapshot createDBClusterSnapshot(CreateDBClusterSnapshotRequest request)
Creates a snapshot of a DB cluster.
createDBClusterSnapshot in interface AmazonDocDBcreateDBClusterSnapshotRequest - Represents the input of CreateDBClusterSnapshot.DBClusterSnapshotAlreadyExistsException - You already have a DB cluster snapshot with the given identifier.InvalidDBClusterStateException - The DB cluster isn't in a valid state.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.SnapshotQuotaExceededException - The request would cause you to exceed the allowed number of DB snapshots.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.public DBInstance createDBInstance(CreateDBInstanceRequest request)
Creates a new DB instance.
createDBInstance in interface AmazonDocDBcreateDBInstanceRequest - Represents the input to CreateDBInstance.DBInstanceAlreadyExistsException - You already have a DB instance with the given identifier.InsufficientDBInstanceCapacityException - The specified DB instance class isn't available in the specified Availability Zone.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.DBSecurityGroupNotFoundException - DBSecurityGroupName doesn't refer to an existing DB security group.InstanceQuotaExceededException - The request would cause you to exceed the allowed number of DB instances.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.DBSubnetGroupDoesNotCoverEnoughAZsException - Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
Availability Zone.InvalidDBClusterStateException - The DB cluster isn't in a valid state.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.StorageTypeNotSupportedException - Storage of the specified StorageType can't be associated with the DB instance.AuthorizationNotFoundException - The specified CIDR IP or Amazon EC2 security group isn't authorized for the specified DB security
group.
Amazon DocumentDB also might not be authorized to perform necessary actions on your behalf using IAM.
KMSKeyNotAccessibleException - An error occurred when accessing an AWS KMS key.public DBSubnetGroup createDBSubnetGroup(CreateDBSubnetGroupRequest request)
Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
createDBSubnetGroup in interface AmazonDocDBcreateDBSubnetGroupRequest - Represents the input to CreateDBSubnetGroup.DBSubnetGroupAlreadyExistsException - DBSubnetGroupName is already being used by an existing DB subnet group.DBSubnetGroupQuotaExceededException - The request would cause you to exceed the allowed number of DB subnet groups.DBSubnetQuotaExceededException - The request would cause you to exceed the allowed number of subnets in a DB subnet group.DBSubnetGroupDoesNotCoverEnoughAZsException - Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
Availability Zone.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).public DBCluster deleteDBCluster(DeleteDBClusterRequest request)
Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
deleteDBCluster in interface AmazonDocDBdeleteDBClusterRequest - Represents the input to DeleteDBCluster.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.InvalidDBClusterStateException - The DB cluster isn't in a valid state.DBClusterSnapshotAlreadyExistsException - You already have a DB cluster snapshot with the given identifier.SnapshotQuotaExceededException - The request would cause you to exceed the allowed number of DB snapshots.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.public DeleteDBClusterParameterGroupResult deleteDBClusterParameterGroup(DeleteDBClusterParameterGroupRequest request)
Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.
deleteDBClusterParameterGroup in interface AmazonDocDBdeleteDBClusterParameterGroupRequest - Represents the input to DeleteDBClusterParameterGroup.InvalidDBParameterGroupStateException - The DB parameter group is in use, or it is in a state that is not valid. If you are trying to delete the
parameter group, you can't delete it when the parameter group is in this state.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.public DBClusterSnapshot deleteDBClusterSnapshot(DeleteDBClusterSnapshotRequest request)
Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
The DB cluster snapshot must be in the available state to be deleted.
deleteDBClusterSnapshot in interface AmazonDocDBdeleteDBClusterSnapshotRequest - Represents the input to DeleteDBClusterSnapshot.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.public DBInstance deleteDBInstance(DeleteDBInstanceRequest request)
Deletes a previously provisioned DB instance.
deleteDBInstance in interface AmazonDocDBdeleteDBInstanceRequest - Represents the input to DeleteDBInstance.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.InvalidDBInstanceStateException - The specified DB instance isn't in the available state.DBSnapshotAlreadyExistsException - DBSnapshotIdentifier is already being used by an existing snapshot.SnapshotQuotaExceededException - The request would cause you to exceed the allowed number of DB snapshots.InvalidDBClusterStateException - The DB cluster isn't in a valid state.public DeleteDBSubnetGroupResult deleteDBSubnetGroup(DeleteDBSubnetGroupRequest request)
Deletes a DB subnet group.
The specified database subnet group must not be associated with any DB instances.
deleteDBSubnetGroup in interface AmazonDocDBdeleteDBSubnetGroupRequest - Represents the input to DeleteDBSubnetGroup.InvalidDBSubnetGroupStateException - The DB subnet group can't be deleted because it's in use.InvalidDBSubnetStateException - The DB subnet isn't in the available state.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.public DescribeDBClusterParameterGroupsResult describeDBClusterParameterGroups(DescribeDBClusterParameterGroupsRequest request)
Returns a list of DBClusterParameterGroup descriptions. If a
DBClusterParameterGroupName parameter is specified, the list contains only the description of the
specified DB cluster parameter group.
describeDBClusterParameterGroups in interface AmazonDocDBdescribeDBClusterParameterGroupsRequest - Represents the input to DescribeDBClusterParameterGroups.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.public DescribeDBClusterParametersResult describeDBClusterParameters(DescribeDBClusterParametersRequest request)
Returns the detailed parameter list for a particular DB cluster parameter group.
describeDBClusterParameters in interface AmazonDocDBdescribeDBClusterParametersRequest - Represents the input to DescribeDBClusterParameters.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.public DBClusterSnapshotAttributesResult describeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request)
Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.
When you share 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.
describeDBClusterSnapshotAttributes in interface AmazonDocDBdescribeDBClusterSnapshotAttributesRequest - Represents the input to DescribeDBClusterSnapshotAttributes.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.public DescribeDBClusterSnapshotsResult describeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request)
Returns information about DB cluster snapshots. This API operation supports pagination.
describeDBClusterSnapshots in interface AmazonDocDBdescribeDBClusterSnapshotsRequest - Represents the input to DescribeDBClusterSnapshots.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.public DescribeDBClustersResult describeDBClusters(DescribeDBClustersRequest request)
Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination.
describeDBClusters in interface AmazonDocDBdescribeDBClustersRequest - Represents the input to DescribeDBClusters.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.public DescribeDBEngineVersionsResult describeDBEngineVersions(DescribeDBEngineVersionsRequest request)
Returns a list of the available DB engines.
describeDBEngineVersions in interface AmazonDocDBdescribeDBEngineVersionsRequest - Represents the input to DescribeDBEngineVersions.public DescribeDBInstancesResult describeDBInstances(DescribeDBInstancesRequest request)
Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
describeDBInstances in interface AmazonDocDBdescribeDBInstancesRequest - Represents the input to DescribeDBInstances.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.public DescribeDBSubnetGroupsResult describeDBSubnetGroups(DescribeDBSubnetGroupsRequest request)
Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the
list will contain only the descriptions of the specified DBSubnetGroup.
describeDBSubnetGroups in interface AmazonDocDBdescribeDBSubnetGroupsRequest - Represents the input to DescribeDBSubnetGroups.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.public EngineDefaults describeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request)
Returns the default engine and system parameter information for the cluster database engine.
describeEngineDefaultClusterParameters in interface AmazonDocDBdescribeEngineDefaultClusterParametersRequest - Represents the input to DescribeEngineDefaultClusterParameters.public DescribeEventCategoriesResult describeEventCategories(DescribeEventCategoriesRequest request)
Displays a list of categories for all event source types, or, if specified, for a specified source type.
describeEventCategories in interface AmazonDocDBdescribeEventCategoriesRequest - Represents the input to DescribeEventCategories.public DescribeEventsResult describeEvents(DescribeEventsRequest request)
Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
describeEvents in interface AmazonDocDBdescribeEventsRequest - Represents the input to DescribeEvents.public DescribeOrderableDBInstanceOptionsResult describeOrderableDBInstanceOptions(DescribeOrderableDBInstanceOptionsRequest request)
Returns a list of orderable DB instance options for the specified engine.
describeOrderableDBInstanceOptions in interface AmazonDocDBdescribeOrderableDBInstanceOptionsRequest - Represents the input to DescribeOrderableDBInstanceOptions.public DescribePendingMaintenanceActionsResult describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request)
Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
describePendingMaintenanceActions in interface AmazonDocDBdescribePendingMaintenanceActionsRequest - Represents the input to DescribePendingMaintenanceActions.ResourceNotFoundException - The specified resource ID was not found.public DBCluster failoverDBCluster(FailoverDBClusterRequest request)
Forces a failover for a DB cluster.
A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).
If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
failoverDBCluster in interface AmazonDocDBfailoverDBClusterRequest - Represents the input to FailoverDBCluster.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.InvalidDBClusterStateException - The DB cluster isn't in a valid state.InvalidDBInstanceStateException - The specified DB instance isn't in the available state.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all tags on an Amazon DocumentDB resource.
listTagsForResource in interface AmazonDocDBlistTagsForResourceRequest - Represents the input to ListTagsForResource.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.DBSnapshotNotFoundException - DBSnapshotIdentifier doesn't refer to an existing DB snapshot.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.public DBCluster modifyDBCluster(ModifyDBClusterRequest request)
Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
modifyDBCluster in interface AmazonDocDBmodifyDBClusterRequest - Represents the input to ModifyDBCluster.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.InvalidDBClusterStateException - The DB cluster isn't in a valid state.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.InvalidDBSubnetGroupStateException - The DB subnet group can't be deleted because it's in use.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).DBClusterParameterGroupNotFoundException - DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter group.InvalidDBSecurityGroupStateException - The state of the DB security group doesn't allow deletion.InvalidDBInstanceStateException - The specified DB instance isn't in the available state.DBClusterAlreadyExistsException - You already have a DB cluster with the given identifier.public ModifyDBClusterParameterGroupResult modifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request)
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.
Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.
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 DocumentDB
to fully complete the create action before the parameter group is used as the default for a new DB cluster. This
step 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.
modifyDBClusterParameterGroup in interface AmazonDocDBmodifyDBClusterParameterGroupRequest - Represents the input to ModifyDBClusterParameterGroup.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.InvalidDBParameterGroupStateException - The DB parameter group is in use, or it is in a state that is not valid. If you are trying to delete the
parameter group, you can't delete it when the parameter group is in this state.public DBClusterSnapshotAttributesResult modifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request)
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.
modifyDBClusterSnapshotAttribute in interface AmazonDocDBmodifyDBClusterSnapshotAttributeRequest - Represents the input to ModifyDBClusterSnapshotAttribute.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.SharedSnapshotQuotaExceededException - You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.public DBInstance modifyDBInstance(ModifyDBInstanceRequest request)
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.
modifyDBInstance in interface AmazonDocDBmodifyDBInstanceRequest - Represents the input to ModifyDBInstance.InvalidDBInstanceStateException - The specified DB instance isn't in the available state.InvalidDBSecurityGroupStateException - The state of the DB security group doesn't allow deletion.DBInstanceAlreadyExistsException - You already have a DB instance with the given identifier.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.DBSecurityGroupNotFoundException - DBSecurityGroupName doesn't refer to an existing DB security group.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.InsufficientDBInstanceCapacityException - The specified DB instance class isn't available in the specified Availability Zone.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.DBUpgradeDependencyFailureException - The DB upgrade failed because a resource that the DB depends on can't be modified.StorageTypeNotSupportedException - Storage of the specified StorageType can't be associated with the DB instance.AuthorizationNotFoundException - The specified CIDR IP or Amazon EC2 security group isn't authorized for the specified DB security
group.
Amazon DocumentDB also might not be authorized to perform necessary actions on your behalf using IAM.
CertificateNotFoundException - CertificateIdentifier doesn't refer to an existing certificate.public DBSubnetGroup modifyDBSubnetGroup(ModifyDBSubnetGroupRequest request)
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
modifyDBSubnetGroup in interface AmazonDocDBmodifyDBSubnetGroupRequest - Represents the input to ModifyDBSubnetGroup.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.DBSubnetQuotaExceededException - The request would cause you to exceed the allowed number of subnets in a DB subnet group.SubnetAlreadyInUseException - The DB subnet is already in use in the Availability Zone.DBSubnetGroupDoesNotCoverEnoughAZsException - Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
Availability Zone.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).public DBInstance rebootDBInstance(RebootDBInstanceRequest request)
You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect.
Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.
rebootDBInstance in interface AmazonDocDBrebootDBInstanceRequest - Represents the input to RebootDBInstance.InvalidDBInstanceStateException - The specified DB instance isn't in the available state.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.public RemoveTagsFromResourceResult removeTagsFromResource(RemoveTagsFromResourceRequest request)
Removes metadata tags from an Amazon DocumentDB resource.
removeTagsFromResource in interface AmazonDocDBremoveTagsFromResourceRequest - Represents the input to RemoveTagsFromResource.DBInstanceNotFoundException - DBInstanceIdentifier doesn't refer to an existing DB instance.DBSnapshotNotFoundException - DBSnapshotIdentifier doesn't refer to an existing DB snapshot.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.public ResetDBClusterParameterGroupResult resetDBClusterParameterGroup(ResetDBClusterParameterGroupRequest request)
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 you reset the entire group, dynamic parameters are updated immediately and static parameters are set to
pending-reboot to take effect on the next DB instance reboot.
resetDBClusterParameterGroup in interface AmazonDocDBresetDBClusterParameterGroupRequest - Represents the input to ResetDBClusterParameterGroup.InvalidDBParameterGroupStateException - The DB parameter group is in use, or it is in a state that is not valid. If you are trying to delete the
parameter group, you can't delete it when the parameter group is in this state.DBParameterGroupNotFoundException - DBParameterGroupName doesn't refer to an existing DB parameter group.public DBCluster restoreDBClusterFromSnapshot(RestoreDBClusterFromSnapshotRequest request)
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.
restoreDBClusterFromSnapshot in interface AmazonDocDBrestoreDBClusterFromSnapshotRequest - Represents the input to RestoreDBClusterFromSnapshot.DBClusterAlreadyExistsException - You already have a DB cluster with the given identifier.DBClusterQuotaExceededException - The DB cluster can't be created because you have reached the maximum allowed quota of DB clusters.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.DBSnapshotNotFoundException - DBSnapshotIdentifier doesn't refer to an existing DB snapshot.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.InsufficientDBClusterCapacityException - The DB cluster doesn't have enough capacity for the current operation.InsufficientStorageClusterCapacityException - There is not enough storage available for the current action. You might be able to resolve this error by
updating your subnet group to use different Availability Zones that have more storage available.InvalidDBSnapshotStateException - The state of the DB snapshot doesn't allow deletion.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.InvalidRestoreException - You cannot restore from a virtual private cloud (VPC) backup to a non-VPC DB instance.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).KMSKeyNotAccessibleException - An error occurred when accessing an AWS KMS key.public DBCluster restoreDBClusterToPointInTime(RestoreDBClusterToPointInTimeRequest request)
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.
restoreDBClusterToPointInTime in interface AmazonDocDBrestoreDBClusterToPointInTimeRequest - Represents the input to RestoreDBClusterToPointInTime.DBClusterAlreadyExistsException - You already have a DB cluster with the given identifier.DBClusterNotFoundException - DBClusterIdentifier doesn't refer to an existing DB cluster.DBClusterQuotaExceededException - The DB cluster can't be created because you have reached the maximum allowed quota of DB clusters.DBClusterSnapshotNotFoundException - DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.DBSubnetGroupNotFoundException - DBSubnetGroupName doesn't refer to an existing DB subnet group.InsufficientDBClusterCapacityException - The DB cluster doesn't have enough capacity for the current operation.InsufficientStorageClusterCapacityException - There is not enough storage available for the current action. You might be able to resolve this error by
updating your subnet group to use different Availability Zones that have more storage available.InvalidDBClusterSnapshotStateException - The provided value isn't a valid DB cluster snapshot state.InvalidDBClusterStateException - The DB cluster isn't in a valid state.InvalidDBSnapshotStateException - The state of the DB snapshot doesn't allow deletion.InvalidRestoreException - You cannot restore from a virtual private cloud (VPC) backup to a non-VPC DB instance.InvalidSubnetException - The requested subnet is not valid, or multiple subnets were requested that are not all in a common
virtual private cloud (VPC).InvalidVPCNetworkStateException - The DB subnet group doesn't cover all Availability Zones after it is created because of changes that were
made.KMSKeyNotAccessibleException - An error occurred when accessing an AWS KMS key.StorageQuotaExceededException - The request would cause you to exceed the allowed amount of storage available across all DB instances.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonDocDBrequest - The originally executed requestpublic AmazonDocDBWaiters waiters()
waiters in interface AmazonDocDBpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonDocDBshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.