@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonDocDB extends Object implements AmazonDocDB
AmazonDocDB. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
EventSubscription |
addSourceIdentifierToSubscription(AddSourceIdentifierToSubscriptionRequest request)
Adds a source identifier to an existing event notification subscription.
|
AddTagsToResourceResult |
addTagsToResource(AddTagsToResourceRequest request)
Adds metadata tags to an Amazon DocumentDB resource.
|
ResourcePendingMaintenanceActions |
applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
|
DBClusterParameterGroup |
copyDBClusterParameterGroup(CopyDBClusterParameterGroupRequest request)
Copies the specified cluster parameter group.
|
DBClusterSnapshot |
copyDBClusterSnapshot(CopyDBClusterSnapshotRequest request)
Copies a snapshot of a cluster.
|
DBCluster |
createDBCluster(CreateDBClusterRequest request)
Creates a new Amazon DocumentDB cluster.
|
DBClusterParameterGroup |
createDBClusterParameterGroup(CreateDBClusterParameterGroupRequest request)
Creates a new cluster parameter group.
|
DBClusterSnapshot |
createDBClusterSnapshot(CreateDBClusterSnapshotRequest request)
Creates a snapshot of a cluster.
|
DBInstance |
createDBInstance(CreateDBInstanceRequest request)
Creates a new instance.
|
DBSubnetGroup |
createDBSubnetGroup(CreateDBSubnetGroupRequest request)
Creates a new subnet group.
|
EventSubscription |
createEventSubscription(CreateEventSubscriptionRequest request)
Creates an Amazon DocumentDB event notification subscription.
|
GlobalCluster |
createGlobalCluster(CreateGlobalClusterRequest request)
Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions.
|
DBCluster |
deleteDBCluster(DeleteDBClusterRequest request)
Deletes a previously provisioned cluster.
|
DeleteDBClusterParameterGroupResult |
deleteDBClusterParameterGroup(DeleteDBClusterParameterGroupRequest request)
Deletes a specified cluster parameter group.
|
DBClusterSnapshot |
deleteDBClusterSnapshot(DeleteDBClusterSnapshotRequest request)
Deletes a cluster snapshot.
|
DBInstance |
deleteDBInstance(DeleteDBInstanceRequest request)
Deletes a previously provisioned instance.
|
DeleteDBSubnetGroupResult |
deleteDBSubnetGroup(DeleteDBSubnetGroupRequest request)
Deletes a subnet group.
|
EventSubscription |
deleteEventSubscription(DeleteEventSubscriptionRequest request)
Deletes an Amazon DocumentDB event notification subscription.
|
GlobalCluster |
deleteGlobalCluster(DeleteGlobalClusterRequest request)
Deletes a global cluster.
|
DescribeCertificatesResult |
describeCertificates(DescribeCertificatesRequest request)
Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web
Services account.
|
DescribeDBClusterParameterGroupsResult |
describeDBClusterParameterGroups(DescribeDBClusterParameterGroupsRequest request)
Returns a list of
DBClusterParameterGroup descriptions. |
DescribeDBClusterParametersResult |
describeDBClusterParameters(DescribeDBClusterParametersRequest request)
Returns the detailed parameter list for a particular cluster parameter group.
|
DescribeDBClustersResult |
describeDBClusters(DescribeDBClustersRequest request)
Returns information about provisioned Amazon DocumentDB clusters.
|
DBClusterSnapshotAttributesResult |
describeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request)
Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
|
DescribeDBClusterSnapshotsResult |
describeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request)
Returns information about cluster snapshots.
|
DescribeDBEngineVersionsResult |
describeDBEngineVersions(DescribeDBEngineVersionsRequest request)
Returns a list of the available engines.
|
DescribeDBInstancesResult |
describeDBInstances(DescribeDBInstancesRequest request)
Returns information about provisioned Amazon DocumentDB instances.
|
DescribeDBSubnetGroupsResult |
describeDBSubnetGroups(DescribeDBSubnetGroupsRequest request)
Returns a list of
DBSubnetGroup descriptions. |
EngineDefaults |
describeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request)
Returns the default engine and system parameter information for the cluster database engine.
|
DescribeEventCategoriesResult |
describeEventCategories(DescribeEventCategoriesRequest request)
Displays a list of categories for all event source types, or, if specified, for a specified source type.
|
DescribeEventsResult |
describeEvents(DescribeEventsRequest request)
Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days.
|
DescribeEventSubscriptionsResult |
describeEventSubscriptions(DescribeEventSubscriptionsRequest request)
Lists all the subscription descriptions for a customer account.
|
DescribeGlobalClustersResult |
describeGlobalClusters(DescribeGlobalClustersRequest request)
Returns information about Amazon DocumentDB global clusters.
|
DescribeOrderableDBInstanceOptionsResult |
describeOrderableDBInstanceOptions(DescribeOrderableDBInstanceOptionsRequest request)
Returns a list of orderable instance options for the specified engine.
|
DescribePendingMaintenanceActionsResult |
describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request)
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
|
DBCluster |
failoverDBCluster(FailoverDBClusterRequest request)
Forces a failover for a cluster.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags on an Amazon DocumentDB resource.
|
DBCluster |
modifyDBCluster(ModifyDBClusterRequest request)
Modifies a setting for an Amazon DocumentDB cluster.
|
ModifyDBClusterParameterGroupResult |
modifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request)
Modifies the parameters of a cluster parameter group.
|
DBClusterSnapshotAttributesResult |
modifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request)
Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
|
DBInstance |
modifyDBInstance(ModifyDBInstanceRequest request)
Modifies settings for an instance.
|
DBSubnetGroup |
modifyDBSubnetGroup(ModifyDBSubnetGroupRequest request)
Modifies an existing subnet group.
|
EventSubscription |
modifyEventSubscription(ModifyEventSubscriptionRequest request)
Modifies an existing Amazon DocumentDB event notification subscription.
|
GlobalCluster |
modifyGlobalCluster(ModifyGlobalClusterRequest request)
Modify a setting for an Amazon DocumentDB global cluster.
|
DBInstance |
rebootDBInstance(RebootDBInstanceRequest request)
You might need to reboot your instance, usually for maintenance reasons.
|
GlobalCluster |
removeFromGlobalCluster(RemoveFromGlobalClusterRequest request)
Detaches an Amazon DocumentDB secondary cluster from a global cluster.
|
EventSubscription |
removeSourceIdentifierFromSubscription(RemoveSourceIdentifierFromSubscriptionRequest request)
Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
|
RemoveTagsFromResourceResult |
removeTagsFromResource(RemoveTagsFromResourceRequest request)
Removes metadata tags from an Amazon DocumentDB resource.
|
ResetDBClusterParameterGroupResult |
resetDBClusterParameterGroup(ResetDBClusterParameterGroupRequest request)
Modifies the parameters of a cluster parameter group to the default value.
|
DBCluster |
restoreDBClusterFromSnapshot(RestoreDBClusterFromSnapshotRequest request)
Creates a new cluster from a snapshot or cluster snapshot.
|
DBCluster |
restoreDBClusterToPointInTime(RestoreDBClusterToPointInTimeRequest request)
Restores a cluster to an arbitrary point in time.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
DBCluster |
startDBCluster(StartDBClusterRequest request)
Restarts the stopped cluster that is specified by
DBClusterIdentifier. |
DBCluster |
stopDBCluster(StopDBClusterRequest request)
Stops the running cluster that is specified by
DBClusterIdentifier. |
GlobalCluster |
switchoverGlobalCluster(SwitchoverGlobalClusterRequest request)
Switches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster
in the global database cluster.
|
AmazonDocDBWaiters |
waiters() |
public EventSubscription addSourceIdentifierToSubscription(AddSourceIdentifierToSubscriptionRequest request)
AmazonDocDBAdds a source identifier to an existing event notification subscription.
addSourceIdentifierToSubscription in interface AmazonDocDBrequest - Represents the input to AddSourceIdentifierToSubscription.public AddTagsToResourceResult addTagsToResource(AddTagsToResourceRequest request)
AmazonDocDB
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
Identity and Access Management (IAM) policy for Amazon DocumentDB.
addTagsToResource in interface AmazonDocDBrequest - Represents the input to AddTagsToResource.public ResourcePendingMaintenanceActions applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
AmazonDocDBApplies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
applyPendingMaintenanceAction in interface AmazonDocDBrequest - Represents the input to ApplyPendingMaintenanceAction.public DBClusterParameterGroup copyDBClusterParameterGroup(CopyDBClusterParameterGroupRequest request)
AmazonDocDBCopies the specified cluster parameter group.
copyDBClusterParameterGroup in interface AmazonDocDBrequest - Represents the input to CopyDBClusterParameterGroup.public DBClusterSnapshot copyDBClusterSnapshot(CopyDBClusterSnapshotRequest request)
AmazonDocDBCopies a snapshot of a cluster.
To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier
must be the Amazon Resource Name (ARN) of the shared cluster snapshot. You can only copy a shared DB cluster
snapshot, whether encrypted or not, in the same Amazon Web Services Region.
To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by
TargetDBClusterSnapshotIdentifier while that cluster snapshot is in the copying status.
copyDBClusterSnapshot in interface AmazonDocDBrequest - Represents the input to CopyDBClusterSnapshot.public DBCluster createDBCluster(CreateDBClusterRequest request)
AmazonDocDBCreates a new Amazon DocumentDB cluster.
createDBCluster in interface AmazonDocDBrequest - Represents the input to CreateDBCluster.public DBClusterParameterGroup createDBClusterParameterGroup(CreateDBClusterParameterGroupRequest request)
AmazonDocDBCreates a new cluster parameter group.
Parameters in a cluster parameter group apply to all of the instances in a cluster.
A cluster parameter group is initially created with the default parameters for the database engine used by
instances in the cluster. In Amazon DocumentDB, you cannot make modifications directly to the
default.docdb3.6 cluster parameter group. If your Amazon DocumentDB cluster is using the default
cluster parameter group and you want to modify a value in it, you must first create a
new parameter group or copy an
existing parameter group, modify it, and then apply the modified parameter group to your cluster. For the new
cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster
without failover. For more information, see
Modifying Amazon DocumentDB Cluster Parameter Groups.
createDBClusterParameterGroup in interface AmazonDocDBrequest - Represents the input of CreateDBClusterParameterGroup.public DBClusterSnapshot createDBClusterSnapshot(CreateDBClusterSnapshotRequest request)
AmazonDocDBCreates a snapshot of a cluster.
createDBClusterSnapshot in interface AmazonDocDBrequest - Represents the input of CreateDBClusterSnapshot.public DBInstance createDBInstance(CreateDBInstanceRequest request)
AmazonDocDBCreates a new instance.
createDBInstance in interface AmazonDocDBrequest - Represents the input to CreateDBInstance.public DBSubnetGroup createDBSubnetGroup(CreateDBSubnetGroupRequest request)
AmazonDocDBCreates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.
createDBSubnetGroup in interface AmazonDocDBrequest - Represents the input to CreateDBSubnetGroup.public EventSubscription createEventSubscription(CreateEventSubscriptionRequest request)
AmazonDocDBCreates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console.
You can specify the type of source (SourceType) that you want to be notified of. You can also
provide a list of Amazon DocumentDB sources (SourceIds) that trigger the events, and you can provide
a list of event categories (EventCategories) for events that 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
Amazon DocumentDB sources. If you do not specify either the SourceType or the
SourceIdentifier, you are notified of events generated from all Amazon DocumentDB sources belonging
to your customer account.
createEventSubscription in interface AmazonDocDBrequest - Represents the input to CreateEventSubscription.public GlobalCluster createGlobalCluster(CreateGlobalClusterRequest request)
AmazonDocDBCreates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.
You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster.
This action only applies to Amazon DocumentDB clusters.
createGlobalCluster in interface AmazonDocDBrequest - Represents the input to CreateGlobalCluster.public DBCluster deleteDBCluster(DeleteDBClusterRequest request)
AmazonDocDBDeletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
deleteDBCluster in interface AmazonDocDBrequest - Represents the input to DeleteDBCluster.public DeleteDBClusterParameterGroupResult deleteDBClusterParameterGroup(DeleteDBClusterParameterGroupRequest request)
AmazonDocDBDeletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.
deleteDBClusterParameterGroup in interface AmazonDocDBrequest - Represents the input to DeleteDBClusterParameterGroup.public DBClusterSnapshot deleteDBClusterSnapshot(DeleteDBClusterSnapshotRequest request)
AmazonDocDBDeletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
The cluster snapshot must be in the available state to be deleted.
deleteDBClusterSnapshot in interface AmazonDocDBrequest - Represents the input to DeleteDBClusterSnapshot.public DBInstance deleteDBInstance(DeleteDBInstanceRequest request)
AmazonDocDBDeletes a previously provisioned instance.
deleteDBInstance in interface AmazonDocDBrequest - Represents the input to DeleteDBInstance.public DeleteDBSubnetGroupResult deleteDBSubnetGroup(DeleteDBSubnetGroupRequest request)
AmazonDocDBDeletes a subnet group.
The specified database subnet group must not be associated with any DB instances.
deleteDBSubnetGroup in interface AmazonDocDBrequest - Represents the input to DeleteDBSubnetGroup.public EventSubscription deleteEventSubscription(DeleteEventSubscriptionRequest request)
AmazonDocDBDeletes an Amazon DocumentDB event notification subscription.
deleteEventSubscription in interface AmazonDocDBrequest - Represents the input to DeleteEventSubscription.public GlobalCluster deleteGlobalCluster(DeleteGlobalClusterRequest request)
AmazonDocDBDeletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.
This action only applies to Amazon DocumentDB clusters.
deleteGlobalCluster in interface AmazonDocDBrequest - Represents the input to DeleteGlobalCluster.public DescribeCertificatesResult describeCertificates(DescribeCertificatesRequest request)
AmazonDocDBReturns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web Services account.
describeCertificates in interface AmazonDocDBpublic DescribeDBClusterParameterGroupsResult describeDBClusterParameterGroups(DescribeDBClusterParameterGroupsRequest request)
AmazonDocDB
Returns a list of DBClusterParameterGroup descriptions. If a
DBClusterParameterGroupName parameter is specified, the list contains only the description of the
specified cluster parameter group.
describeDBClusterParameterGroups in interface AmazonDocDBrequest - Represents the input to DescribeDBClusterParameterGroups.public DescribeDBClusterParametersResult describeDBClusterParameters(DescribeDBClusterParametersRequest request)
AmazonDocDBReturns the detailed parameter list for a particular cluster parameter group.
describeDBClusterParameters in interface AmazonDocDBrequest - Represents the input to DescribeDBClusterParameters.public DBClusterSnapshotAttributesResult describeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request)
AmazonDocDBReturns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
When you share snapshots with other Amazon Web Services accounts,
DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for
the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If
all is included in the list of values for the restore attribute, then the manual
cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.
describeDBClusterSnapshotAttributes in interface AmazonDocDBrequest - Represents the input to DescribeDBClusterSnapshotAttributes.public DescribeDBClusterSnapshotsResult describeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request)
AmazonDocDBReturns information about cluster snapshots. This API operation supports pagination.
describeDBClusterSnapshots in interface AmazonDocDBrequest - Represents the input to DescribeDBClusterSnapshots.public DescribeDBClustersResult describeDBClusters(DescribeDBClustersRequest request)
AmazonDocDB
Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. For
certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages
operational technology that is shared with Amazon RDS and Amazon Neptune. Use the
filterName=engine,Values=docdb filter parameter to return only Amazon DocumentDB clusters.
describeDBClusters in interface AmazonDocDBrequest - Represents the input to DescribeDBClusters.public DescribeDBEngineVersionsResult describeDBEngineVersions(DescribeDBEngineVersionsRequest request)
AmazonDocDBReturns a list of the available engines.
describeDBEngineVersions in interface AmazonDocDBrequest - Represents the input to DescribeDBEngineVersions.public DescribeDBInstancesResult describeDBInstances(DescribeDBInstancesRequest request)
AmazonDocDBReturns information about provisioned Amazon DocumentDB instances. This API supports pagination.
describeDBInstances in interface AmazonDocDBrequest - Represents the input to DescribeDBInstances.public DescribeDBSubnetGroupsResult describeDBSubnetGroups(DescribeDBSubnetGroupsRequest request)
AmazonDocDB
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 AmazonDocDBrequest - Represents the input to DescribeDBSubnetGroups.public EngineDefaults describeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest request)
AmazonDocDBReturns the default engine and system parameter information for the cluster database engine.
describeEngineDefaultClusterParameters in interface AmazonDocDBrequest - Represents the input to DescribeEngineDefaultClusterParameters.public DescribeEventCategoriesResult describeEventCategories(DescribeEventCategoriesRequest request)
AmazonDocDBDisplays a list of categories for all event source types, or, if specified, for a specified source type.
describeEventCategories in interface AmazonDocDBrequest - Represents the input to DescribeEventCategories.public DescribeEventSubscriptionsResult describeEventSubscriptions(DescribeEventSubscriptionsRequest request)
AmazonDocDB
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.
describeEventSubscriptions in interface AmazonDocDBrequest - Represents the input to DescribeEventSubscriptions.public DescribeEventsResult describeEvents(DescribeEventsRequest request)
AmazonDocDBReturns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
describeEvents in interface AmazonDocDBrequest - Represents the input to DescribeEvents.public DescribeGlobalClustersResult describeGlobalClusters(DescribeGlobalClustersRequest request)
AmazonDocDBReturns information about Amazon DocumentDB global clusters. This API supports pagination.
This action only applies to Amazon DocumentDB clusters.
describeGlobalClusters in interface AmazonDocDBpublic DescribeOrderableDBInstanceOptionsResult describeOrderableDBInstanceOptions(DescribeOrderableDBInstanceOptionsRequest request)
AmazonDocDBReturns a list of orderable instance options for the specified engine.
describeOrderableDBInstanceOptions in interface AmazonDocDBrequest - Represents the input to DescribeOrderableDBInstanceOptions.public DescribePendingMaintenanceActionsResult describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request)
AmazonDocDBReturns a list of resources (for example, instances) that have at least one pending maintenance action.
describePendingMaintenanceActions in interface AmazonDocDBrequest - Represents the input to DescribePendingMaintenanceActions.public DBCluster failoverDBCluster(FailoverDBClusterRequest request)
AmazonDocDBForces a failover for a cluster.
A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the 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 AmazonDocDBrequest - Represents the input to FailoverDBCluster.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonDocDBLists all tags on an Amazon DocumentDB resource.
listTagsForResource in interface AmazonDocDBrequest - Represents the input to ListTagsForResource.public DBCluster modifyDBCluster(ModifyDBClusterRequest request)
AmazonDocDBModifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
modifyDBCluster in interface AmazonDocDBrequest - Represents the input to ModifyDBCluster.public ModifyDBClusterParameterGroupResult modifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request)
AmazonDocDB
Modifies the parameters of a 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 cluster parameter group, you should wait at least 5 minutes before creating your first cluster
that uses that 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 cluster. This step is
especially important for parameters that are critical when creating the default database for a cluster, such as
the character set for the default database defined by the character_set_database parameter.
modifyDBClusterParameterGroup in interface AmazonDocDBrequest - Represents the input to ModifyDBClusterParameterGroup.public DBClusterSnapshotAttributesResult modifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request)
AmazonDocDBAdds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
To share a manual cluster snapshot with other Amazon Web Services accounts, specify restore as the
AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the Amazon Web
Services accounts that are authorized to restore the manual cluster snapshot. Use the value all to
make the manual cluster snapshot public, which means that it can be copied or restored by all Amazon Web Services
accounts. Do not add the all value for any manual cluster snapshots that contain private information
that you don't want available to all Amazon Web Services accounts. If a manual cluster snapshot is encrypted, it
can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the
ValuesToAdd parameter. You can't use all as a value for that parameter in this case.
modifyDBClusterSnapshotAttribute in interface AmazonDocDBrequest - Represents the input to ModifyDBClusterSnapshotAttribute.public DBInstance modifyDBInstance(ModifyDBInstanceRequest request)
AmazonDocDBModifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
modifyDBInstance in interface AmazonDocDBrequest - Represents the input to ModifyDBInstance.public DBSubnetGroup modifyDBSubnetGroup(ModifyDBSubnetGroupRequest request)
AmazonDocDBModifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.
modifyDBSubnetGroup in interface AmazonDocDBrequest - Represents the input to ModifyDBSubnetGroup.public EventSubscription modifyEventSubscription(ModifyEventSubscriptionRequest request)
AmazonDocDBModifies an existing Amazon DocumentDB event notification subscription.
modifyEventSubscription in interface AmazonDocDBrequest - Represents the input to ModifyEventSubscription.public GlobalCluster modifyGlobalCluster(ModifyGlobalClusterRequest request)
AmazonDocDBModify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values in the request.
This action only applies to Amazon DocumentDB clusters.
modifyGlobalCluster in interface AmazonDocDBrequest - Represents the input to ModifyGlobalCluster.public DBInstance rebootDBInstance(RebootDBInstanceRequest request)
AmazonDocDBYou might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect.
Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
rebootDBInstance in interface AmazonDocDBrequest - Represents the input to RebootDBInstance.public GlobalCluster removeFromGlobalCluster(RemoveFromGlobalClusterRequest request)
AmazonDocDBDetaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region.
This action only applies to Amazon DocumentDB clusters.
removeFromGlobalCluster in interface AmazonDocDBrequest - Represents the input to RemoveFromGlobalCluster.public EventSubscription removeSourceIdentifierFromSubscription(RemoveSourceIdentifierFromSubscriptionRequest request)
AmazonDocDBRemoves a source identifier from an existing Amazon DocumentDB event notification subscription.
removeSourceIdentifierFromSubscription in interface AmazonDocDBrequest - Represents the input to RemoveSourceIdentifierFromSubscription.public RemoveTagsFromResourceResult removeTagsFromResource(RemoveTagsFromResourceRequest request)
AmazonDocDBRemoves metadata tags from an Amazon DocumentDB resource.
removeTagsFromResource in interface AmazonDocDBrequest - Represents the input to RemoveTagsFromResource.public ResetDBClusterParameterGroupResult resetDBClusterParameterGroup(ResetDBClusterParameterGroupRequest request)
AmazonDocDB
Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a
list of the following: ParameterName and ApplyMethod. To reset the entire 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 AmazonDocDBrequest - Represents the input to ResetDBClusterParameterGroup.public DBCluster restoreDBClusterFromSnapshot(RestoreDBClusterFromSnapshotRequest request)
AmazonDocDBCreates a new cluster from a snapshot or cluster snapshot.
If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group.
If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group.
restoreDBClusterFromSnapshot in interface AmazonDocDBrequest - Represents the input to RestoreDBClusterFromSnapshot.public DBCluster restoreDBClusterToPointInTime(RestoreDBClusterToPointInTimeRequest request)
AmazonDocDB
Restores a cluster to an arbitrary point in time. Users can restore to any point in time before
LatestRestorableTime for up to BackupRetentionPeriod days. The target cluster is
created from the source cluster with the same configuration as the original cluster, except that the new cluster
is created with the default security group.
restoreDBClusterToPointInTime in interface AmazonDocDBrequest - Represents the input to RestoreDBClusterToPointInTime.public DBCluster startDBCluster(StartDBClusterRequest request)
AmazonDocDB
Restarts the stopped cluster that is specified by DBClusterIdentifier. For more information, see Stopping and
Starting an Amazon DocumentDB Cluster.
startDBCluster in interface AmazonDocDBpublic DBCluster stopDBCluster(StopDBClusterRequest request)
AmazonDocDB
Stops the running cluster that is specified by DBClusterIdentifier. The cluster must be in the
available state. For more information, see Stopping and
Starting an Amazon DocumentDB Cluster.
stopDBCluster in interface AmazonDocDBpublic GlobalCluster switchoverGlobalCluster(SwitchoverGlobalClusterRequest request)
AmazonDocDBSwitches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster in the global database cluster.
switchoverGlobalCluster in interface AmazonDocDBpublic void shutdown()
AmazonDocDBshutdown in interface AmazonDocDBpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonDocDBResponse 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 a request.
getCachedResponseMetadata in interface AmazonDocDBrequest - The originally executed request.public AmazonDocDBWaiters waiters()
waiters in interface AmazonDocDB