AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Neptune

import "github.com/aws/aws-sdk-go/service/neptune"

type Neptune struct { *client.Client }

Neptune provides the API operation methods for making requests to Amazon Neptune. See this package's package overview docs for details on the service.

Neptune methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AddRoleToDBCluster

func (c *Neptune) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error)

AddRoleToDBCluster API operation for Amazon Neptune.

Associates an Identity and Access Management (IAM) role from an Neptune DB cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation AddRoleToDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" The specified IAM role Amazon Resource Name (ARN) is already associated with the specified DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" You have exceeded the maximum number of IAM roles that can be associated with the specified DB cluster.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster

AddRoleToDBClusterRequest

func (c *Neptune) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput)

AddRoleToDBClusterRequest generates a "aws/request.Request" representing the client's request for the AddRoleToDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddRoleToDBCluster for more information on using the AddRoleToDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddRoleToDBClusterRequest method. req, resp := client.AddRoleToDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster

AddRoleToDBClusterWithContext

func (c *Neptune) AddRoleToDBClusterWithContext(ctx aws.Context, input *AddRoleToDBClusterInput, opts ...request.Option) (*AddRoleToDBClusterOutput, error)

AddRoleToDBClusterWithContext is the same as AddRoleToDBCluster with the addition of the ability to pass a context and additional request options.

See AddRoleToDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AddSourceIdentifierToSubscription

func (c *Neptune) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error)

AddSourceIdentifierToSubscription API operation for Amazon Neptune.

Adds a source identifier to an existing event notification subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation AddSourceIdentifierToSubscription for usage and error information.

Returned Error Codes:

  • ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound"

  • ErrCodeSourceNotFoundFault "SourceNotFound"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddSourceIdentifierToSubscription

AddSourceIdentifierToSubscriptionRequest

func (c *Neptune) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput)

AddSourceIdentifierToSubscriptionRequest generates a "aws/request.Request" representing the client's request for the AddSourceIdentifierToSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddSourceIdentifierToSubscription for more information on using the AddSourceIdentifierToSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddSourceIdentifierToSubscription

AddSourceIdentifierToSubscriptionWithContext

func (c *Neptune) AddSourceIdentifierToSubscriptionWithContext(ctx aws.Context, input *AddSourceIdentifierToSubscriptionInput, opts ...request.Option) (*AddSourceIdentifierToSubscriptionOutput, error)

AddSourceIdentifierToSubscriptionWithContext is the same as AddSourceIdentifierToSubscription with the addition of the ability to pass a context and additional request options.

See AddSourceIdentifierToSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AddTagsToResource

func (c *Neptune) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)

AddTagsToResource API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation AddTagsToResource for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddTagsToResource

AddTagsToResourceRequest

func (c *Neptune) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)

AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTagsToResource for more information on using the AddTagsToResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsToResourceRequest method. req, resp := client.AddTagsToResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddTagsToResource

AddTagsToResourceWithContext

func (c *Neptune) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)

AddTagsToResourceWithContext is the same as AddTagsToResource with the addition of the ability to pass a context and additional request options.

See AddTagsToResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ApplyPendingMaintenanceAction

func (c *Neptune) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error)

ApplyPendingMaintenanceAction API operation for Amazon Neptune.

Applies a pending maintenance action to a resource (for example, to a DB instance).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ApplyPendingMaintenanceAction for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundFault "ResourceNotFoundFault" The specified resource ID was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ApplyPendingMaintenanceAction

ApplyPendingMaintenanceActionRequest

func (c *Neptune) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput)

ApplyPendingMaintenanceActionRequest generates a "aws/request.Request" representing the client's request for the ApplyPendingMaintenanceAction operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ApplyPendingMaintenanceAction for more information on using the ApplyPendingMaintenanceAction API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ApplyPendingMaintenanceActionRequest method. req, resp := client.ApplyPendingMaintenanceActionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ApplyPendingMaintenanceAction

ApplyPendingMaintenanceActionWithContext

func (c *Neptune) ApplyPendingMaintenanceActionWithContext(ctx aws.Context, input *ApplyPendingMaintenanceActionInput, opts ...request.Option) (*ApplyPendingMaintenanceActionOutput, error)

ApplyPendingMaintenanceActionWithContext is the same as ApplyPendingMaintenanceAction with the addition of the ability to pass a context and additional request options.

See ApplyPendingMaintenanceAction for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CopyDBClusterParameterGroup

func (c *Neptune) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error)

CopyDBClusterParameterGroup API operation for Amazon Neptune.

Copies the specified DB cluster parameter group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CopyDBClusterParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.

  • ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterParameterGroup

CopyDBClusterParameterGroupRequest

func (c *Neptune) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput)

CopyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CopyDBClusterParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CopyDBClusterParameterGroup for more information on using the CopyDBClusterParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CopyDBClusterParameterGroupRequest method. req, resp := client.CopyDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterParameterGroup

CopyDBClusterParameterGroupWithContext

func (c *Neptune) CopyDBClusterParameterGroupWithContext(ctx aws.Context, input *CopyDBClusterParameterGroupInput, opts ...request.Option) (*CopyDBClusterParameterGroupOutput, error)

CopyDBClusterParameterGroupWithContext is the same as CopyDBClusterParameterGroup with the addition of the ability to pass a context and additional request options.

See CopyDBClusterParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CopyDBClusterSnapshot

func (c *Neptune) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error)

CopyDBClusterSnapshot API operation for Amazon Neptune.

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.

You can copy an encrypted DB cluster snapshot from another AWS Region. In that case, the AWS Region where you call the CopyDBClusterSnapshot action is the destination AWS Region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another AWS Region, you must provide the following values:

  • KmsKeyId - The AWS Key Management System (AWS KMS) key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region.

  • PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot action to be called in the source AWS Region where the DB cluster snapshot is copied from. The pre-signed URL must be a valid request for the CopyDBClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied.

The pre-signed URL request must contain the following parameter values:

KmsKeyId - The KMS key identifier for the key to use to encrypt the copy

of the DB cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the pre-signed URL.

DestinationRegion - The name of the AWS Region that the DB cluster snapshot

will be created in.

SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for

the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:neptune-cluster1-snapshot-20161115.

To learn how to generate a Signature Version 4 signed request, see Authenticating

Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).
  • TargetDBClusterSnapshotIdentifier - The identifier for the new copy of the DB cluster snapshot in the destination AWS Region.

  • SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the ARN format for the source AWS Region and is the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed URL.

To cancel the copy operation once it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in "copying" status.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CopyDBClusterSnapshot for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

  • ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.

  • ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterSnapshot

CopyDBClusterSnapshotRequest

func (c *Neptune) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput)

CopyDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the CopyDBClusterSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CopyDBClusterSnapshot for more information on using the CopyDBClusterSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CopyDBClusterSnapshotRequest method. req, resp := client.CopyDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterSnapshot

CopyDBClusterSnapshotWithContext

func (c *Neptune) CopyDBClusterSnapshotWithContext(ctx aws.Context, input *CopyDBClusterSnapshotInput, opts ...request.Option) (*CopyDBClusterSnapshotOutput, error)

CopyDBClusterSnapshotWithContext is the same as CopyDBClusterSnapshot with the addition of the ability to pass a context and additional request options.

See CopyDBClusterSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CopyDBParameterGroup

func (c *Neptune) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error)

CopyDBParameterGroup API operation for Amazon Neptune.

Copies the specified DB parameter group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CopyDBParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.

  • ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBParameterGroup

CopyDBParameterGroupRequest

func (c *Neptune) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput)

CopyDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CopyDBParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CopyDBParameterGroup for more information on using the CopyDBParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CopyDBParameterGroupRequest method. req, resp := client.CopyDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBParameterGroup

CopyDBParameterGroupWithContext

func (c *Neptune) CopyDBParameterGroupWithContext(ctx aws.Context, input *CopyDBParameterGroupInput, opts ...request.Option) (*CopyDBParameterGroupOutput, error)

CopyDBParameterGroupWithContext is the same as CopyDBParameterGroup with the addition of the ability to pass a context and additional request options.

See CopyDBParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBCluster

func (c *Neptune) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error)

CreateDBCluster API operation for Amazon Neptune.

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. For cross-region replication where the DB cluster identified by ReplicationSourceIdentifier is encrypted, you must also specify the PreSignedUrl parameter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.

  • ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.

  • ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

  • ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

  • ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster

CreateDBClusterParameterGroup

func (c *Neptune) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error)

CreateDBClusterParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBClusterParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.

  • ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterParameterGroup

CreateDBClusterParameterGroupRequest

func (c *Neptune) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput)

CreateDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBClusterParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBClusterParameterGroup for more information on using the CreateDBClusterParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBClusterParameterGroupRequest method. req, resp := client.CreateDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterParameterGroup

CreateDBClusterParameterGroupWithContext

func (c *Neptune) CreateDBClusterParameterGroupWithContext(ctx aws.Context, input *CreateDBClusterParameterGroupInput, opts ...request.Option) (*CreateDBClusterParameterGroupOutput, error)

CreateDBClusterParameterGroupWithContext is the same as CreateDBClusterParameterGroup with the addition of the ability to pass a context and additional request options.

See CreateDBClusterParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBClusterRequest

func (c *Neptune) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput)

CreateDBClusterRequest generates a "aws/request.Request" representing the client's request for the CreateDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBCluster for more information on using the CreateDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBClusterRequest method. req, resp := client.CreateDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster

CreateDBClusterSnapshot

func (c *Neptune) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error)

CreateDBClusterSnapshot API operation for Amazon Neptune.

Creates a snapshot of a DB cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBClusterSnapshot for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterSnapshot

CreateDBClusterSnapshotRequest

func (c *Neptune) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput)

CreateDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateDBClusterSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBClusterSnapshot for more information on using the CreateDBClusterSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBClusterSnapshotRequest method. req, resp := client.CreateDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterSnapshot

CreateDBClusterSnapshotWithContext

func (c *Neptune) CreateDBClusterSnapshotWithContext(ctx aws.Context, input *CreateDBClusterSnapshotInput, opts ...request.Option) (*CreateDBClusterSnapshotOutput, error)

CreateDBClusterSnapshotWithContext is the same as CreateDBClusterSnapshot with the addition of the ability to pass a context and additional request options.

See CreateDBClusterSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBClusterWithContext

func (c *Neptune) CreateDBClusterWithContext(ctx aws.Context, input *CreateDBClusterInput, opts ...request.Option) (*CreateDBClusterOutput, error)

CreateDBClusterWithContext is the same as CreateDBCluster with the addition of the ability to pass a context and additional request options.

See CreateDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBInstance

func (c *Neptune) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error)

CreateDBInstance API operation for Amazon Neptune.

Creates a new DB instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBInstance for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.

  • ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.

  • ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" Request would result in user exceeding the allowed number of DB instances.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.

  • ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault"

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.

  • ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.

Neptune may not also be authorized via IAM to perform necessary actions on your behalf.
  • ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.

  • ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBInstance

CreateDBInstanceRequest

func (c *Neptune) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput)

CreateDBInstanceRequest generates a "aws/request.Request" representing the client's request for the CreateDBInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBInstance for more information on using the CreateDBInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBInstanceRequest method. req, resp := client.CreateDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBInstance

CreateDBInstanceWithContext

func (c *Neptune) CreateDBInstanceWithContext(ctx aws.Context, input *CreateDBInstanceInput, opts ...request.Option) (*CreateDBInstanceOutput, error)

CreateDBInstanceWithContext is the same as CreateDBInstance with the addition of the ability to pass a context and additional request options.

See CreateDBInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBParameterGroup

func (c *Neptune) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error)

CreateDBParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.

  • ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBParameterGroup

CreateDBParameterGroupRequest

func (c *Neptune) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput)

CreateDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBParameterGroup for more information on using the CreateDBParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBParameterGroupRequest method. req, resp := client.CreateDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBParameterGroup

CreateDBParameterGroupWithContext

func (c *Neptune) CreateDBParameterGroupWithContext(ctx aws.Context, input *CreateDBParameterGroupInput, opts ...request.Option) (*CreateDBParameterGroupOutput, error)

CreateDBParameterGroupWithContext is the same as CreateDBParameterGroup with the addition of the ability to pass a context and additional request options.

See CreateDBParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDBSubnetGroup

func (c *Neptune) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error)

CreateDBSubnetGroup API operation for Amazon Neptune.

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateDBSubnetGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" DBSubnetGroupName is already used by an existing DB subnet group.

  • ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB subnet groups.

  • ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" Request would result in user exceeding the allowed number of subnets in a DB subnet groups.

  • ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBSubnetGroup

CreateDBSubnetGroupRequest

func (c *Neptune) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput)

CreateDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDBSubnetGroup for more information on using the CreateDBSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDBSubnetGroupRequest method. req, resp := client.CreateDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBSubnetGroup

CreateDBSubnetGroupWithContext

func (c *Neptune) CreateDBSubnetGroupWithContext(ctx aws.Context, input *CreateDBSubnetGroupInput, opts ...request.Option) (*CreateDBSubnetGroupOutput, error)

CreateDBSubnetGroupWithContext is the same as CreateDBSubnetGroup with the addition of the ability to pass a context and additional request options.

See CreateDBSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateEventSubscription

func (c *Neptune) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error)

CreateEventSubscription API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation CreateEventSubscription for usage and error information.

Returned Error Codes:

  • ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded"

  • ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist"

  • ErrCodeSNSInvalidTopicFault "SNSInvalidTopic"

  • ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization"

  • ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound"

  • ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound"

  • ErrCodeSourceNotFoundFault "SourceNotFound"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateEventSubscription

CreateEventSubscriptionRequest

func (c *Neptune) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput)

CreateEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the CreateEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateEventSubscription for more information on using the CreateEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateEventSubscriptionRequest method. req, resp := client.CreateEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateEventSubscription

CreateEventSubscriptionWithContext

func (c *Neptune) CreateEventSubscriptionWithContext(ctx aws.Context, input *CreateEventSubscriptionInput, opts ...request.Option) (*CreateEventSubscriptionOutput, error)

CreateEventSubscriptionWithContext is the same as CreateEventSubscription with the addition of the ability to pass a context and additional request options.

See CreateEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBCluster

func (c *Neptune) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error)

DeleteDBCluster API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.

  • ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster

DeleteDBClusterParameterGroup

func (c *Neptune) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error)

DeleteDBClusterParameterGroup API operation for Amazon Neptune.

Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBClusterParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterParameterGroup

DeleteDBClusterParameterGroupRequest

func (c *Neptune) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput)

DeleteDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBClusterParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBClusterParameterGroup for more information on using the DeleteDBClusterParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBClusterParameterGroupRequest method. req, resp := client.DeleteDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterParameterGroup

DeleteDBClusterParameterGroupWithContext

func (c *Neptune) DeleteDBClusterParameterGroupWithContext(ctx aws.Context, input *DeleteDBClusterParameterGroupInput, opts ...request.Option) (*DeleteDBClusterParameterGroupOutput, error)

DeleteDBClusterParameterGroupWithContext is the same as DeleteDBClusterParameterGroup with the addition of the ability to pass a context and additional request options.

See DeleteDBClusterParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBClusterRequest

func (c *Neptune) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput)

DeleteDBClusterRequest generates a "aws/request.Request" representing the client's request for the DeleteDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBCluster for more information on using the DeleteDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBClusterRequest method. req, resp := client.DeleteDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster

DeleteDBClusterSnapshot

func (c *Neptune) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error)

DeleteDBClusterSnapshot API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBClusterSnapshot for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterSnapshot

DeleteDBClusterSnapshotRequest

func (c *Neptune) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput)

DeleteDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeleteDBClusterSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBClusterSnapshot for more information on using the DeleteDBClusterSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBClusterSnapshotRequest method. req, resp := client.DeleteDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterSnapshot

DeleteDBClusterSnapshotWithContext

func (c *Neptune) DeleteDBClusterSnapshotWithContext(ctx aws.Context, input *DeleteDBClusterSnapshotInput, opts ...request.Option) (*DeleteDBClusterSnapshotOutput, error)

DeleteDBClusterSnapshotWithContext is the same as DeleteDBClusterSnapshot with the addition of the ability to pass a context and additional request options.

See DeleteDBClusterSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBClusterWithContext

func (c *Neptune) DeleteDBClusterWithContext(ctx aws.Context, input *DeleteDBClusterInput, opts ...request.Option) (*DeleteDBClusterOutput, error)

DeleteDBClusterWithContext is the same as DeleteDBCluster with the addition of the ability to pass a context and additional request options.

See DeleteDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBInstance

func (c *Neptune) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error)

DeleteDBInstance API operation for Amazon Neptune.

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.

If the specified DB instance is part of a DB cluster, you can't delete the DB instance if both of the following conditions are true:

  • The DB cluster is a Read Replica of another DB cluster.

  • The DB instance is the only instance in the DB cluster.

To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster API action to promote the DB cluster so it's no longer a Read Replica. After the promotion completes, then call the DeleteDBInstance API action to delete the final instance in the DB cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBInstance for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

  • ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" DBSnapshotIdentifier is already used by an existing snapshot.

  • ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBInstance

DeleteDBInstanceRequest

func (c *Neptune) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput)

DeleteDBInstanceRequest generates a "aws/request.Request" representing the client's request for the DeleteDBInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBInstance for more information on using the DeleteDBInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBInstanceRequest method. req, resp := client.DeleteDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBInstance

DeleteDBInstanceWithContext

func (c *Neptune) DeleteDBInstanceWithContext(ctx aws.Context, input *DeleteDBInstanceInput, opts ...request.Option) (*DeleteDBInstanceOutput, error)

DeleteDBInstanceWithContext is the same as DeleteDBInstance with the addition of the ability to pass a context and additional request options.

See DeleteDBInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBParameterGroup

func (c *Neptune) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error)

DeleteDBParameterGroup API operation for Amazon Neptune.

Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be associated with any DB instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBParameterGroup

DeleteDBParameterGroupRequest

func (c *Neptune) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput)

DeleteDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBParameterGroup for more information on using the DeleteDBParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBParameterGroupRequest method. req, resp := client.DeleteDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBParameterGroup

DeleteDBParameterGroupWithContext

func (c *Neptune) DeleteDBParameterGroupWithContext(ctx aws.Context, input *DeleteDBParameterGroupInput, opts ...request.Option) (*DeleteDBParameterGroupOutput, error)

DeleteDBParameterGroupWithContext is the same as DeleteDBParameterGroup with the addition of the ability to pass a context and additional request options.

See DeleteDBParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDBSubnetGroup

func (c *Neptune) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error)

DeleteDBSubnetGroup API operation for Amazon Neptune.

Deletes a DB subnet group.

The specified database subnet group must not be associated with any DB instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteDBSubnetGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.

  • ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" The DB subnet is not in the available state.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBSubnetGroup

DeleteDBSubnetGroupRequest

func (c *Neptune) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput)

DeleteDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDBSubnetGroup for more information on using the DeleteDBSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDBSubnetGroupRequest method. req, resp := client.DeleteDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBSubnetGroup

DeleteDBSubnetGroupWithContext

func (c *Neptune) DeleteDBSubnetGroupWithContext(ctx aws.Context, input *DeleteDBSubnetGroupInput, opts ...request.Option) (*DeleteDBSubnetGroupOutput, error)

DeleteDBSubnetGroupWithContext is the same as DeleteDBSubnetGroup with the addition of the ability to pass a context and additional request options.

See DeleteDBSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteEventSubscription

func (c *Neptune) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error)

DeleteEventSubscription API operation for Amazon Neptune.

Deletes an event notification subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DeleteEventSubscription for usage and error information.

Returned Error Codes:

  • ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound"

  • ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteEventSubscription

DeleteEventSubscriptionRequest

func (c *Neptune) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput)

DeleteEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the DeleteEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteEventSubscription for more information on using the DeleteEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteEventSubscriptionRequest method. req, resp := client.DeleteEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteEventSubscription

DeleteEventSubscriptionWithContext

func (c *Neptune) DeleteEventSubscriptionWithContext(ctx aws.Context, input *DeleteEventSubscriptionInput, opts ...request.Option) (*DeleteEventSubscriptionOutput, error)

DeleteEventSubscriptionWithContext is the same as DeleteEventSubscription with the addition of the ability to pass a context and additional request options.

See DeleteEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBClusterParameterGroups

func (c *Neptune) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error)

DescribeDBClusterParameterGroups API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBClusterParameterGroups for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameterGroups

DescribeDBClusterParameterGroupsRequest

func (c *Neptune) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput)

DescribeDBClusterParameterGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterParameterGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBClusterParameterGroups for more information on using the DescribeDBClusterParameterGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBClusterParameterGroupsRequest method. req, resp := client.DescribeDBClusterParameterGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameterGroups

DescribeDBClusterParameterGroupsWithContext

func (c *Neptune) DescribeDBClusterParameterGroupsWithContext(ctx aws.Context, input *DescribeDBClusterParameterGroupsInput, opts ...request.Option) (*DescribeDBClusterParameterGroupsOutput, error)

DescribeDBClusterParameterGroupsWithContext is the same as DescribeDBClusterParameterGroups with the addition of the ability to pass a context and additional request options.

See DescribeDBClusterParameterGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBClusterParameters

func (c *Neptune) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error)

DescribeDBClusterParameters API operation for Amazon Neptune.

Returns the detailed parameter list for a particular DB cluster parameter group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBClusterParameters for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameters

DescribeDBClusterParametersRequest

func (c *Neptune) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput)

DescribeDBClusterParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBClusterParameters for more information on using the DescribeDBClusterParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBClusterParametersRequest method. req, resp := client.DescribeDBClusterParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameters

DescribeDBClusterParametersWithContext

func (c *Neptune) DescribeDBClusterParametersWithContext(ctx aws.Context, input *DescribeDBClusterParametersInput, opts ...request.Option) (*DescribeDBClusterParametersOutput, error)

DescribeDBClusterParametersWithContext is the same as DescribeDBClusterParameters with the addition of the ability to pass a context and additional request options.

See DescribeDBClusterParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBClusterSnapshotAttributes

func (c *Neptune) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error)

DescribeDBClusterSnapshotAttributes API operation for Amazon Neptune.

Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.

When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.

To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBClusterSnapshotAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshotAttributes

DescribeDBClusterSnapshotAttributesRequest

func (c *Neptune) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput)

DescribeDBClusterSnapshotAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterSnapshotAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBClusterSnapshotAttributes for more information on using the DescribeDBClusterSnapshotAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshotAttributes

DescribeDBClusterSnapshotAttributesWithContext

func (c *Neptune) DescribeDBClusterSnapshotAttributesWithContext(ctx aws.Context, input *DescribeDBClusterSnapshotAttributesInput, opts ...request.Option) (*DescribeDBClusterSnapshotAttributesOutput, error)

DescribeDBClusterSnapshotAttributesWithContext is the same as DescribeDBClusterSnapshotAttributes with the addition of the ability to pass a context and additional request options.

See DescribeDBClusterSnapshotAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBClusterSnapshots

func (c *Neptune) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error)

DescribeDBClusterSnapshots API operation for Amazon Neptune.

Returns information about DB cluster snapshots. This API action supports pagination.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBClusterSnapshots for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshots

DescribeDBClusterSnapshotsRequest

func (c *Neptune) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput)

DescribeDBClusterSnapshotsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterSnapshots operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBClusterSnapshots for more information on using the DescribeDBClusterSnapshots API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBClusterSnapshotsRequest method. req, resp := client.DescribeDBClusterSnapshotsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshots

DescribeDBClusterSnapshotsWithContext

func (c *Neptune) DescribeDBClusterSnapshotsWithContext(ctx aws.Context, input *DescribeDBClusterSnapshotsInput, opts ...request.Option) (*DescribeDBClusterSnapshotsOutput, error)

DescribeDBClusterSnapshotsWithContext is the same as DescribeDBClusterSnapshots with the addition of the ability to pass a context and additional request options.

See DescribeDBClusterSnapshots for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBClusters

func (c *Neptune) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error)

DescribeDBClusters API operation for Amazon Neptune.

Returns information about provisioned DB clusters. This API supports pagination.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBClusters for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters

DescribeDBClustersRequest

func (c *Neptune) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput)

DescribeDBClustersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBClusters for more information on using the DescribeDBClusters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBClustersRequest method. req, resp := client.DescribeDBClustersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters

DescribeDBClustersWithContext

func (c *Neptune) DescribeDBClustersWithContext(ctx aws.Context, input *DescribeDBClustersInput, opts ...request.Option) (*DescribeDBClustersOutput, error)

DescribeDBClustersWithContext is the same as DescribeDBClusters with the addition of the ability to pass a context and additional request options.

See DescribeDBClusters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBEngineVersions

func (c *Neptune) DescribeDBEngineVersions(input *DescribeDBEngineVersionsInput) (*DescribeDBEngineVersionsOutput, error)

DescribeDBEngineVersions API operation for Amazon Neptune.

Returns a list of the available DB engines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBEngineVersions for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBEngineVersions

DescribeDBEngineVersionsPages

func (c *Neptune) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(*DescribeDBEngineVersionsOutput, bool) bool) error

DescribeDBEngineVersionsPages iterates over the pages of a DescribeDBEngineVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDBEngineVersions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. pageNum := 0 err := client.DescribeDBEngineVersionsPages(params, func(page *DescribeDBEngineVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBEngineVersionsPagesWithContext

func (c *Neptune) DescribeDBEngineVersionsPagesWithContext(ctx aws.Context, input *DescribeDBEngineVersionsInput, fn func(*DescribeDBEngineVersionsOutput, bool) bool, opts ...request.Option) error

DescribeDBEngineVersionsPagesWithContext same as DescribeDBEngineVersionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBEngineVersionsRequest

func (c *Neptune) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput)

DescribeDBEngineVersionsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBEngineVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBEngineVersions for more information on using the DescribeDBEngineVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBEngineVersionsRequest method. req, resp := client.DescribeDBEngineVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBEngineVersions

DescribeDBEngineVersionsWithContext

func (c *Neptune) DescribeDBEngineVersionsWithContext(ctx aws.Context, input *DescribeDBEngineVersionsInput, opts ...request.Option) (*DescribeDBEngineVersionsOutput, error)

DescribeDBEngineVersionsWithContext is the same as DescribeDBEngineVersions with the addition of the ability to pass a context and additional request options.

See DescribeDBEngineVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBInstances

func (c *Neptune) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error)

DescribeDBInstances API operation for Amazon Neptune.

Returns information about provisioned instances. This API supports pagination.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBInstances for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBInstances

DescribeDBInstancesPages

func (c *Neptune) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(*DescribeDBInstancesOutput, bool) bool) error

DescribeDBInstancesPages iterates over the pages of a DescribeDBInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDBInstances method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeDBInstances operation. pageNum := 0 err := client.DescribeDBInstancesPages(params, func(page *DescribeDBInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBInstancesPagesWithContext

func (c *Neptune) DescribeDBInstancesPagesWithContext(ctx aws.Context, input *DescribeDBInstancesInput, fn func(*DescribeDBInstancesOutput, bool) bool, opts ...request.Option) error

DescribeDBInstancesPagesWithContext same as DescribeDBInstancesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBInstancesRequest

func (c *Neptune) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput)

DescribeDBInstancesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBInstances operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBInstances for more information on using the DescribeDBInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBInstancesRequest method. req, resp := client.DescribeDBInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBInstances

DescribeDBInstancesWithContext

func (c *Neptune) DescribeDBInstancesWithContext(ctx aws.Context, input *DescribeDBInstancesInput, opts ...request.Option) (*DescribeDBInstancesOutput, error)

DescribeDBInstancesWithContext is the same as DescribeDBInstances with the addition of the ability to pass a context and additional request options.

See DescribeDBInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParameterGroups

func (c *Neptune) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error)

DescribeDBParameterGroups API operation for Amazon Neptune.

Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBParameterGroups for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameterGroups

DescribeDBParameterGroupsPages

func (c *Neptune) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, fn func(*DescribeDBParameterGroupsOutput, bool) bool) error

DescribeDBParameterGroupsPages iterates over the pages of a DescribeDBParameterGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDBParameterGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeDBParameterGroups operation. pageNum := 0 err := client.DescribeDBParameterGroupsPages(params, func(page *DescribeDBParameterGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParameterGroupsPagesWithContext

func (c *Neptune) DescribeDBParameterGroupsPagesWithContext(ctx aws.Context, input *DescribeDBParameterGroupsInput, fn func(*DescribeDBParameterGroupsOutput, bool) bool, opts ...request.Option) error

DescribeDBParameterGroupsPagesWithContext same as DescribeDBParameterGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParameterGroupsRequest

func (c *Neptune) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput)

DescribeDBParameterGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBParameterGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBParameterGroups for more information on using the DescribeDBParameterGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBParameterGroupsRequest method. req, resp := client.DescribeDBParameterGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameterGroups

DescribeDBParameterGroupsWithContext

func (c *Neptune) DescribeDBParameterGroupsWithContext(ctx aws.Context, input *DescribeDBParameterGroupsInput, opts ...request.Option) (*DescribeDBParameterGroupsOutput, error)

DescribeDBParameterGroupsWithContext is the same as DescribeDBParameterGroups with the addition of the ability to pass a context and additional request options.

See DescribeDBParameterGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParameters

func (c *Neptune) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error)

DescribeDBParameters API operation for Amazon Neptune.

Returns the detailed parameter list for a particular DB parameter group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBParameters for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameters

DescribeDBParametersPages

func (c *Neptune) DescribeDBParametersPages(input *DescribeDBParametersInput, fn func(*DescribeDBParametersOutput, bool) bool) error

DescribeDBParametersPages iterates over the pages of a DescribeDBParameters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDBParameters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeDBParameters operation. pageNum := 0 err := client.DescribeDBParametersPages(params, func(page *DescribeDBParametersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParametersPagesWithContext

func (c *Neptune) DescribeDBParametersPagesWithContext(ctx aws.Context, input *DescribeDBParametersInput, fn func(*DescribeDBParametersOutput, bool) bool, opts ...request.Option) error

DescribeDBParametersPagesWithContext same as DescribeDBParametersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBParametersRequest

func (c *Neptune) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput)

DescribeDBParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBParameters for more information on using the DescribeDBParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBParametersRequest method. req, resp := client.DescribeDBParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameters

DescribeDBParametersWithContext

func (c *Neptune) DescribeDBParametersWithContext(ctx aws.Context, input *DescribeDBParametersInput, opts ...request.Option) (*DescribeDBParametersOutput, error)

DescribeDBParametersWithContext is the same as DescribeDBParameters with the addition of the ability to pass a context and additional request options.

See DescribeDBParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBSubnetGroups

func (c *Neptune) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error)

DescribeDBSubnetGroups API operation for Amazon Neptune.

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).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeDBSubnetGroups for usage and error information.

Returned Error Codes:

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBSubnetGroups

DescribeDBSubnetGroupsPages

func (c *Neptune) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(*DescribeDBSubnetGroupsOutput, bool) bool) error

DescribeDBSubnetGroupsPages iterates over the pages of a DescribeDBSubnetGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeDBSubnetGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. pageNum := 0 err := client.DescribeDBSubnetGroupsPages(params, func(page *DescribeDBSubnetGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBSubnetGroupsPagesWithContext

func (c *Neptune) DescribeDBSubnetGroupsPagesWithContext(ctx aws.Context, input *DescribeDBSubnetGroupsInput, fn func(*DescribeDBSubnetGroupsOutput, bool) bool, opts ...request.Option) error

DescribeDBSubnetGroupsPagesWithContext same as DescribeDBSubnetGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDBSubnetGroupsRequest

func (c *Neptune) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput)

DescribeDBSubnetGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBSubnetGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDBSubnetGroups for more information on using the DescribeDBSubnetGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDBSubnetGroupsRequest method. req, resp := client.DescribeDBSubnetGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBSubnetGroups

DescribeDBSubnetGroupsWithContext

func (c *Neptune) DescribeDBSubnetGroupsWithContext(ctx aws.Context, input *DescribeDBSubnetGroupsInput, opts ...request.Option) (*DescribeDBSubnetGroupsOutput, error)

DescribeDBSubnetGroupsWithContext is the same as DescribeDBSubnetGroups with the addition of the ability to pass a context and additional request options.

See DescribeDBSubnetGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEngineDefaultClusterParameters

func (c *Neptune) DescribeEngineDefaultClusterParameters(input *DescribeEngineDefaultClusterParametersInput) (*DescribeEngineDefaultClusterParametersOutput, error)

DescribeEngineDefaultClusterParameters API operation for Amazon Neptune.

Returns the default engine and system parameter information for the cluster database engine.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeEngineDefaultClusterParameters for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultClusterParameters

DescribeEngineDefaultClusterParametersRequest

func (c *Neptune) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput)

DescribeEngineDefaultClusterParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeEngineDefaultClusterParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEngineDefaultClusterParameters for more information on using the DescribeEngineDefaultClusterParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultClusterParameters

DescribeEngineDefaultClusterParametersWithContext

func (c *Neptune) DescribeEngineDefaultClusterParametersWithContext(ctx aws.Context, input *DescribeEngineDefaultClusterParametersInput, opts ...request.Option) (*DescribeEngineDefaultClusterParametersOutput, error)

DescribeEngineDefaultClusterParametersWithContext is the same as DescribeEngineDefaultClusterParameters with the addition of the ability to pass a context and additional request options.

See DescribeEngineDefaultClusterParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEngineDefaultParameters

func (c *Neptune) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error)

DescribeEngineDefaultParameters API operation for Amazon Neptune.

Returns the default engine and system parameter information for the specified database engine.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeEngineDefaultParameters for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultParameters

DescribeEngineDefaultParametersPages

func (c *Neptune) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(*DescribeEngineDefaultParametersOutput, bool) bool) error

DescribeEngineDefaultParametersPages iterates over the pages of a DescribeEngineDefaultParameters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEngineDefaultParameters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. pageNum := 0 err := client.DescribeEngineDefaultParametersPages(params, func(page *DescribeEngineDefaultParametersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeEngineDefaultParametersPagesWithContext

func (c *Neptune) DescribeEngineDefaultParametersPagesWithContext(ctx aws.Context, input *DescribeEngineDefaultParametersInput, fn func(*DescribeEngineDefaultParametersOutput, bool) bool, opts ...request.Option) error

DescribeEngineDefaultParametersPagesWithContext same as DescribeEngineDefaultParametersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEngineDefaultParametersRequest

func (c *Neptune) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput)

DescribeEngineDefaultParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeEngineDefaultParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEngineDefaultParameters for more information on using the DescribeEngineDefaultParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEngineDefaultParametersRequest method. req, resp := client.DescribeEngineDefaultParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultParameters

DescribeEngineDefaultParametersWithContext

func (c *Neptune) DescribeEngineDefaultParametersWithContext(ctx aws.Context, input *DescribeEngineDefaultParametersInput, opts ...request.Option) (*DescribeEngineDefaultParametersOutput, error)

DescribeEngineDefaultParametersWithContext is the same as DescribeEngineDefaultParameters with the addition of the ability to pass a context and additional request options.

See DescribeEngineDefaultParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventCategories

func (c *Neptune) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error)

DescribeEventCategories API operation for Amazon Neptune.

Displays a list of categories for all event source types, or, if specified, for a specified source type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeEventCategories for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventCategories

DescribeEventCategoriesRequest

func (c *Neptune) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput)

DescribeEventCategoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeEventCategories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventCategories for more information on using the DescribeEventCategories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventCategoriesRequest method. req, resp := client.DescribeEventCategoriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventCategories

DescribeEventCategoriesWithContext

func (c *Neptune) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error)

DescribeEventCategoriesWithContext is the same as DescribeEventCategories with the addition of the ability to pass a context and additional request options.

See DescribeEventCategories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventSubscriptions

func (c *Neptune) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error)

DescribeEventSubscriptions API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeEventSubscriptions for usage and error information.

Returned Error Codes:

  • ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventSubscriptions

DescribeEventSubscriptionsPages

func (c *Neptune) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error

DescribeEventSubscriptionsPages iterates over the pages of a DescribeEventSubscriptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEventSubscriptions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. pageNum := 0 err := client.DescribeEventSubscriptionsPages(params, func(page *DescribeEventSubscriptionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventSubscriptionsPagesWithContext

func (c *Neptune) DescribeEventSubscriptionsPagesWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool, opts ...request.Option) error

DescribeEventSubscriptionsPagesWithContext same as DescribeEventSubscriptionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventSubscriptionsRequest

func (c *Neptune) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput)

DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeEventSubscriptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEventSubscriptions for more information on using the DescribeEventSubscriptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventSubscriptionsRequest method. req, resp := client.DescribeEventSubscriptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventSubscriptions

DescribeEventSubscriptionsWithContext

func (c *Neptune) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *DescribeEventSubscriptionsInput, opts ...request.Option) (*DescribeEventSubscriptionsOutput, error)

DescribeEventSubscriptionsWithContext is the same as DescribeEventSubscriptions with the addition of the ability to pass a context and additional request options.

See DescribeEventSubscriptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEvents

func (c *Neptune) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)

DescribeEvents API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeEvents for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEvents

DescribeEventsPages

func (c *Neptune) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error

DescribeEventsPages iterates over the pages of a DescribeEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeEvents operation. pageNum := 0 err := client.DescribeEventsPages(params, func(page *DescribeEventsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventsPagesWithContext

func (c *Neptune) DescribeEventsPagesWithContext(ctx aws.Context, input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool, opts ...request.Option) error

DescribeEventsPagesWithContext same as DescribeEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEventsRequest

func (c *Neptune) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput)

DescribeEventsRequest generates a "aws/request.Request" representing the client's request for the DescribeEvents operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEvents for more information on using the DescribeEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEventsRequest method. req, resp := client.DescribeEventsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEvents

DescribeEventsWithContext

func (c *Neptune) DescribeEventsWithContext(ctx aws.Context, input *DescribeEventsInput, opts ...request.Option) (*DescribeEventsOutput, error)

DescribeEventsWithContext is the same as DescribeEvents with the addition of the ability to pass a context and additional request options.

See DescribeEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeOrderableDBInstanceOptions

func (c *Neptune) DescribeOrderableDBInstanceOptions(input *DescribeOrderableDBInstanceOptionsInput) (*DescribeOrderableDBInstanceOptionsOutput, error)

DescribeOrderableDBInstanceOptions API operation for Amazon Neptune.

Returns a list of orderable DB instance options for the specified engine.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeOrderableDBInstanceOptions for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeOrderableDBInstanceOptions

DescribeOrderableDBInstanceOptionsPages

func (c *Neptune) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(*DescribeOrderableDBInstanceOptionsOutput, bool) bool) error

DescribeOrderableDBInstanceOptionsPages iterates over the pages of a DescribeOrderableDBInstanceOptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeOrderableDBInstanceOptions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. pageNum := 0 err := client.DescribeOrderableDBInstanceOptionsPages(params, func(page *DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeOrderableDBInstanceOptionsPagesWithContext

func (c *Neptune) DescribeOrderableDBInstanceOptionsPagesWithContext(ctx aws.Context, input *DescribeOrderableDBInstanceOptionsInput, fn func(*DescribeOrderableDBInstanceOptionsOutput, bool) bool, opts ...request.Option) error

DescribeOrderableDBInstanceOptionsPagesWithContext same as DescribeOrderableDBInstanceOptionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeOrderableDBInstanceOptionsRequest

func (c *Neptune) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput)

DescribeOrderableDBInstanceOptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeOrderableDBInstanceOptions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeOrderableDBInstanceOptions for more information on using the DescribeOrderableDBInstanceOptions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeOrderableDBInstanceOptions

DescribeOrderableDBInstanceOptionsWithContext

func (c *Neptune) DescribeOrderableDBInstanceOptionsWithContext(ctx aws.Context, input *DescribeOrderableDBInstanceOptionsInput, opts ...request.Option) (*DescribeOrderableDBInstanceOptionsOutput, error)

DescribeOrderableDBInstanceOptionsWithContext is the same as DescribeOrderableDBInstanceOptions with the addition of the ability to pass a context and additional request options.

See DescribeOrderableDBInstanceOptions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribePendingMaintenanceActions

func (c *Neptune) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error)

DescribePendingMaintenanceActions API operation for Amazon Neptune.

Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribePendingMaintenanceActions for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundFault "ResourceNotFoundFault" The specified resource ID was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribePendingMaintenanceActions

DescribePendingMaintenanceActionsRequest

func (c *Neptune) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput)

DescribePendingMaintenanceActionsRequest generates a "aws/request.Request" representing the client's request for the DescribePendingMaintenanceActions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePendingMaintenanceActions for more information on using the DescribePendingMaintenanceActions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePendingMaintenanceActionsRequest method. req, resp := client.DescribePendingMaintenanceActionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribePendingMaintenanceActions

DescribePendingMaintenanceActionsWithContext

func (c *Neptune) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, input *DescribePendingMaintenanceActionsInput, opts ...request.Option) (*DescribePendingMaintenanceActionsOutput, error)

DescribePendingMaintenanceActionsWithContext is the same as DescribePendingMaintenanceActions with the addition of the ability to pass a context and additional request options.

See DescribePendingMaintenanceActions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeValidDBInstanceModifications

func (c *Neptune) DescribeValidDBInstanceModifications(input *DescribeValidDBInstanceModificationsInput) (*DescribeValidDBInstanceModificationsOutput, error)

DescribeValidDBInstanceModifications API operation for Amazon Neptune.

You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB instance. You can use this information when you call ModifyDBInstance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation DescribeValidDBInstanceModifications for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeValidDBInstanceModifications

DescribeValidDBInstanceModificationsRequest

func (c *Neptune) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDBInstanceModificationsInput) (req *request.Request, output *DescribeValidDBInstanceModificationsOutput)

DescribeValidDBInstanceModificationsRequest generates a "aws/request.Request" representing the client's request for the DescribeValidDBInstanceModifications operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeValidDBInstanceModifications for more information on using the DescribeValidDBInstanceModifications API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeValidDBInstanceModificationsRequest method. req, resp := client.DescribeValidDBInstanceModificationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeValidDBInstanceModifications

DescribeValidDBInstanceModificationsWithContext

func (c *Neptune) DescribeValidDBInstanceModificationsWithContext(ctx aws.Context, input *DescribeValidDBInstanceModificationsInput, opts ...request.Option) (*DescribeValidDBInstanceModificationsOutput, error)

DescribeValidDBInstanceModificationsWithContext is the same as DescribeValidDBInstanceModifications with the addition of the ability to pass a context and additional request options.

See DescribeValidDBInstanceModifications for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

FailoverDBCluster

func (c *Neptune) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error)

FailoverDBCluster API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation FailoverDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster

FailoverDBClusterRequest

func (c *Neptune) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput)

FailoverDBClusterRequest generates a "aws/request.Request" representing the client's request for the FailoverDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See FailoverDBCluster for more information on using the FailoverDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the FailoverDBClusterRequest method. req, resp := client.FailoverDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster

FailoverDBClusterWithContext

func (c *Neptune) FailoverDBClusterWithContext(ctx aws.Context, input *FailoverDBClusterInput, opts ...request.Option) (*FailoverDBClusterOutput, error)

FailoverDBClusterWithContext is the same as FailoverDBCluster with the addition of the ability to pass a context and additional request options.

See FailoverDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResource

func (c *Neptune) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Neptune.

Lists all tags on an Amazon Neptune resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ListTagsForResource

ListTagsForResourceRequest

func (c *Neptune) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ListTagsForResource

ListTagsForResourceWithContext

func (c *Neptune) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBCluster

func (c *Neptune) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error)

ModifyDBCluster API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

  • ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

  • ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

  • ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster

ModifyDBClusterParameterGroup

func (c *Neptune) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*ResetDBClusterParameterGroupOutput, error)

ModifyDBClusterParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBClusterParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup

ModifyDBClusterParameterGroupRequest

func (c *Neptune) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput)

ModifyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBClusterParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBClusterParameterGroup for more information on using the ModifyDBClusterParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBClusterParameterGroupRequest method. req, resp := client.ModifyDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup

ModifyDBClusterParameterGroupWithContext

func (c *Neptune) ModifyDBClusterParameterGroupWithContext(ctx aws.Context, input *ModifyDBClusterParameterGroupInput, opts ...request.Option) (*ResetDBClusterParameterGroupOutput, error)

ModifyDBClusterParameterGroupWithContext is the same as ModifyDBClusterParameterGroup with the addition of the ability to pass a context and additional request options.

See ModifyDBClusterParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBClusterRequest

func (c *Neptune) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput)

ModifyDBClusterRequest generates a "aws/request.Request" representing the client's request for the ModifyDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBCluster for more information on using the ModifyDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBClusterRequest method. req, resp := client.ModifyDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster

ModifyDBClusterSnapshotAttribute

func (c *Neptune) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error)

ModifyDBClusterSnapshotAttribute API operation for Amazon Neptune.

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBClusterSnapshotAttribute for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

  • ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterSnapshotAttribute

ModifyDBClusterSnapshotAttributeRequest

func (c *Neptune) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput)

ModifyDBClusterSnapshotAttributeRequest generates a "aws/request.Request" representing the client's request for the ModifyDBClusterSnapshotAttribute operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBClusterSnapshotAttribute for more information on using the ModifyDBClusterSnapshotAttribute API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterSnapshotAttribute

ModifyDBClusterSnapshotAttributeWithContext

func (c *Neptune) ModifyDBClusterSnapshotAttributeWithContext(ctx aws.Context, input *ModifyDBClusterSnapshotAttributeInput, opts ...request.Option) (*ModifyDBClusterSnapshotAttributeOutput, error)

ModifyDBClusterSnapshotAttributeWithContext is the same as ModifyDBClusterSnapshotAttribute with the addition of the ability to pass a context and additional request options.

See ModifyDBClusterSnapshotAttribute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBClusterWithContext

func (c *Neptune) ModifyDBClusterWithContext(ctx aws.Context, input *ModifyDBClusterInput, opts ...request.Option) (*ModifyDBClusterOutput, error)

ModifyDBClusterWithContext is the same as ModifyDBCluster with the addition of the ability to pass a context and additional request options.

See ModifyDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBInstance

func (c *Neptune) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error)

ModifyDBInstance API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

  • ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.

  • ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.

  • ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault"

  • ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" The DB upgrade failed because a resource the DB depends on could not be modified.

  • ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.

  • ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.

Neptune may not also be authorized via IAM to perform necessary actions on your behalf.
  • ErrCodeCertificateNotFoundFault "CertificateNotFound" CertificateIdentifier does not refer to an existing certificate.

  • ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBInstance

ModifyDBInstanceRequest

func (c *Neptune) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput)

ModifyDBInstanceRequest generates a "aws/request.Request" representing the client's request for the ModifyDBInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBInstance for more information on using the ModifyDBInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBInstanceRequest method. req, resp := client.ModifyDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBInstance

ModifyDBInstanceWithContext

func (c *Neptune) ModifyDBInstanceWithContext(ctx aws.Context, input *ModifyDBInstanceInput, opts ...request.Option) (*ModifyDBInstanceOutput, error)

ModifyDBInstanceWithContext is the same as ModifyDBInstance with the addition of the ability to pass a context and additional request options.

See ModifyDBInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBParameterGroup

func (c *Neptune) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*ResetDBParameterGroupOutput, error)

ModifyDBParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBParameterGroup

ModifyDBParameterGroupRequest

func (c *Neptune) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *ResetDBParameterGroupOutput)

ModifyDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBParameterGroup for more information on using the ModifyDBParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBParameterGroupRequest method. req, resp := client.ModifyDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBParameterGroup

ModifyDBParameterGroupWithContext

func (c *Neptune) ModifyDBParameterGroupWithContext(ctx aws.Context, input *ModifyDBParameterGroupInput, opts ...request.Option) (*ResetDBParameterGroupOutput, error)

ModifyDBParameterGroupWithContext is the same as ModifyDBParameterGroup with the addition of the ability to pass a context and additional request options.

See ModifyDBParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDBSubnetGroup

func (c *Neptune) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error)

ModifyDBSubnetGroup API operation for Amazon Neptune.

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyDBSubnetGroup for usage and error information.

Returned Error Codes:

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" Request would result in user exceeding the allowed number of subnets in a DB subnet groups.

  • ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" The DB subnet is already in use in the Availability Zone.

  • ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBSubnetGroup

ModifyDBSubnetGroupRequest

func (c *Neptune) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput)

ModifyDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBSubnetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDBSubnetGroup for more information on using the ModifyDBSubnetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDBSubnetGroupRequest method. req, resp := client.ModifyDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBSubnetGroup

ModifyDBSubnetGroupWithContext

func (c *Neptune) ModifyDBSubnetGroupWithContext(ctx aws.Context, input *ModifyDBSubnetGroupInput, opts ...request.Option) (*ModifyDBSubnetGroupOutput, error)

ModifyDBSubnetGroupWithContext is the same as ModifyDBSubnetGroup with the addition of the ability to pass a context and additional request options.

See ModifyDBSubnetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyEventSubscription

func (c *Neptune) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)

ModifyEventSubscription API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ModifyEventSubscription for usage and error information.

Returned Error Codes:

  • ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded"

  • ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound"

  • ErrCodeSNSInvalidTopicFault "SNSInvalidTopic"

  • ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization"

  • ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound"

  • ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyEventSubscription

ModifyEventSubscriptionRequest

func (c *Neptune) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput)

ModifyEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the ModifyEventSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyEventSubscription for more information on using the ModifyEventSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyEventSubscriptionRequest method. req, resp := client.ModifyEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyEventSubscription

ModifyEventSubscriptionWithContext

func (c *Neptune) ModifyEventSubscriptionWithContext(ctx aws.Context, input *ModifyEventSubscriptionInput, opts ...request.Option) (*ModifyEventSubscriptionOutput, error)

ModifyEventSubscriptionWithContext is the same as ModifyEventSubscription with the addition of the ability to pass a context and additional request options.

See ModifyEventSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PromoteReadReplicaDBCluster

func (c *Neptune) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error)

PromoteReadReplicaDBCluster API operation for Amazon Neptune.

Promotes a Read Replica DB cluster to a standalone DB cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation PromoteReadReplicaDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster

PromoteReadReplicaDBClusterRequest

func (c *Neptune) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput)

PromoteReadReplicaDBClusterRequest generates a "aws/request.Request" representing the client's request for the PromoteReadReplicaDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PromoteReadReplicaDBCluster for more information on using the PromoteReadReplicaDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PromoteReadReplicaDBClusterRequest method. req, resp := client.PromoteReadReplicaDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster

PromoteReadReplicaDBClusterWithContext

func (c *Neptune) PromoteReadReplicaDBClusterWithContext(ctx aws.Context, input *PromoteReadReplicaDBClusterInput, opts ...request.Option) (*PromoteReadReplicaDBClusterOutput, error)

PromoteReadReplicaDBClusterWithContext is the same as PromoteReadReplicaDBCluster with the addition of the ability to pass a context and additional request options.

See PromoteReadReplicaDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RebootDBInstance

func (c *Neptune) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error)

RebootDBInstance API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RebootDBInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RebootDBInstance

RebootDBInstanceRequest

func (c *Neptune) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput)

RebootDBInstanceRequest generates a "aws/request.Request" representing the client's request for the RebootDBInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RebootDBInstance for more information on using the RebootDBInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RebootDBInstanceRequest method. req, resp := client.RebootDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RebootDBInstance

RebootDBInstanceWithContext

func (c *Neptune) RebootDBInstanceWithContext(ctx aws.Context, input *RebootDBInstanceInput, opts ...request.Option) (*RebootDBInstanceOutput, error)

RebootDBInstanceWithContext is the same as RebootDBInstance with the addition of the ability to pass a context and additional request options.

See RebootDBInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RemoveRoleFromDBCluster

func (c *Neptune) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error)

RemoveRoleFromDBCluster API operation for Amazon Neptune.

Disassociates an Identity and Access Management (IAM) role from a DB cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RemoveRoleFromDBCluster for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster

RemoveRoleFromDBClusterRequest

func (c *Neptune) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput)

RemoveRoleFromDBClusterRequest generates a "aws/request.Request" representing the client's request for the RemoveRoleFromDBCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveRoleFromDBCluster for more information on using the RemoveRoleFromDBCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveRoleFromDBClusterRequest method. req, resp := client.RemoveRoleFromDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster

RemoveRoleFromDBClusterWithContext

func (c *Neptune) RemoveRoleFromDBClusterWithContext(ctx aws.Context, input *RemoveRoleFromDBClusterInput, opts ...request.Option) (*RemoveRoleFromDBClusterOutput, error)

RemoveRoleFromDBClusterWithContext is the same as RemoveRoleFromDBCluster with the addition of the ability to pass a context and additional request options.

See RemoveRoleFromDBCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RemoveSourceIdentifierFromSubscription

func (c *Neptune) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error)

RemoveSourceIdentifierFromSubscription API operation for Amazon Neptune.

Removes a source identifier from an existing event notification subscription.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RemoveSourceIdentifierFromSubscription for usage and error information.

Returned Error Codes:

  • ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound"

  • ErrCodeSourceNotFoundFault "SourceNotFound"

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveSourceIdentifierFromSubscription

RemoveSourceIdentifierFromSubscriptionRequest

func (c *Neptune) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput)

RemoveSourceIdentifierFromSubscriptionRequest generates a "aws/request.Request" representing the client's request for the RemoveSourceIdentifierFromSubscription operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveSourceIdentifierFromSubscription for more information on using the RemoveSourceIdentifierFromSubscription API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveSourceIdentifierFromSubscription

RemoveSourceIdentifierFromSubscriptionWithContext

func (c *Neptune) RemoveSourceIdentifierFromSubscriptionWithContext(ctx aws.Context, input *RemoveSourceIdentifierFromSubscriptionInput, opts ...request.Option) (*RemoveSourceIdentifierFromSubscriptionOutput, error)

RemoveSourceIdentifierFromSubscriptionWithContext is the same as RemoveSourceIdentifierFromSubscription with the addition of the ability to pass a context and additional request options.

See RemoveSourceIdentifierFromSubscription for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RemoveTagsFromResource

func (c *Neptune) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResource API operation for Amazon Neptune.

Removes metadata tags from an Amazon Neptune resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RemoveTagsFromResource for usage and error information.

Returned Error Codes:

  • ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.

  • ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveTagsFromResource

RemoveTagsFromResourceRequest

func (c *Neptune) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)

RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveTagsFromResource for more information on using the RemoveTagsFromResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveTagsFromResourceRequest method. req, resp := client.RemoveTagsFromResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveTagsFromResource

RemoveTagsFromResourceWithContext

func (c *Neptune) RemoveTagsFromResourceWithContext(ctx aws.Context, input *RemoveTagsFromResourceInput, opts ...request.Option) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResourceWithContext is the same as RemoveTagsFromResource with the addition of the ability to pass a context and additional request options.

See RemoveTagsFromResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ResetDBClusterParameterGroup

func (c *Neptune) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*ResetDBClusterParameterGroupOutput, error)

ResetDBClusterParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ResetDBClusterParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBClusterParameterGroup

ResetDBClusterParameterGroupRequest

func (c *Neptune) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput)

ResetDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ResetDBClusterParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetDBClusterParameterGroup for more information on using the ResetDBClusterParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetDBClusterParameterGroupRequest method. req, resp := client.ResetDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBClusterParameterGroup

ResetDBClusterParameterGroupWithContext

func (c *Neptune) ResetDBClusterParameterGroupWithContext(ctx aws.Context, input *ResetDBClusterParameterGroupInput, opts ...request.Option) (*ResetDBClusterParameterGroupOutput, error)

ResetDBClusterParameterGroupWithContext is the same as ResetDBClusterParameterGroup with the addition of the ability to pass a context and additional request options.

See ResetDBClusterParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ResetDBParameterGroup

func (c *Neptune) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*ResetDBParameterGroupOutput, error)

ResetDBParameterGroup API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation ResetDBParameterGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

  • ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBParameterGroup

ResetDBParameterGroupRequest

func (c *Neptune) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *ResetDBParameterGroupOutput)

ResetDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ResetDBParameterGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetDBParameterGroup for more information on using the ResetDBParameterGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetDBParameterGroupRequest method. req, resp := client.ResetDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBParameterGroup

ResetDBParameterGroupWithContext

func (c *Neptune) ResetDBParameterGroupWithContext(ctx aws.Context, input *ResetDBParameterGroupInput, opts ...request.Option) (*ResetDBParameterGroupOutput, error)

ResetDBParameterGroupWithContext is the same as ResetDBParameterGroup with the addition of the ability to pass a context and additional request options.

See ResetDBParameterGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RestoreDBClusterFromSnapshot

func (c *Neptune) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error)

RestoreDBClusterFromSnapshot API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RestoreDBClusterFromSnapshot for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.

  • ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

  • ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" The DB cluster does not have enough capacity for the current operation.

  • ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.

  • ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

  • ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault"

  • ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot

RestoreDBClusterFromSnapshotRequest

func (c *Neptune) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput)

RestoreDBClusterFromSnapshotRequest generates a "aws/request.Request" representing the client's request for the RestoreDBClusterFromSnapshot operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RestoreDBClusterFromSnapshot for more information on using the RestoreDBClusterFromSnapshot API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RestoreDBClusterFromSnapshotRequest method. req, resp := client.RestoreDBClusterFromSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot

RestoreDBClusterFromSnapshotWithContext

func (c *Neptune) RestoreDBClusterFromSnapshotWithContext(ctx aws.Context, input *RestoreDBClusterFromSnapshotInput, opts ...request.Option) (*RestoreDBClusterFromSnapshotOutput, error)

RestoreDBClusterFromSnapshotWithContext is the same as RestoreDBClusterFromSnapshot with the addition of the ability to pass a context and additional request options.

See RestoreDBClusterFromSnapshot for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RestoreDBClusterToPointInTime

func (c *Neptune) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error)

RestoreDBClusterToPointInTime API operation for Amazon Neptune.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Neptune's API operation RestoreDBClusterToPointInTime for usage and error information.

Returned Error Codes:

  • ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.

  • ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.

  • ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.

  • ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

  • ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.

  • ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" The DB cluster does not have enough capacity for the current operation.

  • ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.

  • ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.

  • ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.

  • ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.

  • ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.

  • ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.

  • ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.

  • ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.

  • ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault"

  • ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime

RestoreDBClusterToPointInTimeRequest

func (c *Neptune) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput)

RestoreDBClusterToPointInTimeRequest generates a "aws/request.Request" representing the client's request for the RestoreDBClusterToPointInTime operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RestoreDBClusterToPointInTime for more information on using the RestoreDBClusterToPointInTime API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RestoreDBClusterToPointInTimeRequest method. req, resp := client.RestoreDBClusterToPointInTimeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime

RestoreDBClusterToPointInTimeWithContext

func (c *Neptune) RestoreDBClusterToPointInTimeWithContext(ctx aws.Context, input *RestoreDBClusterToPointInTimeInput, opts ...request.Option) (*RestoreDBClusterToPointInTimeOutput, error)

RestoreDBClusterToPointInTimeWithContext is the same as RestoreDBClusterToPointInTime with the addition of the ability to pass a context and additional request options.

See RestoreDBClusterToPointInTime for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

WaitUntilDBInstanceAvailable

func (c *Neptune) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error

WaitUntilDBInstanceAvailable uses the Amazon Neptune API operation DescribeDBInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilDBInstanceAvailableWithContext

func (c *Neptune) WaitUntilDBInstanceAvailableWithContext(ctx aws.Context, input *DescribeDBInstancesInput, opts ...request.WaiterOption) error

WaitUntilDBInstanceAvailableWithContext is an extended version of WaitUntilDBInstanceAvailable. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

WaitUntilDBInstanceDeleted

func (c *Neptune) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error

WaitUntilDBInstanceDeleted uses the Amazon Neptune API operation DescribeDBInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilDBInstanceDeletedWithContext

func (c *Neptune) WaitUntilDBInstanceDeletedWithContext(ctx aws.Context, input *DescribeDBInstancesInput, opts ...request.WaiterOption) error

WaitUntilDBInstanceDeletedWithContext is an extended version of WaitUntilDBInstanceDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

On this page: