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
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
- 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) CreateGlobalCluster(ctx context.Context, params *CreateGlobalClusterInput, ...) (*CreateGlobalClusterOutput, 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) DeleteGlobalCluster(ctx context.Context, params *DeleteGlobalClusterInput, ...) (*DeleteGlobalClusterOutput, 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) DescribeGlobalClusters(ctx context.Context, params *DescribeGlobalClustersInput, ...) (*DescribeGlobalClustersOutput, 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) FailoverGlobalCluster(ctx context.Context, params *FailoverGlobalClusterInput, ...) (*FailoverGlobalClusterOutput, 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) ModifyGlobalCluster(ctx context.Context, params *ModifyGlobalClusterInput, ...) (*ModifyGlobalClusterOutput, 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) RemoveFromGlobalCluster(ctx context.Context, params *RemoveFromGlobalClusterInput, ...) (*RemoveFromGlobalClusterOutput, 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 CreateGlobalClusterInput
- type CreateGlobalClusterOutput
- type DBInstanceAvailableWaiter
- type DBInstanceAvailableWaiterOptions
- type DBInstanceDeletedWaiter
- type DBInstanceDeletedWaiterOptions
- 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 DeleteGlobalClusterInput
- type DeleteGlobalClusterOutput
- type DescribeDBClusterEndpointsAPIClient
- type DescribeDBClusterEndpointsInput
- type DescribeDBClusterEndpointsOutput
- type DescribeDBClusterEndpointsPaginator
- type DescribeDBClusterEndpointsPaginatorOptions
- type DescribeDBClusterParameterGroupsAPIClient
- type DescribeDBClusterParameterGroupsInput
- type DescribeDBClusterParameterGroupsOutput
- type DescribeDBClusterParameterGroupsPaginator
- type DescribeDBClusterParameterGroupsPaginatorOptions
- type DescribeDBClusterParametersAPIClient
- type DescribeDBClusterParametersInput
- type DescribeDBClusterParametersOutput
- type DescribeDBClusterParametersPaginator
- type DescribeDBClusterParametersPaginatorOptions
- type DescribeDBClusterSnapshotAttributesInput
- type DescribeDBClusterSnapshotAttributesOutput
- type DescribeDBClusterSnapshotsAPIClient
- type DescribeDBClusterSnapshotsInput
- type DescribeDBClusterSnapshotsOutput
- type DescribeDBClusterSnapshotsPaginator
- type DescribeDBClusterSnapshotsPaginatorOptions
- type DescribeDBClustersAPIClient
- type DescribeDBClustersInput
- type DescribeDBClustersOutput
- type DescribeDBClustersPaginator
- type DescribeDBClustersPaginatorOptions
- type DescribeDBEngineVersionsAPIClient
- type DescribeDBEngineVersionsInput
- type DescribeDBEngineVersionsOutput
- type DescribeDBEngineVersionsPaginator
- type DescribeDBEngineVersionsPaginatorOptions
- type DescribeDBInstancesAPIClient
- type DescribeDBInstancesInput
- type DescribeDBInstancesOutput
- type DescribeDBInstancesPaginator
- type DescribeDBInstancesPaginatorOptions
- type DescribeDBParameterGroupsAPIClient
- type DescribeDBParameterGroupsInput
- type DescribeDBParameterGroupsOutput
- type DescribeDBParameterGroupsPaginator
- type DescribeDBParameterGroupsPaginatorOptions
- type DescribeDBParametersAPIClient
- type DescribeDBParametersInput
- type DescribeDBParametersOutput
- type DescribeDBParametersPaginator
- type DescribeDBParametersPaginatorOptions
- type DescribeDBSubnetGroupsAPIClient
- type DescribeDBSubnetGroupsInput
- type DescribeDBSubnetGroupsOutput
- type DescribeDBSubnetGroupsPaginator
- type DescribeDBSubnetGroupsPaginatorOptions
- type DescribeEngineDefaultClusterParametersInput
- type DescribeEngineDefaultClusterParametersOutput
- type DescribeEngineDefaultParametersAPIClient
- type DescribeEngineDefaultParametersInput
- type DescribeEngineDefaultParametersOutput
- type DescribeEngineDefaultParametersPaginator
- type DescribeEngineDefaultParametersPaginatorOptions
- type DescribeEventCategoriesInput
- type DescribeEventCategoriesOutput
- type DescribeEventSubscriptionsAPIClient
- type DescribeEventSubscriptionsInput
- type DescribeEventSubscriptionsOutput
- type DescribeEventSubscriptionsPaginator
- type DescribeEventSubscriptionsPaginatorOptions
- type DescribeEventsAPIClient
- type DescribeEventsInput
- type DescribeEventsOutput
- type DescribeEventsPaginator
- type DescribeEventsPaginatorOptions
- type DescribeGlobalClustersInput
- type DescribeGlobalClustersOutput
- type DescribeOrderableDBInstanceOptionsAPIClient
- type DescribeOrderableDBInstanceOptionsInput
- type DescribeOrderableDBInstanceOptionsOutput
- type DescribeOrderableDBInstanceOptionsPaginator
- type DescribeOrderableDBInstanceOptionsPaginatorOptions
- type DescribePendingMaintenanceActionsAPIClient
- type DescribePendingMaintenanceActionsInput
- type DescribePendingMaintenanceActionsOutput
- type DescribePendingMaintenanceActionsPaginator
- type DescribePendingMaintenanceActionsPaginatorOptions
- type DescribeValidDBInstanceModificationsInput
- type DescribeValidDBInstanceModificationsOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type FailoverDBClusterInput
- type FailoverDBClusterOutput
- type FailoverGlobalClusterInput
- type FailoverGlobalClusterOutput
- type HTTPClient
- type HTTPPresignerV4
- 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 ModifyGlobalClusterInput
- type ModifyGlobalClusterOutput
- type Options
- type PresignClient
- type PresignOptions
- type PromoteReadReplicaDBClusterInput
- type PromoteReadReplicaDBClusterOutput
- type RebootDBInstanceInput
- type RebootDBInstanceOutput
- type RemoveFromGlobalClusterInput
- type RemoveFromGlobalClusterOutput
- 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
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
func WithPresignClientFromClientOptions ¶ added in v1.2.0
func WithPresignClientFromClientOptions(optFns ...func(*Options)) func(*PresignOptions)
WithPresignClientFromClientOptions is a helper utility to retrieve a function that takes PresignOption as input
Types ¶
type 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 // contains filtered or unexported fields }
type AddRoleToDBClusterOutput ¶
type AddRoleToDBClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type AddTagsToResourceOutput ¶
type AddTagsToResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 with 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 Amazon 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) CreateGlobalCluster ¶ added in v1.17.0
func (c *Client) CreateGlobalCluster(ctx context.Context, params *CreateGlobalClusterInput, optFns ...func(*Options)) (*CreateGlobalClusterOutput, error)
Creates a Neptune global database spread across multiple Amazon Regions. The global database contains a single primary cluster with read-write capability, and read-only secondary clusters that receive data from the primary cluster through high-speed replication performed by the Neptune storage subsystem. You can create a global database that is initially empty, and then add a primary cluster and secondary clusters to it, or you can specify an existing Neptune cluster during the create operation to become the primary cluster of the global database.
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) DeleteGlobalCluster ¶ added in v1.17.0
func (c *Client) DeleteGlobalCluster(ctx context.Context, params *DeleteGlobalClusterInput, optFns ...func(*Options)) (*DeleteGlobalClusterOutput, error)
Deletes a global database. The primary and all secondary clusters must already be detached or deleted first.
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 Amazon accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the Amazon 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 Amazon accounts. To add or remove access for an Amazon 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) DescribeGlobalClusters ¶ added in v1.17.0
func (c *Client) DescribeGlobalClusters(ctx context.Context, params *DescribeGlobalClustersInput, optFns ...func(*Options)) (*DescribeGlobalClustersOutput, error)
Returns information about Neptune global database clusters. This API supports pagination.
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) FailoverGlobalCluster ¶ added in v1.17.0
func (c *Client) FailoverGlobalCluster(ctx context.Context, params *FailoverGlobalClusterInput, optFns ...func(*Options)) (*FailoverGlobalClusterOutput, error)
Initiates the failover process for a Neptune global database. A failover for a Neptune global database promotes one of secondary read-only DB clusters to be the primary DB cluster and demotes the primary DB cluster to being a secondary (read-only) DB cluster. In other words, the role of the current primary DB cluster and the selected target secondary DB cluster are switched. The selected secondary DB cluster assumes full read/write capabilities for the Neptune global database. This action applies only to Neptune global databases. This action is only intended for use on healthy Neptune global databases with healthy Neptune DB clusters and no region-wide outages, to test disaster recovery scenarios or to reconfigure the global database topology.
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 Amazon accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the Amazon 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 Amazon 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 Amazon accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. To view which Amazon 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 Amazon 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) ModifyGlobalCluster ¶ added in v1.17.0
func (c *Client) ModifyGlobalCluster(ctx context.Context, params *ModifyGlobalClusterInput, optFns ...func(*Options)) (*ModifyGlobalClusterOutput, error)
Modify a setting for an Amazon Neptune global cluster. You can change one or more database configuration parameters by specifying these parameters and their new values in the request.
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) RemoveFromGlobalCluster ¶ added in v1.17.0
func (c *Client) RemoveFromGlobalCluster(ctx context.Context, params *RemoveFromGlobalClusterInput, optFns ...func(*Options)) (*RemoveFromGlobalClusterOutput, error)
Detaches a Neptune DB cluster from a Neptune global database. A secondary cluster becomes a normal standalone cluster with read-write capability instead of being read-only, and no longer receives data from a the primary cluster.
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 Amazon console, the Amazon 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 Amazon 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 Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type CopyDBClusterSnapshotInput ¶
type CopyDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to copy. This parameter is not // case-sensitive. 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 Amazon Amazon 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 Amazon 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 Amazon account, then you must specify a value for KmsKeyId. // KMS encryption keys are specific to the Amazon Region that they are created in, // and you can't use encryption keys from one Amazon Region in another Amazon // 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 AWS region the resource is in. The presigned URL will be created with this // region, if the PresignURL member is empty set. SourceRegion *string // The tags to assign to the new DB cluster snapshot copy. Tags []types.Tag // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // If set to true, tags are copied to any snapshot of the DB cluster that is // created. CopyTagsToSnapshot *bool // 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 // If set to true, enables Amazon Identity and Access Management (IAM) // authentication for the entire DB cluster (this cannot be set at an instance // level). Default: false. EnableIAMDatabaseAuthentication *bool // The version number of the database engine to use for the new DB cluster. // Example: 1.0.2.1 EngineVersion *string // The ID of the Neptune global database to which this new DB cluster should be // added. GlobalClusterIdentifier *string // The Amazon 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 Amazon 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. // // Amazon KMS // creates the default encryption key for your Amazon account. Your Amazon account // has a different default encryption key for each Amazon Region. If you create a // Read Replica of an encrypted DB cluster in another Amazon Region, you must set // KmsKeyId to a KMS key ID that is valid in the destination Amazon Region. This // key is used to encrypt the Read Replica in that Amazon Region. KmsKeyId *string // Not supported by Neptune. MasterUserPassword *string // Not supported by Neptune. 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 Amazon // 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 Amazon // 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 // The AWS region the resource is in. The presigned URL will be created with this // region, if the PresignURL member is empty set. SourceRegion *string // Specifies whether the 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 Amazon 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 // Not supported by Neptune. 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 Amazon 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 Amazon 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 // Not supported by Neptune (ignored). 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 Amazon 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 Amazon 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. Amazon KMS creates the default encryption key for your // Amazon account. Your Amazon account has a different default encryption key for // each Amazon Region. KmsKeyId *string // License model information for this DB instance. Valid values: license-included | // bring-your-own-license | general-public-license LicenseModel *string // Not supported by Neptune. MasterUserPassword *string // Not supported by Neptune. 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 Amazon // 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. // // Deprecated: This member has been deprecated. 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type CreateGlobalClusterInput ¶ added in v1.17.0
type CreateGlobalClusterInput struct { // The cluster identifier of the new global database cluster. // // This member is required. GlobalClusterIdentifier *string // The deletion protection setting for the new global database. The global database // can't be deleted when deletion protection is enabled. DeletionProtection *bool // The name of the database engine to be used in the global database. Valid values: // neptune Engine *string // The Neptune engine version to be used by the global database. Valid values: // 1.2.0.0 or above. EngineVersion *string // (Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to // use as the primary cluster of the new global database. SourceDBClusterIdentifier *string // The storage encryption setting for the new global database cluster. StorageEncrypted *bool // contains filtered or unexported fields }
type CreateGlobalClusterOutput ¶ added in v1.17.0
type CreateGlobalClusterOutput struct { // Contains the details of an Amazon Neptune global database. This data type is // used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, // ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and // RemoveFromGlobalCluster actions. GlobalCluster *types.GlobalCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DBInstanceAvailableWaiter ¶ added in v0.31.0
type DBInstanceAvailableWaiter struct {
// contains filtered or unexported fields
}
DBInstanceAvailableWaiter defines the waiters for DBInstanceAvailable
func NewDBInstanceAvailableWaiter ¶ added in v0.31.0
func NewDBInstanceAvailableWaiter(client DescribeDBInstancesAPIClient, optFns ...func(*DBInstanceAvailableWaiterOptions)) *DBInstanceAvailableWaiter
NewDBInstanceAvailableWaiter constructs a DBInstanceAvailableWaiter.
func (*DBInstanceAvailableWaiter) Wait ¶ added in v0.31.0
func (w *DBInstanceAvailableWaiter) Wait(ctx context.Context, params *DescribeDBInstancesInput, maxWaitDur time.Duration, optFns ...func(*DBInstanceAvailableWaiterOptions)) error
Wait calls the waiter function for DBInstanceAvailable waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*DBInstanceAvailableWaiter) WaitForOutput ¶ added in v1.11.0
func (w *DBInstanceAvailableWaiter) WaitForOutput(ctx context.Context, params *DescribeDBInstancesInput, maxWaitDur time.Duration, optFns ...func(*DBInstanceAvailableWaiterOptions)) (*DescribeDBInstancesOutput, error)
WaitForOutput calls the waiter function for DBInstanceAvailable waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type DBInstanceAvailableWaiterOptions ¶ added in v0.31.0
type DBInstanceAvailableWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // DBInstanceAvailableWaiter will use default minimum delay of 30 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, DBInstanceAvailableWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeDBInstancesInput, *DescribeDBInstancesOutput, error) (bool, error) }
DBInstanceAvailableWaiterOptions are waiter options for DBInstanceAvailableWaiter
type DBInstanceDeletedWaiter ¶ added in v1.10.0
type DBInstanceDeletedWaiter struct {
// contains filtered or unexported fields
}
DBInstanceDeletedWaiter defines the waiters for DBInstanceDeleted
func NewDBInstanceDeletedWaiter ¶ added in v1.10.0
func NewDBInstanceDeletedWaiter(client DescribeDBInstancesAPIClient, optFns ...func(*DBInstanceDeletedWaiterOptions)) *DBInstanceDeletedWaiter
NewDBInstanceDeletedWaiter constructs a DBInstanceDeletedWaiter.
func (*DBInstanceDeletedWaiter) Wait ¶ added in v1.10.0
func (w *DBInstanceDeletedWaiter) Wait(ctx context.Context, params *DescribeDBInstancesInput, maxWaitDur time.Duration, optFns ...func(*DBInstanceDeletedWaiterOptions)) error
Wait calls the waiter function for DBInstanceDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*DBInstanceDeletedWaiter) WaitForOutput ¶ added in v1.11.0
func (w *DBInstanceDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeDBInstancesInput, maxWaitDur time.Duration, optFns ...func(*DBInstanceDeletedWaiterOptions)) (*DescribeDBInstancesOutput, error)
WaitForOutput calls the waiter function for DBInstanceDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type DBInstanceDeletedWaiterOptions ¶ added in v1.10.0
type DBInstanceDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // DBInstanceDeletedWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, DBInstanceDeletedWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeDBInstancesInput, *DescribeDBInstancesOutput, error) (bool, error) }
DBInstanceDeletedWaiterOptions are waiter options for DBInstanceDeletedWaiter
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DeleteDBClusterParameterGroupOutput ¶
type DeleteDBClusterParameterGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DeleteDBParameterGroupOutput ¶
type DeleteDBParameterGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DeleteDBSubnetGroupOutput ¶
type DeleteDBSubnetGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteEventSubscriptionInput ¶
type DeleteEventSubscriptionInput struct { // The name of the event notification subscription you want to delete. // // This member is required. SubscriptionName *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DeleteGlobalClusterInput ¶ added in v1.17.0
type DeleteGlobalClusterInput struct { // The cluster identifier of the global database cluster being deleted. // // This member is required. GlobalClusterIdentifier *string // contains filtered or unexported fields }
type DeleteGlobalClusterOutput ¶ added in v1.17.0
type DeleteGlobalClusterOutput struct { // Contains the details of an Amazon Neptune global database. This data type is // used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, // ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and // RemoveFromGlobalCluster actions. GlobalCluster *types.GlobalCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeDBClusterEndpointsAPIClient ¶ added in v0.30.0
type DescribeDBClusterEndpointsAPIClient interface {
DescribeDBClusterEndpoints(context.Context, *DescribeDBClusterEndpointsInput, ...func(*Options)) (*DescribeDBClusterEndpointsOutput, error)
}
DescribeDBClusterEndpointsAPIClient is a client that implements the DescribeDBClusterEndpoints operation.
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBClusterEndpointsPaginator ¶ added in v0.30.0
type DescribeDBClusterEndpointsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterEndpointsPaginator is a paginator for DescribeDBClusterEndpoints
func NewDescribeDBClusterEndpointsPaginator ¶ added in v0.30.0
func NewDescribeDBClusterEndpointsPaginator(client DescribeDBClusterEndpointsAPIClient, params *DescribeDBClusterEndpointsInput, optFns ...func(*DescribeDBClusterEndpointsPaginatorOptions)) *DescribeDBClusterEndpointsPaginator
NewDescribeDBClusterEndpointsPaginator returns a new DescribeDBClusterEndpointsPaginator
func (*DescribeDBClusterEndpointsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBClusterEndpointsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterEndpointsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBClusterEndpointsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterEndpointsOutput, error)
NextPage retrieves the next DescribeDBClusterEndpoints page.
type DescribeDBClusterEndpointsPaginatorOptions ¶ added in v0.30.0
type DescribeDBClusterEndpointsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so you can retrieve the remaining results. Default: 100 // Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterEndpointsPaginatorOptions is the paginator options for DescribeDBClusterEndpoints
type DescribeDBClusterParameterGroupsAPIClient ¶ added in v1.5.0
type DescribeDBClusterParameterGroupsAPIClient interface {
DescribeDBClusterParameterGroups(context.Context, *DescribeDBClusterParameterGroupsInput, ...func(*Options)) (*DescribeDBClusterParameterGroupsOutput, error)
}
DescribeDBClusterParameterGroupsAPIClient is a client that implements the DescribeDBClusterParameterGroups operation.
type DescribeDBClusterParameterGroupsInput ¶
type DescribeDBClusterParameterGroupsInput struct { // The name of a specific 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBClusterParameterGroupsPaginator ¶ added in v1.5.0
type DescribeDBClusterParameterGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterParameterGroupsPaginator is a paginator for DescribeDBClusterParameterGroups
func NewDescribeDBClusterParameterGroupsPaginator ¶ added in v1.5.0
func NewDescribeDBClusterParameterGroupsPaginator(client DescribeDBClusterParameterGroupsAPIClient, params *DescribeDBClusterParameterGroupsInput, optFns ...func(*DescribeDBClusterParameterGroupsPaginatorOptions)) *DescribeDBClusterParameterGroupsPaginator
NewDescribeDBClusterParameterGroupsPaginator returns a new DescribeDBClusterParameterGroupsPaginator
func (*DescribeDBClusterParameterGroupsPaginator) HasMorePages ¶ added in v1.5.0
func (p *DescribeDBClusterParameterGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterParameterGroupsPaginator) NextPage ¶ added in v1.5.0
func (p *DescribeDBClusterParameterGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterParameterGroupsOutput, error)
NextPage retrieves the next DescribeDBClusterParameterGroups page.
type DescribeDBClusterParameterGroupsPaginatorOptions ¶ added in v1.5.0
type DescribeDBClusterParameterGroupsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterParameterGroupsPaginatorOptions is the paginator options for DescribeDBClusterParameterGroups
type DescribeDBClusterParametersAPIClient ¶ added in v1.5.0
type DescribeDBClusterParametersAPIClient interface {
DescribeDBClusterParameters(context.Context, *DescribeDBClusterParametersInput, ...func(*Options)) (*DescribeDBClusterParametersOutput, error)
}
DescribeDBClusterParametersAPIClient is a client that implements the DescribeDBClusterParameters operation.
type DescribeDBClusterParametersInput ¶
type DescribeDBClusterParametersInput struct { // The name of a specific 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBClusterParametersPaginator ¶ added in v1.5.0
type DescribeDBClusterParametersPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterParametersPaginator is a paginator for DescribeDBClusterParameters
func NewDescribeDBClusterParametersPaginator ¶ added in v1.5.0
func NewDescribeDBClusterParametersPaginator(client DescribeDBClusterParametersAPIClient, params *DescribeDBClusterParametersInput, optFns ...func(*DescribeDBClusterParametersPaginatorOptions)) *DescribeDBClusterParametersPaginator
NewDescribeDBClusterParametersPaginator returns a new DescribeDBClusterParametersPaginator
func (*DescribeDBClusterParametersPaginator) HasMorePages ¶ added in v1.5.0
func (p *DescribeDBClusterParametersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterParametersPaginator) NextPage ¶ added in v1.5.0
func (p *DescribeDBClusterParametersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterParametersOutput, error)
NextPage retrieves the next DescribeDBClusterParameters page.
type DescribeDBClusterParametersPaginatorOptions ¶ added in v1.5.0
type DescribeDBClusterParametersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterParametersPaginatorOptions is the paginator options for DescribeDBClusterParameters
type DescribeDBClusterSnapshotAttributesInput ¶
type DescribeDBClusterSnapshotAttributesInput struct { // The identifier for the DB cluster snapshot to describe the attributes for. // // This member is required. DBClusterSnapshotIdentifier *string // contains filtered or unexported fields }
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 Amazon 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 // contains filtered or unexported fields }
type DescribeDBClusterSnapshotsAPIClient ¶ added in v1.5.0
type DescribeDBClusterSnapshotsAPIClient interface {
DescribeDBClusterSnapshots(context.Context, *DescribeDBClusterSnapshotsInput, ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
}
DescribeDBClusterSnapshotsAPIClient is a client that implements the DescribeDBClusterSnapshots operation.
type DescribeDBClusterSnapshotsInput ¶
type DescribeDBClusterSnapshotsInput struct { // The ID of the 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 Amazon 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 // that this Amazon account has been given permission to copy or restore, and // otherwise false. The default is false. You can give an Amazon account permission // to restore a manual DB cluster snapshot from another Amazon 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 Amazon account. // // * manual - Return // all DB cluster snapshots that have been taken by my Amazon account. // // * shared - // Return all manual DB cluster snapshots that have been shared to my Amazon // 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBClusterSnapshotsPaginator ¶ added in v1.5.0
type DescribeDBClusterSnapshotsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClusterSnapshotsPaginator is a paginator for DescribeDBClusterSnapshots
func NewDescribeDBClusterSnapshotsPaginator ¶ added in v1.5.0
func NewDescribeDBClusterSnapshotsPaginator(client DescribeDBClusterSnapshotsAPIClient, params *DescribeDBClusterSnapshotsInput, optFns ...func(*DescribeDBClusterSnapshotsPaginatorOptions)) *DescribeDBClusterSnapshotsPaginator
NewDescribeDBClusterSnapshotsPaginator returns a new DescribeDBClusterSnapshotsPaginator
func (*DescribeDBClusterSnapshotsPaginator) HasMorePages ¶ added in v1.5.0
func (p *DescribeDBClusterSnapshotsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClusterSnapshotsPaginator) NextPage ¶ added in v1.5.0
func (p *DescribeDBClusterSnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClusterSnapshotsOutput, error)
NextPage retrieves the next DescribeDBClusterSnapshots page.
type DescribeDBClusterSnapshotsPaginatorOptions ¶ added in v1.5.0
type DescribeDBClusterSnapshotsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClusterSnapshotsPaginatorOptions is the paginator options for DescribeDBClusterSnapshots
type DescribeDBClustersAPIClient ¶ added in v1.5.0
type DescribeDBClustersAPIClient interface {
DescribeDBClusters(context.Context, *DescribeDBClustersInput, ...func(*Options)) (*DescribeDBClustersOutput, error)
}
DescribeDBClustersAPIClient is a client that implements the DescribeDBClusters operation.
type DescribeDBClustersInput ¶
type DescribeDBClustersInput struct { // The user-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 Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBClustersPaginator ¶ added in v1.5.0
type DescribeDBClustersPaginator struct {
// contains filtered or unexported fields
}
DescribeDBClustersPaginator is a paginator for DescribeDBClusters
func NewDescribeDBClustersPaginator ¶ added in v1.5.0
func NewDescribeDBClustersPaginator(client DescribeDBClustersAPIClient, params *DescribeDBClustersInput, optFns ...func(*DescribeDBClustersPaginatorOptions)) *DescribeDBClustersPaginator
NewDescribeDBClustersPaginator returns a new DescribeDBClustersPaginator
func (*DescribeDBClustersPaginator) HasMorePages ¶ added in v1.5.0
func (p *DescribeDBClustersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBClustersPaginator) NextPage ¶ added in v1.5.0
func (p *DescribeDBClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBClustersOutput, error)
NextPage retrieves the next DescribeDBClusters page.
type DescribeDBClustersPaginatorOptions ¶ added in v1.5.0
type DescribeDBClustersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBClustersPaginatorOptions is the paginator options for DescribeDBClusters
type DescribeDBEngineVersionsAPIClient ¶ added in v0.30.0
type DescribeDBEngineVersionsAPIClient interface {
DescribeDBEngineVersions(context.Context, *DescribeDBEngineVersionsInput, ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
}
DescribeDBEngineVersionsAPIClient is a client that implements the DescribeDBEngineVersions operation.
type DescribeDBEngineVersionsInput ¶
type DescribeDBEngineVersionsInput struct { // The name of a specific 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBEngineVersionsPaginator ¶ added in v0.30.0
type DescribeDBEngineVersionsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBEngineVersionsPaginator is a paginator for DescribeDBEngineVersions
func NewDescribeDBEngineVersionsPaginator ¶ added in v0.30.0
func NewDescribeDBEngineVersionsPaginator(client DescribeDBEngineVersionsAPIClient, params *DescribeDBEngineVersionsInput, optFns ...func(*DescribeDBEngineVersionsPaginatorOptions)) *DescribeDBEngineVersionsPaginator
NewDescribeDBEngineVersionsPaginator returns a new DescribeDBEngineVersionsPaginator
func (*DescribeDBEngineVersionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBEngineVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBEngineVersionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBEngineVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBEngineVersionsOutput, error)
NextPage retrieves the next DescribeDBEngineVersions page.
type DescribeDBEngineVersionsPaginatorOptions ¶ added in v0.30.0
type DescribeDBEngineVersionsPaginatorOptions struct { // The maximum number of records to include in the response. If more 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBEngineVersionsPaginatorOptions is the paginator options for DescribeDBEngineVersions
type DescribeDBInstancesAPIClient ¶ added in v0.30.0
type DescribeDBInstancesAPIClient interface {
DescribeDBInstances(context.Context, *DescribeDBInstancesInput, ...func(*Options)) (*DescribeDBInstancesOutput, error)
}
DescribeDBInstancesAPIClient is a client that implements the DescribeDBInstances operation.
type DescribeDBInstancesInput ¶
type DescribeDBInstancesInput struct { // The user-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 // Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBInstancesPaginator ¶ added in v0.30.0
type DescribeDBInstancesPaginator struct {
// contains filtered or unexported fields
}
DescribeDBInstancesPaginator is a paginator for DescribeDBInstances
func NewDescribeDBInstancesPaginator ¶ added in v0.30.0
func NewDescribeDBInstancesPaginator(client DescribeDBInstancesAPIClient, params *DescribeDBInstancesInput, optFns ...func(*DescribeDBInstancesPaginatorOptions)) *DescribeDBInstancesPaginator
NewDescribeDBInstancesPaginator returns a new DescribeDBInstancesPaginator
func (*DescribeDBInstancesPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBInstancesPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBInstancesOutput, error)
NextPage retrieves the next DescribeDBInstances page.
type DescribeDBInstancesPaginatorOptions ¶ added in v0.30.0
type DescribeDBInstancesPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBInstancesPaginatorOptions is the paginator options for DescribeDBInstances
type DescribeDBParameterGroupsAPIClient ¶ added in v0.30.0
type DescribeDBParameterGroupsAPIClient interface {
DescribeDBParameterGroups(context.Context, *DescribeDBParameterGroupsInput, ...func(*Options)) (*DescribeDBParameterGroupsOutput, error)
}
DescribeDBParameterGroupsAPIClient is a client that implements the DescribeDBParameterGroups operation.
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBParameterGroupsPaginator ¶ added in v0.30.0
type DescribeDBParameterGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBParameterGroupsPaginator is a paginator for DescribeDBParameterGroups
func NewDescribeDBParameterGroupsPaginator ¶ added in v0.30.0
func NewDescribeDBParameterGroupsPaginator(client DescribeDBParameterGroupsAPIClient, params *DescribeDBParameterGroupsInput, optFns ...func(*DescribeDBParameterGroupsPaginatorOptions)) *DescribeDBParameterGroupsPaginator
NewDescribeDBParameterGroupsPaginator returns a new DescribeDBParameterGroupsPaginator
func (*DescribeDBParameterGroupsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBParameterGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBParameterGroupsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBParameterGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBParameterGroupsOutput, error)
NextPage retrieves the next DescribeDBParameterGroups page.
type DescribeDBParameterGroupsPaginatorOptions ¶ added in v0.30.0
type DescribeDBParameterGroupsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBParameterGroupsPaginatorOptions is the paginator options for DescribeDBParameterGroups
type DescribeDBParametersAPIClient ¶ added in v0.30.0
type DescribeDBParametersAPIClient interface {
DescribeDBParameters(context.Context, *DescribeDBParametersInput, ...func(*Options)) (*DescribeDBParametersOutput, error)
}
DescribeDBParametersAPIClient is a client that implements the DescribeDBParameters operation.
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBParametersPaginator ¶ added in v0.30.0
type DescribeDBParametersPaginator struct {
// contains filtered or unexported fields
}
DescribeDBParametersPaginator is a paginator for DescribeDBParameters
func NewDescribeDBParametersPaginator ¶ added in v0.30.0
func NewDescribeDBParametersPaginator(client DescribeDBParametersAPIClient, params *DescribeDBParametersInput, optFns ...func(*DescribeDBParametersPaginatorOptions)) *DescribeDBParametersPaginator
NewDescribeDBParametersPaginator returns a new DescribeDBParametersPaginator
func (*DescribeDBParametersPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBParametersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBParametersPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBParametersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBParametersOutput, error)
NextPage retrieves the next DescribeDBParameters page.
type DescribeDBParametersPaginatorOptions ¶ added in v0.30.0
type DescribeDBParametersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBParametersPaginatorOptions is the paginator options for DescribeDBParameters
type DescribeDBSubnetGroupsAPIClient ¶ added in v0.30.0
type DescribeDBSubnetGroupsAPIClient interface {
DescribeDBSubnetGroups(context.Context, *DescribeDBSubnetGroupsInput, ...func(*Options)) (*DescribeDBSubnetGroupsOutput, error)
}
DescribeDBSubnetGroupsAPIClient is a client that implements the DescribeDBSubnetGroups operation.
type DescribeDBSubnetGroupsInput ¶
type DescribeDBSubnetGroupsInput struct { // The name of the 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeDBSubnetGroupsPaginator ¶ added in v0.30.0
type DescribeDBSubnetGroupsPaginator struct {
// contains filtered or unexported fields
}
DescribeDBSubnetGroupsPaginator is a paginator for DescribeDBSubnetGroups
func NewDescribeDBSubnetGroupsPaginator ¶ added in v0.30.0
func NewDescribeDBSubnetGroupsPaginator(client DescribeDBSubnetGroupsAPIClient, params *DescribeDBSubnetGroupsInput, optFns ...func(*DescribeDBSubnetGroupsPaginatorOptions)) *DescribeDBSubnetGroupsPaginator
NewDescribeDBSubnetGroupsPaginator returns a new DescribeDBSubnetGroupsPaginator
func (*DescribeDBSubnetGroupsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeDBSubnetGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeDBSubnetGroupsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeDBSubnetGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeDBSubnetGroupsOutput, error)
NextPage retrieves the next DescribeDBSubnetGroups page.
type DescribeDBSubnetGroupsPaginatorOptions ¶ added in v0.30.0
type DescribeDBSubnetGroupsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeDBSubnetGroupsPaginatorOptions is the paginator options for DescribeDBSubnetGroups
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeEngineDefaultParametersAPIClient ¶ added in v0.30.0
type DescribeEngineDefaultParametersAPIClient interface {
DescribeEngineDefaultParameters(context.Context, *DescribeEngineDefaultParametersInput, ...func(*Options)) (*DescribeEngineDefaultParametersOutput, error)
}
DescribeEngineDefaultParametersAPIClient is a client that implements the DescribeEngineDefaultParameters operation.
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeEngineDefaultParametersPaginator ¶ added in v0.30.0
type DescribeEngineDefaultParametersPaginator struct {
// contains filtered or unexported fields
}
DescribeEngineDefaultParametersPaginator is a paginator for DescribeEngineDefaultParameters
func NewDescribeEngineDefaultParametersPaginator ¶ added in v0.30.0
func NewDescribeEngineDefaultParametersPaginator(client DescribeEngineDefaultParametersAPIClient, params *DescribeEngineDefaultParametersInput, optFns ...func(*DescribeEngineDefaultParametersPaginatorOptions)) *DescribeEngineDefaultParametersPaginator
NewDescribeEngineDefaultParametersPaginator returns a new DescribeEngineDefaultParametersPaginator
func (*DescribeEngineDefaultParametersPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEngineDefaultParametersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEngineDefaultParametersPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEngineDefaultParametersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEngineDefaultParametersOutput, error)
NextPage retrieves the next DescribeEngineDefaultParameters page.
type DescribeEngineDefaultParametersPaginatorOptions ¶ added in v0.30.0
type DescribeEngineDefaultParametersPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEngineDefaultParametersPaginatorOptions is the paginator options for DescribeEngineDefaultParameters
type DescribeEventCategoriesInput ¶
type DescribeEventCategoriesInput struct { // This parameter is not currently supported. Filters []types.Filter // The type of source that is generating the events. Valid values: db-instance | // db-parameter-group | db-security-group | db-snapshot SourceType *string // contains filtered or unexported fields }
type DescribeEventCategoriesOutput ¶
type DescribeEventCategoriesOutput struct { // A list of EventCategoriesMap data types. EventCategoriesMapList []types.EventCategoriesMap // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventSubscriptionsAPIClient ¶ added in v0.30.0
type DescribeEventSubscriptionsAPIClient interface {
DescribeEventSubscriptions(context.Context, *DescribeEventSubscriptionsInput, ...func(*Options)) (*DescribeEventSubscriptionsOutput, error)
}
DescribeEventSubscriptionsAPIClient is a client that implements the DescribeEventSubscriptions operation.
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeEventSubscriptionsPaginator ¶ added in v0.30.0
type DescribeEventSubscriptionsPaginator struct {
// contains filtered or unexported fields
}
DescribeEventSubscriptionsPaginator is a paginator for DescribeEventSubscriptions
func NewDescribeEventSubscriptionsPaginator ¶ added in v0.30.0
func NewDescribeEventSubscriptionsPaginator(client DescribeEventSubscriptionsAPIClient, params *DescribeEventSubscriptionsInput, optFns ...func(*DescribeEventSubscriptionsPaginatorOptions)) *DescribeEventSubscriptionsPaginator
NewDescribeEventSubscriptionsPaginator returns a new DescribeEventSubscriptionsPaginator
func (*DescribeEventSubscriptionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventSubscriptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventSubscriptionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventSubscriptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventSubscriptionsOutput, error)
NextPage retrieves the next DescribeEventSubscriptions page.
type DescribeEventSubscriptionsPaginatorOptions ¶ added in v0.30.0
type DescribeEventSubscriptionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventSubscriptionsPaginatorOptions is the paginator options for DescribeEventSubscriptions
type DescribeEventsAPIClient ¶ added in v0.30.0
type DescribeEventsAPIClient interface {
DescribeEvents(context.Context, *DescribeEventsInput, ...func(*Options)) (*DescribeEventsOutput, error)
}
DescribeEventsAPIClient is a client that implements the DescribeEvents operation.
type DescribeEventsInput ¶
type DescribeEventsInput struct { // The number of minutes to retrieve events for. Default: 60 Duration *int32 // The end of the time interval for which to retrieve events, specified in ISO 8601 // format. 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeEventsPaginator ¶ added in v0.30.0
type DescribeEventsPaginator struct {
// contains filtered or unexported fields
}
DescribeEventsPaginator is a paginator for DescribeEvents
func NewDescribeEventsPaginator ¶ added in v0.30.0
func NewDescribeEventsPaginator(client DescribeEventsAPIClient, params *DescribeEventsInput, optFns ...func(*DescribeEventsPaginatorOptions)) *DescribeEventsPaginator
NewDescribeEventsPaginator returns a new DescribeEventsPaginator
func (*DescribeEventsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeEventsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeEventsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeEventsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeEventsOutput, error)
NextPage retrieves the next DescribeEvents page.
type DescribeEventsPaginatorOptions ¶ added in v0.30.0
type DescribeEventsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeEventsPaginatorOptions is the paginator options for DescribeEvents
type DescribeGlobalClustersInput ¶ added in v1.17.0
type DescribeGlobalClustersInput struct { // The user-supplied DB cluster identifier. If this parameter is specified, only // information about the specified DB cluster is returned. This parameter is not // case-sensitive. Constraints: If supplied, must match an existing DB cluster // identifier. GlobalClusterIdentifier *string // (Optional) A pagination token returned by a previous call to // DescribeGlobalClusters. If this parameter is specified, the response will only // include records beyond the marker, up to the number 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 marker token is included in // the response that you can use to retrieve the remaining results. Default: 100 // Constraints: Minimum 20, maximum 100. MaxRecords *int32 // contains filtered or unexported fields }
type DescribeGlobalClustersOutput ¶ added in v1.17.0
type DescribeGlobalClustersOutput struct { // The list of global clusters and instances returned by this request. GlobalClusters []types.GlobalCluster // A pagination token. If this parameter is returned in the response, more records // are available, which can be retrieved by one or more additional calls to // DescribeGlobalClusters. Marker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrderableDBInstanceOptionsAPIClient ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsAPIClient interface {
DescribeOrderableDBInstanceOptions(context.Context, *DescribeOrderableDBInstanceOptionsInput, ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
}
DescribeOrderableDBInstanceOptionsAPIClient is a client that implements the DescribeOrderableDBInstanceOptions operation.
type DescribeOrderableDBInstanceOptionsInput ¶
type DescribeOrderableDBInstanceOptionsInput struct { // The name of the engine to retrieve 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribeOrderableDBInstanceOptionsPaginator ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsPaginator struct {
// contains filtered or unexported fields
}
DescribeOrderableDBInstanceOptionsPaginator is a paginator for DescribeOrderableDBInstanceOptions
func NewDescribeOrderableDBInstanceOptionsPaginator ¶ added in v0.30.0
func NewDescribeOrderableDBInstanceOptionsPaginator(client DescribeOrderableDBInstanceOptionsAPIClient, params *DescribeOrderableDBInstanceOptionsInput, optFns ...func(*DescribeOrderableDBInstanceOptionsPaginatorOptions)) *DescribeOrderableDBInstanceOptionsPaginator
NewDescribeOrderableDBInstanceOptionsPaginator returns a new DescribeOrderableDBInstanceOptionsPaginator
func (*DescribeOrderableDBInstanceOptionsPaginator) HasMorePages ¶ added in v0.30.0
func (p *DescribeOrderableDBInstanceOptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeOrderableDBInstanceOptionsPaginator) NextPage ¶ added in v0.30.0
func (p *DescribeOrderableDBInstanceOptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeOrderableDBInstanceOptionsOutput, error)
NextPage retrieves the next DescribeOrderableDBInstanceOptions page.
type DescribeOrderableDBInstanceOptionsPaginatorOptions ¶ added in v0.30.0
type DescribeOrderableDBInstanceOptionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeOrderableDBInstanceOptionsPaginatorOptions is the paginator options for DescribeOrderableDBInstanceOptions
type DescribePendingMaintenanceActionsAPIClient ¶ added in v1.5.0
type DescribePendingMaintenanceActionsAPIClient interface {
DescribePendingMaintenanceActions(context.Context, *DescribePendingMaintenanceActionsInput, ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error)
}
DescribePendingMaintenanceActionsAPIClient is a client that implements the DescribePendingMaintenanceActions operation.
type DescribePendingMaintenanceActionsInput ¶
type DescribePendingMaintenanceActionsInput struct { // A filter that specifies one or more resources to return pending maintenance // actions for. Supported filters: // // * db-cluster-id - Accepts 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type DescribePendingMaintenanceActionsPaginator ¶ added in v1.5.0
type DescribePendingMaintenanceActionsPaginator struct {
// contains filtered or unexported fields
}
DescribePendingMaintenanceActionsPaginator is a paginator for DescribePendingMaintenanceActions
func NewDescribePendingMaintenanceActionsPaginator ¶ added in v1.5.0
func NewDescribePendingMaintenanceActionsPaginator(client DescribePendingMaintenanceActionsAPIClient, params *DescribePendingMaintenanceActionsInput, optFns ...func(*DescribePendingMaintenanceActionsPaginatorOptions)) *DescribePendingMaintenanceActionsPaginator
NewDescribePendingMaintenanceActionsPaginator returns a new DescribePendingMaintenanceActionsPaginator
func (*DescribePendingMaintenanceActionsPaginator) HasMorePages ¶ added in v1.5.0
func (p *DescribePendingMaintenanceActionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribePendingMaintenanceActionsPaginator) NextPage ¶ added in v1.5.0
func (p *DescribePendingMaintenanceActionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error)
NextPage retrieves the next DescribePendingMaintenanceActions page.
type DescribePendingMaintenanceActionsPaginatorOptions ¶ added in v1.5.0
type DescribePendingMaintenanceActionsPaginatorOptions struct { // The maximum number of records to include in the response. If more records exist // than the specified MaxRecords value, a pagination token called a marker is // included in the response so that the remaining results can be retrieved. // Default: 100 Constraints: Minimum 20, maximum 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribePendingMaintenanceActionsPaginatorOptions is the paginator options for DescribePendingMaintenanceActions
type DescribeValidDBInstanceModificationsInput ¶
type DescribeValidDBInstanceModificationsInput struct { // The customer identifier or the ARN of your DB instance. // // This member is required. DBInstanceIdentifier *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type FailoverDBClusterInput ¶
type FailoverDBClusterInput struct { // A 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type FailoverGlobalClusterInput ¶ added in v1.17.0
type FailoverGlobalClusterInput struct { // Identifier of the Neptune global database that should be failed over. The // identifier is the unique key assigned by the user when the Neptune global // database was created. In other words, it's the name of the global database that // you want to fail over. Constraints: Must match the identifier of an existing // Neptune global database. // // This member is required. GlobalClusterIdentifier *string // The Amazon Resource Name (ARN) of the secondary Neptune DB cluster that you want // to promote to primary for the global database. // // This member is required. TargetDbClusterIdentifier *string // contains filtered or unexported fields }
type FailoverGlobalClusterOutput ¶ added in v1.17.0
type FailoverGlobalClusterOutput struct { // Contains the details of an Amazon Neptune global database. This data type is // used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, // ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and // RemoveFromGlobalCluster actions. GlobalCluster *types.GlobalCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPPresignerV4 ¶ added in v1.2.0
type HTTPPresignerV4 interface { PresignHTTP( ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions), ) (url string, signedHeader http.Header, err error) }
HTTPPresignerV4 represents presigner interface used by presign url client
type HTTPSignerV4 ¶
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 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 indicates whether upgrades between different major versions are // allowed. Constraints: You must set the allow-major-version-upgrade flag when // providing an EngineVersion parameter that uses a different major version than // the DB cluster's current version. AllowMajorVersionUpgrade bool // A value that specifies whether the modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the // PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set // to false, changes to the DB cluster are applied during the next maintenance // window. The ApplyImmediately parameter only affects NewDBClusterIdentifier // values. If you set the ApplyImmediately parameter value to false, then changes // to NewDBClusterIdentifier 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 // If set to true, tags are copied to any snapshot of the DB cluster that is // created. CopyTagsToSnapshot *bool // The name of the DB cluster parameter group to use for the DB cluster. DBClusterParameterGroupName *string // The name of the DB parameter group to apply to all instances of the DB cluster. // When you apply a parameter group using DBInstanceParameterGroupName, parameter // changes aren't applied during the next maintenance window but instead are // applied immediately. Default: The existing name setting Constraints: // // * The DB // parameter group must be in the same DB parameter group family as the target DB // cluster version. // // * The DBInstanceParameterGroupName parameter is only valid in // combination with the AllowMajorVersionUpgrade parameter. DBInstanceParameterGroupName *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 Amazon 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 // Not supported by Neptune. 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 Amazon // 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 Amazon // 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type ModifyDBClusterSnapshotAttributeInput ¶
type ModifyDBClusterSnapshotAttributeInput struct { // The name of the DB cluster snapshot attribute to modify. To manage authorization // for other Amazon 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 Amazon accounts to copy or restore a manual DB // cluster snapshot, set this list to include one or more Amazon account IDs, or // all to make the manual DB cluster snapshot restorable by any Amazon 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 Amazon accounts. ValuesToAdd []string // A list of DB cluster snapshot attributes to remove from the attribute specified // by AttributeName. To remove authorization for other Amazon accounts to copy or // restore a manual DB cluster snapshot, set this list to include one or more // Amazon account identifiers, or all to remove authorization for any Amazon // account to copy or restore the DB cluster snapshot. If you specify all, an // Amazon account whose account ID is explicitly added to the restore attribute can // still copy or restore a manual DB cluster snapshot. ValuesToRemove []string // contains filtered or unexported fields }
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 Amazon 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 // contains filtered or unexported fields }
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 // Not supported by Neptune. 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 Amazon 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 Amazon 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 Amazon // 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 by Neptune. LicenseModel *string // Not supported by Neptune. 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. // // Deprecated: This member has been deprecated. 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type ModifyGlobalClusterInput ¶ added in v1.17.0
type ModifyGlobalClusterInput struct { // The DB cluster identifier for the global cluster being modified. This parameter // is not case-sensitive. Constraints: Must match the identifier of an existing // global database cluster. // // This member is required. GlobalClusterIdentifier *string // A value that indicates whether major version upgrades are allowed. Constraints: // You must allow major version upgrades if you specify a value for the // EngineVersion parameter that is a different major version than the DB cluster's // current version. If you upgrade the major version of a global database, the // cluster and DB instance parameter groups are set to the default parameter groups // for the new version, so you will need to apply any custom parameter groups after // completing the upgrade. AllowMajorVersionUpgrade *bool // Indicates whether the global database has deletion protection enabled. The // global database cannot be deleted when deletion protection is enabled. DeletionProtection *bool // The version number of the database engine to which you want to upgrade. Changing // this parameter will result in an outage. The change is applied during the next // maintenance window unless ApplyImmediately is enabled. To list all of the // available Neptune engine versions, use the following command: EngineVersion *string // A new cluster identifier to assign to the global database. 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. // // * Can't end with // a hyphen or contain two consecutive hyphens // // Example: my-cluster2 NewGlobalClusterIdentifier *string // contains filtered or unexported fields }
type ModifyGlobalClusterOutput ¶ added in v1.17.0
type ModifyGlobalClusterOutput struct { // Contains the details of an Amazon Neptune global database. This data type is // used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, // ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and // RemoveFromGlobalCluster actions. GlobalCluster *types.GlobalCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
type PresignClient ¶ added in v1.2.0
type PresignClient struct {
// contains filtered or unexported fields
}
PresignClient represents the presign url client
func NewPresignClient ¶ added in v1.2.0
func NewPresignClient(c *Client, optFns ...func(*PresignOptions)) *PresignClient
NewPresignClient generates a presign client using provided API Client and presign options
func (*PresignClient) PresignCopyDBClusterSnapshot ¶ added in v1.2.0
func (c *PresignClient) PresignCopyDBClusterSnapshot(ctx context.Context, params *CopyDBClusterSnapshotInput, optFns ...func(*PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignCopyDBClusterSnapshot is used to generate a presigned HTTP Request which contains presigned URL, signed headers and HTTP method used.
func (*PresignClient) PresignCreateDBCluster ¶ added in v1.2.0
func (c *PresignClient) PresignCreateDBCluster(ctx context.Context, params *CreateDBClusterInput, optFns ...func(*PresignOptions)) (*v4.PresignedHTTPRequest, error)
PresignCreateDBCluster is used to generate a presigned HTTP Request which contains presigned URL, signed headers and HTTP method used.
type PresignOptions ¶ added in v1.2.0
type PresignOptions struct { // ClientOptions are list of functional options to mutate client options used by // the presign client. ClientOptions []func(*Options) // Presigner is the presigner used by the presign url client Presigner HTTPPresignerV4 }
PresignOptions represents the presign client options
type PromoteReadReplicaDBClusterInput ¶
type PromoteReadReplicaDBClusterInput struct { // Not supported. // // This member is required. DBClusterIdentifier *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type RemoveFromGlobalClusterInput ¶ added in v1.17.0
type RemoveFromGlobalClusterInput struct { // The Amazon Resource Name (ARN) identifying the cluster to be detached from the // Neptune global database cluster. // // This member is required. DbClusterIdentifier *string // The identifier of the Neptune global database from which to detach the specified // Neptune DB cluster. // // This member is required. GlobalClusterIdentifier *string // contains filtered or unexported fields }
type RemoveFromGlobalClusterOutput ¶ added in v1.17.0
type RemoveFromGlobalClusterOutput struct { // Contains the details of an Amazon Neptune global database. This data type is // used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, // ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and // RemoveFromGlobalCluster actions. GlobalCluster *types.GlobalCluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // DescribeDBEngineVersions // (https://docs.aws.amazon.com/neptune/latest/userguide/api-other-apis.html#DescribeDBEngineVersions). FeatureName *string // contains filtered or unexported fields }
type RemoveRoleFromDBClusterOutput ¶
type RemoveRoleFromDBClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // If set to true, tags are copied to any snapshot of the restored DB cluster that // is created. CopyTagsToSnapshot *bool // 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 Amazon 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 Amazon 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 Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 Amazon Identity and Access Management (IAM) accounts // to database accounts, and otherwise false. Default: false EnableIAMDatabaseAuthentication *bool // The Amazon 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 Amazon 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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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_CreateGlobalCluster.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_DeleteGlobalCluster.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_DescribeGlobalClusters.go
- api_op_DescribeOrderableDBInstanceOptions.go
- api_op_DescribePendingMaintenanceActions.go
- api_op_DescribeValidDBInstanceModifications.go
- api_op_FailoverDBCluster.go
- api_op_FailoverGlobalCluster.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_ModifyGlobalCluster.go
- api_op_PromoteReadReplicaDBCluster.go
- api_op_RebootDBInstance.go
- api_op_RemoveFromGlobalCluster.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
- go_module_metadata.go
- serializers.go
- validators.go