Documentation ¶
Overview ¶
Package neptune provides the API client, operations, and parameter types for Amazon Neptune.
Amazon Neptune Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it easy to build and run applications that work with highly connected datasets. The core of Amazon Neptune is a purpose-built, high-performance graph database engine optimized for storing billions of relationships and querying the graph with milliseconds latency. Amazon Neptune supports popular graph models Property Graph and W3C's RDF, and their respective query languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that efficiently navigate highly connected datasets. Neptune powers graph use cases such as recommendation engines, fraud detection, knowledge graphs, drug discovery, and network security. This interface reference for Amazon Neptune contains documentation for a programming or command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- type AddRoleToDBClusterInput
- type AddRoleToDBClusterOutput
- type AddSourceIdentifierToSubscriptionInput
- type AddSourceIdentifierToSubscriptionOutput
- type AddTagsToResourceInput
- type AddTagsToResourceOutput
- type ApplyPendingMaintenanceActionInput
- type ApplyPendingMaintenanceActionOutput
- type Client
- func (c *Client) AddRoleToDBCluster(ctx context.Context, params *AddRoleToDBClusterInput, optFns ...func(*Options)) (*AddRoleToDBClusterOutput, error)
- func (c *Client) AddSourceIdentifierToSubscription(ctx context.Context, params *AddSourceIdentifierToSubscriptionInput, ...) (*AddSourceIdentifierToSubscriptionOutput, error)
- 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) CopyDBParameterGroup(ctx context.Context, params *CopyDBParameterGroupInput, ...) (*CopyDBParameterGroupOutput, error)
- func (c *Client) CreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*Options)) (*CreateDBClusterOutput, error)
- func (c *Client) CreateDBClusterEndpoint(ctx context.Context, params *CreateDBClusterEndpointInput, ...) (*CreateDBClusterEndpointOutput, 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) CreateDBParameterGroup(ctx context.Context, params *CreateDBParameterGroupInput, ...) (*CreateDBParameterGroupOutput, error)
- func (c *Client) CreateDBSubnetGroup(ctx context.Context, params *CreateDBSubnetGroupInput, ...) (*CreateDBSubnetGroupOutput, error)
- func (c *Client) CreateEventSubscription(ctx context.Context, params *CreateEventSubscriptionInput, ...) (*CreateEventSubscriptionOutput, error)
- func (c *Client) DeleteDBCluster(ctx context.Context, params *DeleteDBClusterInput, optFns ...func(*Options)) (*DeleteDBClusterOutput, error)
- func (c *Client) DeleteDBClusterEndpoint(ctx context.Context, params *DeleteDBClusterEndpointInput, ...) (*DeleteDBClusterEndpointOutput, 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) DeleteDBParameterGroup(ctx context.Context, params *DeleteDBParameterGroupInput, ...) (*DeleteDBParameterGroupOutput, error)
- func (c *Client) DeleteDBSubnetGroup(ctx context.Context, params *DeleteDBSubnetGroupInput, ...) (*DeleteDBSubnetGroupOutput, error)
- func (c *Client) DeleteEventSubscription(ctx context.Context, params *DeleteEventSubscriptionInput, ...) (*DeleteEventSubscriptionOutput, error)
- func (c *Client) DescribeDBClusterEndpoints(ctx context.Context, params *DescribeDBClusterEndpointsInput, ...) (*DescribeDBClusterEndpointsOutput, 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) DescribeDBParameterGroups(ctx context.Context, params *DescribeDBParameterGroupsInput, ...) (*DescribeDBParameterGroupsOutput, error)
- func (c *Client) DescribeDBParameters(ctx context.Context, params *DescribeDBParametersInput, ...) (*DescribeDBParametersOutput, 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) DescribeEngineDefaultParameters(ctx context.Context, params *DescribeEngineDefaultParametersInput, ...) (*DescribeEngineDefaultParametersOutput, error)
- func (c *Client) DescribeEventCategories(ctx context.Context, params *DescribeEventCategoriesInput, ...) (*DescribeEventCategoriesOutput, error)
- func (c *Client) DescribeEventSubscriptions(ctx context.Context, params *DescribeEventSubscriptionsInput, ...) (*DescribeEventSubscriptionsOutput, 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) DescribeValidDBInstanceModifications(ctx context.Context, params *DescribeValidDBInstanceModificationsInput, ...) (*DescribeValidDBInstanceModificationsOutput, 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) ModifyDBClusterEndpoint(ctx context.Context, params *ModifyDBClusterEndpointInput, ...) (*ModifyDBClusterEndpointOutput, 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) ModifyDBParameterGroup(ctx context.Context, params *ModifyDBParameterGroupInput, ...) (*ModifyDBParameterGroupOutput, error)
- func (c *Client) ModifyDBSubnetGroup(ctx context.Context, params *ModifyDBSubnetGroupInput, ...) (*ModifyDBSubnetGroupOutput, error)
- func (c *Client) ModifyEventSubscription(ctx context.Context, params *ModifyEventSubscriptionInput, ...) (*ModifyEventSubscriptionOutput, error)
- func (c *Client) PromoteReadReplicaDBCluster(ctx context.Context, params *PromoteReadReplicaDBClusterInput, ...) (*PromoteReadReplicaDBClusterOutput, error)
- func (c *Client) RebootDBInstance(ctx context.Context, params *RebootDBInstanceInput, optFns ...func(*Options)) (*RebootDBInstanceOutput, error)
- func (c *Client) RemoveRoleFromDBCluster(ctx context.Context, params *RemoveRoleFromDBClusterInput, ...) (*RemoveRoleFromDBClusterOutput, error)
- func (c *Client) RemoveSourceIdentifierFromSubscription(ctx context.Context, params *RemoveSourceIdentifierFromSubscriptionInput, ...) (*RemoveSourceIdentifierFromSubscriptionOutput, 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) ResetDBParameterGroup(ctx context.Context, params *ResetDBParameterGroupInput, ...) (*ResetDBParameterGroupOutput, 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 CopyDBParameterGroupInput
- type CopyDBParameterGroupOutput
- type CreateDBClusterEndpointInput
- type CreateDBClusterEndpointOutput
- type CreateDBClusterInput
- type CreateDBClusterOutput
- type CreateDBClusterParameterGroupInput
- type CreateDBClusterParameterGroupOutput
- type CreateDBClusterSnapshotInput
- type CreateDBClusterSnapshotOutput
- type CreateDBInstanceInput
- type CreateDBInstanceOutput
- type CreateDBParameterGroupInput
- type CreateDBParameterGroupOutput
- type CreateDBSubnetGroupInput
- type CreateDBSubnetGroupOutput
- type CreateEventSubscriptionInput
- type CreateEventSubscriptionOutput
- type DeleteDBClusterEndpointInput
- type DeleteDBClusterEndpointOutput
- type DeleteDBClusterInput
- type DeleteDBClusterOutput
- type DeleteDBClusterParameterGroupInput
- type DeleteDBClusterParameterGroupOutput
- type DeleteDBClusterSnapshotInput
- type DeleteDBClusterSnapshotOutput
- type DeleteDBInstanceInput
- type DeleteDBInstanceOutput
- type DeleteDBParameterGroupInput
- type DeleteDBParameterGroupOutput
- type DeleteDBSubnetGroupInput
- type DeleteDBSubnetGroupOutput
- type DeleteEventSubscriptionInput
- type DeleteEventSubscriptionOutput
- type DescribeDBClusterEndpointsInput
- type DescribeDBClusterEndpointsOutput
- type DescribeDBClusterParameterGroupsInput
- type DescribeDBClusterParameterGroupsOutput
- type DescribeDBClusterParametersInput
- type DescribeDBClusterParametersOutput
- type DescribeDBClusterSnapshotAttributesInput
- type DescribeDBClusterSnapshotAttributesOutput
- type DescribeDBClusterSnapshotsInput
- type DescribeDBClusterSnapshotsOutput
- type DescribeDBClustersInput
- type DescribeDBClustersOutput
- type DescribeDBEngineVersionsInput
- type DescribeDBEngineVersionsOutput
- type DescribeDBInstancesInput
- type DescribeDBInstancesOutput
- type DescribeDBParameterGroupsInput
- type DescribeDBParameterGroupsOutput
- type DescribeDBParametersInput
- type DescribeDBParametersOutput
- type DescribeDBSubnetGroupsInput
- type DescribeDBSubnetGroupsOutput
- type DescribeEngineDefaultClusterParametersInput
- type DescribeEngineDefaultClusterParametersOutput
- type DescribeEngineDefaultParametersInput
- type DescribeEngineDefaultParametersOutput
- type DescribeEventCategoriesInput
- type DescribeEventCategoriesOutput
- type DescribeEventSubscriptionsInput
- type DescribeEventSubscriptionsOutput
- type DescribeEventsInput
- type DescribeEventsOutput
- type DescribeOrderableDBInstanceOptionsInput
- type DescribeOrderableDBInstanceOptionsOutput
- type DescribePendingMaintenanceActionsInput
- type DescribePendingMaintenanceActionsOutput
- type DescribeValidDBInstanceModificationsInput
- type DescribeValidDBInstanceModificationsOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type FailoverDBClusterInput
- type FailoverDBClusterOutput
- type HTTPClient
- type HTTPSignerV4
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ModifyDBClusterEndpointInput
- type ModifyDBClusterEndpointOutput
- type ModifyDBClusterInput
- type ModifyDBClusterOutput
- type ModifyDBClusterParameterGroupInput
- type ModifyDBClusterParameterGroupOutput
- type ModifyDBClusterSnapshotAttributeInput
- type ModifyDBClusterSnapshotAttributeOutput
- type ModifyDBInstanceInput
- type ModifyDBInstanceOutput
- type ModifyDBParameterGroupInput
- type ModifyDBParameterGroupOutput
- type ModifyDBSubnetGroupInput
- type ModifyDBSubnetGroupOutput
- type ModifyEventSubscriptionInput
- type ModifyEventSubscriptionOutput
- type Options
- type PromoteReadReplicaDBClusterInput
- type PromoteReadReplicaDBClusterOutput
- type RebootDBInstanceInput
- type RebootDBInstanceOutput
- type RemoveRoleFromDBClusterInput
- type RemoveRoleFromDBClusterOutput
- type RemoveSourceIdentifierFromSubscriptionInput
- type RemoveSourceIdentifierFromSubscriptionOutput
- type RemoveTagsFromResourceInput
- type RemoveTagsFromResourceOutput
- type ResetDBClusterParameterGroupInput
- type ResetDBClusterParameterGroupOutput
- type ResetDBParameterGroupInput
- type ResetDBParameterGroupOutput
- 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 = "Neptune"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
Types ¶
type AddRoleToDBClusterInput ¶
type AddRoleToDBClusterInput struct { // The name of the DB cluster to associate the IAM role with. // // This member is required. DBClusterIdentifier *string // The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB // cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole. // // This member is required. RoleArn *string // The name of the feature for the Neptune DB cluster that the IAM role is to be // associated with. For the list of supported feature names, see DBEngineVersion. FeatureName *string }
type AddRoleToDBClusterOutput ¶
type AddRoleToDBClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AddSourceIdentifierToSubscriptionInput ¶
type AddSourceIdentifierToSubscriptionInput struct { // The identifier of the event source to be added. Constraints: // // * If the source // type is a DB instance, then a DBInstanceIdentifier must be supplied. // // * If the // source type is a DB security group, a DBSecurityGroupName must be supplied. // // * // If the source type is a DB parameter group, a DBParameterGroupName must be // supplied. // // * If the source type is a DB snapshot, a DBSnapshotIdentifier must be // supplied. // // This member is required. SourceIdentifier *string // The name of the event notification subscription you want to add a source // identifier to. // // This member is required. SubscriptionName *string }
type AddSourceIdentifierToSubscriptionOutput ¶
type AddSourceIdentifierToSubscriptionOutput struct { // Contains the results of a successful invocation of the // DescribeEventSubscriptions action. EventSubscription *types.EventSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AddTagsToResourceInput ¶
type AddTagsToResourceInput struct { // The Amazon Neptune resource that the tags are added to. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing an // Amazon Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // // This member is required. ResourceName *string // The tags to be assigned to the Amazon Neptune resource. // // This member is required. Tags []*types.Tag }
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. For information about creating an ARN, see Constructing an // Amazon Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // // This member is required. ResourceIdentifier *string }
type ApplyPendingMaintenanceActionOutput ¶
type ApplyPendingMaintenanceActionOutput struct { // Describes the pending maintenance actions for a resource. 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 Neptune.
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) AddRoleToDBCluster ¶
func (c *Client) AddRoleToDBCluster(ctx context.Context, params *AddRoleToDBClusterInput, optFns ...func(*Options)) (*AddRoleToDBClusterOutput, error)
Associates an Identity and Access Management (IAM) role from an Neptune DB cluster.
func (*Client) AddSourceIdentifierToSubscription ¶
func (c *Client) AddSourceIdentifierToSubscription(ctx context.Context, params *AddSourceIdentifierToSubscriptionInput, optFns ...func(*Options)) (*AddSourceIdentifierToSubscriptionOutput, error)
Adds a source identifier to an existing event notification subscription.
func (*Client) AddTagsToResource ¶
func (c *Client) AddTagsToResource(ctx context.Context, params *AddTagsToResourceInput, optFns ...func(*Options)) (*AddTagsToResourceOutput, error)
Adds metadata tags to an Amazon Neptune resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon Neptune resources, or used in a Condition statement in an IAM policy for Amazon Neptune.
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 a DB instance).
func (*Client) CopyDBClusterParameterGroup ¶
func (c *Client) CopyDBClusterParameterGroup(ctx context.Context, params *CopyDBClusterParameterGroupInput, optFns ...func(*Options)) (*CopyDBClusterParameterGroupOutput, error)
Copies the specified DB 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 DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.
func (*Client) CopyDBParameterGroup ¶
func (c *Client) CopyDBParameterGroup(ctx context.Context, params *CopyDBParameterGroupInput, optFns ...func(*Options)) (*CopyDBParameterGroupOutput, error)
Copies the specified DB parameter group.
func (*Client) CreateDBCluster ¶
func (c *Client) CreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*Options)) (*CreateDBClusterOutput, error)
Creates a new Amazon Neptune DB cluster. You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon Neptune DB instance. Note that when you create a new cluster using CreateDBCluster directly, deletion protection is disabled by default (when you create a new production cluster in the console, deletion protection is enabled by default). You can only delete a DB cluster if its DeletionProtection field is set to false.
func (*Client) CreateDBClusterEndpoint ¶ added in v0.29.0
func (c *Client) CreateDBClusterEndpoint(ctx context.Context, params *CreateDBClusterEndpointInput, optFns ...func(*Options)) (*CreateDBClusterEndpointOutput, error)
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
func (*Client) CreateDBClusterParameterGroup ¶
func (c *Client) CreateDBClusterParameterGroup(ctx context.Context, params *CreateDBClusterParameterGroupInput, optFns ...func(*Options)) (*CreateDBClusterParameterGroupOutput, error)
Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console (https://console.aws.amazon.com/rds/) or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.
func (*Client) CreateDBClusterSnapshot ¶
func (c *Client) CreateDBClusterSnapshot(ctx context.Context, params *CreateDBClusterSnapshotInput, optFns ...func(*Options)) (*CreateDBClusterSnapshotOutput, error)
Creates a snapshot of a DB cluster.
func (*Client) CreateDBInstance ¶
func (c *Client) CreateDBInstance(ctx context.Context, params *CreateDBInstanceInput, optFns ...func(*Options)) (*CreateDBInstanceOutput, error)
Creates a new DB instance.
func (*Client) CreateDBParameterGroup ¶
func (c *Client) CreateDBParameterGroup(ctx context.Context, params *CreateDBParameterGroupInput, optFns ...func(*Options)) (*CreateDBParameterGroupOutput, error)
Creates a new DB parameter group. A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance. When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect. After you create a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.
func (*Client) CreateDBSubnetGroup ¶
func (c *Client) CreateDBSubnetGroup(ctx context.Context, params *CreateDBSubnetGroupInput, optFns ...func(*Options)) (*CreateDBSubnetGroupOutput, error)
Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.
func (*Client) CreateEventSubscription ¶
func (c *Client) CreateEventSubscription(ctx context.Context, params *CreateEventSubscriptionInput, optFns ...func(*Options)) (*CreateEventSubscriptionOutput, error)
Creates an event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the Neptune console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) you want to be notified of, provide a list of Neptune sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Neptune sources. If you do not specify either the SourceType nor the SourceIdentifier, you are notified of events generated from all Neptune sources belonging to your customer account.
func (*Client) DeleteDBCluster ¶
func (c *Client) DeleteDBCluster(ctx context.Context, params *DeleteDBClusterInput, optFns ...func(*Options)) (*DeleteDBClusterOutput, error)
The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted. Note that the DB Cluster cannot be deleted if deletion protection is enabled. To delete it, you must first set its DeletionProtection field to False.
func (*Client) DeleteDBClusterEndpoint ¶ added in v0.29.0
func (c *Client) DeleteDBClusterEndpoint(ctx context.Context, params *DeleteDBClusterEndpointInput, optFns ...func(*Options)) (*DeleteDBClusterEndpointOutput, error)
Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.
func (*Client) DeleteDBClusterParameterGroup ¶
func (c *Client) DeleteDBClusterParameterGroup(ctx context.Context, params *DeleteDBClusterParameterGroupInput, optFns ...func(*Options)) (*DeleteDBClusterParameterGroupOutput, error)
Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.
func (*Client) DeleteDBClusterSnapshot ¶
func (c *Client) DeleteDBClusterSnapshot(ctx context.Context, params *DeleteDBClusterSnapshotInput, optFns ...func(*Options)) (*DeleteDBClusterSnapshotOutput, error)
Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted.
func (*Client) DeleteDBInstance ¶
func (c *Client) DeleteDBInstance(ctx context.Context, params *DeleteDBInstanceInput, optFns ...func(*Options)) (*DeleteDBInstanceOutput, error)
The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted. If you request a final DB snapshot the status of the Amazon Neptune DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action can't be canceled or reverted once submitted. Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true. You can't delete a DB instance if it is the only instance in the DB cluster, or if it has deletion protection enabled.
func (*Client) DeleteDBParameterGroup ¶
func (c *Client) DeleteDBParameterGroup(ctx context.Context, params *DeleteDBParameterGroupInput, optFns ...func(*Options)) (*DeleteDBParameterGroupOutput, error)
Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be associated with any DB instances.
func (*Client) DeleteDBSubnetGroup ¶
func (c *Client) DeleteDBSubnetGroup(ctx context.Context, params *DeleteDBSubnetGroupInput, optFns ...func(*Options)) (*DeleteDBSubnetGroupOutput, error)
Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances.
func (*Client) DeleteEventSubscription ¶
func (c *Client) DeleteEventSubscription(ctx context.Context, params *DeleteEventSubscriptionInput, optFns ...func(*Options)) (*DeleteEventSubscriptionOutput, error)
Deletes an event notification subscription.
func (*Client) DescribeDBClusterEndpoints ¶ added in v0.29.0
func (c *Client) DescribeDBClusterEndpoints(ctx context.Context, params *DescribeDBClusterEndpointsInput, optFns ...func(*Options)) (*DescribeDBClusterEndpointsOutput, error)
Returns information about endpoints for an Amazon Neptune DB cluster. This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
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 will contain only the description of the specified DB 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 DB cluster parameter group.
func (*Client) DescribeDBClusterSnapshotAttributes ¶
func (c *Client) DescribeDBClusterSnapshotAttributes(ctx context.Context, params *DescribeDBClusterSnapshotAttributesInput, optFns ...func(*Options)) (*DescribeDBClusterSnapshotAttributesOutput, error)
Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts. To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.
func (*Client) DescribeDBClusterSnapshots ¶
func (c *Client) DescribeDBClusterSnapshots(ctx context.Context, params *DescribeDBClusterSnapshotsInput, optFns ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
Returns information about DB cluster snapshots. This API action supports pagination.
func (*Client) DescribeDBClusters ¶
func (c *Client) DescribeDBClusters(ctx context.Context, params *DescribeDBClustersInput, optFns ...func(*Options)) (*DescribeDBClustersOutput, error)
Returns information about provisioned DB clusters, and supports pagination. This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
func (*Client) DescribeDBEngineVersions ¶
func (c *Client) DescribeDBEngineVersions(ctx context.Context, params *DescribeDBEngineVersionsInput, optFns ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
Returns a list of the available DB engines.
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(ctx context.Context, params *DescribeDBInstancesInput, optFns ...func(*Options)) (*DescribeDBInstancesOutput, error)
Returns information about provisioned instances, and supports pagination. This operation can also return information for Amazon RDS instances and Amazon DocDB instances.
func (*Client) DescribeDBParameterGroups ¶
func (c *Client) DescribeDBParameterGroups(ctx context.Context, params *DescribeDBParameterGroupsInput, optFns ...func(*Options)) (*DescribeDBParameterGroupsOutput, error)
Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group.
func (*Client) DescribeDBParameters ¶
func (c *Client) DescribeDBParameters(ctx context.Context, params *DescribeDBParametersInput, optFns ...func(*Options)) (*DescribeDBParametersOutput, error)
Returns the detailed parameter list for a particular DB parameter group.
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. For an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
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) DescribeEngineDefaultParameters ¶
func (c *Client) DescribeEngineDefaultParameters(ctx context.Context, params *DescribeEngineDefaultParametersInput, optFns ...func(*Options)) (*DescribeEngineDefaultParametersOutput, error)
Returns the default engine and system parameter information for the specified 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) DescribeEventSubscriptions ¶
func (c *Client) DescribeEventSubscriptions(ctx context.Context, params *DescribeEventSubscriptionsInput, optFns ...func(*Options)) (*DescribeEventSubscriptionsOutput, error)
Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status. If you specify a SubscriptionName, lists the description for that subscription.
func (*Client) DescribeEvents ¶
func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
func (*Client) DescribeOrderableDBInstanceOptions ¶
func (c *Client) DescribeOrderableDBInstanceOptions(ctx context.Context, params *DescribeOrderableDBInstanceOptionsInput, optFns ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
Returns a list of orderable DB 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, DB instances) that have at least one pending maintenance action.
func (*Client) DescribeValidDBInstanceModifications ¶
func (c *Client) DescribeValidDBInstanceModifications(ctx context.Context, params *DescribeValidDBInstanceModificationsInput, optFns ...func(*Options)) (*DescribeValidDBInstanceModificationsOutput, error)
You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB instance. You can use this information when you call ModifyDBInstance.
func (*Client) FailoverDBCluster ¶
func (c *Client) FailoverDBCluster(ctx context.Context, params *FailoverDBClusterInput, optFns ...func(*Options)) (*FailoverDBClusterOutput, error)
Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Read Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). Amazon Neptune will automatically fail over to a Read Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists all tags on an Amazon Neptune resource.
func (*Client) ModifyDBCluster ¶
func (c *Client) ModifyDBCluster(ctx context.Context, params *ModifyDBClusterInput, optFns ...func(*Options)) (*ModifyDBClusterOutput, error)
Modify a setting for a DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
func (*Client) ModifyDBClusterEndpoint ¶ added in v0.29.0
func (c *Client) ModifyDBClusterEndpoint(ctx context.Context, params *ModifyDBClusterEndpointInput, optFns ...func(*Options)) (*ModifyDBClusterEndpointOutput, error)
Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
func (*Client) ModifyDBClusterParameterGroup ¶
func (c *Client) ModifyDBClusterParameterGroup(ctx context.Context, params *ModifyDBClusterParameterGroupInput, optFns ...func(*Options)) (*ModifyDBClusterParameterGroupOutput, error)
Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.
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 DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.
func (*Client) ModifyDBInstance ¶
func (c *Client) ModifyDBInstance(ctx context.Context, params *ModifyDBInstanceInput, optFns ...func(*Options)) (*ModifyDBInstanceOutput, error)
Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. To learn what modifications you can make to your DB instance, call DescribeValidDBInstanceModifications before you call ModifyDBInstance.
func (*Client) ModifyDBParameterGroup ¶
func (c *Client) ModifyDBParameterGroup(ctx context.Context, params *ModifyDBParameterGroupInput, optFns ...func(*Options)) (*ModifyDBParameterGroupOutput, error)
Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect. After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon Neptune to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.
func (*Client) ModifyDBSubnetGroup ¶
func (c *Client) ModifyDBSubnetGroup(ctx context.Context, params *ModifyDBSubnetGroupInput, optFns ...func(*Options)) (*ModifyDBSubnetGroupOutput, error)
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.
func (*Client) ModifyEventSubscription ¶
func (c *Client) ModifyEventSubscription(ctx context.Context, params *ModifyEventSubscriptionInput, optFns ...func(*Options)) (*ModifyEventSubscriptionOutput, error)
Modifies an existing event notification subscription. Note that you can't modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls. You can see a list of the event categories for a given SourceType by using the DescribeEventCategories action.
func (*Client) PromoteReadReplicaDBCluster ¶
func (c *Client) PromoteReadReplicaDBCluster(ctx context.Context, params *PromoteReadReplicaDBClusterInput, optFns ...func(*Options)) (*PromoteReadReplicaDBClusterOutput, error)
Not supported.
func (*Client) RebootDBInstance ¶
func (c *Client) RebootDBInstance(ctx context.Context, params *RebootDBInstanceInput, optFns ...func(*Options)) (*RebootDBInstanceOutput, error)
You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect. Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.
func (*Client) RemoveRoleFromDBCluster ¶
func (c *Client) RemoveRoleFromDBCluster(ctx context.Context, params *RemoveRoleFromDBClusterInput, optFns ...func(*Options)) (*RemoveRoleFromDBClusterOutput, error)
Disassociates an Identity and Access Management (IAM) role from a DB cluster.
func (*Client) RemoveSourceIdentifierFromSubscription ¶
func (c *Client) RemoveSourceIdentifierFromSubscription(ctx context.Context, params *RemoveSourceIdentifierFromSubscriptionInput, optFns ...func(*Options)) (*RemoveSourceIdentifierFromSubscriptionOutput, error)
Removes a source identifier from an existing event notification subscription.
func (*Client) RemoveTagsFromResource ¶
func (c *Client) RemoveTagsFromResource(ctx context.Context, params *RemoveTagsFromResourceInput, optFns ...func(*Options)) (*RemoveTagsFromResourceOutput, error)
Removes metadata tags from an Amazon Neptune resource.
func (*Client) ResetDBClusterParameterGroup ¶
func (c *Client) ResetDBClusterParameterGroup(ctx context.Context, params *ResetDBClusterParameterGroupInput, optFns ...func(*Options)) (*ResetDBClusterParameterGroupOutput, error)
Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to.
func (*Client) ResetDBParameterGroup ¶
func (c *Client) ResetDBParameterGroup(ctx context.Context, params *ResetDBParameterGroupInput, optFns ...func(*Options)) (*ResetDBParameterGroupOutput, error)
Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.
func (*Client) RestoreDBClusterFromSnapshot ¶
func (c *Client) RestoreDBClusterFromSnapshot(ctx context.Context, params *RestoreDBClusterFromSnapshotInput, optFns ...func(*Options)) (*RestoreDBClusterFromSnapshotOutput, error)
Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
func (*Client) RestoreDBClusterToPointInTime ¶
func (c *Client) RestoreDBClusterToPointInTime(ctx context.Context, params *RestoreDBClusterToPointInTimeInput, optFns ...func(*Options)) (*RestoreDBClusterToPointInTimeOutput, error)
Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterToPointInTime action has completed and the DB cluster is available.
func (*Client) StartDBCluster ¶
func (c *Client) StartDBCluster(ctx context.Context, params *StartDBClusterInput, optFns ...func(*Options)) (*StartDBClusterOutput, error)
Starts an Amazon Neptune DB cluster that was stopped using the AWS console, the AWS CLI stop-db-cluster command, or the StopDBCluster API.
func (*Client) StopDBCluster ¶
func (c *Client) StopDBCluster(ctx context.Context, params *StopDBClusterInput, optFns ...func(*Options)) (*StopDBClusterOutput, error)
Stops an Amazon Neptune DB cluster. When you stop a DB cluster, Neptune retains the DB cluster's metadata, including its endpoints and DB parameter groups. Neptune also retains the transaction logs so you can do a point-in-time restore if necessary.
type CopyDBClusterParameterGroupInput ¶
type CopyDBClusterParameterGroupInput struct { // The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter // group. For information about creating an ARN, see Constructing an Amazon // Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // Constraints: // // * Must specify a valid DB cluster parameter group. // // * If the // source DB cluster parameter group is in the same AWS Region as the copy, specify // a valid DB parameter group identifier, for example my-db-cluster-param-group, or // a valid ARN. // // * If the source DB parameter group is in a different AWS Region // than the copy, specify a valid DB cluster parameter group ARN, for example // arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. // // This member is required. SourceDBClusterParameterGroupIdentifier *string // A description for the copied DB cluster parameter group. // // This member is required. TargetDBClusterParameterGroupDescription *string // The identifier for the copied DB cluster parameter group. Constraints: // // * Cannot // be null, empty, or blank // // * Must contain from 1 to 255 letters, numbers, or // hyphens // // * First character must be a letter // // * Cannot end with a hyphen or // contain two consecutive hyphens // // Example: my-cluster-param-group1 // // This member is required. TargetDBClusterParameterGroupIdentifier *string // The tags to be assigned to the copied DB cluster parameter group. Tags []*types.Tag }
type CopyDBClusterParameterGroupOutput ¶
type CopyDBClusterParameterGroupOutput struct { // Contains the details of an Amazon Neptune DB cluster parameter group. This data // type is used as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *types.DBClusterParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CopyDBClusterSnapshotInput ¶
type CopyDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to copy. This parameter is not // case-sensitive. You can't copy from one AWS Region to another. Constraints: // // * // Must specify a valid system snapshot in the "available" state. // // * Specify a // valid DB snapshot identifier. // // Example: my-cluster-snapshot1 // // This member is required. SourceDBClusterSnapshotIdentifier *string // The identifier of the new DB cluster snapshot to create from the source DB // cluster snapshot. This parameter is not case-sensitive. Constraints: // // * Must // contain from 1 to 63 letters, numbers, or hyphens. // // * First character must be a // letter. // // * Cannot end with a hyphen or contain two consecutive // hyphens. // // Example: my-cluster-snapshot2 // // This member is required. TargetDBClusterSnapshotIdentifier *string // True to copy all tags from the source DB cluster snapshot to the target DB // cluster snapshot, and otherwise false. The default is false. CopyTags *bool // The AWS AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key ID is // the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the // KMS encryption key. If you copy an encrypted DB cluster snapshot from your AWS // account, you can specify a value for KmsKeyId to encrypt the copy with a new KMS // encryption key. If you don't specify a value for KmsKeyId, then the copy of the // DB cluster snapshot is encrypted with the same KMS key as the source DB cluster // snapshot. If you copy an encrypted DB cluster snapshot that is shared from // another AWS account, then you must specify a value for KmsKeyId. 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. You cannot encrypt an // unencrypted DB cluster snapshot when you copy it. If you try to copy an // unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, // an error is returned. KmsKeyId *string // Not currently supported. PreSignedUrl *string // The tags to assign to the new DB cluster snapshot copy. Tags []*types.Tag }
type CopyDBClusterSnapshotOutput ¶
type CopyDBClusterSnapshotOutput struct { // Contains the details for an Amazon Neptune DB cluster snapshot This data type is // used as a response element in the DescribeDBClusterSnapshots action. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CopyDBParameterGroupInput ¶
type CopyDBParameterGroupInput struct { // The identifier or ARN for the source DB parameter group. For information about // creating an ARN, see Constructing an Amazon Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // Constraints: // // * Must specify a valid DB parameter group. // // * Must specify a valid // DB parameter group identifier, for example my-db-param-group, or a valid ARN. // // This member is required. SourceDBParameterGroupIdentifier *string // A description for the copied DB parameter group. // // This member is required. TargetDBParameterGroupDescription *string // The identifier for the copied DB parameter group. Constraints: // // * Cannot be // null, empty, or blank. // // * Must contain from 1 to 255 letters, numbers, or // hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or // contain two consecutive hyphens. // // Example: my-db-parameter-group // // This member is required. TargetDBParameterGroupIdentifier *string // The tags to be assigned to the copied DB parameter group. Tags []*types.Tag }
type CopyDBParameterGroupOutput ¶
type CopyDBParameterGroupOutput struct { // Contains the details of an Amazon Neptune DB parameter group. This data type is // used as a response element in the DescribeDBParameterGroups action. DBParameterGroup *types.DBParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterEndpointInput ¶ added in v0.29.0
type CreateDBClusterEndpointInput struct { // The identifier to use for the new endpoint. This parameter is stored as a // lowercase string. // // This member is required. DBClusterEndpointIdentifier *string // The DB cluster identifier of the DB cluster associated with the endpoint. This // parameter is stored as a lowercase string. // // This member is required. DBClusterIdentifier *string // The type of the endpoint. One of: READER, WRITER, ANY. // // This member is required. EndpointType *string // List of DB instance identifiers that aren't part of the custom endpoint group. // All other eligible instances are reachable through the custom endpoint. Only // relevant if the list of static members is empty. ExcludedMembers []*string // List of DB instance identifiers that are part of the custom endpoint group. StaticMembers []*string // The tags to be assigned to the Amazon Neptune resource. Tags []*types.Tag }
type CreateDBClusterEndpointOutput ¶ added in v0.29.0
type CreateDBClusterEndpointOutput struct { // The type associated with a custom endpoint. One of: READER, WRITER, ANY. CustomEndpointType *string // The Amazon Resource Name (ARN) for the endpoint. DBClusterEndpointArn *string // The identifier associated with the endpoint. This parameter is stored as a // lowercase string. DBClusterEndpointIdentifier *string // A unique system-generated identifier for an endpoint. It remains the same for // the whole life of the endpoint. DBClusterEndpointResourceIdentifier *string // The DB cluster identifier of the DB cluster associated with the endpoint. This // parameter is stored as a lowercase string. DBClusterIdentifier *string // The DNS address of the endpoint. Endpoint *string // The type of the endpoint. One of: READER, WRITER, CUSTOM. EndpointType *string // List of DB instance identifiers that aren't part of the custom endpoint group. // All other eligible instances are reachable through the custom endpoint. Only // relevant if the list of static members is empty. ExcludedMembers []*string // List of DB instance identifiers that are part of the custom endpoint group. StaticMembers []*string // The current status of the endpoint. One of: creating, available, deleting, // inactive, modifying. The inactive state applies to an endpoint that cannot be // used for a certain kind of cluster, such as a writer endpoint for a read-only // secondary cluster in a global database. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:
* CreateDBClusterEndpoint
* DescribeDBClusterEndpoints
* ModifyDBClusterEndpoint
* DeleteDBClusterEndpoint
For the data structure that represents Amazon Neptune DB instance endpoints, see Endpoint.
type CreateDBClusterInput ¶
type CreateDBClusterInput struct { // The DB cluster identifier. This parameter is stored as a lowercase string. // Constraints: // // * Must contain from 1 to 63 letters, numbers, or hyphens. // // * First // character must be a letter. // // * Cannot end with a hyphen or contain two // consecutive hyphens. // // Example: my-cluster1 // // This member is required. DBClusterIdentifier *string // The name of the database engine to be used for this DB cluster. Valid Values: // neptune // // This member is required. Engine *string // A list of EC2 Availability Zones that instances in the DB 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 // (Not supported by Neptune) CharacterSetName *string // The name of the DB cluster parameter group to associate with this DB cluster. If // this argument is omitted, the default is used. Constraints: // // * If supplied, must // match the name of an existing DBClusterParameterGroup. DBClusterParameterGroupName *string // A DB subnet group to associate with this DB cluster. Constraints: Must match the // name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup DBSubnetGroupName *string // The name for your database of up to 64 alpha-numeric characters. If you do not // provide a name, Amazon Neptune will not create a database in the DB cluster you // are creating. DatabaseName *string // A value that indicates whether the DB cluster has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is enabled. DeletionProtection *bool // The list of log types that need to be enabled for exporting to CloudWatch Logs. EnableCloudwatchLogsExports []*string // Not supported by Neptune. EnableIAMDatabaseAuthentication *bool // The version number of the database engine to use for the new DB cluster. // Example: 1.0.2.1 EngineVersion *string // The AWS KMS key identifier for an encrypted DB cluster. The KMS key identifier // is the Amazon Resource Name (ARN) for the KMS encryption key. If you are // creating a DB cluster with the same AWS account that owns the KMS encryption key // used to encrypt the new DB cluster, then you can use the KMS key alias instead // of the ARN for the KMS encryption key. If an encryption key is not specified in // KmsKeyId: // // * If ReplicationSourceIdentifier identifies an encrypted source, then // Amazon Neptune will use the encryption key used to encrypt the source. // Otherwise, Amazon Neptune will use your default encryption key. // // * If the // StorageEncrypted parameter is true and ReplicationSourceIdentifier is not // specified, then Amazon Neptune will use your default encryption key. // // AWS KMS // creates the default encryption key for your AWS account. Your AWS account has a // different default encryption key for each AWS Region. If you create a Read // Replica of an encrypted DB cluster in another AWS Region, you must set KmsKeyId // to a KMS key ID that is valid in the destination AWS Region. This key is used to // encrypt the Read Replica in that AWS Region. KmsKeyId *string // The password for the master database user. This password can contain any // printable ASCII character except "/", """, or "@". Constraints: Must contain // from 8 to 41 characters. MasterUserPassword *string // The name of the master user for the DB cluster. Constraints: // // * Must be 1 to 16 // letters or numbers. // // * First character must be a letter. // // * Cannot be a reserved // word for the chosen database engine. MasterUsername *string // (Not supported by Neptune) OptionGroupName *string // The port number on which the instances in the DB cluster accept connections. // Default: 8182 Port *int32 // This parameter is 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. To see the time blocks available, see Adjusting the Preferred // Maintenance Window // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon Neptune User Guide. 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. To see the time blocks available, // see Adjusting the Preferred Maintenance Window // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon Neptune User Guide. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string // The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this // DB cluster is created as a Read Replica. ReplicationSourceIdentifier *string // Specifies whether the DB cluster is encrypted. StorageEncrypted *bool // The tags to assign to the new DB cluster. Tags []*types.Tag // A list of EC2 VPC security groups to associate with this DB cluster. VpcSecurityGroupIds []*string }
type CreateDBClusterOutput ¶
type CreateDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterParameterGroupInput ¶
type CreateDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group. Constraints: // // * Must match the name // of an existing DBClusterParameterGroup. // // This value is stored as a lowercase // string. // // This member is required. DBClusterParameterGroupName *string // The DB cluster parameter group family name. A DB cluster parameter group can be // associated with one and only one DB cluster parameter group family, and can be // applied only to a DB cluster running a database engine and engine version // compatible with that DB cluster parameter group family. // // This member is required. DBParameterGroupFamily *string // The description for the DB cluster parameter group. // // This member is required. Description *string // The tags to be assigned to the new DB cluster parameter group. Tags []*types.Tag }
type CreateDBClusterParameterGroupOutput ¶
type CreateDBClusterParameterGroupOutput struct { // Contains the details of an Amazon Neptune DB cluster parameter group. This data // type is used as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *types.DBClusterParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBClusterSnapshotInput ¶
type CreateDBClusterSnapshotInput struct { // The identifier of the DB cluster to create a snapshot for. This parameter is not // case-sensitive. Constraints: // // * Must match the identifier of an existing // DBCluster. // // Example: my-cluster1 // // This member is required. DBClusterIdentifier *string // The identifier of the DB cluster snapshot. This parameter is stored as a // lowercase string. Constraints: // // * Must contain from 1 to 63 letters, numbers, or // hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or // contain two consecutive hyphens. // // Example: my-cluster1-snapshot1 // // This member is required. DBClusterSnapshotIdentifier *string // The tags to be assigned to the DB cluster snapshot. Tags []*types.Tag }
type CreateDBClusterSnapshotOutput ¶
type CreateDBClusterSnapshotOutput struct { // Contains the details for an Amazon Neptune DB cluster snapshot This data type is // used as a response element in the DescribeDBClusterSnapshots action. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBInstanceInput ¶
type CreateDBInstanceInput struct { // The compute and memory capacity of the DB instance, for example, db.m4.large. // Not all DB instance classes are available in all AWS Regions. // // This member is required. DBInstanceClass *string // The DB instance identifier. This parameter is stored as a lowercase string. // Constraints: // // * Must contain from 1 to 63 letters, numbers, or hyphens. // // * First // character must be a letter. // // * Cannot end with a hyphen or contain two // consecutive hyphens. // // Example: mydbinstance // // This member is required. DBInstanceIdentifier *string // The name of the database engine to be used for this instance. Valid Values: // neptune // // This member is required. Engine *string // The amount of storage (in gibibytes) to allocate for the DB instance. Type: // Integer Not applicable. Neptune cluster volumes automatically grow as the amount // of data in your database increases, though you are only charged for the space // that you use in a Neptune cluster volume. AllocatedStorage *int32 // Indicates that minor engine upgrades are applied automatically to the DB // instance during the maintenance window. Default: true AutoMinorVersionUpgrade *bool // The EC2 Availability Zone that the DB instance is created in Default: A random, // system-chosen Availability Zone in the endpoint's AWS Region. Example: // us-east-1d Constraint: The AvailabilityZone parameter can't be specified if the // MultiAZ parameter is set to true. The specified Availability Zone must be in the // same AWS Region as the current endpoint. AvailabilityZone *string // The number of days for which automated backups are retained. Not applicable. The // retention period for automated backups is managed by the DB cluster. For more // information, see CreateDBCluster. Default: 1 Constraints: // // * Must be a value // from 0 to 35 // // * Cannot be set to 0 if the DB instance is a source to Read // Replicas BackupRetentionPeriod *int32 // (Not supported by Neptune) CharacterSetName *string // True to copy all tags from the DB instance to snapshots of the DB instance, and // otherwise false. The default is false. CopyTagsToSnapshot *bool // The identifier of the DB cluster that the instance will belong to. For // information on creating a DB cluster, see CreateDBCluster. Type: String DBClusterIdentifier *string // Not supported. DBName *string // The name of the DB parameter group to associate with this DB instance. If this // argument is omitted, the default DBParameterGroup for the specified engine is // used. Constraints: // // * Must be 1 to 255 letters, numbers, or hyphens. // // * First // character must be a letter // // * Cannot end with a hyphen or contain two // consecutive hyphens DBParameterGroupName *string // A list of DB security groups to associate with this DB instance. Default: The // default DB security group for the database engine. DBSecurityGroups []*string // A DB subnet group to associate with this DB instance. If there is no DB subnet // group, then it is a non-VPC DB instance. DBSubnetGroupName *string // A value that indicates whether the DB instance has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is disabled. See Deleting a DB Instance // (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html). // DB instances in a DB cluster can be deleted even when deletion protection is // enabled in their parent DB cluster. DeletionProtection *bool // Specify the Active Directory Domain to create the instance in. Domain *string // Specify the name of the IAM role to be used when making API calls to the // Directory Service. DomainIAMRoleName *string // The list of log types that need to be enabled for exporting to CloudWatch Logs. EnableCloudwatchLogsExports []*string // True to enable AWS Identity and Access Management (IAM) authentication for // Neptune. Default: false EnableIAMDatabaseAuthentication *bool // (Not supported by Neptune) EnablePerformanceInsights *bool // The version number of the database engine to use. Currently, setting this // parameter has no effect. EngineVersion *string // The amount of Provisioned IOPS (input/output operations per second) to be // initially allocated for the DB instance. Iops *int32 // The AWS KMS key identifier for an encrypted DB instance. The KMS key identifier // is the Amazon Resource Name (ARN) for the KMS encryption key. If you are // creating a DB instance with the same AWS account that owns the KMS encryption // key used to encrypt the new DB instance, then you can use the KMS key alias // instead of the ARN for the KM encryption key. Not applicable. The KMS key // identifier is managed by the DB cluster. For more information, see // CreateDBCluster. If the StorageEncrypted parameter is true, and you do not // specify a value for the KmsKeyId parameter, then Amazon Neptune will use your // default encryption key. AWS KMS creates the default encryption key for your AWS // account. Your AWS account has a different default encryption key for each AWS // Region. KmsKeyId *string // License model information for this DB instance. Valid values: license-included | // bring-your-own-license | general-public-license LicenseModel *string // The password for the master user. The password can include any printable ASCII // character except "/", """, or "@". Not used. MasterUserPassword *string // The name for the master user. Not used. MasterUsername *string // The interval, in seconds, between points when Enhanced Monitoring metrics are // collected for the DB instance. To disable collecting Enhanced Monitoring // metrics, specify 0. The default is 0. If MonitoringRoleArn is specified, then // you must also set MonitoringInterval to a value other than 0. Valid Values: 0, // 1, 5, 10, 15, 30, 60 MonitoringInterval *int32 // The ARN for the IAM role that permits Neptune to send enhanced monitoring // metrics to Amazon CloudWatch Logs. For example, // arn:aws:iam:123456789012:role/emaccess. If MonitoringInterval is set to a value // other than 0, then you must supply a MonitoringRoleArn value. MonitoringRoleArn *string // Specifies if the DB instance is a Multi-AZ deployment. You can't set the // AvailabilityZone parameter if the MultiAZ parameter is set to true. MultiAZ *bool // (Not supported by Neptune) OptionGroupName *string // (Not supported by Neptune) PerformanceInsightsKMSKeyId *string // The port number on which the database accepts connections. Not applicable. The // port is managed by the DB cluster. For more information, see CreateDBCluster. // Default: 8182 Type: Integer Port *int32 // The daily time range during which automated backups are created. Not applicable. // The daily time range for creating automated backups is managed by the DB // cluster. For more information, see CreateDBCluster. PreferredBackupWindow *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 Read Replica is promoted to the // primary instance after a failure of the existing primary instance. Default: 1 // Valid Values: 0 - 15 PromotionTier *int32 // This flag should no longer be used. PubliclyAccessible *bool // Specifies whether the DB instance is encrypted. Not applicable. The encryption // for DB instances is managed by the DB cluster. For more information, see // CreateDBCluster. Default: false StorageEncrypted *bool // Specifies the storage type to be associated with the DB instance. Not // applicable. Storage is managed by the DB Cluster. StorageType *string // The tags to assign to the new instance. Tags []*types.Tag // The ARN from the key store with which to associate the instance for TDE // encryption. TdeCredentialArn *string // The password for the given ARN from the key store in order to access the device. TdeCredentialPassword *string // The time zone of the DB instance. Timezone *string // A list of EC2 VPC security groups to associate with this DB instance. Not // applicable. The associated list of EC2 VPC security groups is managed by the DB // cluster. For more information, see CreateDBCluster. Default: The default EC2 VPC // security group for the DB subnet group's VPC. VpcSecurityGroupIds []*string }
type CreateDBInstanceOutput ¶
type CreateDBInstanceOutput struct { // Contains the details of an Amazon Neptune DB instance. This data type is used as // a response element in the DescribeDBInstances action. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBParameterGroupInput ¶
type CreateDBParameterGroupInput struct { // The DB parameter group family name. A DB parameter group can be associated with // one and only one DB parameter group family, and can be applied only to a DB // instance running a database engine and engine version compatible with that DB // parameter group family. // // This member is required. DBParameterGroupFamily *string // The name of the DB parameter group. Constraints: // // * Must be 1 to 255 letters, // numbers, or hyphens. // // * First character must be a letter // // * Cannot end with a // hyphen or contain two consecutive hyphens // // This value is stored as a lowercase // string. // // This member is required. DBParameterGroupName *string // The description for the DB parameter group. // // This member is required. Description *string // The tags to be assigned to the new DB parameter group. Tags []*types.Tag }
type CreateDBParameterGroupOutput ¶
type CreateDBParameterGroupOutput struct { // Contains the details of an Amazon Neptune DB parameter group. This data type is // used as a response element in the DescribeDBParameterGroups action. DBParameterGroup *types.DBParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateDBSubnetGroupInput ¶
type CreateDBSubnetGroupInput struct { // The description for the DB subnet group. // // This member is required. DBSubnetGroupDescription *string // The name for the DB subnet group. This value is stored as a lowercase string. // Constraints: Must contain no more than 255 letters, numbers, periods, // underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup // // This member is required. DBSubnetGroupName *string // The EC2 Subnet IDs for the DB subnet group. // // This member is required. SubnetIds []*string // The tags to be assigned to the new DB subnet group. Tags []*types.Tag }
type CreateDBSubnetGroupOutput ¶
type CreateDBSubnetGroupOutput struct { // Contains the details of an Amazon Neptune DB subnet group. This data type is // used as a response element in the DescribeDBSubnetGroups action. DBSubnetGroup *types.DBSubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateEventSubscriptionInput ¶
type CreateEventSubscriptionInput struct { // The Amazon Resource Name (ARN) of the SNS topic created for event notification. // The ARN is created by Amazon SNS when you create a topic and subscribe to it. // // This member is required. SnsTopicArn *string // The name of the subscription. Constraints: The name must be less than 255 // characters. // // This member is required. SubscriptionName *string // A Boolean value; set to true to activate the subscription, set to false to // create the subscription but not active it. Enabled *bool // A list of event categories for a SourceType that you want to subscribe to. You // can see a list of the categories for a given SourceType by using the // DescribeEventCategories action. EventCategories []*string // The list of identifiers of the event sources for which events are returned. If // not specified, then all sources are included in the response. An identifier must // begin with a letter and must contain only ASCII letters, digits, and hyphens; it // can't end with a hyphen or contain two consecutive hyphens. Constraints: // // * If // SourceIds are supplied, SourceType must also be provided. // // * If the source type // is a DB instance, then a DBInstanceIdentifier must be supplied. // // * If the source // type is a DB security group, a DBSecurityGroupName must be supplied. // // * If the // source type is a DB parameter group, a DBParameterGroupName must be supplied. // // * // If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied. SourceIds []*string // The type of source that is generating the events. For example, if you want to be // notified of events generated by a DB instance, you would set this parameter to // db-instance. if this value is not specified, all events are returned. Valid // values: db-instance | db-cluster | db-parameter-group | db-security-group | // db-snapshot | db-cluster-snapshot SourceType *string // The tags to be applied to the new event subscription. Tags []*types.Tag }
type CreateEventSubscriptionOutput ¶
type CreateEventSubscriptionOutput struct { // Contains the results of a successful invocation of the // DescribeEventSubscriptions action. EventSubscription *types.EventSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBClusterEndpointInput ¶ added in v0.29.0
type DeleteDBClusterEndpointInput struct { // The identifier associated with the custom endpoint. This parameter is stored as // a lowercase string. // // This member is required. DBClusterEndpointIdentifier *string }
type DeleteDBClusterEndpointOutput ¶ added in v0.29.0
type DeleteDBClusterEndpointOutput struct { // The type associated with a custom endpoint. One of: READER, WRITER, ANY. CustomEndpointType *string // The Amazon Resource Name (ARN) for the endpoint. DBClusterEndpointArn *string // The identifier associated with the endpoint. This parameter is stored as a // lowercase string. DBClusterEndpointIdentifier *string // A unique system-generated identifier for an endpoint. It remains the same for // the whole life of the endpoint. DBClusterEndpointResourceIdentifier *string // The DB cluster identifier of the DB cluster associated with the endpoint. This // parameter is stored as a lowercase string. DBClusterIdentifier *string // The DNS address of the endpoint. Endpoint *string // The type of the endpoint. One of: READER, WRITER, CUSTOM. EndpointType *string // List of DB instance identifiers that aren't part of the custom endpoint group. // All other eligible instances are reachable through the custom endpoint. Only // relevant if the list of static members is empty. ExcludedMembers []*string // List of DB instance identifiers that are part of the custom endpoint group. StaticMembers []*string // The current status of the endpoint. One of: creating, available, deleting, // inactive, modifying. The inactive state applies to an endpoint that cannot be // used for a certain kind of cluster, such as a writer endpoint for a read-only // secondary cluster in a global database. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:
* CreateDBClusterEndpoint
* DescribeDBClusterEndpoints
* ModifyDBClusterEndpoint
* DeleteDBClusterEndpoint
For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.
type DeleteDBClusterInput ¶
type DeleteDBClusterInput struct { // The DB cluster identifier for the DB cluster to be deleted. This parameter isn't // case-sensitive. Constraints: // // * Must match an existing DBClusterIdentifier. // // This member is required. DBClusterIdentifier *string // The DB cluster snapshot identifier of the new DB 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 1 to 255 letters, numbers, or hyphens. // // * First character must be a // letter // // * Cannot end with a hyphen or contain two consecutive hyphens FinalDBSnapshotIdentifier *string // Determines whether a final DB cluster snapshot is created before the DB cluster // is deleted. If true is specified, no DB cluster snapshot is created. If false is // specified, a DB cluster snapshot is created before the DB cluster is deleted. // You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is // false. Default: false SkipFinalSnapshot *bool }
type DeleteDBClusterOutput ¶
type DeleteDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBClusterParameterGroupInput ¶
type DeleteDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group. Constraints: // // * Must be the name of // an existing DB cluster parameter group. // // * You can't delete a default DB cluster // parameter group. // // * Cannot be associated with any DB clusters. // // This member is required. DBClusterParameterGroupName *string }
type DeleteDBClusterParameterGroupOutput ¶
type DeleteDBClusterParameterGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBClusterSnapshotInput ¶
type DeleteDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to delete. Constraints: Must be the // name of an existing DB cluster snapshot in the available state. // // This member is required. DBClusterSnapshotIdentifier *string }
type DeleteDBClusterSnapshotOutput ¶
type DeleteDBClusterSnapshotOutput struct { // Contains the details for an Amazon Neptune DB cluster snapshot This data type is // used as a response element in the DescribeDBClusterSnapshots action. DBClusterSnapshot *types.DBClusterSnapshot // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBInstanceInput ¶
type DeleteDBInstanceInput struct { // The DB instance identifier for the DB instance to be deleted. This parameter // isn't case-sensitive. Constraints: // // * Must match the name of an existing DB // instance. // // This member is required. DBInstanceIdentifier *string // The DBSnapshotIdentifier of the new DBSnapshot 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 1 to 255 letters // or numbers. // // * First character must be a letter // // * Cannot end with a hyphen or // contain two consecutive hyphens // // * Cannot be specified when deleting a Read // Replica. FinalDBSnapshotIdentifier *string // Determines whether a final DB snapshot is created before the DB instance is // deleted. If true is specified, no DBSnapshot is created. If false is specified, // a DB snapshot is created before the DB instance is deleted. Note that when a DB // instance is in a failure state and has a status of 'failed', // 'incompatible-restore', or 'incompatible-network', it can only be deleted when // the SkipFinalSnapshot parameter is set to "true". Specify true when deleting a // Read Replica. The FinalDBSnapshotIdentifier parameter must be specified if // SkipFinalSnapshot is false. Default: false SkipFinalSnapshot *bool }
type DeleteDBInstanceOutput ¶
type DeleteDBInstanceOutput struct { // Contains the details of an Amazon Neptune DB instance. This data type is used as // a response element in the DescribeDBInstances action. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteDBParameterGroupInput ¶
type DeleteDBParameterGroupInput struct { // The name of the DB parameter group. Constraints: // // * Must be the name of an // existing DB parameter group // // * You can't delete a default DB parameter group // // * // Cannot be associated with any DB instances // // This member is required. DBParameterGroupName *string }
type DeleteDBParameterGroupOutput ¶
type DeleteDBParameterGroupOutput struct { // 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: Constraints: Must match the name of an existing // DBSubnetGroup. Must not be default. Example: mySubnetgroup // // This member is required. DBSubnetGroupName *string }
type DeleteDBSubnetGroupOutput ¶
type DeleteDBSubnetGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteEventSubscriptionInput ¶
type DeleteEventSubscriptionInput struct { // The name of the event notification subscription you want to delete. // // This member is required. SubscriptionName *string }
type DeleteEventSubscriptionOutput ¶
type DeleteEventSubscriptionOutput struct { // Contains the results of a successful invocation of the // DescribeEventSubscriptions action. EventSubscription *types.EventSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClusterEndpointsInput ¶ added in v0.29.0
type DescribeDBClusterEndpointsInput struct { // The identifier of the endpoint to describe. This parameter is stored as a // lowercase string. DBClusterEndpointIdentifier *string // The DB cluster identifier of the DB cluster associated with the endpoint. This // parameter is stored as a lowercase string. DBClusterIdentifier *string // A set of name-value pairs that define which endpoints to include in the output. // The filters are specified as name-value pairs, in the format // Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: // db-cluster-endpoint-type, db-cluster-endpoint-custom-type, // db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the // db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. // Values for the db-cluster-endpoint-custom-type filter can be one or more of: // reader, any. Values for the db-cluster-endpoint-status filter can be one or more // of: available, creating, deleting, inactive, modifying. Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBClusterEndpoints // 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 you can retrieve the remaining results. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
type DescribeDBClusterEndpointsOutput ¶ added in v0.29.0
type DescribeDBClusterEndpointsOutput struct { // Contains the details of the endpoints associated with the cluster and matching // any filter conditions. DBClusterEndpoints []*types.DBClusterEndpoint // An optional pagination token provided by a previous DescribeDBClusterEndpoints // 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 }
type DescribeDBClusterParameterGroupsInput ¶
type DescribeDBClusterParameterGroupsInput struct { // The name of a specific DB cluster parameter group to return details for. // Constraints: // // * If supplied, 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 // DescribeDBClusterParameterGroups 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 DescribeDBClusterParameterGroupsOutput ¶
type DescribeDBClusterParameterGroupsOutput struct { // A list of DB cluster parameter groups. DBClusterParameterGroups []*types.DBClusterParameterGroup // An optional pagination token provided by a previous // DescribeDBClusterParameterGroups request. If this parameter is specified, the // response includes only records beyond the marker, up to the value specified by // MaxRecords. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClusterParametersInput ¶
type DescribeDBClusterParametersInput struct { // The name of a specific DB cluster parameter group to return parameter details // for. Constraints: // // * If supplied, must match the name of an existing // DBClusterParameterGroup. // // This member is required. DBClusterParameterGroupName *string // This parameter is not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBClusterParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. 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 // A value that indicates to return only parameters for a specific source. // Parameter sources can be engine, service, or customer. Source *string }
type DescribeDBClusterParametersOutput ¶
type DescribeDBClusterParametersOutput struct { // An optional pagination token provided by a previous DescribeDBClusterParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string // Provides a list of parameters for the DB cluster parameter group. Parameters []*types.Parameter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClusterSnapshotAttributesInput ¶
type DescribeDBClusterSnapshotAttributesInput struct { // The identifier for the DB cluster snapshot to describe the attributes for. // // This member is required. DBClusterSnapshotIdentifier *string }
type DescribeDBClusterSnapshotAttributesOutput ¶
type DescribeDBClusterSnapshotAttributesOutput struct { // Contains the results of a successful call to the // DescribeDBClusterSnapshotAttributes API action. Manual DB cluster snapshot // attributes are used to authorize other AWS accounts to copy or restore a manual // DB cluster snapshot. For more information, see the // ModifyDBClusterSnapshotAttribute API action. DBClusterSnapshotAttributesResult *types.DBClusterSnapshotAttributesResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClusterSnapshotsInput ¶
type DescribeDBClusterSnapshotsInput struct { // The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This // parameter can't be used in conjunction with the DBClusterSnapshotIdentifier // parameter. This parameter is not case-sensitive. Constraints: // // * If supplied, // must match the identifier of an existing DBCluster. DBClusterIdentifier *string // A specific DB cluster snapshot identifier to describe. This parameter can't be // used in conjunction with the DBClusterIdentifier parameter. This value is stored // as a lowercase string. Constraints: // // * If supplied, must match the identifier of // an existing DBClusterSnapshot. // // * If this identifier is for an automated // snapshot, the SnapshotType parameter must also be specified. DBClusterSnapshotIdentifier *string // This parameter is not currently supported. Filters []*types.Filter // True to include manual DB cluster snapshots that are public and can be copied or // restored by any AWS account, and otherwise false. The default is false. The // default is false. You can share a manual DB cluster snapshot as public by using // the ModifyDBClusterSnapshotAttribute API action. IncludePublic *bool // this AWS account has been given permission to copy or restore, and otherwise // false. The default is false. You can give an AWS account permission to restore a // manual DB cluster snapshot from another AWS account by the // ModifyDBClusterSnapshotAttribute API action. IncludeShared *bool // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. 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 // The type of DB cluster snapshots to be returned. You can specify one of the // following values: // // * automated - Return all DB cluster snapshots that have been // automatically taken by Amazon Neptune for my AWS account. // // * manual - Return all // DB cluster snapshots that have been taken by my AWS account. // // * shared - Return // all manual DB cluster snapshots that have been shared to my AWS account. // // * // public - Return all DB cluster snapshots that have been marked as public. // // If // you don't specify a SnapshotType value, then both automated and manual DB // cluster snapshots are returned. You can include shared DB cluster snapshots with // these results by setting the IncludeShared parameter to true. You can include // public DB cluster snapshots with these results by setting the IncludePublic // parameter to true. The IncludeShared and IncludePublic parameters don't apply // for SnapshotType values of manual or automated. The IncludePublic parameter // doesn't apply when SnapshotType is set to shared. The IncludeShared parameter // doesn't apply when SnapshotType is set to public. SnapshotType *string }
type DescribeDBClusterSnapshotsOutput ¶
type DescribeDBClusterSnapshotsOutput struct { // Provides a list of DB cluster snapshots for the user. DBClusterSnapshots []*types.DBClusterSnapshot // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBClustersInput ¶
type DescribeDBClustersInput struct { // The user-supplied DB cluster identifier. If this parameter is specified, // information from only the specific DB cluster is returned. This parameter isn't // case-sensitive. Constraints: // // * If supplied, must match an existing // DBClusterIdentifier. DBClusterIdentifier *string // A filter that specifies one or more DB clusters to describe. Supported // filters: // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include information about the // DB clusters identified by these ARNs. // // * engine - Accepts an engine name (such // as neptune), and restricts the results list to DB clusters created by that // engine. // // For example, to invoke this API from the AWS CLI and filter so that // only Neptune DB clusters are returned, you could use the following command: Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBClusters request. // If this parameter is specified, the response includes only records beyond the // marker, up to the value specified by MaxRecords. 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 DescribeDBClustersOutput ¶
type DescribeDBClustersOutput struct { // Contains a list of DB clusters for the user. DBClusters []*types.DBCluster // A pagination token that can be used in a subsequent DescribeDBClusters request. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBEngineVersionsInput ¶
type DescribeDBEngineVersionsInput struct { // The name of a specific DB parameter group family to return details for. // Constraints: // // * If supplied, 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: 5.1.49 EngineVersion *string // 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 than the // MaxRecords value is available, a pagination token called a marker is included in // the response so that the following results can be retrieved. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 }
type DescribeDBEngineVersionsOutput ¶
type DescribeDBEngineVersionsOutput struct { // A list of DBEngineVersion elements. 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 }
type DescribeDBInstancesInput ¶
type DescribeDBInstancesInput struct { // The user-supplied instance identifier. If this parameter is specified, // information from only the specific DB instance is returned. This parameter isn't // case-sensitive. Constraints: // // * If supplied, must match the identifier of an // existing DBInstance. DBInstanceIdentifier *string // A filter that specifies one or more DB instances to describe. Supported // filters: // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include information about the // DB instances associated with the DB clusters identified by these ARNs. // // * engine // - Accepts an engine name (such as neptune), and restricts the results list to DB // instances created by that engine. // // For example, to invoke this API from the AWS // CLI and filter so that only Neptune DB instances are returned, you could use the // following command: Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBInstances request. // If this parameter is specified, the response includes only records beyond the // marker, up to the value specified by MaxRecords. 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 DescribeDBInstancesOutput ¶
type DescribeDBInstancesOutput struct { // A list of DBInstance 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 }
type DescribeDBParameterGroupsInput ¶
type DescribeDBParameterGroupsInput struct { // The name of a specific DB parameter group to return details for. Constraints: // // * // If supplied, must match the name of an existing DBClusterParameterGroup. DBParameterGroupName *string // This parameter is not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBParameterGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. 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 DescribeDBParameterGroupsOutput ¶
type DescribeDBParameterGroupsOutput struct { // A list of DBParameterGroup instances. DBParameterGroups []*types.DBParameterGroup // 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 }
type DescribeDBParametersInput ¶
type DescribeDBParametersInput struct { // The name of a specific DB parameter group to return details for. Constraints: // // * // If supplied, must match the name of an existing DBParameterGroup. // // This member is required. DBParameterGroupName *string // This parameter is not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous DescribeDBParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. 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 // The parameter types to return. Default: All parameter types returned Valid // Values: user | system | engine-default Source *string }
type DescribeDBParametersOutput ¶
type DescribeDBParametersOutput 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 // A list of Parameter values. Parameters []*types.Parameter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDBSubnetGroupsInput ¶
type DescribeDBSubnetGroupsInput struct { // The name of the DB 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 DescribeDBSubnetGroups // 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 DescribeDBSubnetGroupsOutput ¶
type DescribeDBSubnetGroupsOutput struct { // A list of DBSubnetGroup instances. 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 }
type DescribeEngineDefaultClusterParametersInput ¶
type DescribeEngineDefaultClusterParametersInput struct { // The name of the DB cluster parameter group family to return 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 // DescribeEngineDefaultClusterParameters 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 DescribeEngineDefaultClusterParametersOutput ¶
type DescribeEngineDefaultClusterParametersOutput struct { // Contains the result of a successful invocation of the // DescribeEngineDefaultParameters action. EngineDefaults *types.EngineDefaults // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeEngineDefaultParametersInput ¶
type DescribeEngineDefaultParametersInput struct { // The name of the DB parameter group family. // // This member is required. DBParameterGroupFamily *string // Not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous // DescribeEngineDefaultParameters request. If this parameter is specified, the // response includes only records beyond the marker, up to the value specified by // MaxRecords. 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 DescribeEngineDefaultParametersOutput ¶
type DescribeEngineDefaultParametersOutput struct { // Contains the result of a successful invocation of the // DescribeEngineDefaultParameters action. EngineDefaults *types.EngineDefaults // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeEventCategoriesOutput ¶
type DescribeEventCategoriesOutput struct { // A list of EventCategoriesMap data types. EventCategoriesMapList []*types.EventCategoriesMap // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeEventSubscriptionsInput ¶
type DescribeEventSubscriptionsInput struct { // This parameter is not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous // DescribeOrderableDBInstanceOptions request. If this parameter is specified, the // response includes only records beyond the marker, up to the value specified by // MaxRecords . 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 // The name of the event notification subscription you want to describe. SubscriptionName *string }
type DescribeEventSubscriptionsOutput ¶
type DescribeEventSubscriptionsOutput struct { // A list of EventSubscriptions data types. EventSubscriptionsList []*types.EventSubscription // An optional pagination token provided by a previous // DescribeOrderableDBInstanceOptions request. If this parameter is specified, the // response includes only records beyond the marker, up to the value specified by // MaxRecords. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. For more information about ISO 8601, go to the ISO8601 Wikipedia page. // (http://en.wikipedia.org/wiki/ISO_8601) Example: 2009-07-08T18:00Z EndTime *time.Time // A list of event categories that trigger notifications for a event notification // subscription. EventCategories []*string // This parameter is not currently supported. Filters []*types.Filter // An optional pagination token provided by a previous DescribeEvents request. If // this parameter is specified, the response includes only records beyond the // marker, up to the value specified by MaxRecords. 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 // The identifier of the event source for which events are returned. If not // specified, then all sources are included in the response. Constraints: // // * If // SourceIdentifier is supplied, SourceType must also be provided. // // * If the source // type is DBInstance, then a DBInstanceIdentifier must be supplied. // // * If the // source type is DBSecurityGroup, a DBSecurityGroupName must be supplied. // // * If // the source type is DBParameterGroup, a DBParameterGroupName must be supplied. // // * // If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. // // * // Cannot end with a hyphen or contain two consecutive hyphens. 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. For more information about ISO 8601, go to the ISO8601 Wikipedia page. // (http://en.wikipedia.org/wiki/ISO_8601) Example: 2009-07-08T18:00Z StartTime *time.Time }
type DescribeEventsOutput ¶
type DescribeEventsOutput struct { // A list of Event instances. Events []*types.Event // An optional pagination token provided by a previous Events 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 }
type DescribeOrderableDBInstanceOptionsInput ¶
type DescribeOrderableDBInstanceOptionsInput struct { // The name of the engine to retrieve DB instance options for. // // This member is required. Engine *string // The DB instance class filter value. Specify this parameter to show only the // available offerings matching the specified DB instance class. DBInstanceClass *string // The engine version filter value. Specify this parameter to show only the // available offerings matching 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 matching the specified license model. LicenseModel *string // An optional pagination token provided by a previous // DescribeOrderableDBInstanceOptions request. If this parameter is specified, the // response includes only records beyond the marker, up to the value specified by // MaxRecords . 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 // The VPC filter value. Specify this parameter to show only the available VPC or // non-VPC offerings. Vpc *bool }
type DescribeOrderableDBInstanceOptionsOutput ¶
type DescribeOrderableDBInstanceOptionsOutput struct { // An optional pagination token provided by a previous OrderableDBInstanceOptions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string // An OrderableDBInstanceOption structure containing information about orderable // options for the DB instance. OrderableDBInstanceOptions []*types.OrderableDBInstanceOption // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 DB cluster // identifiers and DB cluster Amazon Resource Names (ARNs). The results list will // only include pending maintenance actions for the DB clusters identified by these // ARNs. // // * db-instance-id - Accepts DB instance identifiers and DB instance ARNs. // The results list will only include pending maintenance actions for the DB // instances identified by these ARNs. Filters []*types.Filter // An optional pagination token provided by a previous // DescribePendingMaintenanceActions request. If this parameter is specified, the // response includes only records beyond the marker, up to a number of records // specified by MaxRecords. 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 // The ARN of a resource to return pending maintenance actions for. ResourceIdentifier *string }
type DescribePendingMaintenanceActionsOutput ¶
type DescribePendingMaintenanceActionsOutput struct { // An optional pagination token provided by a previous // DescribePendingMaintenanceActions request. If this parameter is specified, the // response includes only records beyond the marker, up to a number of records // specified by MaxRecords. Marker *string // A list of the pending maintenance actions for the resource. PendingMaintenanceActions []*types.ResourcePendingMaintenanceActions // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeValidDBInstanceModificationsInput ¶
type DescribeValidDBInstanceModificationsInput struct { // The customer identifier or the ARN of your DB instance. // // This member is required. DBInstanceIdentifier *string }
type DescribeValidDBInstanceModificationsOutput ¶
type DescribeValidDBInstanceModificationsOutput struct { // Information about valid modifications that you can make to your DB instance. // Contains the result of a successful call to the // DescribeValidDBInstanceModifications action. You can use this information when // you call ModifyDBInstance. ValidDBInstanceModificationsMessage *types.ValidDBInstanceModificationsMessage // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
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 DB 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 Read Replica in the DB cluster. For example, // mydbcluster-replica1. TargetDBInstanceIdentifier *string }
type FailoverDBClusterOutput ¶
type FailoverDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPSignerV4 ¶
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Neptune resource with tags to be listed. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing an // Amazon Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // // This member is required. ResourceName *string // This parameter is not currently supported. Filters []*types.Filter }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // List of tags returned by the ListTagsForResource operation. TagList []*types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBClusterEndpointInput ¶ added in v0.29.0
type ModifyDBClusterEndpointInput struct { // The identifier of the endpoint to modify. This parameter is stored as a // lowercase string. // // This member is required. DBClusterEndpointIdentifier *string // The type of the endpoint. One of: READER, WRITER, ANY. EndpointType *string // List of DB instance identifiers that aren't part of the custom endpoint group. // All other eligible instances are reachable through the custom endpoint. Only // relevant if the list of static members is empty. ExcludedMembers []*string // List of DB instance identifiers that are part of the custom endpoint group. StaticMembers []*string }
type ModifyDBClusterEndpointOutput ¶ added in v0.29.0
type ModifyDBClusterEndpointOutput struct { // The type associated with a custom endpoint. One of: READER, WRITER, ANY. CustomEndpointType *string // The Amazon Resource Name (ARN) for the endpoint. DBClusterEndpointArn *string // The identifier associated with the endpoint. This parameter is stored as a // lowercase string. DBClusterEndpointIdentifier *string // A unique system-generated identifier for an endpoint. It remains the same for // the whole life of the endpoint. DBClusterEndpointResourceIdentifier *string // The DB cluster identifier of the DB cluster associated with the endpoint. This // parameter is stored as a lowercase string. DBClusterIdentifier *string // The DNS address of the endpoint. Endpoint *string // The type of the endpoint. One of: READER, WRITER, CUSTOM. EndpointType *string // List of DB instance identifiers that aren't part of the custom endpoint group. // All other eligible instances are reachable through the custom endpoint. Only // relevant if the list of static members is empty. ExcludedMembers []*string // List of DB instance identifiers that are part of the custom endpoint group. StaticMembers []*string // The current status of the endpoint. One of: creating, available, deleting, // inactive, modifying. The inactive state applies to an endpoint that cannot be // used for a certain kind of cluster, such as a writer endpoint for a read-only // secondary cluster in a global database. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions:
* CreateDBClusterEndpoint
* DescribeDBClusterEndpoints
* ModifyDBClusterEndpoint
* DeleteDBClusterEndpoint
For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.
type ModifyDBClusterInput ¶
type ModifyDBClusterInput struct { // The DB cluster identifier for the cluster 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 modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the // PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set // to false, changes to the DB cluster are applied during the next maintenance // window. The ApplyImmediately parameter only affects the NewDBClusterIdentifier // and MasterUserPassword values. If you set the ApplyImmediately parameter value // to false, then changes to the NewDBClusterIdentifier and MasterUserPassword // values are applied during the next maintenance window. All other changes are // applied immediately, regardless of the value of the ApplyImmediately parameter. // Default: false 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 // CloudWatch Logs for a specific DB cluster. CloudwatchLogsExportConfiguration *types.CloudwatchLogsExportConfiguration // The name of the DB cluster parameter group to use for the DB cluster. DBClusterParameterGroupName *string // A value that indicates whether the DB cluster has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is disabled. DeletionProtection *bool // True to enable mapping of AWS Identity and Access Management (IAM) accounts to // database accounts, and otherwise false. Default: false EnableIAMDatabaseAuthentication *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. For a // list of valid engine versions, see Engine Releases for Amazon Neptune // (https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases.html), or // call DescribeDBEngineVersions // (https://docs.aws.amazon.com/neptune/latest/userguide/api-other-apis.html#DescribeDBEngineVersions). EngineVersion *string // The new password for the master database user. This password can contain any // printable ASCII character except "/", """, or "@". Constraints: Must contain // from 8 to 41 characters. MasterUserPassword *string // The new DB cluster identifier for the DB cluster when renaming a DB cluster. // This value is stored as a lowercase string. Constraints: // // * Must contain from 1 // to 63 letters, numbers, or hyphens // // * The first character must be a letter // // * // Cannot end with a hyphen or contain two consecutive hyphens // // Example: // my-cluster2 NewDBClusterIdentifier *string // (Not supported by Neptune) OptionGroupName *string // The port number on which the DB cluster accepts connections. Constraints: Value // must be 1150-65535 Default: The same port as the original DB cluster. 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 VPC security groups that the DB cluster will belong to. VpcSecurityGroupIds []*string }
type ModifyDBClusterOutput ¶
type ModifyDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBClusterParameterGroupInput ¶
type ModifyDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group to modify. // // This member is required. DBClusterParameterGroupName *string // A list of parameters in the DB cluster parameter group to modify. // // This member is required. Parameters []*types.Parameter }
type ModifyDBClusterParameterGroupOutput ¶
type ModifyDBClusterParameterGroupOutput struct { // The name of the DB cluster parameter group. Constraints: // // * Must be 1 to 255 // letters or numbers. // // * First character must be a letter // // * Cannot end with a // hyphen or contain two consecutive hyphens // // This value is stored as a lowercase // string. DBClusterParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBClusterSnapshotAttributeInput ¶
type ModifyDBClusterSnapshotAttributeInput struct { // The name of the DB cluster snapshot attribute to modify. To manage authorization // for other AWS accounts to copy or restore a manual DB cluster snapshot, set this // value to restore. // // This member is required. AttributeName *string // The identifier for the DB cluster snapshot to modify the attributes for. // // This member is required. DBClusterSnapshotIdentifier *string // A list of DB cluster snapshot attributes to add to the attribute specified by // AttributeName. To authorize other AWS accounts to copy or restore a manual DB // cluster snapshot, set this list to include one or more AWS account IDs, or all // to make the manual DB cluster snapshot restorable by any AWS account. Do not add // the all value for any manual DB cluster snapshots that contain private // information that you don't want available to all AWS accounts. ValuesToAdd []*string // A list of DB cluster snapshot attributes to remove from the attribute specified // by AttributeName. To remove authorization for other AWS accounts to copy or // restore a manual DB cluster snapshot, set this list to include one or more AWS // account identifiers, or all to remove authorization for any AWS account to copy // or restore the DB cluster snapshot. If you specify all, an AWS account whose // account ID is explicitly added to the restore attribute can still copy or // restore a manual DB cluster snapshot. ValuesToRemove []*string }
type ModifyDBClusterSnapshotAttributeOutput ¶
type ModifyDBClusterSnapshotAttributeOutput struct { // Contains the results of a successful call to the // DescribeDBClusterSnapshotAttributes API action. Manual DB cluster snapshot // attributes are used to authorize other AWS accounts to copy or restore a manual // DB cluster snapshot. For more information, see the // ModifyDBClusterSnapshotAttribute API action. DBClusterSnapshotAttributesResult *types.DBClusterSnapshotAttributesResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBInstanceInput ¶
type ModifyDBInstanceInput struct { // The DB 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 // The new amount of storage (in gibibytes) to allocate for the DB instance. Not // applicable. Storage is managed by the DB Cluster. AllocatedStorage *int32 // Indicates that major version upgrades are allowed. Changing this parameter // doesn't result in an outage and the change is asynchronously applied as soon as // possible. AllowMajorVersionUpgrade *bool // Specifies whether the modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the // PreferredMaintenanceWindow setting for the DB instance. If this parameter is set // to false, changes to the DB instance are applied during the next maintenance // window. Some parameter changes can cause an outage and are applied on the next // call to RebootDBInstance, or the next failure reboot. Default: false ApplyImmediately *bool // Indicates that minor version upgrades are applied automatically to the DB // 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 will result if this parameter is set to // true during the maintenance window, and a newer minor version is available, and // Neptune has enabled auto patching for that engine version. AutoMinorVersionUpgrade *bool // Not applicable. The retention period for automated backups is managed by the DB // cluster. For more information, see ModifyDBCluster. Default: Uses existing // setting BackupRetentionPeriod *int32 // Indicates the certificate that needs to be associated with the instance. CACertificateIdentifier *string // The configuration setting for the log types to be enabled for export to // CloudWatch Logs for a specific DB instance or DB cluster. CloudwatchLogsExportConfiguration *types.CloudwatchLogsExportConfiguration // True to copy all tags from the DB instance to snapshots of the DB instance, and // otherwise false. The default is false. CopyTagsToSnapshot *bool // The new compute and memory capacity of the DB instance, for example, // db.m4.large. Not all DB instance classes are available in all AWS Regions. If // you modify the DB instance class, an outage occurs during the change. The change // is applied during the next maintenance window, unless ApplyImmediately is // specified as true for this request. Default: Uses existing setting DBInstanceClass *string // The name of the DB parameter group to apply to the DB instance. Changing this // setting doesn't result in an outage. The parameter group name itself is changed // immediately, but the actual parameter changes are not applied until you reboot // the instance without failover. The db instance will NOT be rebooted // automatically and the parameter changes will NOT be applied during the next // maintenance window. Default: Uses existing setting Constraints: The DB parameter // group must be in the same DB parameter group family as this DB instance. DBParameterGroupName *string // The port number on which the database accepts connections. The value of the // DBPortNumber parameter must not match any of the port values specified for // options in the option group for the DB instance. Your database will restart when // you change the DBPortNumber value regardless of the value of the // ApplyImmediately parameter. Default: 8182 DBPortNumber *int32 // A list of DB security groups to authorize on this DB instance. Changing this // setting doesn't result in an outage and the change is asynchronously applied as // soon as possible. Constraints: // // * If supplied, must match existing // DBSecurityGroups. DBSecurityGroups []*string // The new DB subnet group for the DB instance. You can use this parameter to move // your DB instance to a different VPC. Changing the subnet group causes an outage // during the change. The change is applied during the next maintenance window, // unless you specify true for the ApplyImmediately parameter. Constraints: If // supplied, must match the name of an existing DBSubnetGroup. Example: // mySubnetGroup DBSubnetGroupName *string // A value that indicates whether the DB instance has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is disabled. See Deleting a DB Instance // (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html). DeletionProtection *bool // Not supported. Domain *string // Not supported DomainIAMRoleName *string // True to enable mapping of AWS Identity and Access Management (IAM) accounts to // database accounts, and otherwise false. You can enable IAM database // authentication for the following database engines Not applicable. Mapping AWS // IAM accounts to database accounts is managed by the DB cluster. For more // information, see ModifyDBCluster. Default: false EnableIAMDatabaseAuthentication *bool // (Not supported by Neptune) EnablePerformanceInsights *bool // The version number of the database engine to upgrade to. Currently, setting this // parameter has no effect. To upgrade your database engine to the most recent // release, use the ApplyPendingMaintenanceAction API. EngineVersion *string // The new Provisioned IOPS (I/O operations per second) value for the instance. // Changing this setting doesn't result in an outage and the change is applied // during the next maintenance window unless the ApplyImmediately parameter is set // to true for this request. Default: Uses existing setting Iops *int32 // Not supported. LicenseModel *string // Not applicable. MasterUserPassword *string // The interval, in seconds, between points when Enhanced Monitoring metrics are // collected for the DB instance. To disable collecting Enhanced Monitoring // metrics, specify 0. The default is 0. If MonitoringRoleArn is specified, then // you must also set MonitoringInterval to a value other than 0. Valid Values: 0, // 1, 5, 10, 15, 30, 60 MonitoringInterval *int32 // The ARN for the IAM role that permits Neptune to send enhanced monitoring // metrics to Amazon CloudWatch Logs. For example, // arn:aws:iam:123456789012:role/emaccess. If MonitoringInterval is set to a value // other than 0, then you must supply a MonitoringRoleArn value. MonitoringRoleArn *string // Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter // doesn't result in an outage and the change is applied during the next // maintenance window unless the ApplyImmediately parameter is set to true for this // request. MultiAZ *bool // The new DB instance identifier for the DB instance when renaming a DB instance. // When you change the DB instance identifier, an instance reboot will occur // immediately if you set Apply Immediately to true, or will occur during the next // maintenance window if Apply Immediately to false. This value is stored as a // lowercase string. Constraints: // // * Must contain from 1 to 63 letters, numbers, or // hyphens. // // * The first character must be a letter. // // * Cannot end with a hyphen or // contain two consecutive hyphens. // // Example: mydbinstance NewDBInstanceIdentifier *string // (Not supported by Neptune) OptionGroupName *string // (Not supported by Neptune) PerformanceInsightsKMSKeyId *string // The daily time range during which automated backups are created if automated // backups are enabled. Not applicable. The daily time range for creating automated // backups is managed by the DB cluster. For more information, see ModifyDBCluster. // Constraints: // // * Must be in the format hh24:mi-hh24:mi // // * Must be in Universal // Time Coordinated (UTC) // // * Must not conflict with the preferred maintenance // window // // * Must be at least 30 minutes PreferredBackupWindow *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, then changing this // parameter will cause a reboot of the DB instance. If moving this window to the // current time, there must be at least 30 minutes between the current time and end // of the window to ensure pending changes are applied. Default: Uses existing // setting Format: ddd:hh24:mi-ddd:hh24:mi Valid Days: Mon | Tue | Wed | Thu | Fri // | Sat | Sun Constraints: Must be at least 30 minutes PreferredMaintenanceWindow *string // A value that specifies the order in which a Read Replica is promoted to the // primary instance after a failure of the existing primary instance. Default: 1 // Valid Values: 0 - 15 PromotionTier *int32 // This flag should no longer be used. PubliclyAccessible *bool // Not supported. StorageType *string // The ARN from the key store with which to associate the instance for TDE // encryption. TdeCredentialArn *string // The password for the given ARN from the key store in order to access the device. TdeCredentialPassword *string // A list of EC2 VPC security groups to authorize on this DB instance. This change // is asynchronously applied as soon as possible. Not applicable. The associated // list of EC2 VPC security groups is managed by the DB cluster. For more // information, see ModifyDBCluster. Constraints: // // * If supplied, must match // existing VpcSecurityGroupIds. VpcSecurityGroupIds []*string }
type ModifyDBInstanceOutput ¶
type ModifyDBInstanceOutput struct { // Contains the details of an Amazon Neptune DB instance. This data type is used as // a response element in the DescribeDBInstances action. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBParameterGroupInput ¶
type ModifyDBParameterGroupInput struct { // The name of the DB parameter group. Constraints: // // * If supplied, must match the // name of an existing DBParameterGroup. // // This member is required. DBParameterGroupName *string // An array of parameter names, values, and the apply method for the parameter // update. At least one parameter name, value, and apply method must be supplied; // subsequent arguments are optional. A maximum of 20 parameters can be modified in // a single request. Valid Values (for the application method): immediate | // pending-reboot You can use the immediate value with dynamic parameters only. You // can use the pending-reboot value for both dynamic and static parameters, and // changes are applied when you reboot the DB instance without failover. // // This member is required. Parameters []*types.Parameter }
type ModifyDBParameterGroupOutput ¶
type ModifyDBParameterGroupOutput struct { // Provides the name of the DB parameter group. DBParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyDBSubnetGroupInput ¶
type ModifyDBSubnetGroupInput struct { // The name for the DB subnet group. This value is stored as a lowercase string. // You can't modify the default subnet group. Constraints: Must match the name of // an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup // // This member is required. DBSubnetGroupName *string // The EC2 subnet IDs for the DB subnet group. // // This member is required. SubnetIds []*string // The description for the DB subnet group. DBSubnetGroupDescription *string }
type ModifyDBSubnetGroupOutput ¶
type ModifyDBSubnetGroupOutput struct { // Contains the details of an Amazon Neptune DB subnet group. This data type is // used as a response element in the DescribeDBSubnetGroups action. DBSubnetGroup *types.DBSubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyEventSubscriptionInput ¶
type ModifyEventSubscriptionInput struct { // The name of the event notification subscription. // // This member is required. SubscriptionName *string // A Boolean value; set to true to activate the subscription. Enabled *bool // A list of event categories for a SourceType that you want to subscribe to. You // can see a list of the categories for a given SourceType by using the // DescribeEventCategories action. EventCategories []*string // The Amazon Resource Name (ARN) of the SNS topic created for event notification. // The ARN is created by Amazon SNS when you create a topic and subscribe to it. SnsTopicArn *string // The type of source that is generating the events. For example, if you want to be // notified of events generated by a DB instance, you would set this parameter to // db-instance. if this value is not specified, all events are returned. Valid // values: db-instance | db-parameter-group | db-security-group | db-snapshot SourceType *string }
type ModifyEventSubscriptionOutput ¶
type ModifyEventSubscriptionOutput struct { // Contains the results of a successful invocation of the // DescribeEventSubscriptions action. EventSubscription *types.EventSubscription // 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 // 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 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 retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PromoteReadReplicaDBClusterInput ¶
type PromoteReadReplicaDBClusterInput struct { // Not supported. // // This member is required. DBClusterIdentifier *string }
type PromoteReadReplicaDBClusterOutput ¶
type PromoteReadReplicaDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RebootDBInstanceInput ¶
type RebootDBInstanceInput struct { // The DB 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 MultiAZ failover. Constraint: You // can't specify true if the instance is not configured for MultiAZ. ForceFailover *bool }
type RebootDBInstanceOutput ¶
type RebootDBInstanceOutput struct { // Contains the details of an Amazon Neptune DB instance. This data type is used as // a response element in the DescribeDBInstances action. DBInstance *types.DBInstance // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveRoleFromDBClusterInput ¶
type RemoveRoleFromDBClusterInput struct { // The name of the DB cluster to disassociate the IAM role from. // // This member is required. DBClusterIdentifier *string // The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB // cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole. // // This member is required. RoleArn *string // The name of the feature for the DB cluster that the IAM role is to be // disassociated from. For the list of supported feature names, see // DBEngineVersion. FeatureName *string }
type RemoveRoleFromDBClusterOutput ¶
type RemoveRoleFromDBClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveSourceIdentifierFromSubscriptionInput ¶
type RemoveSourceIdentifierFromSubscriptionInput struct { // The source identifier to be removed from the subscription, such as the DB // instance identifier for a DB instance or the name of a security group. // // This member is required. SourceIdentifier *string // The name of the event notification subscription you want to remove a source // identifier from. // // This member is required. SubscriptionName *string }
type RemoveSourceIdentifierFromSubscriptionOutput ¶
type RemoveSourceIdentifierFromSubscriptionOutput struct { // Contains the results of a successful invocation of the // DescribeEventSubscriptions action. EventSubscription *types.EventSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveTagsFromResourceInput ¶
type RemoveTagsFromResourceInput struct { // The Amazon Neptune resource that the tags are removed from. This value is an // Amazon Resource Name (ARN). For information about creating an ARN, see // Constructing an Amazon Resource Name (ARN) // (https://docs.aws.amazon.com/neptune/latest/UserGuide/tagging.ARN.html#tagging.ARN.Constructing). // // This member is required. ResourceName *string // The tag key (name) of the tag to be removed. // // This member is required. TagKeys []*string }
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResetDBClusterParameterGroupInput ¶
type ResetDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group to reset. // // This member is required. DBClusterParameterGroupName *string // A list of parameter names in the DB 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 DB 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 }
type ResetDBClusterParameterGroupOutput ¶
type ResetDBClusterParameterGroupOutput struct { // The name of the DB cluster parameter group. Constraints: // // * Must be 1 to 255 // letters or numbers. // // * First character must be a letter // // * Cannot end with a // hyphen or contain two consecutive hyphens // // This value is stored as a lowercase // string. DBClusterParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResetDBParameterGroupInput ¶
type ResetDBParameterGroupInput struct { // The name of the DB parameter group. Constraints: // // * Must match the name of an // existing DBParameterGroup. // // This member is required. DBParameterGroupName *string // To reset the entire DB parameter group, specify the DBParameterGroup name and // ResetAllParameters parameters. To reset specific parameters, provide a list of // the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be // modified in a single request. Valid Values (for Apply method): pending-reboot Parameters []*types.Parameter // Specifies whether (true) or not (false) to reset all parameters in the DB // parameter group to default values. Default: true ResetAllParameters *bool }
type ResetDBParameterGroupOutput ¶
type ResetDBParameterGroupOutput struct { // Provides the name of the DB parameter group. DBParameterGroupName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 DB cluster to create from the DB snapshot or DB cluster // snapshot. This parameter isn't case-sensitive. Constraints: // // * Must contain from // 1 to 63 letters, numbers, or hyphens // // * First character must be a letter // // * // Cannot end with a hyphen or contain two consecutive hyphens // // Example: // my-snapshot-id // // This member is required. DBClusterIdentifier *string // The database engine to use for the new DB cluster. Default: The same as source // Constraint: Must be compatible with the engine of the source // // This member is required. Engine *string // The identifier for the DB snapshot or DB cluster snapshot to restore from. You // can use either the name or the Amazon Resource Name (ARN) to specify a DB // cluster snapshot. However, you can use only the ARN to specify a DB snapshot. // Constraints: // // * Must match the identifier of an existing Snapshot. // // This member is required. SnapshotIdentifier *string // Provides the list of EC2 Availability Zones that instances in the restored DB // cluster can be created in. AvailabilityZones []*string // The name of the DB cluster parameter group to associate with the new DB cluster. // Constraints: // // * If supplied, must match the name of an existing // DBClusterParameterGroup. DBClusterParameterGroupName *string // The name of the DB subnet group to use for the new DB cluster. Constraints: If // supplied, must match the name of an existing DBSubnetGroup. Example: // mySubnetgroup DBSubnetGroupName *string // Not supported. DatabaseName *string // A value that indicates whether the DB cluster has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is disabled. DeletionProtection *bool // The list of logs that the restored DB cluster is to export to Amazon CloudWatch // Logs. EnableCloudwatchLogsExports []*string // True to enable mapping of AWS Identity and Access Management (IAM) accounts to // database accounts, and otherwise false. Default: false EnableIAMDatabaseAuthentication *bool // The version of the database engine to use for the new DB cluster. EngineVersion *string // The AWS KMS key identifier to use when restoring an encrypted DB cluster from a // DB snapshot or DB cluster snapshot. The KMS key identifier is the Amazon // Resource Name (ARN) for the KMS encryption key. If you are restoring a DB // cluster with the same AWS account that owns the KMS encryption key used to // encrypt the new DB cluster, then you can use the KMS key alias instead of the // ARN for the KMS encryption key. If you do not specify a value for the KmsKeyId // parameter, then the following will occur: // // * If the DB snapshot or DB cluster // snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is // encrypted using the KMS key that was used to encrypt the DB snapshot or DB // cluster snapshot. // // * If the DB snapshot or DB cluster snapshot in // SnapshotIdentifier is not encrypted, then the restored DB cluster is not // encrypted. KmsKeyId *string // (Not supported by Neptune) OptionGroupName *string // The port number on which the new DB cluster accepts connections. Constraints: // Value must be 1150-65535 Default: The same port as the original DB cluster. Port *int32 // The tags to be assigned to the restored DB cluster. Tags []*types.Tag // A list of VPC security groups that the new DB cluster will belong to. VpcSecurityGroupIds []*string }
type RestoreDBClusterFromSnapshotOutput ¶
type RestoreDBClusterFromSnapshotOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RestoreDBClusterToPointInTimeInput ¶
type RestoreDBClusterToPointInTimeInput struct { // The name of the new DB cluster to be created. Constraints: // // * Must contain from // 1 to 63 letters, numbers, or hyphens // // * First character must be a letter // // * // Cannot end with a hyphen or contain two consecutive hyphens // // This member is required. DBClusterIdentifier *string // The identifier of the source DB cluster from which to restore. Constraints: // // * // Must match the identifier of an existing DBCluster. // // This member is required. SourceDBClusterIdentifier *string // The name of the DB cluster parameter group to associate with the new DB cluster. // Constraints: // // * If supplied, must match the name of an existing // DBClusterParameterGroup. DBClusterParameterGroupName *string // The DB subnet group name to use for the new DB cluster. Constraints: If // supplied, must match the name of an existing DBSubnetGroup. Example: // mySubnetgroup DBSubnetGroupName *string // A value that indicates whether the DB cluster has deletion protection enabled. // The database can't be deleted when deletion protection is enabled. By default, // deletion protection is disabled. DeletionProtection *bool // The list of logs that the restored DB cluster is to export to CloudWatch Logs. EnableCloudwatchLogsExports []*string // True to enable mapping of AWS Identity and Access Management (IAM) accounts to // database accounts, and otherwise false. Default: false EnableIAMDatabaseAuthentication *bool // The AWS KMS key identifier to use when restoring an encrypted DB cluster from an // encrypted DB cluster. The KMS key identifier is the Amazon Resource Name (ARN) // for the KMS encryption key. If you are restoring a DB cluster with the same AWS // account that owns the KMS encryption key used to encrypt the new DB cluster, // then you can use the KMS key alias instead of the ARN for the KMS encryption // key. You can restore to a new DB cluster and encrypt the new DB cluster with a // KMS key that is different than the KMS key used to encrypt the source DB // cluster. The new DB cluster is encrypted with the KMS key identified by the // KmsKeyId parameter. If you do not specify a value for the KmsKeyId parameter, // then the following will occur: // // * If the DB cluster is encrypted, then the // restored DB cluster is encrypted using the KMS key that was used to encrypt the // source DB cluster. // // * If the DB cluster is not encrypted, then the restored DB // cluster is not encrypted. // // If DBClusterIdentifier refers to a DB cluster that is // not encrypted, then the restore request is rejected. KmsKeyId *string // (Not supported by Neptune) OptionGroupName *string // The port number on which the new DB cluster accepts connections. Constraints: // Value must be 1150-65535 Default: The same port as the original DB cluster. Port *int32 // The date and time to restore the DB cluster to. Valid Values: Value must be a // time in Universal Coordinated Time (UTC) format Constraints: // // * Must be before // the latest restorable time for the DB instance // // * Must be specified if // UseLatestRestorableTime parameter is not provided // // * Cannot be specified if // UseLatestRestorableTime parameter is true // // * Cannot be specified if RestoreType // parameter is copy-on-write // // Example: 2015-03-07T23:45:00Z RestoreToTime *time.Time // The type of restore to be performed. You can specify one of the following // values: // // * full-copy - The new DB cluster is restored as a full copy of the // source DB cluster. // // * copy-on-write - The new DB cluster is restored as a clone // of the source DB cluster. // // If you don't specify a RestoreType value, then the // new DB cluster is restored as a full copy of the source DB cluster. RestoreType *string // The tags to be applied to the restored DB cluster. Tags []*types.Tag // A value that is set to true to restore the DB cluster to the latest restorable // backup time, and false otherwise. Default: false Constraints: Cannot be // specified if RestoreToTime parameter is provided. UseLatestRestorableTime *bool // A list of VPC security groups that the new DB cluster belongs to. VpcSecurityGroupIds []*string }
type RestoreDBClusterToPointInTimeOutput ¶
type RestoreDBClusterToPointInTimeOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StartDBClusterInput ¶
type StartDBClusterInput struct { // The DB cluster identifier of the Neptune DB cluster to be started. This // parameter is stored as a lowercase string. // // This member is required. DBClusterIdentifier *string }
type StartDBClusterOutput ¶
type StartDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopDBClusterInput ¶
type StopDBClusterInput struct { // The DB cluster identifier of the Neptune DB cluster to be stopped. This // parameter is stored as a lowercase string. // // This member is required. DBClusterIdentifier *string }
type StopDBClusterOutput ¶
type StopDBClusterOutput struct { // Contains the details of an Amazon Neptune DB cluster. This data type is used as // a response element in the DescribeDBClusters action. DBCluster *types.DBCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
- api_client.go
- api_op_AddRoleToDBCluster.go
- api_op_AddSourceIdentifierToSubscription.go
- api_op_AddTagsToResource.go
- api_op_ApplyPendingMaintenanceAction.go
- api_op_CopyDBClusterParameterGroup.go
- api_op_CopyDBClusterSnapshot.go
- api_op_CopyDBParameterGroup.go
- api_op_CreateDBCluster.go
- api_op_CreateDBClusterEndpoint.go
- api_op_CreateDBClusterParameterGroup.go
- api_op_CreateDBClusterSnapshot.go
- api_op_CreateDBInstance.go
- api_op_CreateDBParameterGroup.go
- api_op_CreateDBSubnetGroup.go
- api_op_CreateEventSubscription.go
- api_op_DeleteDBCluster.go
- api_op_DeleteDBClusterEndpoint.go
- api_op_DeleteDBClusterParameterGroup.go
- api_op_DeleteDBClusterSnapshot.go
- api_op_DeleteDBInstance.go
- api_op_DeleteDBParameterGroup.go
- api_op_DeleteDBSubnetGroup.go
- api_op_DeleteEventSubscription.go
- api_op_DescribeDBClusterEndpoints.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_DescribeDBParameterGroups.go
- api_op_DescribeDBParameters.go
- api_op_DescribeDBSubnetGroups.go
- api_op_DescribeEngineDefaultClusterParameters.go
- api_op_DescribeEngineDefaultParameters.go
- api_op_DescribeEventCategories.go
- api_op_DescribeEventSubscriptions.go
- api_op_DescribeEvents.go
- api_op_DescribeOrderableDBInstanceOptions.go
- api_op_DescribePendingMaintenanceActions.go
- api_op_DescribeValidDBInstanceModifications.go
- api_op_FailoverDBCluster.go
- api_op_ListTagsForResource.go
- api_op_ModifyDBCluster.go
- api_op_ModifyDBClusterEndpoint.go
- api_op_ModifyDBClusterParameterGroup.go
- api_op_ModifyDBClusterSnapshotAttribute.go
- api_op_ModifyDBInstance.go
- api_op_ModifyDBParameterGroup.go
- api_op_ModifyDBSubnetGroup.go
- api_op_ModifyEventSubscription.go
- api_op_PromoteReadReplicaDBCluster.go
- api_op_RebootDBInstance.go
- api_op_RemoveRoleFromDBCluster.go
- api_op_RemoveSourceIdentifierFromSubscription.go
- api_op_RemoveTagsFromResource.go
- api_op_ResetDBClusterParameterGroup.go
- api_op_ResetDBParameterGroup.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