Documentation ¶
Overview ¶
Package docdb provides the API client, operations, and parameter types for Amazon DocumentDB with MongoDB compatibility.
Amazon DocumentDB API documentation
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
- type AddTagsToResourceInput
- type AddTagsToResourceOutput
- type ApplyPendingMaintenanceActionInput
- type ApplyPendingMaintenanceActionOutput
- type Client
- func (c *Client) AddTagsToResource(ctx context.Context, params *AddTagsToResourceInput, optFns ...func(*Options)) (*AddTagsToResourceOutput, error)
- func (c *Client) ApplyPendingMaintenanceAction(ctx context.Context, params *ApplyPendingMaintenanceActionInput, ...) (*ApplyPendingMaintenanceActionOutput, error)
- func (c *Client) CopyDBClusterParameterGroup(ctx context.Context, params *CopyDBClusterParameterGroupInput, ...) (*CopyDBClusterParameterGroupOutput, error)
- func (c *Client) CopyDBClusterSnapshot(ctx context.Context, params *CopyDBClusterSnapshotInput, ...) (*CopyDBClusterSnapshotOutput, error)
- func (c *Client) CreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*Options)) (*CreateDBClusterOutput, error)
- func (c *Client) CreateDBClusterParameterGroup(ctx context.Context, params *CreateDBClusterParameterGroupInput, ...) (*CreateDBClusterParameterGroupOutput, error)
- func (c *Client) CreateDBClusterSnapshot(ctx context.Context, params *CreateDBClusterSnapshotInput, ...) (*CreateDBClusterSnapshotOutput, error)
- func (c *Client) CreateDBInstance(ctx context.Context, params *CreateDBInstanceInput, optFns ...func(*Options)) (*CreateDBInstanceOutput, error)
- func (c *Client) CreateDBSubnetGroup(ctx context.Context, params *CreateDBSubnetGroupInput, ...) (*CreateDBSubnetGroupOutput, error)
- func (c *Client) DeleteDBCluster(ctx context.Context, params *DeleteDBClusterInput, optFns ...func(*Options)) (*DeleteDBClusterOutput, error)
- func (c *Client) DeleteDBClusterParameterGroup(ctx context.Context, params *DeleteDBClusterParameterGroupInput, ...) (*DeleteDBClusterParameterGroupOutput, error)
- func (c *Client) DeleteDBClusterSnapshot(ctx context.Context, params *DeleteDBClusterSnapshotInput, ...) (*DeleteDBClusterSnapshotOutput, error)
- func (c *Client) DeleteDBInstance(ctx context.Context, params *DeleteDBInstanceInput, optFns ...func(*Options)) (*DeleteDBInstanceOutput, error)
- func (c *Client) DeleteDBSubnetGroup(ctx context.Context, params *DeleteDBSubnetGroupInput, ...) (*DeleteDBSubnetGroupOutput, error)
- func (c *Client) DescribeCertificates(ctx context.Context, params *DescribeCertificatesInput, ...) (*DescribeCertificatesOutput, error)
- func (c *Client) DescribeDBClusterParameterGroups(ctx context.Context, params *DescribeDBClusterParameterGroupsInput, ...) (*DescribeDBClusterParameterGroupsOutput, error)
- func (c *Client) DescribeDBClusterParameters(ctx context.Context, params *DescribeDBClusterParametersInput, ...) (*DescribeDBClusterParametersOutput, error)
- func (c *Client) DescribeDBClusterSnapshotAttributes(ctx context.Context, params *DescribeDBClusterSnapshotAttributesInput, ...) (*DescribeDBClusterSnapshotAttributesOutput, error)
- func (c *Client) DescribeDBClusterSnapshots(ctx context.Context, params *DescribeDBClusterSnapshotsInput, ...) (*DescribeDBClusterSnapshotsOutput, error)
- func (c *Client) DescribeDBClusters(ctx context.Context, params *DescribeDBClustersInput, optFns ...func(*Options)) (*DescribeDBClustersOutput, error)
- func (c *Client) DescribeDBEngineVersions(ctx context.Context, params *DescribeDBEngineVersionsInput, ...) (*DescribeDBEngineVersionsOutput, error)
- func (c *Client) DescribeDBInstances(ctx context.Context, params *DescribeDBInstancesInput, ...) (*DescribeDBInstancesOutput, error)
- func (c *Client) DescribeDBSubnetGroups(ctx context.Context, params *DescribeDBSubnetGroupsInput, ...) (*DescribeDBSubnetGroupsOutput, error)
- func (c *Client) DescribeEngineDefaultClusterParameters(ctx context.Context, params *DescribeEngineDefaultClusterParametersInput, ...) (*DescribeEngineDefaultClusterParametersOutput, error)
- func (c *Client) DescribeEventCategories(ctx context.Context, params *DescribeEventCategoriesInput, ...) (*DescribeEventCategoriesOutput, error)
- func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
- func (c *Client) DescribeOrderableDBInstanceOptions(ctx context.Context, params *DescribeOrderableDBInstanceOptionsInput, ...) (*DescribeOrderableDBInstanceOptionsOutput, error)
- func (c *Client) DescribePendingMaintenanceActions(ctx context.Context, params *DescribePendingMaintenanceActionsInput, ...) (*DescribePendingMaintenanceActionsOutput, error)
- func (c *Client) FailoverDBCluster(ctx context.Context, params *FailoverDBClusterInput, optFns ...func(*Options)) (*FailoverDBClusterOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ModifyDBCluster(ctx context.Context, params *ModifyDBClusterInput, optFns ...func(*Options)) (*ModifyDBClusterOutput, error)
- func (c *Client) ModifyDBClusterParameterGroup(ctx context.Context, params *ModifyDBClusterParameterGroupInput, ...) (*ModifyDBClusterParameterGroupOutput, error)
- func (c *Client) ModifyDBClusterSnapshotAttribute(ctx context.Context, params *ModifyDBClusterSnapshotAttributeInput, ...) (*ModifyDBClusterSnapshotAttributeOutput, error)
- func (c *Client) ModifyDBInstance(ctx context.Context, params *ModifyDBInstanceInput, optFns ...func(*Options)) (*ModifyDBInstanceOutput, error)
- func (c *Client) ModifyDBSubnetGroup(ctx context.Context, params *ModifyDBSubnetGroupInput, ...) (*ModifyDBSubnetGroupOutput, error)
- func (c *Client) RebootDBInstance(ctx context.Context, params *RebootDBInstanceInput, optFns ...func(*Options)) (*RebootDBInstanceOutput, error)
- func (c *Client) RemoveTagsFromResource(ctx context.Context, params *RemoveTagsFromResourceInput, ...) (*RemoveTagsFromResourceOutput, error)
- func (c *Client) ResetDBClusterParameterGroup(ctx context.Context, params *ResetDBClusterParameterGroupInput, ...) (*ResetDBClusterParameterGroupOutput, error)
- func (c *Client) RestoreDBClusterFromSnapshot(ctx context.Context, params *RestoreDBClusterFromSnapshotInput, ...) (*RestoreDBClusterFromSnapshotOutput, error)
- func (c *Client) RestoreDBClusterToPointInTime(ctx context.Context, params *RestoreDBClusterToPointInTimeInput, ...) (*RestoreDBClusterToPointInTimeOutput, error)
- func (c *Client) StartDBCluster(ctx context.Context, params *StartDBClusterInput, optFns ...func(*Options)) (*StartDBClusterOutput, error)
- func (c *Client) StopDBCluster(ctx context.Context, params *StopDBClusterInput, optFns ...func(*Options)) (*StopDBClusterOutput, error)
- type CopyDBClusterParameterGroupInput
- type CopyDBClusterParameterGroupOutput
- type CopyDBClusterSnapshotInput
- type CopyDBClusterSnapshotOutput
- type CreateDBClusterInput
- type CreateDBClusterOutput
- type CreateDBClusterParameterGroupInput
- type CreateDBClusterParameterGroupOutput
- type CreateDBClusterSnapshotInput
- type CreateDBClusterSnapshotOutput
- type CreateDBInstanceInput
- type CreateDBInstanceOutput
- type CreateDBSubnetGroupInput
- type CreateDBSubnetGroupOutput
- type DBInstanceAvailableWaiter
- type DBInstanceAvailableWaiterOptions
- type DeleteDBClusterInput
- type DeleteDBClusterOutput
- type DeleteDBClusterParameterGroupInput
- type DeleteDBClusterParameterGroupOutput
- type DeleteDBClusterSnapshotInput
- type DeleteDBClusterSnapshotOutput
- type DeleteDBInstanceInput
- type DeleteDBInstanceOutput
- type DeleteDBSubnetGroupInput
- type DeleteDBSubnetGroupOutput
- type DescribeCertificatesAPIClient
- type DescribeCertificatesInput
- type DescribeCertificatesOutput
- type DescribeCertificatesPaginator
- type DescribeCertificatesPaginatorOptions
- type DescribeDBClusterParameterGroupsAPIClient
- type DescribeDBClusterParameterGroupsInput
- type DescribeDBClusterParameterGroupsOutput
- type DescribeDBClusterParameterGroupsPaginator
- type DescribeDBClusterParameterGroupsPaginatorOptions
- type DescribeDBClusterParametersAPIClient
- type DescribeDBClusterParametersInput
- type DescribeDBClusterParametersOutput
- type DescribeDBClusterParametersPaginator
- type DescribeDBClusterParametersPaginatorOptions
- type DescribeDBClusterSnapshotAttributesInput
- type DescribeDBClusterSnapshotAttributesOutput
- type DescribeDBClusterSnapshotsAPIClient
- type DescribeDBClusterSnapshotsInput
- type DescribeDBClusterSnapshotsOutput
- type DescribeDBClusterSnapshotsPaginator
- type DescribeDBClusterSnapshotsPaginatorOptions
- type DescribeDBClustersAPIClient
- type DescribeDBClustersInput
- type DescribeDBClustersOutput
- type DescribeDBClustersPaginator
- type DescribeDBClustersPaginatorOptions
- type DescribeDBEngineVersionsAPIClient
- type DescribeDBEngineVersionsInput
- type DescribeDBEngineVersionsOutput
- type DescribeDBEngineVersionsPaginator
- type DescribeDBEngineVersionsPaginatorOptions
- type DescribeDBInstancesAPIClient
- type DescribeDBInstancesInput
- type DescribeDBInstancesOutput
- type DescribeDBInstancesPaginator
- type DescribeDBInstancesPaginatorOptions
- type DescribeDBSubnetGroupsAPIClient
- type DescribeDBSubnetGroupsInput
- type DescribeDBSubnetGroupsOutput
- type DescribeDBSubnetGroupsPaginator
- type DescribeDBSubnetGroupsPaginatorOptions
- type DescribeEngineDefaultClusterParametersInput
- type DescribeEngineDefaultClusterParametersOutput
- type DescribeEventCategoriesInput
- type DescribeEventCategoriesOutput
- type DescribeEventsAPIClient
- type DescribeEventsInput
- type DescribeEventsOutput
- type DescribeEventsPaginator
- type DescribeEventsPaginatorOptions
- type DescribeOrderableDBInstanceOptionsAPIClient
- type DescribeOrderableDBInstanceOptionsInput
- type DescribeOrderableDBInstanceOptionsOutput
- type DescribeOrderableDBInstanceOptionsPaginator
- type DescribeOrderableDBInstanceOptionsPaginatorOptions
- type DescribePendingMaintenanceActionsAPIClient
- type DescribePendingMaintenanceActionsInput
- type DescribePendingMaintenanceActionsOutput
- type DescribePendingMaintenanceActionsPaginator
- type DescribePendingMaintenanceActionsPaginatorOptions
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type FailoverDBClusterInput
- type FailoverDBClusterOutput
- type HTTPClient
- type HTTPPresignerV4
- type HTTPSignerV4
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ModifyDBClusterInput
- type ModifyDBClusterOutput
- type ModifyDBClusterParameterGroupInput
- type ModifyDBClusterParameterGroupOutput
- type ModifyDBClusterSnapshotAttributeInput
- type ModifyDBClusterSnapshotAttributeOutput
- type ModifyDBInstanceInput
- type ModifyDBInstanceOutput
- type ModifyDBSubnetGroupInput
- type ModifyDBSubnetGroupOutput
- type Options
- type PresignClient
- type PresignOptions
- type RebootDBInstanceInput
- type RebootDBInstanceOutput
- type RemoveTagsFromResourceInput
- type RemoveTagsFromResourceOutput
- type ResetDBClusterParameterGroupInput
- type ResetDBClusterParameterGroupOutput
- type ResolveEndpoint
- type RestoreDBClusterFromSnapshotInput
- type RestoreDBClusterFromSnapshotOutput
- type RestoreDBClusterToPointInTimeInput
- type RestoreDBClusterToPointInTimeOutput
- type StartDBClusterInput
- type StartDBClusterOutput
- type StopDBClusterInput
- type StopDBClusterOutput
Constants ¶
const ServiceAPIVersion = "2014-10-31"
const ServiceID = "DocDB"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
func WithPresignClientFromClientOptions ¶ added in v1.2.0
func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
WithPresignClientFromClientOptions is a helper utility to retrieve a function that takes PresignOption as input
Types ¶
type AddTagsToResourceInput ¶
type AddTagsToResourceInput struct { // The Amazon DocumentDB resource that the tags are added to. This value is an // Amazon Resource Name . // // This member is required. ResourceName *string // The tags to be assigned to the Amazon DocumentDB resource. // // This member is required. Tags []types.Tag }
Represents the input to AddTagsToResource.
type AddTagsToResourceOutput ¶
type AddTagsToResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ApplyPendingMaintenanceActionInput ¶
type ApplyPendingMaintenanceActionInput struct { // The pending maintenance action to apply to this resource. Valid values: // system-update, db-upgrade // // This member is required. ApplyAction *string // A value that specifies the type of opt-in request or undoes an opt-in request. // An opt-in request of type immediate can't 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. // // This member is required. OptInType *string // The Amazon Resource Name (ARN) of the resource that the pending maintenance // action applies to. // // This member is required. ResourceIdentifier *string }
Represents the input to ApplyPendingMaintenanceAction.
type ApplyPendingMaintenanceActionOutput ¶
type ApplyPendingMaintenanceActionOutput struct { // Represents the output of ApplyPendingMaintenanceAction. ResourcePendingMaintenanceActions *types.ResourcePendingMaintenanceActions // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon DocumentDB with MongoDB compatibility.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddTagsToResource ¶
func (c *Client) AddTagsToResource(ctx context.Context, params *AddTagsToResourceInput, optFns ...func(*Options)) (*AddTagsToResourceOutput, error)
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.
func (*Client) ApplyPendingMaintenanceAction ¶
func (c *Client) ApplyPendingMaintenanceAction(ctx context.Context, params *ApplyPendingMaintenanceActionInput, optFns ...func(*Options)) (*ApplyPendingMaintenanceActionOutput, error)
Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
func (*Client) CopyDBClusterParameterGroup ¶
func (c *Client) CopyDBClusterParameterGroup(ctx context.Context, params *CopyDBClusterParameterGroupInput, optFns ...func(*Options)) (*CopyDBClusterParameterGroupOutput, error)
Copies the specified cluster parameter group.
func (*Client) CopyDBClusterSnapshot ¶
func (c *Client) CopyDBClusterSnapshot(ctx context.Context, params *CopyDBClusterSnapshotInput, optFns ...func(*Options)) (*CopyDBClusterSnapshotOutput, error)
Copies 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 AWS 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.
func (*Client) CreateDBCluster ¶
func (c *Client) CreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*Options)) (*CreateDBClusterOutput, error)
Creates a new Amazon DocumentDB cluster.
func (*Client) CreateDBClusterParameterGroup ¶
func (c *Client) CreateDBClusterParameterGroup(ctx context.Context, params *CreateDBClusterParameterGroupInput, optFns ...func(*Options)) (*CreateDBClusterParameterGroupOutput, error)
Creates 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 (https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html) or copy an existing parameter group (https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html), 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 (https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html).
func (*Client) CreateDBClusterSnapshot ¶
func (c *Client) CreateDBClusterSnapshot(ctx context.Context, params *CreateDBClusterSnapshotInput, optFns ...func(*Options)) (*CreateDBClusterSnapshotOutput, error)
Creates a snapshot of a cluster.
func (*Client) CreateDBInstance ¶
func (c *Client) CreateDBInstance(ctx context.Context, params *CreateDBInstanceInput, optFns ...func(*Options)) (*CreateDBInstanceOutput, error)
Creates a new instance.
func (*Client) CreateDBSubnetGroup ¶
func (c *Client) CreateDBSubnetGroup(ctx context.Context, params *CreateDBSubnetGroupInput, optFns ...func(*Options)) (*CreateDBSubnetGroupOutput, error)
Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
func (*Client) DeleteDBCluster ¶
func (c *Client) DeleteDBCluster(ctx context.Context, params *DeleteDBClusterInput, optFns ...func(*Options)) (*DeleteDBClusterOutput, error)
Deletes 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.
func (*Client) DeleteDBClusterParameterGroup ¶
func (c *Client) DeleteDBClusterParameterGroup(ctx context.Context, params *DeleteDBClusterParameterGroupInput, optFns ...func(*Options)) (*DeleteDBClusterParameterGroupOutput, error)
Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.
func (*Client) DeleteDBClusterSnapshot ¶
func (c *Client) DeleteDBClusterSnapshot(ctx context.Context, params *DeleteDBClusterSnapshotInput, optFns ...func(*Options)) (*DeleteDBClusterSnapshotOutput, error)
Deletes 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.
func (*Client) DeleteDBInstance ¶
func (c *Client) DeleteDBInstance(ctx context.Context, params *DeleteDBInstanceInput, optFns ...func(*Options)) (*DeleteDBInstanceOutput, error)
Deletes a previously provisioned instance.
func (*Client) DeleteDBSubnetGroup ¶
func (c *Client) DeleteDBSubnetGroup(ctx context.Context, params *DeleteDBSubnetGroupInput, optFns ...func(*Options)) (*DeleteDBSubnetGroupOutput, error)
Deletes a subnet group. The specified database subnet group must not be associated with any DB instances.
func (*Client) DescribeCertificates ¶
func (c *Client) DescribeCertificates(ctx context.Context, params *DescribeCertificatesInput, optFns ...func(*Options)) (*DescribeCertificatesOutput, error)
Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account.
func (*Client) DescribeDBClusterParameterGroups ¶
func (c *Client) DescribeDBClusterParameterGroups(ctx context.Context, params *DescribeDBClusterParameterGroupsInput, optFns ...func(*Options)) (*DescribeDBClusterParameterGroupsOutput, error)
Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified cluster parameter group.
func (*Client) DescribeDBClusterParameters ¶
func (c *Client) DescribeDBClusterParameters(ctx context.Context, params *DescribeDBClusterParametersInput, optFns ...func(*Options)) (*DescribeDBClusterParametersOutput, error)
Returns the detailed parameter list for a particular cluster parameter group.
func (*Client) DescribeDBClusterSnapshotAttributes ¶
func (c *Client) DescribeDBClusterSnapshotAttributes(ctx context.Context, params *DescribeDBClusterSnapshotAttributesInput, optFns ...func(*Options)) (*DescribeDBClusterSnapshotAttributesOutput, error)
Returns a list of 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 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 AWS accounts.
func (*Client) DescribeDBClusterSnapshots ¶
func (c *Client) DescribeDBClusterSnapshots(ctx context.Context, params *DescribeDBClusterSnapshotsInput, optFns ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
Returns information about cluster snapshots. This API operation supports pagination.
func (*Client) DescribeDBClusters ¶
func (c *Client) DescribeDBClusters(ctx context.Context, params *DescribeDBClustersInput, optFns ...func(*Options)) (*DescribeDBClustersOutput, error)
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.
func (*Client) DescribeDBEngineVersions ¶
func (c *Client) DescribeDBEngineVersions(ctx context.Context, params *DescribeDBEngineVersionsInput, optFns ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
Returns a list of the available engines.
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(ctx context.Context, params *DescribeDBInstancesInput, optFns ...func(*Options)) (*DescribeDBInstancesOutput, error)
Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
func (*Client) DescribeDBSubnetGroups ¶
func (c *Client) DescribeDBSubnetGroups(ctx context.Context, params *DescribeDBSubnetGroupsInput, optFns ...func(*Options)) (*DescribeDBSubnetGroupsOutput, error)
Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
func (*Client) DescribeEngineDefaultClusterParameters ¶
func (c *Client) DescribeEngineDefaultClusterParameters(ctx context.Context, params *DescribeEngineDefaultClusterParametersInput, optFns ...func(*Options)) (*DescribeEngineDefaultClusterParametersOutput, error)
Returns the default engine and system parameter information for the cluster database engine.
func (*Client) DescribeEventCategories ¶
func (c *Client) DescribeEventCategories(ctx context.Context, params *DescribeEventCategoriesInput, optFns ...func(*Options)) (*DescribeEventCategoriesOutput, error)
Displays a list of categories for all event source types, or, if specified, for a specified source type.
func (*Client) DescribeEvents ¶
func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
Returns 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.
func (*Client) DescribeOrderableDBInstanceOptions ¶
func (c *Client) DescribeOrderableDBInstanceOptions(ctx context.Context, params *DescribeOrderableDBInstanceOptionsInput, optFns ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
Returns a list of orderable instance options for the specified engine.
func (*Client) DescribePendingMaintenanceActions ¶
func (c *Client) DescribePendingMaintenanceActions(ctx context.Context, params *DescribePendingMaintenanceActionsInput, optFns ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error)
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
func (*Client) FailoverDBCluster ¶
func (c *Client) FailoverDBCluster(ctx context.Context, params *FailoverDBClusterInput, optFns ...func(*Options)) (*FailoverDBClusterOutput, error)
Forces 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.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists all tags on an Amazon DocumentDB resource.
func (*Client) ModifyDBCluster ¶
func (c *Client) ModifyDBCluster(ctx context.Context, params *ModifyDBClusterInput, optFns ...func(*Options)) (*ModifyDBClusterOutput, error)
Modifies 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.
func (*Client) ModifyDBClusterParameterGroup ¶
func (c *Client) ModifyDBClusterParameterGroup(ctx context.Context, params *ModifyDBClusterParameterGroupInput, optFns ...func(*Options)) (*ModifyDBClusterParameterGroupOutput, error)
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.
func (*Client) ModifyDBClusterSnapshotAttribute ¶
func (c *Client) ModifyDBClusterSnapshotAttribute(ctx context.Context, params *ModifyDBClusterSnapshotAttributeInput, optFns ...func(*Options)) (*ModifyDBClusterSnapshotAttributeOutput, error)
Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual 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 cluster snapshot. Use the value all to make the manual 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 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.
func (*Client) ModifyDBInstance ¶
func (c *Client) ModifyDBInstance(ctx context.Context, params *ModifyDBInstanceInput, optFns ...func(*Options)) (*ModifyDBInstanceOutput, error)
Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
func (*Client) ModifyDBSubnetGroup ¶
func (c *Client) ModifyDBSubnetGroup(ctx context.Context, params *ModifyDBSubnetGroupInput, optFns ...func(*Options)) (*ModifyDBSubnetGroupOutput, error)
Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
func (*Client) RebootDBInstance ¶
func (c *Client) RebootDBInstance(ctx context.Context, params *RebootDBInstanceInput, optFns ...func(*Options)) (*RebootDBInstanceOutput, error)
You 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.
func (*Client) RemoveTagsFromResource ¶
func (c *Client) RemoveTagsFromResource(ctx context.Context, params *RemoveTagsFromResourceInput, optFns ...func(*Options)) (*RemoveTagsFromResourceOutput, error)
Removes metadata tags from an Amazon DocumentDB resource.
func (*Client) ResetDBClusterParameterGroup ¶
func (c *Client) ResetDBClusterParameterGroup(ctx context.Context, params *ResetDBClusterParameterGroupInput, optFns ...func(*Options)) (*ResetDBClusterParameterGroupOutput, error)
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.
func (*Client) RestoreDBClusterFromSnapshot ¶
func (c *Client) RestoreDBClusterFromSnapshot(ctx context.Context, params *RestoreDBClusterFromSnapshotInput, optFns ...func(*Options)) (*RestoreDBClusterFromSnapshotOutput, error)
Creates 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.
func (*Client) RestoreDBClusterToPointInTime ¶
func (c *Client) RestoreDBClusterToPointInTime(ctx context.Context, params *RestoreDBClusterToPointInTimeInput, optFns ...func(*Options)) (*RestoreDBClusterToPointInTimeOutput, error)
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.
func (*Client) StartDBCluster ¶
func (c *Client) StartDBCluster(ctx context.Context, params *StartDBClusterInput, optFns ...func(*Options)) (*StartDBClusterOutput, error)
Restarts the stopped cluster that is specified by DBClusterIdentifier. For more information, see Stopping and Starting an Amazon DocumentDB Cluster (https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-stop-start.html).
func (*Client) StopDBCluster ¶
func (c *Client) StopDBCluster(ctx context.Context, params *StopDBClusterInput, optFns ...func(*Options)) (*StopDBClusterOutput, error)
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 (https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-stop-start.html).
type CopyDBClusterParameterGroupInput ¶
type CopyDBClusterParameterGroupInput struct { // The identifier or Amazon Resource Name (ARN) for the source cluster parameter // group. Constraints: // // * Must specify a valid cluster parameter group. // // * If the // source cluster parameter group is in the same AWS Region as the copy, specify a // valid parameter group identifier; for example, my-db-cluster-param-group, or a // valid ARN. // // * If the source parameter group is in a different AWS Region than // the copy, specify a valid cluster parameter group ARN; for example, // arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group. // // This member is required. SourceDBClusterParameterGroupIdentifier *string // A description for the copied cluster parameter group. // // This member is required. TargetDBClusterParameterGroupDescription *string // The identifier for the copied cluster parameter group. Constraints: // // * Cannot be // null, empty, or blank. // // * Must contain from 1 to 255 letters, numbers, or // hyphens. // // * The first character must be a letter. // // * Cannot end with a hyphen or // contain two consecutive hyphens. // // Example: my-cluster-param-group1 // // This member is required. TargetDBClusterParameterGroupIdentifier *string // The tags that are to be assigned to the parameter group. Tags []types.Tag }
Represents the input to CopyDBClusterParameterGroup.
type CopyDBClusterParameterGroupOutput ¶
type CopyDBClusterParameterGroupOutput struct { // Detailed information about a cluster parameter group. DBClusterParameterGroup *types.DBClusterParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CopyDBClusterSnapshotInput ¶
type CopyDBClusterSnapshotInput struct { // The identifier of the cluster snapshot to copy. This parameter is not case // sensitive. 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 snapshot identifier. // // * If the source snapshot is in a different AWS // Region than the copy, specify a valid cluster snapshot ARN. // // Example: // my-cluster-snapshot1 // // This member is required. SourceDBClusterSnapshotIdentifier *string // The identifier of the new cluster snapshot to create from the source cluster // snapshot. This parameter is not case sensitive. 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-cluster-snapshot2 // // This member is required. TargetDBClusterSnapshotIdentifier *string // Set to true to copy all tags from the source cluster snapshot to the target // cluster snapshot, and otherwise false. The default is false. CopyTags *bool // The AWS KMS key ID for an encrypted cluster snapshot. The AWS KMS key ID is the // Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for // the AWS KMS encryption key. If you copy an encrypted cluster snapshot from your // AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new // AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy // of the cluster snapshot is encrypted with the same AWS KMS key as the source // cluster snapshot. If you copy an encrypted cluster snapshot that is shared from // another AWS account, then you must specify a value for KmsKeyId. To copy an // encrypted cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS // key ID that you want to use to encrypt the copy of the cluster snapshot in the // destination Region. AWS KMS encryption keys are specific to the AWS Region that // they are created in, and you can't use encryption keys from one AWS Region in // another AWS Region. If you copy an unencrypted cluster snapshot and specify a // value for the KmsKeyId parameter, an error is returned. KmsKeyId *string // The URL that contains a Signature Version 4 signed request for the // CopyDBClusterSnapshot API action in the AWS Region that contains the source // cluster snapshot to copy. You must use the PreSignedUrl parameter when copying a // cluster snapshot from another AWS Region. If you are using an AWS SDK tool or // the AWS CLI, you can specify SourceRegion (or --source-region for the AWS CLI) // instead of specifying PreSignedUrl manually. Specifying SourceRegion // autogenerates a pre-signed URL that is a valid request for the operation that // can be executed in the source AWS Region. The presigned URL must be a valid // request for the CopyDBClusterSnapshot API action that can be executed in the // source AWS Region that contains the cluster snapshot to be copied. The presigned // URL request must contain the following parameter values: // // * SourceRegion - The // ID of the region that contains the snapshot to be copied. // // * // SourceDBClusterSnapshotIdentifier - The identifier for the the encrypted 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 // cluster snapshot from the us-east-1 AWS Region, then your // SourceDBClusterSnapshotIdentifier looks something like the following: // arn:aws:rds:us-east-1:12345678012:sample-cluster:sample-cluster-snapshot. // // * // TargetDBClusterSnapshotIdentifier - The identifier for the new cluster snapshot // to be created. This parameter isn't case sensitive. PreSignedUrl *string // The AWS region the resource is in. The presigned URL will be created with this // region, if the PresignURL member is empty set. SourceRegion *string // The tags to be assigned to the cluster snapshot. Tags []types.Tag // contains filtered or unexported fields }
Represents the input to CopyDBClusterSnapshot.
type CopyDBClusterSnapshotOutput ¶
type CopyDBClusterSnapshotOutput struct { // Detailed information about a cluster snapshot. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterInput ¶
type CreateDBClusterInput struct { // The cluster identifier. This parameter 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-cluster // // This member is required. DBClusterIdentifier *string // The name of the database engine to be used for this cluster. Valid values: docdb // // This member is required. Engine *string // The password for the master database user. This password can contain any // printable ASCII character except forward slash (/), double quote ("), or the // "at" symbol (@). Constraints: Must contain from 8 to 100 characters. // // This member is required. MasterUserPassword *string // The name of the master user for the cluster. Constraints: // // * Must be from 1 to // 63 letters or numbers. // // * The first character must be a letter. // // * Cannot be a // reserved word for the chosen database engine. // // This member is required. MasterUsername *string // A list of Amazon EC2 Availability Zones that instances in the cluster can be // created in. AvailabilityZones []string // 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. BackupRetentionPeriod *int32 // The name of the cluster parameter group to associate with this cluster. DBClusterParameterGroupName *string // A subnet group to associate with this cluster. Constraints: Must match the name // of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup DBSubnetGroupName *string // Specifies whether this cluster can be deleted. If DeletionProtection is enabled, // the cluster cannot be deleted unless it is modified and DeletionProtection is // disabled. DeletionProtection protects clusters from being accidentally deleted. DeletionProtection *bool // A list of log types that need to be enabled for exporting to Amazon CloudWatch // Logs. You can enable audit logs or profiler logs. For more information, see // Auditing Amazon DocumentDB Events // (https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html) // and Profiling Amazon DocumentDB Operations // (https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html). EnableCloudwatchLogsExports []string // The version number of the database engine to use. The --engine-version will // default to the latest major engine version. For production workloads, we // recommend explicitly declaring this parameter with the intended major engine // version. EngineVersion *string // The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier // is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are // creating a cluster using the same AWS account that owns the AWS KMS encryption // key that is used to encrypt the new cluster, you can use the AWS KMS key alias // instead of the ARN for the AWS KMS encryption key. If an encryption key is not // specified in KmsKeyId: // // * If the StorageEncrypted parameter is true, Amazon // DocumentDB uses 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. KmsKeyId *string // The port number on which the instances in the cluster accept connections. Port *int32 // Not currently supported. PreSignedUrl *string // The daily time range during which automated backups are created if automated // backups are enabled using the BackupRetentionPeriod parameter. The default is a // 30-minute window selected at random from an 8-hour block of time for each AWS // Region. Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Must be in // Universal Coordinated Time (UTC). // // * Must not conflict with the preferred // maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a // 30-minute window selected at random from an 8-hour block of time for each AWS // Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, // Fri, Sat, Sun Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string // The AWS region the resource is in. The presigned URL will be created with this // region, if the PresignURL member is empty set. SourceRegion *string // Specifies whether the cluster is encrypted. StorageEncrypted *bool // The tags to be assigned to the cluster. Tags []types.Tag // A list of EC2 VPC security groups to associate with this cluster. VpcSecurityGroupIds []string // contains filtered or unexported fields }
Represents the input to CreateDBCluster.
type CreateDBClusterOutput ¶
type CreateDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterParameterGroupInput ¶
type CreateDBClusterParameterGroupInput struct { // The name of the cluster parameter group. Constraints: // // * Must not match the name // of an existing DBClusterParameterGroup. // // This value is stored as a lowercase // string. // // This member is required. DBClusterParameterGroupName *string // The cluster parameter group family name. // // This member is required. DBParameterGroupFamily *string // The description for the cluster parameter group. // // This member is required. Description *string // The tags to be assigned to the cluster parameter group. Tags []types.Tag }
Represents the input of CreateDBClusterParameterGroup.
type CreateDBClusterParameterGroupOutput ¶
type CreateDBClusterParameterGroupOutput struct { // Detailed information about a cluster parameter group. DBClusterParameterGroup *types.DBClusterParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterSnapshotInput ¶
type CreateDBClusterSnapshotInput struct { // The identifier of the cluster to create a snapshot for. This parameter is not // case sensitive. Constraints: // // * Must match the identifier of an existing // DBCluster. // // Example: my-cluster // // This member is required. DBClusterIdentifier *string // The identifier of the cluster snapshot. This parameter 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-cluster-snapshot1 // // This member is required. DBClusterSnapshotIdentifier *string // The tags to be assigned to the cluster snapshot. Tags []types.Tag }
Represents the input of CreateDBClusterSnapshot.
type CreateDBClusterSnapshotOutput ¶
type CreateDBClusterSnapshotOutput struct { // Detailed information about a cluster snapshot. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBInstanceInput ¶
type CreateDBInstanceInput struct { // The identifier of the cluster that the instance will belong to. // // This member is required. DBClusterIdentifier *string // The compute and memory capacity of the instance; for example, db.r5.large. // // This member is required. DBInstanceClass *string // The instance identifier. This parameter 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 // // This member is required. DBInstanceIdentifier *string // The name of the database engine to be used for this instance. Valid value: docdb // // This member is required. Engine *string // Indicates that minor engine upgrades are applied automatically to the instance // during the maintenance window. Default: true AutoMinorVersionUpgrade *bool // The Amazon EC2 Availability Zone that the instance is created in. Default: A // random, system-chosen Availability Zone in the endpoint's AWS Region. Example: // us-east-1d AvailabilityZone *string // The time range each week during which system maintenance can occur, in Universal // Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a // 30-minute window selected at random from an 8-hour block of time for each AWS // Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, // Fri, Sat, Sun Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string // A value that specifies the order in which an Amazon DocumentDB replica is // promoted to the primary instance after a failure of the existing primary // instance. Default: 1 Valid values: 0-15 PromotionTier *int32 // The tags to be assigned to the instance. You can assign up to 10 tags to an // instance. Tags []types.Tag }
Represents the input to CreateDBInstance.
type CreateDBInstanceOutput ¶
type CreateDBInstanceOutput struct { // Detailed information about an instance. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBSubnetGroupInput ¶
type CreateDBSubnetGroupInput struct { // The description for the subnet group. // // This member is required. DBSubnetGroupDescription *string // The name for the 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 // // This member is required. DBSubnetGroupName *string // The Amazon EC2 subnet IDs for the subnet group. // // This member is required. SubnetIds []string // The tags to be assigned to the subnet group. Tags []types.Tag }
Represents the input to CreateDBSubnetGroup.
type CreateDBSubnetGroupOutput ¶
type CreateDBSubnetGroupOutput struct { // Detailed information about a subnet group. DBSubnetGroup *types.DBSubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DBInstanceAvailableWaiter ¶ added in v0.31.0
type DBInstanceAvailableWaiter struct {
// contains filtered or unexported fields
}
DBInstanceAvailableWaiter defines the waiters for DBInstanceAvailable
func NewDBInstanceAvailableWaiter ¶ added in v0.31.0
func NewDBInstanceAvailableWaiter(client DescribeDBInstancesAPIClient, optFns ...func(*DBInstanceAvailableWaiterOptions)) *DBInstanceAvailableWaiter
NewDBInstanceAvailableWaiter constructs a DBInstanceAvailableWaiter.
func (*DBInstanceAvailableWaiter) Wait ¶ added in v0.31.0
func (w *DBInstanceAvailableWaiter) Wait(ctx context.Context, params *DescribeDBInstancesInput, maxWaitDur time.Duration, optFns ...func(*DBInstanceAvailableWaiterOptions)) error
Wait calls the waiter function for DBInstanceAvailable waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type DBInstanceAvailableWaiterOptions ¶ added in v0.31.0
type DBInstanceAvailableWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // DBInstanceAvailableWaiter will use default minimum delay of 30 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, DBInstanceAvailableWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeDBInstancesInput, *DescribeDBInstancesOutput, error) (bool, error) }
DBInstanceAvailableWaiterOptions are waiter options for DBInstanceAvailableWaiter
type DeleteDBClusterInput ¶
type DeleteDBClusterInput struct { // The cluster identifier for the cluster to be deleted. This parameter isn't case // sensitive. Constraints: // // * Must match an existing DBClusterIdentifier. // // This member is required. DBClusterIdentifier *string // The cluster snapshot identifier of the new cluster snapshot created when // SkipFinalSnapshot is set to false. Specifying this parameter and also setting // the SkipFinalShapshot parameter to true results in an error. Constraints: // // * // Must be from 1 to 255 letters, numbers, or hyphens. // // * The first character must // be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. FinalDBSnapshotIdentifier *string // Determines whether a final cluster snapshot is created before the cluster is // deleted. If true is specified, no cluster snapshot is created. If false is // specified, a cluster snapshot is created before the DB cluster is deleted. If // SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier // parameter. Default: false SkipFinalSnapshot bool }
Represents the input to DeleteDBCluster.
type DeleteDBClusterOutput ¶
type DeleteDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBClusterParameterGroupInput ¶
type DeleteDBClusterParameterGroupInput struct { // The name of the cluster parameter group. Constraints: // // * Must be the name of an // existing cluster parameter group. // // * You can't delete a default cluster // parameter group. // // * Cannot be associated with any clusters. // // This member is required. DBClusterParameterGroupName *string }
Represents the input to DeleteDBClusterParameterGroup.
type DeleteDBClusterParameterGroupOutput ¶
type DeleteDBClusterParameterGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBClusterSnapshotInput ¶
type DeleteDBClusterSnapshotInput struct { // The identifier of the cluster snapshot to delete. Constraints: Must be the name // of an existing cluster snapshot in the available state. // // This member is required. DBClusterSnapshotIdentifier *string }
Represents the input to DeleteDBClusterSnapshot.
type DeleteDBClusterSnapshotOutput ¶
type DeleteDBClusterSnapshotOutput struct { // Detailed information about a cluster snapshot. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBInstanceInput ¶
type DeleteDBInstanceInput struct { // The instance identifier for the instance to be deleted. This parameter isn't // case sensitive. Constraints: // // * Must match the name of an existing instance. // // This member is required. DBInstanceIdentifier *string }
Represents the input to DeleteDBInstance.
type DeleteDBInstanceOutput ¶
type DeleteDBInstanceOutput struct { // Detailed information about an instance. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBSubnetGroupInput ¶
type DeleteDBSubnetGroupInput struct { // The name of the database subnet group to delete. You can't delete the default // subnet group. Constraints: Must match the name of an existing DBSubnetGroup. // Must not be default. Example: mySubnetgroup // // This member is required. DBSubnetGroupName *string }
Represents the input to DeleteDBSubnetGroup.
type DeleteDBSubnetGroupOutput ¶
type DeleteDBSubnetGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeCertificatesAPIClient ¶ added in v0.30.0
type DescribeCertificatesAPIClient interface {
DescribeCertificates(context.Context, *DescribeCertificatesInput, ...func(*Options)) (*DescribeCertificatesOutput, error)
}
DescribeCertificatesAPIClient is a client that implements the DescribeCertificates operation.
type DescribeCertificatesInput ¶
type DescribeCertificatesInput struct { // The user-supplied certificate identifier. If this parameter is specified, // information for only the specified certificate is returned. If this parameter is // omitted, a list of up to MaxRecords certificates is returned. This parameter is // not case sensitive. Constraints // // * Must match an existing CertificateIdentifier. CertificateIdentifier *string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // 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 MaxRecords *int32 }
type DescribeCertificatesOutput ¶
type DescribeCertificatesOutput struct { // A list of certificates for this AWS account. Certificates []types.Certificate // An optional pagination token provided if the number of records retrieved is // greater than MaxRecords. If this parameter is specified, the marker specifies // the next record in the list. Including the value of Marker in the next call to // DescribeCertificates results in the next page of certificates. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeCertificatesPaginator ¶ added in v0.30.0
type DescribeCertificatesPaginator struct {
// contains filtered or unexported fields
}
DescribeCertificatesPaginator is a paginator for DescribeCertificates
func NewDescribeCertificatesPaginator ¶ added in v0.30.0
func NewDescribeCertificatesPaginator(client DescribeCertificatesAPIClient, params *DescribeCertificatesInput, optFns ...func(*DescribeCertificatesPaginatorOptions)) *DescribeCertificatesPaginator
NewDescribeCertificatesPaginator returns a new DescribeCertificatesPaginator
func (*DescribeCertificatesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeCertificatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeCertificatesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeCertificatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeCertificatesOutput, error)
NextPage retrieves the next DescribeCertificates page.
type DescribeCertificatesPaginatorOptions ¶ added in v0.30.0
type DescribeCertificatesPaginatorOptions struct { // 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 Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeCertificatesPaginatorOptions is the paginator options for DescribeCertificates
type DescribeDBClusterParameterGroupsAPIClient ¶ added in v0.30.0
type DescribeDBClusterParameterGroupsAPIClient interface {
DescribeDBClusterParameterGroups(context.Context, *DescribeDBClusterParameterGroupsInput, ...func(*Options)) (*DescribeDBClusterParameterGroupsOutput, error)
}
DescribeDBClusterParameterGroupsAPIClient is a client that implements the DescribeDBClusterParameterGroups operation.
type DescribeDBClusterParameterGroupsInput ¶
type DescribeDBClusterParameterGroupsInput struct { // The name of a specific cluster parameter group to return details for. // Constraints: // // * If provided, must match the name of an existing // DBClusterParameterGroup. DBClusterParameterGroupName *string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeDBClusterParameterGroups.
type DescribeDBClusterParameterGroupsOutput ¶
type DescribeDBClusterParameterGroupsOutput struct { // A list of cluster parameter groups. DBClusterParameterGroups []types.DBClusterParameterGroup // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DBClusterParameterGroups.
type DescribeDBClusterParameterGroupsPaginator ¶ added in v0.30.0
type DescribeDBClusterParameterGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterParameterGroupsPaginator is a paginator for DescribeDBClusterParameterGroups
func NewDescribeDBClusterParameterGroupsPaginator ¶ added in v0.30.0
func NewDescribeDBClusterParameterGroupsPaginator(client DescribeDBClusterParameterGroupsAPIClient, params *DescribeDBClusterParameterGroupsInput, optFns ...func(*DescribeDBClusterParameterGroupsPaginatorOptions)) *DescribeDBClusterParameterGroupsPaginator
NewDescribeDBClusterParameterGroupsPaginator returns a new DescribeDBClusterParameterGroupsPaginator
func (*DescribeDBClusterParameterGroupsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBClusterParameterGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterParameterGroupsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBClusterParameterGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterParameterGroupsOutput, error)
NextPage retrieves the next DescribeDBClusterParameterGroups page.
type DescribeDBClusterParameterGroupsPaginatorOptions ¶ added in v0.30.0
type DescribeDBClusterParameterGroupsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterParameterGroupsPaginatorOptions is the paginator options for DescribeDBClusterParameterGroups
type DescribeDBClusterParametersAPIClient ¶ added in v0.30.0
type DescribeDBClusterParametersAPIClient interface {
DescribeDBClusterParameters(context.Context, *DescribeDBClusterParametersInput, ...func(*Options)) (*DescribeDBClusterParametersOutput, error)
}
DescribeDBClusterParametersAPIClient is a client that implements the DescribeDBClusterParameters operation.
type DescribeDBClusterParametersInput ¶
type DescribeDBClusterParametersInput struct { // The name of a specific cluster parameter group to return parameter details for. // Constraints: // // * If provided, must match the name of an existing // DBClusterParameterGroup. // // This member is required. DBClusterParameterGroupName *string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // A value that indicates to return only parameters for a specific source. // Parameter sources can be engine, service, or customer. Source *string }
Represents the input to DescribeDBClusterParameters.
type DescribeDBClusterParametersOutput ¶
type DescribeDBClusterParametersOutput struct { // 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. Marker *string // Provides a list of parameters for the cluster parameter group. Parameters []types.Parameter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DBClusterParameterGroup.
type DescribeDBClusterParametersPaginator ¶ added in v0.30.0
type DescribeDBClusterParametersPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterParametersPaginator is a paginator for DescribeDBClusterParameters
func NewDescribeDBClusterParametersPaginator ¶ added in v0.30.0
func NewDescribeDBClusterParametersPaginator(client DescribeDBClusterParametersAPIClient, params *DescribeDBClusterParametersInput, optFns ...func(*DescribeDBClusterParametersPaginatorOptions)) *DescribeDBClusterParametersPaginator
NewDescribeDBClusterParametersPaginator returns a new DescribeDBClusterParametersPaginator
func (*DescribeDBClusterParametersPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBClusterParametersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterParametersPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBClusterParametersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterParametersOutput, error)
NextPage retrieves the next DescribeDBClusterParameters page.
type DescribeDBClusterParametersPaginatorOptions ¶ added in v0.30.0
type DescribeDBClusterParametersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterParametersPaginatorOptions is the paginator options for DescribeDBClusterParameters
type DescribeDBClusterSnapshotAttributesInput ¶
type DescribeDBClusterSnapshotAttributesInput struct { // The identifier for the cluster snapshot to describe the attributes for. // // This member is required. DBClusterSnapshotIdentifier *string }
Represents the input to DescribeDBClusterSnapshotAttributes.
type DescribeDBClusterSnapshotAttributesOutput ¶
type DescribeDBClusterSnapshotAttributesOutput struct { // Detailed information about the attributes that are associated with a cluster // snapshot. DBClusterSnapshotAttributesResult *types.DBClusterSnapshotAttributesResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClusterSnapshotsAPIClient ¶ added in v0.30.0
type DescribeDBClusterSnapshotsAPIClient interface {
DescribeDBClusterSnapshots(context.Context, *DescribeDBClusterSnapshotsInput, ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
}
DescribeDBClusterSnapshotsAPIClient is a client that implements the DescribeDBClusterSnapshots operation.
type DescribeDBClusterSnapshotsInput ¶
type DescribeDBClusterSnapshotsInput struct { // The ID of the cluster to retrieve the list of cluster snapshots for. This // parameter can't be used with the DBClusterSnapshotIdentifier parameter. This // parameter is not case sensitive. Constraints: // // * If provided, must match the // identifier of an existing DBCluster. DBClusterIdentifier *string // A specific cluster snapshot identifier to describe. This parameter can't be used // with the DBClusterIdentifier parameter. This value is stored as a lowercase // string. Constraints: // // * If provided, must match the identifier of an existing // DBClusterSnapshot. // // * If this identifier is for an automated snapshot, the // SnapshotType parameter must also be specified. DBClusterSnapshotIdentifier *string // This parameter is not currently supported. Filters []types.Filter // Set to true to include manual cluster snapshots that are public and can be // copied or restored by any AWS account, and otherwise false. The default is // false. IncludePublic bool // that this AWS account has been given permission to copy or restore, and // otherwise false. The default is false. IncludeShared bool // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // The type of cluster snapshots to be returned. You can specify one of the // following values: // // * automated - Return all cluster snapshots that Amazon // DocumentDB has automatically created for your AWS account. // // * manual - Return // all cluster snapshots that you have manually created for your AWS account. // // * // shared - Return all manual cluster snapshots that have been shared to your AWS // account. // // * public - Return all cluster snapshots that have been marked as // public. // // If you don't specify a SnapshotType value, then both automated and // manual cluster snapshots are returned. You can include shared cluster snapshots // with these results by setting the IncludeShared parameter to true. You can // include public 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. SnapshotType *string }
Represents the input to DescribeDBClusterSnapshots.
type DescribeDBClusterSnapshotsOutput ¶
type DescribeDBClusterSnapshotsOutput struct { // Provides a list of cluster snapshots. DBClusterSnapshots []types.DBClusterSnapshot // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeDBClusterSnapshots.
type DescribeDBClusterSnapshotsPaginator ¶ added in v0.30.0
type DescribeDBClusterSnapshotsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterSnapshotsPaginator is a paginator for DescribeDBClusterSnapshots
func NewDescribeDBClusterSnapshotsPaginator ¶ added in v0.30.0
func NewDescribeDBClusterSnapshotsPaginator(client DescribeDBClusterSnapshotsAPIClient, params *DescribeDBClusterSnapshotsInput, optFns ...func(*DescribeDBClusterSnapshotsPaginatorOptions)) *DescribeDBClusterSnapshotsPaginator
NewDescribeDBClusterSnapshotsPaginator returns a new DescribeDBClusterSnapshotsPaginator
func (*DescribeDBClusterSnapshotsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBClusterSnapshotsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterSnapshotsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBClusterSnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
NextPage retrieves the next DescribeDBClusterSnapshots page.
type DescribeDBClusterSnapshotsPaginatorOptions ¶ added in v0.30.0
type DescribeDBClusterSnapshotsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterSnapshotsPaginatorOptions is the paginator options for DescribeDBClusterSnapshots
type DescribeDBClustersAPIClient ¶ added in v0.30.0
type DescribeDBClustersAPIClient interface {
DescribeDBClusters(context.Context, *DescribeDBClustersInput, ...func(*Options)) (*DescribeDBClustersOutput, error)
}
DescribeDBClustersAPIClient is a client that implements the DescribeDBClusters operation.
type DescribeDBClustersInput ¶
type DescribeDBClustersInput struct { // The user-provided cluster identifier. If this parameter is specified, // information from only the specific cluster is returned. This parameter isn't // case sensitive. Constraints: // // * If provided, must match an existing // DBClusterIdentifier. DBClusterIdentifier *string // A filter that specifies one or more clusters to describe. Supported filters: // // * // db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names // (ARNs). The results list only includes information about the clusters identified // by these ARNs. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeDBClusters.
type DescribeDBClustersOutput ¶
type DescribeDBClustersOutput struct { // A list of clusters. DBClusters []types.DBCluster // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeDBClusters.
type DescribeDBClustersPaginator ¶ added in v0.30.0
type DescribeDBClustersPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClustersPaginator is a paginator for DescribeDBClusters
func NewDescribeDBClustersPaginator ¶ added in v0.30.0
func NewDescribeDBClustersPaginator(client DescribeDBClustersAPIClient, params *DescribeDBClustersInput, optFns ...func(*DescribeDBClustersPaginatorOptions)) *DescribeDBClustersPaginator
NewDescribeDBClustersPaginator returns a new DescribeDBClustersPaginator
func (*DescribeDBClustersPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBClustersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClustersPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClustersOutput, error)
NextPage retrieves the next DescribeDBClusters page.
type DescribeDBClustersPaginatorOptions ¶ added in v0.30.0
type DescribeDBClustersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClustersPaginatorOptions is the paginator options for DescribeDBClusters
type DescribeDBEngineVersionsAPIClient ¶ added in v0.30.0
type DescribeDBEngineVersionsAPIClient interface {
DescribeDBEngineVersions(context.Context, *DescribeDBEngineVersionsInput, ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
}
DescribeDBEngineVersionsAPIClient is a client that implements the DescribeDBEngineVersions operation.
type DescribeDBEngineVersionsInput ¶
type DescribeDBEngineVersionsInput struct { // The name of a specific parameter group family to return details for. // Constraints: // // * If provided, must match an existing DBParameterGroupFamily. DBParameterGroupFamily *string // Indicates that only the default version of the specified engine or engine and // major version combination is returned. DefaultOnly bool // The database engine to return. Engine *string // The database engine version to return. Example: 3.6.0 EngineVersion *string // This parameter is not currently supported. Filters []types.Filter // 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. ListSupportedCharacterSets *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. ListSupportedTimezones *bool // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeDBEngineVersions.
type DescribeDBEngineVersionsOutput ¶
type DescribeDBEngineVersionsOutput struct { // Detailed information about one or more engine versions. DBEngineVersions []types.DBEngineVersion // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeDBEngineVersions.
type DescribeDBEngineVersionsPaginator ¶ added in v0.30.0
type DescribeDBEngineVersionsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBEngineVersionsPaginator is a paginator for DescribeDBEngineVersions
func NewDescribeDBEngineVersionsPaginator ¶ added in v0.30.0
func NewDescribeDBEngineVersionsPaginator(client DescribeDBEngineVersionsAPIClient, params *DescribeDBEngineVersionsInput, optFns ...func(*DescribeDBEngineVersionsPaginatorOptions)) *DescribeDBEngineVersionsPaginator
NewDescribeDBEngineVersionsPaginator returns a new DescribeDBEngineVersionsPaginator
func (*DescribeDBEngineVersionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBEngineVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBEngineVersionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBEngineVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
NextPage retrieves the next DescribeDBEngineVersions page.
type DescribeDBEngineVersionsPaginatorOptions ¶ added in v0.30.0
type DescribeDBEngineVersionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBEngineVersionsPaginatorOptions is the paginator options for DescribeDBEngineVersions
type DescribeDBInstancesAPIClient ¶ added in v0.30.0
type DescribeDBInstancesAPIClient interface {
DescribeDBInstances(context.Context, *DescribeDBInstancesInput, ...func(*Options)) (*DescribeDBInstancesOutput, error)
}
DescribeDBInstancesAPIClient is a client that implements the DescribeDBInstances operation.
type DescribeDBInstancesInput ¶
type DescribeDBInstancesInput struct { // The user-provided instance identifier. If this parameter is specified, // information from only the specific instance is returned. This parameter isn't // case sensitive. Constraints: // // * If provided, must match the identifier of an // existing DBInstance. DBInstanceIdentifier *string // A filter that specifies one or more instances to describe. Supported filters: // // * // db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names // (ARNs). The results list includes only the information about the instances that // are associated with the clusters that are identified by these ARNs. // // * // db-instance-id - Accepts instance identifiers and instance ARNs. The results // list includes only the information about the instances that are identified by // these ARNs. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeDBInstances.
type DescribeDBInstancesOutput ¶
type DescribeDBInstancesOutput struct { // Detailed information about one or more instances. DBInstances []types.DBInstance // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeDBInstances.
type DescribeDBInstancesPaginator ¶ added in v0.30.0
type DescribeDBInstancesPaginator struct {
// contains filtered or unexported fields
}
DescribeDBInstancesPaginator is a paginator for DescribeDBInstances
func NewDescribeDBInstancesPaginator ¶ added in v0.30.0
func NewDescribeDBInstancesPaginator(client DescribeDBInstancesAPIClient, params *DescribeDBInstancesInput, optFns ...func(*DescribeDBInstancesPaginatorOptions)) *DescribeDBInstancesPaginator
NewDescribeDBInstancesPaginator returns a new DescribeDBInstancesPaginator
func (*DescribeDBInstancesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBInstancesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBInstancesOutput, error)
NextPage retrieves the next DescribeDBInstances page.
type DescribeDBInstancesPaginatorOptions ¶ added in v0.30.0
type DescribeDBInstancesPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBInstancesPaginatorOptions is the paginator options for DescribeDBInstances
type DescribeDBSubnetGroupsAPIClient ¶ added in v0.30.0
type DescribeDBSubnetGroupsAPIClient interface {
DescribeDBSubnetGroups(context.Context, *DescribeDBSubnetGroupsInput, ...func(*Options)) (*DescribeDBSubnetGroupsOutput, error)
}
DescribeDBSubnetGroupsAPIClient is a client that implements the DescribeDBSubnetGroups operation.
type DescribeDBSubnetGroupsInput ¶
type DescribeDBSubnetGroupsInput struct { // The name of the subnet group to return details for. DBSubnetGroupName *string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeDBSubnetGroups.
type DescribeDBSubnetGroupsOutput ¶
type DescribeDBSubnetGroupsOutput struct { // Detailed information about one or more subnet groups. DBSubnetGroups []types.DBSubnetGroup // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeDBSubnetGroups.
type DescribeDBSubnetGroupsPaginator ¶ added in v0.30.0
type DescribeDBSubnetGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBSubnetGroupsPaginator is a paginator for DescribeDBSubnetGroups
func NewDescribeDBSubnetGroupsPaginator ¶ added in v0.30.0
func NewDescribeDBSubnetGroupsPaginator(client DescribeDBSubnetGroupsAPIClient, params *DescribeDBSubnetGroupsInput, optFns ...func(*DescribeDBSubnetGroupsPaginatorOptions)) *DescribeDBSubnetGroupsPaginator
NewDescribeDBSubnetGroupsPaginator returns a new DescribeDBSubnetGroupsPaginator
func (*DescribeDBSubnetGroupsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBSubnetGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBSubnetGroupsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBSubnetGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBSubnetGroupsOutput, error)
NextPage retrieves the next DescribeDBSubnetGroups page.
type DescribeDBSubnetGroupsPaginatorOptions ¶ added in v0.30.0
type DescribeDBSubnetGroupsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBSubnetGroupsPaginatorOptions is the paginator options for DescribeDBSubnetGroups
type DescribeEngineDefaultClusterParametersInput ¶
type DescribeEngineDefaultClusterParametersInput struct { // The name of the cluster parameter group family to return the engine parameter // information for. // // This member is required. DBParameterGroupFamily *string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
Represents the input to DescribeEngineDefaultClusterParameters.
type DescribeEngineDefaultClusterParametersOutput ¶
type DescribeEngineDefaultClusterParametersOutput struct { // Contains the result of a successful invocation of the // DescribeEngineDefaultClusterParameters operation. EngineDefaults *types.EngineDefaults // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeEventCategoriesInput ¶
type DescribeEventCategoriesInput struct { // This parameter is not currently supported. Filters []types.Filter // The type of source that is generating the events. Valid values: db-instance, // db-parameter-group, db-security-group, db-snapshot SourceType *string }
Represents the input to DescribeEventCategories.
type DescribeEventCategoriesOutput ¶
type DescribeEventCategoriesOutput struct { // A list of event category maps. EventCategoriesMapList []types.EventCategoriesMap // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeEventCategories.
type DescribeEventsAPIClient ¶ added in v0.30.0
type DescribeEventsAPIClient interface {
DescribeEvents(context.Context, *DescribeEventsInput, ...func(*Options)) (*DescribeEventsOutput, error)
}
DescribeEventsAPIClient is a client that implements the DescribeEvents operation.
type DescribeEventsInput ¶
type DescribeEventsInput struct { // The number of minutes to retrieve events for. Default: 60 Duration *int32 // The end of the time interval for which to retrieve events, specified in ISO 8601 // format. Example: 2009-07-08T18:00Z EndTime *time.Time // A list of event categories that trigger notifications for an event notification // subscription. EventCategories []string // This parameter is not currently supported. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // 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 provided, SourceType must also be provided. // // * If the source // type is DBInstance, a DBInstanceIdentifier must be provided. // // * If the source // type is DBSecurityGroup, a DBSecurityGroupName must be provided. // // * If the // source type is DBParameterGroup, a DBParameterGroupName must be provided. // // * If // the source type is DBSnapshot, a DBSnapshotIdentifier must be provided. // // * // Cannot end with a hyphen or contain two consecutive hyphens. SourceIdentifier *string // The event source to retrieve events for. If no value is specified, all events // are returned. SourceType types.SourceType // The beginning of the time interval to retrieve events for, specified in ISO 8601 // format. Example: 2009-07-08T18:00Z StartTime *time.Time }
Represents the input to DescribeEvents.
type DescribeEventsOutput ¶
type DescribeEventsOutput struct { // Detailed information about one or more events. Events []types.Event // 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. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeEvents.
type DescribeEventsPaginator ¶ added in v0.30.0
type DescribeEventsPaginator struct {
// contains filtered or unexported fields
}
DescribeEventsPaginator is a paginator for DescribeEvents
func NewDescribeEventsPaginator ¶ added in v0.30.0
func NewDescribeEventsPaginator(client DescribeEventsAPIClient, params *DescribeEventsInput, optFns ...func(*DescribeEventsPaginatorOptions)) *DescribeEventsPaginator
NewDescribeEventsPaginator returns a new DescribeEventsPaginator
func (*DescribeEventsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventsOutput, error)
NextPage retrieves the next DescribeEvents page.
type DescribeEventsPaginatorOptions ¶ added in v0.30.0
type DescribeEventsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventsPaginatorOptions is the paginator options for DescribeEvents
type DescribeOrderableDBInstanceOptionsAPIClient ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsAPIClient interface {
DescribeOrderableDBInstanceOptions(context.Context, *DescribeOrderableDBInstanceOptionsInput, ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
}
DescribeOrderableDBInstanceOptionsAPIClient is a client that implements the DescribeOrderableDBInstanceOptions operation.
type DescribeOrderableDBInstanceOptionsInput ¶
type DescribeOrderableDBInstanceOptionsInput struct { // The name of the engine to retrieve instance options for. // // This member is required. Engine *string // The instance class filter value. Specify this parameter to show only the // available offerings that match the specified instance class. DBInstanceClass *string // The engine version filter value. Specify this parameter to show only the // available offerings that match the specified engine version. EngineVersion *string // This parameter is not currently supported. Filters []types.Filter // The license model filter value. Specify this parameter to show only the // available offerings that match the specified license model. LicenseModel *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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // The virtual private cloud (VPC) filter value. Specify this parameter to show // only the available VPC or non-VPC offerings. Vpc *bool }
Represents the input to DescribeOrderableDBInstanceOptions.
type DescribeOrderableDBInstanceOptionsOutput ¶
type DescribeOrderableDBInstanceOptionsOutput struct { // 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. Marker *string // The options that are available for a particular orderable instance. OrderableDBInstanceOptions []types.OrderableDBInstanceOption // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribeOrderableDBInstanceOptions.
type DescribeOrderableDBInstanceOptionsPaginator ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsPaginator struct {
// contains filtered or unexported fields
}
DescribeOrderableDBInstanceOptionsPaginator is a paginator for DescribeOrderableDBInstanceOptions
func NewDescribeOrderableDBInstanceOptionsPaginator ¶ added in v0.30.0
func NewDescribeOrderableDBInstanceOptionsPaginator(client DescribeOrderableDBInstanceOptionsAPIClient, params *DescribeOrderableDBInstanceOptionsInput, optFns ...func(*DescribeOrderableDBInstanceOptionsPaginatorOptions)) *DescribeOrderableDBInstanceOptionsPaginator
NewDescribeOrderableDBInstanceOptionsPaginator returns a new DescribeOrderableDBInstanceOptionsPaginator
func (*DescribeOrderableDBInstanceOptionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeOrderableDBInstanceOptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeOrderableDBInstanceOptionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeOrderableDBInstanceOptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
NextPage retrieves the next DescribeOrderableDBInstanceOptions page.
type DescribeOrderableDBInstanceOptionsPaginatorOptions ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeOrderableDBInstanceOptionsPaginatorOptions is the paginator options for DescribeOrderableDBInstanceOptions
type DescribePendingMaintenanceActionsAPIClient ¶ added in v0.30.0
type DescribePendingMaintenanceActionsAPIClient interface {
DescribePendingMaintenanceActions(context.Context, *DescribePendingMaintenanceActionsInput, ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error)
}
DescribePendingMaintenanceActionsAPIClient is a client that implements the DescribePendingMaintenanceActions operation.
type DescribePendingMaintenanceActionsInput ¶
type DescribePendingMaintenanceActionsInput struct { // A filter that specifies one or more resources to return pending maintenance // actions for. Supported filters: // // * db-cluster-id - Accepts cluster identifiers // and cluster Amazon Resource Names (ARNs). The results list includes only pending // maintenance actions for the clusters identified by these ARNs. // // * db-instance-id // - Accepts instance identifiers and instance ARNs. The results list includes only // pending maintenance actions for the DB instances identified by these ARNs. Filters []types.Filter // 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. Marker *string // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // The ARN of a resource to return pending maintenance actions for. ResourceIdentifier *string }
Represents the input to DescribePendingMaintenanceActions.
type DescribePendingMaintenanceActionsOutput ¶
type DescribePendingMaintenanceActionsOutput struct { // 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. Marker *string // The maintenance actions to be applied. PendingMaintenanceActions []types.ResourcePendingMaintenanceActions // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of DescribePendingMaintenanceActions.
type DescribePendingMaintenanceActionsPaginator ¶ added in v0.30.0
type DescribePendingMaintenanceActionsPaginator struct {
// contains filtered or unexported fields
}
DescribePendingMaintenanceActionsPaginator is a paginator for DescribePendingMaintenanceActions
func NewDescribePendingMaintenanceActionsPaginator ¶ added in v0.30.0
func NewDescribePendingMaintenanceActionsPaginator(client DescribePendingMaintenanceActionsAPIClient, params *DescribePendingMaintenanceActionsInput, optFns ...func(*DescribePendingMaintenanceActionsPaginatorOptions)) *DescribePendingMaintenanceActionsPaginator
NewDescribePendingMaintenanceActionsPaginator returns a new DescribePendingMaintenanceActionsPaginator
func (*DescribePendingMaintenanceActionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribePendingMaintenanceActionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribePendingMaintenanceActionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribePendingMaintenanceActionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error)
NextPage retrieves the next DescribePendingMaintenanceActions page.
type DescribePendingMaintenanceActionsPaginatorOptions ¶ added in v0.30.0
type DescribePendingMaintenanceActionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token (marker) is included in // the response so that the remaining results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribePendingMaintenanceActionsPaginatorOptions is the paginator options for DescribePendingMaintenanceActions
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type FailoverDBClusterInput ¶
type FailoverDBClusterInput struct { // A cluster identifier to force a failover for. This parameter is not case // sensitive. Constraints: // // * Must match the identifier of an existing DBCluster. DBClusterIdentifier *string // The name of the instance to promote to the primary instance. You must specify // the instance identifier for an Amazon DocumentDB replica in the cluster. For // example, mydbcluster-replica1. TargetDBInstanceIdentifier *string }
Represents the input to FailoverDBCluster.
type FailoverDBClusterOutput ¶
type FailoverDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPPresignerV4 ¶ added in v1.2.0
type HTTPPresignerV4 interface { PresignHTTP( ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions), ) (url string, signedHeader http.Header, err error) }
HTTPPresignerV4 represents presigner interface used by presign url client
type HTTPSignerV4 ¶
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon DocumentDB resource with tags to be listed. This value is an Amazon // Resource Name (ARN). // // This member is required. ResourceName *string // This parameter is not currently supported. Filters []types.Filter }
Represents the input to ListTagsForResource.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of one or more tags. TagList []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Represents the output of ListTagsForResource.
type ModifyDBClusterInput ¶
type ModifyDBClusterInput struct { // The cluster identifier for the cluster that is being modified. This parameter is // not case sensitive. Constraints: // // * Must match the identifier of an existing // DBCluster. // // This member is required. DBClusterIdentifier *string // A value that specifies whether the changes in this request and any pending // changes are asynchronously applied as soon as possible, regardless of the // PreferredMaintenanceWindow setting for the cluster. If this parameter is set to // false, changes to the cluster are applied during the next maintenance window. // The ApplyImmediately parameter affects only the NewDBClusterIdentifier and // MasterUserPassword values. If you set this parameter value to false, the 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 ApplyImmediately bool // 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. BackupRetentionPeriod *int32 // The configuration setting for the log types to be enabled for export to Amazon // CloudWatch Logs for a specific instance or cluster. The EnableLogTypes and // DisableLogTypes arrays determine which logs are exported (or not exported) to // CloudWatch Logs. CloudwatchLogsExportConfiguration *types.CloudwatchLogsExportConfiguration // The name of the cluster parameter group to use for the cluster. DBClusterParameterGroupName *string // Specifies whether this cluster can be deleted. If DeletionProtection is enabled, // the cluster cannot be deleted unless it is modified and DeletionProtection is // disabled. DeletionProtection protects clusters from being accidentally deleted. DeletionProtection *bool // The version number of the database engine to which you want to upgrade. Changing // this parameter results in an outage. The change is applied during the next // maintenance window unless the ApplyImmediately parameter is set to true. EngineVersion *string // The password for the master database user. This password can contain any // printable ASCII character except forward slash (/), double quote ("), or the // "at" symbol (@). Constraints: Must contain from 8 to 100 characters. MasterUserPassword *string // The new cluster identifier for the cluster when renaming a 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 NewDBClusterIdentifier *string // The port number on which the cluster accepts connections. Constraints: Must be a // value from 1150 to 65535. Default: The same port as the original cluster. Port *int32 // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. The default is a // 30-minute window selected at random from an 8-hour block of time for each AWS // Region. Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Must be in // Universal Coordinated Time (UTC). // // * Must not conflict with the preferred // maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a // 30-minute window selected at random from an 8-hour block of time for each AWS // Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, // Fri, Sat, Sun Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string // A list of virtual private cloud (VPC) security groups that the cluster will // belong to. VpcSecurityGroupIds []string }
Represents the input to ModifyDBCluster.
type ModifyDBClusterOutput ¶
type ModifyDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBClusterParameterGroupInput ¶
type ModifyDBClusterParameterGroupInput struct { // The name of the cluster parameter group to modify. // // This member is required. DBClusterParameterGroupName *string // A list of parameters in the cluster parameter group to modify. // // This member is required. Parameters []types.Parameter }
Represents the input to ModifyDBClusterParameterGroup.
type ModifyDBClusterParameterGroupOutput ¶
type ModifyDBClusterParameterGroupOutput struct { // The name of a cluster parameter group. Constraints: // // * Must be from 1 to 255 // letters or numbers. // // * The first character must be a letter. // // * Cannot end with // a hyphen or contain two consecutive hyphens. // // This value is stored as a // lowercase string. DBClusterParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the name of a cluster parameter group.
type ModifyDBClusterSnapshotAttributeInput ¶
type ModifyDBClusterSnapshotAttributeInput struct { // The name of the cluster snapshot attribute to modify. To manage authorization // for other AWS accounts to copy or restore a manual cluster snapshot, set this // value to restore. // // This member is required. AttributeName *string // The identifier for the cluster snapshot to modify the attributes for. // // This member is required. DBClusterSnapshotIdentifier *string // A list of cluster snapshot attributes to add to the attribute specified by // AttributeName. To authorize other AWS accounts to copy or restore a manual // cluster snapshot, set this list to include one or more AWS account IDs. To make // the manual cluster snapshot restorable by any AWS account, set it to all. Do not // add the all value for any manual cluster snapshots that contain private // information that you don't want to be available to all AWS accounts. ValuesToAdd []string // A list of cluster snapshot attributes to remove from the attribute specified by // AttributeName. To remove authorization for other AWS accounts to copy or restore // a manual cluster snapshot, set this list to include one or more AWS account // identifiers. To remove authorization for any AWS account to copy or restore the // cluster snapshot, set it to all . If you specify all, an AWS account whose // account ID is explicitly added to the restore attribute can still copy or // restore a manual cluster snapshot. ValuesToRemove []string }
Represents the input to ModifyDBClusterSnapshotAttribute.
type ModifyDBClusterSnapshotAttributeOutput ¶
type ModifyDBClusterSnapshotAttributeOutput struct { // Detailed information about the attributes that are associated with a cluster // snapshot. DBClusterSnapshotAttributesResult *types.DBClusterSnapshotAttributesResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBInstanceInput ¶
type ModifyDBInstanceInput struct { // The instance identifier. This value is stored as a lowercase string. // Constraints: // // * Must match the identifier of an existing DBInstance. // // This member is required. DBInstanceIdentifier *string // 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 instance. If this parameter is set to // false, changes to the instance are applied during the next maintenance window. // Some parameter changes can cause an outage and are applied on the next reboot. // Default: false ApplyImmediately bool // Indicates that minor version upgrades are applied automatically to the instance // during the maintenance window. Changing this parameter doesn't result in an // outage except in the following case, and the change is asynchronously applied as // soon as possible. An outage results if this parameter is set to true during the // maintenance window, and a newer minor version is available, and Amazon // DocumentDB has enabled automatic patching for that engine version. AutoMinorVersionUpgrade *bool // Indicates the certificate that needs to be associated with the instance. CACertificateIdentifier *string // The new compute and memory capacity of the instance; for example, db.r5.large. // Not all instance classes are available in all AWS Regions. If you modify the // 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. DBInstanceClass *string // The new instance identifier for the instance when renaming an instance. When you // change the instance identifier, an instance reboot occurs immediately if you set // Apply Immediately to true. It occurs during the next maintenance window if you // set 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 NewDBInstanceIdentifier *string // The weekly time range (in UTC) during which system maintenance can occur, which // might result in an outage. Changing this parameter doesn't 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, changing this // parameter causes a reboot of the instance. If you are 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 that 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. PreferredMaintenanceWindow *string // A value that specifies the order in which an Amazon DocumentDB replica is // promoted to the primary instance after a failure of the existing primary // instance. Default: 1 Valid values: 0-15 PromotionTier *int32 }
Represents the input to ModifyDBInstance.
type ModifyDBInstanceOutput ¶
type ModifyDBInstanceOutput struct { // Detailed information about an instance. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBSubnetGroupInput ¶
type ModifyDBSubnetGroupInput struct { // The name for the 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 // // This member is required. DBSubnetGroupName *string // The Amazon EC2 subnet IDs for the subnet group. // // This member is required. SubnetIds []string // The description for the subnet group. DBSubnetGroupDescription *string }
Represents the input to ModifyDBSubnetGroup.
type ModifyDBSubnetGroupOutput ¶
type ModifyDBSubnetGroupOutput struct { // Detailed information about a subnet group. DBSubnetGroup *types.DBSubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PresignClient ¶ added in v1.2.0
type PresignClient struct {
// contains filtered or unexported fields
}
PresignClient represents the presign url client
func NewPresignClient ¶ added in v1.2.0
func NewPresignClient(c *Client, optFns ...func(*PresignOptions)) *PresignClient
NewPresignClient generates a presign client using provided API Client and presign options
func (*PresignClient) PresignCopyDBClusterSnapshot ¶ added in v1.2.0
func (c *PresignClient) PresignCopyDBClusterSnapshot(ctx context.Context, params *CopyDBClusterSnapshotInput, optFns ...func(*PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignCopyDBClusterSnapshot is used to generate a presigned HTTP Request which contains presigned URL, signed headers and HTTP method used.
func (*PresignClient) PresignCreateDBCluster ¶ added in v1.2.0
func (c *PresignClient) PresignCreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignCreateDBCluster is used to generate a presigned HTTP Request which contains presigned URL, signed headers and HTTP method used.
type PresignOptions ¶ added in v1.2.0
type PresignOptions struct { // ClientOptions are list of functional options to mutate client options used by // the presign client. ClientOptions []func(*Options) // Presigner is the presigner used by the presign url client Presigner HTTPPresignerV4 }
PresignOptions represents the presign client options
type RebootDBInstanceInput ¶
type RebootDBInstanceInput struct { // The instance identifier. This parameter is stored as a lowercase string. // Constraints: // // * Must match the identifier of an existing DBInstance. // // This member is required. DBInstanceIdentifier *string // When true, the reboot is conducted through a Multi-AZ failover. Constraint: You // can't specify true if the instance is not configured for Multi-AZ. ForceFailover *bool }
Represents the input to RebootDBInstance.
type RebootDBInstanceOutput ¶
type RebootDBInstanceOutput struct { // Detailed information about an instance. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveTagsFromResourceInput ¶
type RemoveTagsFromResourceInput struct { // The Amazon DocumentDB resource that the tags are removed from. This value is an // Amazon Resource Name (ARN). // // This member is required. ResourceName *string // The tag key (name) of the tag to be removed. // // This member is required. TagKeys []string }
Represents the input to RemoveTagsFromResource.
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResetDBClusterParameterGroupInput ¶
type ResetDBClusterParameterGroupInput struct { // The name of the cluster parameter group to reset. // // This member is required. DBClusterParameterGroupName *string // A list of parameter names in the cluster parameter group to reset to the default // values. You can't use this parameter if the ResetAllParameters parameter is set // to true. Parameters []types.Parameter // A value that is set to true to reset all parameters in the cluster parameter // group to their default values, and false otherwise. You can't use this parameter // if there is a list of parameter names specified for the Parameters parameter. ResetAllParameters bool }
Represents the input to ResetDBClusterParameterGroup.
type ResetDBClusterParameterGroupOutput ¶
type ResetDBClusterParameterGroupOutput struct { // The name of a cluster parameter group. Constraints: // // * Must be from 1 to 255 // letters or numbers. // // * The first character must be a letter. // // * Cannot end with // a hyphen or contain two consecutive hyphens. // // This value is stored as a // lowercase string. DBClusterParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the name of a cluster parameter group.
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type RestoreDBClusterFromSnapshotInput ¶
type RestoreDBClusterFromSnapshotInput struct { // The name of the cluster to create from the snapshot or cluster snapshot. This // parameter isn't case sensitive. 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-snapshot-id // // This member is required. DBClusterIdentifier *string // The database engine to use for the new cluster. Default: The same as source. // Constraint: Must be compatible with the engine of the source. // // This member is required. Engine *string // The identifier for the snapshot or cluster snapshot to restore from. You can use // either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. // However, you can use only the ARN to specify a snapshot. Constraints: // // * Must // match the identifier of an existing snapshot. // // This member is required. SnapshotIdentifier *string // Provides the list of Amazon EC2 Availability Zones that instances in the // restored DB cluster can be created in. AvailabilityZones []string // The name of the subnet group to use for the new cluster. Constraints: If // provided, must match the name of an existing DBSubnetGroup. Example: // mySubnetgroup DBSubnetGroupName *string // Specifies whether this cluster can be deleted. If DeletionProtection is enabled, // the cluster cannot be deleted unless it is modified and DeletionProtection is // disabled. DeletionProtection protects clusters from being accidentally deleted. DeletionProtection *bool // A list of log types that must be enabled for exporting to Amazon CloudWatch // Logs. EnableCloudwatchLogsExports []string // The version of the database engine to use for the new cluster. EngineVersion *string // The AWS KMS key identifier to use when restoring an encrypted cluster from a DB // snapshot or cluster snapshot. The AWS KMS key identifier is the Amazon Resource // Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with // the same AWS account that owns the AWS KMS encryption key used to encrypt the // new cluster, then you can use the AWS KMS key alias instead of the ARN for the // AWS KMS encryption key. If you do not specify a value for the KmsKeyId // parameter, then the following occurs: // // * If the snapshot or cluster snapshot in // SnapshotIdentifier is encrypted, then the restored cluster is encrypted using // the AWS KMS key that was used to encrypt the snapshot or the cluster // snapshot. // // * If the snapshot or the cluster snapshot in SnapshotIdentifier is // not encrypted, then the restored DB cluster is not encrypted. KmsKeyId *string // The port number on which the new cluster accepts connections. Constraints: Must // be a value from 1150 to 65535. Default: The same port as the original cluster. Port *int32 // The tags to be assigned to the restored cluster. Tags []types.Tag // A list of virtual private cloud (VPC) security groups that the new cluster will // belong to. VpcSecurityGroupIds []string }
Represents the input to RestoreDBClusterFromSnapshot.
type RestoreDBClusterFromSnapshotOutput ¶
type RestoreDBClusterFromSnapshotOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RestoreDBClusterToPointInTimeInput ¶
type RestoreDBClusterToPointInTimeInput struct { // The name of the new cluster to be created. 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. // // This member is required. DBClusterIdentifier *string // The identifier of the source cluster from which to restore. Constraints: // // * Must // match the identifier of an existing DBCluster. // // This member is required. SourceDBClusterIdentifier *string // The subnet group name to use for the new cluster. Constraints: If provided, must // match the name of an existing DBSubnetGroup. Example: mySubnetgroup DBSubnetGroupName *string // Specifies whether this cluster can be deleted. If DeletionProtection is enabled, // the cluster cannot be deleted unless it is modified and DeletionProtection is // disabled. DeletionProtection protects clusters from being accidentally deleted. DeletionProtection *bool // A list of log types that must be enabled for exporting to Amazon CloudWatch // Logs. EnableCloudwatchLogsExports []string // The AWS KMS key identifier to use when restoring an encrypted cluster from an // encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) // for the AWS KMS encryption key. If you are restoring a cluster with the same AWS // account that owns the AWS KMS encryption key used to encrypt the new cluster, // then you can use the AWS KMS key alias instead of the ARN for the AWS KMS // encryption key. You can restore to a new cluster and encrypt the new cluster // with an AWS KMS key that is different from the AWS KMS key used to encrypt the // source cluster. The new DB cluster is encrypted with the AWS KMS key identified // by the KmsKeyId parameter. If you do not specify a value for the KmsKeyId // parameter, then the following occurs: // // * If the cluster is encrypted, then the // restored cluster is encrypted using the AWS KMS key that was used to encrypt the // source cluster. // // * If the cluster is not encrypted, then the restored cluster is // not encrypted. // // If DBClusterIdentifier refers to a cluster that is not // encrypted, then the restore request is rejected. KmsKeyId *string // The port number on which the new cluster accepts connections. Constraints: Must // be a value from 1150 to 65535. Default: The default port for the engine. Port *int32 // The date and time to restore the cluster to. Valid values: A time in Universal // Coordinated Time (UTC) format. Constraints: // // * Must be before the latest // restorable time for the instance. // // * Must be specified if the // UseLatestRestorableTime parameter is not provided. // // * Cannot be specified if the // UseLatestRestorableTime parameter is true. // // * Cannot be specified if the // RestoreType parameter is copy-on-write. // // Example: 2015-03-07T23:45:00Z RestoreToTime *time.Time // The tags to be assigned to the restored cluster. Tags []types.Tag // A value that is set to true to restore the cluster to the latest restorable // backup time, and false otherwise. Default: false Constraints: Cannot be // specified if the RestoreToTime parameter is provided. UseLatestRestorableTime bool // A list of VPC security groups that the new cluster belongs to. VpcSecurityGroupIds []string }
Represents the input to RestoreDBClusterToPointInTime.
type RestoreDBClusterToPointInTimeOutput ¶
type RestoreDBClusterToPointInTimeOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StartDBClusterInput ¶
type StartDBClusterInput struct { // The identifier of the cluster to restart. Example: docdb-2019-05-28-15-24-52 // // This member is required. DBClusterIdentifier *string }
type StartDBClusterOutput ¶
type StartDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopDBClusterInput ¶
type StopDBClusterInput struct { // The identifier of the cluster to stop. Example: docdb-2019-05-28-15-24-52 // // This member is required. DBClusterIdentifier *string }
type StopDBClusterOutput ¶
type StopDBClusterOutput struct { // Detailed information about a cluster. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
- api_client.go
- api_op_AddTagsToResource.go
- api_op_ApplyPendingMaintenanceAction.go
- api_op_CopyDBClusterParameterGroup.go
- api_op_CopyDBClusterSnapshot.go
- api_op_CreateDBCluster.go
- api_op_CreateDBClusterParameterGroup.go
- api_op_CreateDBClusterSnapshot.go
- api_op_CreateDBInstance.go
- api_op_CreateDBSubnetGroup.go
- api_op_DeleteDBCluster.go
- api_op_DeleteDBClusterParameterGroup.go
- api_op_DeleteDBClusterSnapshot.go
- api_op_DeleteDBInstance.go
- api_op_DeleteDBSubnetGroup.go
- api_op_DescribeCertificates.go
- api_op_DescribeDBClusterParameterGroups.go
- api_op_DescribeDBClusterParameters.go
- api_op_DescribeDBClusterSnapshotAttributes.go
- api_op_DescribeDBClusterSnapshots.go
- api_op_DescribeDBClusters.go
- api_op_DescribeDBEngineVersions.go
- api_op_DescribeDBInstances.go
- api_op_DescribeDBSubnetGroups.go
- api_op_DescribeEngineDefaultClusterParameters.go
- api_op_DescribeEventCategories.go
- api_op_DescribeEvents.go
- api_op_DescribeOrderableDBInstanceOptions.go
- api_op_DescribePendingMaintenanceActions.go
- api_op_FailoverDBCluster.go
- api_op_ListTagsForResource.go
- api_op_ModifyDBCluster.go
- api_op_ModifyDBClusterParameterGroup.go
- api_op_ModifyDBClusterSnapshotAttribute.go
- api_op_ModifyDBInstance.go
- api_op_ModifyDBSubnetGroup.go
- api_op_RebootDBInstance.go
- api_op_RemoveTagsFromResource.go
- api_op_ResetDBClusterParameterGroup.go
- api_op_RestoreDBClusterFromSnapshot.go
- api_op_RestoreDBClusterToPointInTime.go
- api_op_StartDBCluster.go
- api_op_StopDBCluster.go
- deserializers.go
- doc.go
- endpoints.go
- serializers.go
- validators.go