SDK for PHP 3.x

Client: Aws\Neptune\NeptuneClient
Service ID: neptune
Version: 2014-10-31

This page describes the parameters and results for the operations of the Amazon Neptune (2014-10-31), and shows how to use the Aws\Neptune\NeptuneClient object to call the described operations. This documentation is specific to the 2014-10-31 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AddRoleToDBCluster ( array $params = [] )
Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.
AddSourceIdentifierToSubscription ( array $params = [] )
Adds a source identifier to an existing event notification subscription.
AddTagsToResource ( array $params = [] )
Adds metadata tags to an Amazon Neptune resource.
ApplyPendingMaintenanceAction ( array $params = [] )
Applies a pending maintenance action to a resource (for example, to a DB instance).
CopyDBClusterParameterGroup ( array $params = [] )
Copies the specified DB cluster parameter group.
CopyDBClusterSnapshot ( array $params = [] )
Copies a snapshot of a DB cluster.
CopyDBParameterGroup ( array $params = [] )
Copies the specified DB parameter group.
CreateDBCluster ( array $params = [] )
Creates a new Amazon Neptune DB cluster.
CreateDBClusterEndpoint ( array $params = [] )
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
CreateDBClusterParameterGroup ( array $params = [] )
Creates a new DB cluster parameter group.
CreateDBClusterSnapshot ( array $params = [] )
Creates a snapshot of a DB cluster.
CreateDBInstance ( array $params = [] )
Creates a new DB instance.
CreateDBParameterGroup ( array $params = [] )
Creates a new DB parameter group.
CreateDBSubnetGroup ( array $params = [] )
Creates a new DB subnet group.
CreateEventSubscription ( array $params = [] )
Creates an event notification subscription.
CreateGlobalCluster ( array $params = [] )
Creates a Neptune global database spread across multiple Amazon Regions.
DeleteDBCluster ( array $params = [] )
The DeleteDBCluster action deletes a previously provisioned DB cluster.
DeleteDBClusterEndpoint ( array $params = [] )
Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.
DeleteDBClusterParameterGroup ( array $params = [] )
Deletes a specified DB cluster parameter group.
DeleteDBClusterSnapshot ( array $params = [] )
Deletes a DB cluster snapshot.
DeleteDBInstance ( array $params = [] )
The DeleteDBInstance action deletes a previously provisioned DB instance.
DeleteDBParameterGroup ( array $params = [] )
Deletes a specified DBParameterGroup.
DeleteDBSubnetGroup ( array $params = [] )
Deletes a DB subnet group.
DeleteEventSubscription ( array $params = [] )
Deletes an event notification subscription.
DeleteGlobalCluster ( array $params = [] )
Deletes a global database.
DescribeDBClusterEndpoints ( array $params = [] )
Returns information about endpoints for an Amazon Neptune DB cluster.
DescribeDBClusterParameterGroups ( array $params = [] )
Returns a list of DBClusterParameterGroup descriptions.
DescribeDBClusterParameters ( array $params = [] )
Returns the detailed parameter list for a particular DB cluster parameter group.
DescribeDBClusterSnapshotAttributes ( array $params = [] )
Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.
DescribeDBClusterSnapshots ( array $params = [] )
Returns information about DB cluster snapshots.
DescribeDBClusters ( array $params = [] )
Returns information about provisioned DB clusters, and supports pagination.
DescribeDBEngineVersions ( array $params = [] )
Returns a list of the available DB engines.
DescribeDBInstances ( array $params = [] )
Returns information about provisioned instances, and supports pagination.
DescribeDBParameterGroups ( array $params = [] )
Returns a list of DBParameterGroup descriptions.
DescribeDBParameters ( array $params = [] )
Returns the detailed parameter list for a particular DB parameter group.
DescribeDBSubnetGroups ( array $params = [] )
Returns a list of DBSubnetGroup descriptions.
DescribeEngineDefaultClusterParameters ( array $params = [] )
Returns the default engine and system parameter information for the cluster database engine.
DescribeEngineDefaultParameters ( array $params = [] )
Returns the default engine and system parameter information for the specified database engine.
DescribeEventCategories ( array $params = [] )
Displays a list of categories for all event source types, or, if specified, for a specified source type.
DescribeEventSubscriptions ( array $params = [] )
Lists all the subscription descriptions for a customer account.
DescribeEvents ( array $params = [] )
Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days.
DescribeGlobalClusters ( array $params = [] )
Returns information about Neptune global database clusters.
DescribeOrderableDBInstanceOptions ( array $params = [] )
Returns a list of orderable DB instance options for the specified engine.
DescribePendingMaintenanceActions ( array $params = [] )
Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
DescribeValidDBInstanceModifications ( array $params = [] )
You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB instance.
FailoverDBCluster ( array $params = [] )
Forces a failover for a DB cluster.
FailoverGlobalCluster ( array $params = [] )
Initiates the failover process for a Neptune global database.
ListTagsForResource ( array $params = [] )
Lists all tags on an Amazon Neptune resource.
ModifyDBCluster ( array $params = [] )
Modify a setting for a DB cluster.
ModifyDBClusterEndpoint ( array $params = [] )
Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
ModifyDBClusterParameterGroup ( array $params = [] )
Modifies the parameters of a DB cluster parameter group.
ModifyDBClusterSnapshotAttribute ( array $params = [] )
Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.
ModifyDBInstance ( array $params = [] )
Modifies settings for a DB instance.
ModifyDBParameterGroup ( array $params = [] )
Modifies the parameters of a DB parameter group.
ModifyDBSubnetGroup ( array $params = [] )
Modifies an existing DB subnet group.
ModifyEventSubscription ( array $params = [] )
Modifies an existing event notification subscription.
ModifyGlobalCluster ( array $params = [] )
Modify a setting for an Amazon Neptune global cluster.
PromoteReadReplicaDBCluster ( array $params = [] )
Not supported.
RebootDBInstance ( array $params = [] )
You might need to reboot your DB instance, usually for maintenance reasons.
RemoveFromGlobalCluster ( array $params = [] )
Detaches a Neptune DB cluster from a Neptune global database.
RemoveRoleFromDBCluster ( array $params = [] )
Disassociates an Identity and Access Management (IAM) role from a DB cluster.
RemoveSourceIdentifierFromSubscription ( array $params = [] )
Removes a source identifier from an existing event notification subscription.
RemoveTagsFromResource ( array $params = [] )
Removes metadata tags from an Amazon Neptune resource.
ResetDBClusterParameterGroup ( array $params = [] )
Modifies the parameters of a DB cluster parameter group to the default value.
ResetDBParameterGroup ( array $params = [] )
Modifies the parameters of a DB parameter group to the engine/system default value.
RestoreDBClusterFromSnapshot ( array $params = [] )
Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
RestoreDBClusterToPointInTime ( array $params = [] )
Restores a DB cluster to an arbitrary point in time.
StartDBCluster ( array $params = [] )
Starts an Amazon Neptune DB cluster that was stopped using the Amazon console, the Amazon CLI stop-db-cluster command, or the StopDBCluster API.
StopDBCluster ( array $params = [] )
Stops an Amazon Neptune DB cluster.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

DescribeDBClusterEndpoints
DescribeDBClusterParameterGroups
DescribeDBClusterParameters
DescribeDBClusterSnapshots
DescribeDBClusters
DescribeDBEngineVersions
DescribeDBInstances
DescribeDBParameterGroups
DescribeDBParameters
DescribeDBSubnetGroups
DescribeEngineDefaultParameters
DescribeEventSubscriptions
DescribeEvents
DescribeGlobalClusters
DescribeOrderableDBInstanceOptions
DescribePendingMaintenanceActions
ListTagsForResource

Waiters

Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:

Waiter name API Operation Delay Max Attempts
DBInstanceAvailable DescribeDBInstances 30 60
DBInstanceDeleted DescribeDBInstances 30 60

Operations

AddRoleToDBCluster

$result = $client->addRoleToDBCluster([/* ... */]);
$promise = $client->addRoleToDBClusterAsync([/* ... */]);

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

Parameter Syntax

$result = $client->addRoleToDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'FeatureName' => '<string>',
    'RoleArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The name of the DB cluster to associate the IAM role with.

FeatureName
Type: string

The name of the feature for the Neptune DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

RoleArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DBClusterRoleAlreadyExistsFault:

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

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBClusterRoleQuotaExceededFault:

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

AddSourceIdentifierToSubscription

$result = $client->addSourceIdentifierToSubscription([/* ... */]);
$promise = $client->addSourceIdentifierToSubscriptionAsync([/* ... */]);

Adds a source identifier to an existing event notification subscription.

Parameter Syntax

$result = $client->addSourceIdentifierToSubscription([
    'SourceIdentifier' => '<string>', // REQUIRED
    'SubscriptionName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceIdentifier
Required: Yes
Type: string

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

SubscriptionName
Required: Yes
Type: string

The name of the event notification subscription you want to add a source identifier to.

Result Syntax

[
    'EventSubscription' => [
        'CustSubscriptionId' => '<string>',
        'CustomerAwsId' => '<string>',
        'Enabled' => true || false,
        'EventCategoriesList' => ['<string>', ...],
        'EventSubscriptionArn' => '<string>',
        'SnsTopicArn' => '<string>',
        'SourceIdsList' => ['<string>', ...],
        'SourceType' => '<string>',
        'Status' => '<string>',
        'SubscriptionCreationTime' => '<string>',
    ],
]

Result Details

Members
EventSubscription
Type: EventSubscription structure

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Errors

SubscriptionNotFoundFault:

The designated subscription could not be found.

SourceNotFoundFault:

The source could not be found.

AddTagsToResource

$result = $client->addTagsToResource([/* ... */]);
$promise = $client->addTagsToResourceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->addTagsToResource([
    'ResourceName' => '<string>', // REQUIRED
    'Tags' => [ // REQUIRED
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
ResourceName
Required: Yes
Type: string

The Amazon Neptune resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Tags
Required: Yes
Type: Array of Tag structures

The tags to be assigned to the Amazon Neptune resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DBSnapshotNotFoundFault:

DBSnapshotIdentifier does not refer to an existing DB snapshot.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

ApplyPendingMaintenanceAction

$result = $client->applyPendingMaintenanceAction([/* ... */]);
$promise = $client->applyPendingMaintenanceActionAsync([/* ... */]);

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

Parameter Syntax

$result = $client->applyPendingMaintenanceAction([
    'ApplyAction' => '<string>', // REQUIRED
    'OptInType' => '<string>', // REQUIRED
    'ResourceIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
ApplyAction
Required: Yes
Type: string

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade

OptInType
Required: Yes
Type: string

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type immediate can't be undone.

Valid values:

  • immediate - Apply the maintenance action immediately.

  • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

  • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

ResourceIdentifier
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Result Syntax

[
    'ResourcePendingMaintenanceActions' => [
        'PendingMaintenanceActionDetails' => [
            [
                'Action' => '<string>',
                'AutoAppliedAfterDate' => <DateTime>,
                'CurrentApplyDate' => <DateTime>,
                'Description' => '<string>',
                'ForcedApplyDate' => <DateTime>,
                'OptInStatus' => '<string>',
            ],
            // ...
        ],
        'ResourceIdentifier' => '<string>',
    ],
]

Result Details

Members
ResourcePendingMaintenanceActions

Describes the pending maintenance actions for a resource.

Errors

ResourceNotFoundFault:

The specified resource ID was not found.

CopyDBClusterParameterGroup

$result = $client->copyDBClusterParameterGroup([/* ... */]);
$promise = $client->copyDBClusterParameterGroupAsync([/* ... */]);

Copies the specified DB cluster parameter group.

Parameter Syntax

$result = $client->copyDBClusterParameterGroup([
    'SourceDBClusterParameterGroupIdentifier' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'TargetDBClusterParameterGroupDescription' => '<string>', // REQUIRED
    'TargetDBClusterParameterGroupIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceDBClusterParameterGroupIdentifier
Required: Yes
Type: string

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid DB cluster parameter group.

  • If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB parameter group identifier, for example my-db-cluster-param-group, or a valid ARN.

  • If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.

Tags
Type: Array of Tag structures

The tags to be assigned to the copied DB cluster parameter group.

TargetDBClusterParameterGroupDescription
Required: Yes
Type: string

A description for the copied DB cluster parameter group.

TargetDBClusterParameterGroupIdentifier
Required: Yes
Type: string

The identifier for the copied DB cluster parameter group.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-cluster-param-group1

Result Syntax

[
    'DBClusterParameterGroup' => [
        'DBClusterParameterGroupArn' => '<string>',
        'DBClusterParameterGroupName' => '<string>',
        'DBParameterGroupFamily' => '<string>',
        'Description' => '<string>',
    ],
]

Result Details

Members
DBClusterParameterGroup
Type: DBClusterParameterGroup structure

Contains the details of an Amazon Neptune DB cluster parameter group.

This data type is used as a response element in the DescribeDBClusterParameterGroups action.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DBParameterGroupQuotaExceededFault:

Request would result in user exceeding the allowed number of DB parameter groups.

DBParameterGroupAlreadyExistsFault:

A DB parameter group with the same name exists.

CopyDBClusterSnapshot

$result = $client->copyDBClusterSnapshot([/* ... */]);
$promise = $client->copyDBClusterSnapshotAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->copyDBClusterSnapshot([
    'CopyTags' => true || false,
    'KmsKeyId' => '<string>',
    'PreSignedUrl' => '<string>',
    'SourceDBClusterSnapshotIdentifier' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'TargetDBClusterSnapshotIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
CopyTags
Type: boolean

True to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot, and otherwise false. The default is false.

KmsKeyId
Type: string

The Amazon Amazon KMS key ID for an encrypted DB cluster snapshot. The KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS encryption key.

If you copy an encrypted DB cluster snapshot from your Amazon account, you can specify a value for KmsKeyId to encrypt the copy with a new KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same KMS key as the source DB cluster snapshot.

If you copy an encrypted DB cluster snapshot that is shared from another Amazon account, then you must specify a value for KmsKeyId.

KMS encryption keys are specific to the Amazon Region that they are created in, and you can't use encryption keys from one Amazon Region in another Amazon Region.

You cannot encrypt an unencrypted DB cluster snapshot when you copy it. If you try to copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned.

PreSignedUrl
Type: string

Not currently supported.

SourceDBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

Constraints:

  • Must specify a valid system snapshot in the "available" state.

  • Specify a valid DB snapshot identifier.

Example: my-cluster-snapshot1

Tags
Type: Array of Tag structures

The tags to assign to the new DB cluster snapshot copy.

TargetDBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster-snapshot2

Result Syntax

[
    'DBClusterSnapshot' => [
        'AllocatedStorage' => <integer>,
        'AvailabilityZones' => ['<string>', ...],
        'ClusterCreateTime' => <DateTime>,
        'DBClusterIdentifier' => '<string>',
        'DBClusterSnapshotArn' => '<string>',
        'DBClusterSnapshotIdentifier' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'KmsKeyId' => '<string>',
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'PercentProgress' => <integer>,
        'Port' => <integer>,
        'SnapshotCreateTime' => <DateTime>,
        'SnapshotType' => '<string>',
        'SourceDBClusterSnapshotArn' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcId' => '<string>',
    ],
]

Result Details

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

Errors

DBClusterSnapshotAlreadyExistsFault:

User already has a DB cluster snapshot with the given identifier.

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

SnapshotQuotaExceededFault:

Request would result in user exceeding the allowed number of DB snapshots.

KMSKeyNotAccessibleFault:

Error accessing KMS key.

CopyDBParameterGroup

$result = $client->copyDBParameterGroup([/* ... */]);
$promise = $client->copyDBParameterGroupAsync([/* ... */]);

Copies the specified DB parameter group.

Parameter Syntax

$result = $client->copyDBParameterGroup([
    'SourceDBParameterGroupIdentifier' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'TargetDBParameterGroupDescription' => '<string>', // REQUIRED
    'TargetDBParameterGroupIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceDBParameterGroupIdentifier
Required: Yes
Type: string

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid DB parameter group.

  • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

Tags
Type: Array of Tag structures

The tags to be assigned to the copied DB parameter group.

TargetDBParameterGroupDescription
Required: Yes
Type: string

A description for the copied DB parameter group.

TargetDBParameterGroupIdentifier
Required: Yes
Type: string

The identifier for the copied DB parameter group.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-db-parameter-group

Result Syntax

[
    'DBParameterGroup' => [
        'DBParameterGroupArn' => '<string>',
        'DBParameterGroupFamily' => '<string>',
        'DBParameterGroupName' => '<string>',
        'Description' => '<string>',
    ],
]

Result Details

Members
DBParameterGroup
Type: DBParameterGroup structure

Contains the details of an Amazon Neptune DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DBParameterGroupAlreadyExistsFault:

A DB parameter group with the same name exists.

DBParameterGroupQuotaExceededFault:

Request would result in user exceeding the allowed number of DB parameter groups.

CreateDBCluster

$result = $client->createDBCluster([/* ... */]);
$promise = $client->createDBClusterAsync([/* ... */]);

Creates a new Amazon Neptune DB cluster.

You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon Neptune DB instance.

Note that when you create a new cluster using CreateDBCluster directly, deletion protection is disabled by default (when you create a new production cluster in the console, deletion protection is enabled by default). You can only delete a DB cluster if its DeletionProtection field is set to false.

Parameter Syntax

$result = $client->createDBCluster([
    'AvailabilityZones' => ['<string>', ...],
    'BackupRetentionPeriod' => <integer>,
    'CharacterSetName' => '<string>',
    'CopyTagsToSnapshot' => true || false,
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBClusterParameterGroupName' => '<string>',
    'DBSubnetGroupName' => '<string>',
    'DatabaseName' => '<string>',
    'DeletionProtection' => true || false,
    'EnableCloudwatchLogsExports' => ['<string>', ...],
    'EnableIAMDatabaseAuthentication' => true || false,
    'Engine' => '<string>', // REQUIRED
    'EngineVersion' => '<string>',
    'GlobalClusterIdentifier' => '<string>',
    'KmsKeyId' => '<string>',
    'MasterUserPassword' => '<string>',
    'MasterUsername' => '<string>',
    'OptionGroupName' => '<string>',
    'Port' => <integer>,
    'PreSignedUrl' => '<string>',
    'PreferredBackupWindow' => '<string>',
    'PreferredMaintenanceWindow' => '<string>',
    'ReplicationSourceIdentifier' => '<string>',
    'ServerlessV2ScalingConfiguration' => [
        'MaxCapacity' => <float>,
        'MinCapacity' => <float>,
    ],
    'StorageEncrypted' => true || false,
    'StorageType' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
AvailabilityZones
Type: Array of strings

A list of EC2 Availability Zones that instances in the DB cluster can be created in.

BackupRetentionPeriod
Type: int

The number of days for which automated backups are retained. You must specify a minimum value of 1.

Default: 1

Constraints:

  • Must be a value from 1 to 35

CharacterSetName
Type: string

(Not supported by Neptune)

CopyTagsToSnapshot
Type: boolean

If set to true, tags are copied to any snapshot of the DB cluster that is created.

DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1

DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

DBSubnetGroupName
Type: string

A DB subnet group to associate with this DB cluster.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

DatabaseName
Type: string

The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.

DeletionProtection
Type: boolean

A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.

EnableCloudwatchLogsExports
Type: Array of strings

A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are: audit (to publish audit logs) and slowquery (to publish slow-query logs). See Publishing Neptune logs to Amazon CloudWatch logs.

EnableIAMDatabaseAuthentication
Type: boolean

If set to true, enables Amazon Identity and Access Management (IAM) authentication for the entire DB cluster (this cannot be set at an instance level).

Default: false.

Engine
Required: Yes
Type: string

The name of the database engine to be used for this DB cluster.

Valid Values: neptune

EngineVersion
Type: string

The version number of the database engine to use for the new DB cluster.

Example: 1.0.2.1

GlobalClusterIdentifier
Type: string

The ID of the Neptune global database to which this new DB cluster should be added.

KmsKeyId
Type: string

The Amazon KMS key identifier for an encrypted DB cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

If an encryption key is not specified in KmsKeyId:

  • If ReplicationSourceIdentifier identifies an encrypted source, then Amazon Neptune will use the encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption key.

  • If the StorageEncrypted parameter is true and ReplicationSourceIdentifier is not specified, then Amazon Neptune will use your default encryption key.

Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.

If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set KmsKeyId to a KMS key ID that is valid in the destination Amazon Region. This key is used to encrypt the Read Replica in that Amazon Region.

MasterUserPassword
Type: string

Not supported by Neptune.

MasterUsername
Type: string

Not supported by Neptune.

OptionGroupName
Type: string

(Not supported by Neptune)

Port
Type: int

The port number on which the instances in the DB cluster accept connections.

Default: 8182

PreSignedUrl
Type: string

This parameter is not currently supported.

PreferredBackupWindow
Type: string

The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Must be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

PreferredMaintenanceWindow
Type: string

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

ReplicationSourceIdentifier
Type: string

The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.

ServerlessV2ScalingConfiguration

Contains the scaling configuration of a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

StorageEncrypted
Type: boolean

Specifies whether the DB cluster is encrypted.

StorageType
Type: string

The storage type to associate with the DB cluster.

Valid Values:

  • standard | iopt1

Default:

  • standard

When you create a Neptune cluster with the storage type set to iopt1, the storage type is returned in the response. The storage type isn't returned when you set it to standard.

Tags
Type: Array of Tag structures

The tags to assign to the new DB cluster.

VpcSecurityGroupIds
Type: Array of strings

A list of EC2 VPC security groups to associate with this DB cluster.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterAlreadyExistsFault:

User already has a DB cluster with the given identifier.

InsufficientStorageClusterCapacityFault:

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.

DBClusterQuotaExceededFault:

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

StorageQuotaExceededFault:

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

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

InvalidVPCNetworkStateFault:

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

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBSubnetGroupStateFault:

The DB subnet group cannot be deleted because it is in use.

InvalidSubnet:

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

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

DBClusterParameterGroupNotFoundFault:

DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

KMSKeyNotAccessibleFault:

Error accessing KMS key.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DBSubnetGroupDoesNotCoverEnoughAZs:

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

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

InvalidGlobalClusterStateFault:

The global cluster is in an invalid state and can't perform the requested operation.

CreateDBClusterEndpoint

$result = $client->createDBClusterEndpoint([/* ... */]);
$promise = $client->createDBClusterEndpointAsync([/* ... */]);

Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.

Parameter Syntax

$result = $client->createDBClusterEndpoint([
    'DBClusterEndpointIdentifier' => '<string>', // REQUIRED
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'EndpointType' => '<string>', // REQUIRED
    'ExcludedMembers' => ['<string>', ...],
    'StaticMembers' => ['<string>', ...],
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBClusterEndpointIdentifier
Required: Yes
Type: string

The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

EndpointType
Required: Yes
Type: string

The type of the endpoint. One of: READER, WRITER, ANY.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Tags
Type: Array of Tag structures

The tags to be assigned to the Amazon Neptune resource.

Result Syntax

[
    'CustomEndpointType' => '<string>',
    'DBClusterEndpointArn' => '<string>',
    'DBClusterEndpointIdentifier' => '<string>',
    'DBClusterEndpointResourceIdentifier' => '<string>',
    'DBClusterIdentifier' => '<string>',
    'Endpoint' => '<string>',
    'EndpointType' => '<string>',
    'ExcludedMembers' => ['<string>', ...],
    'StaticMembers' => ['<string>', ...],
    'Status' => '<string>',
]

Result Details

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

Errors

DBClusterEndpointQuotaExceededFault:

The cluster already has the maximum number of custom endpoints.

DBClusterEndpointAlreadyExistsFault:

The specified custom endpoint cannot be created because it already exists.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

CreateDBClusterParameterGroup

$result = $client->createDBClusterParameterGroup([/* ... */]);
$promise = $client->createDBClusterParameterGroupAsync([/* ... */]);

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 or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

Parameter Syntax

$result = $client->createDBClusterParameterGroup([
    'DBClusterParameterGroupName' => '<string>', // REQUIRED
    'DBParameterGroupFamily' => '<string>', // REQUIRED
    'Description' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBClusterParameterGroupName
Required: Yes
Type: string

The name of the DB cluster parameter group.

Constraints:

  • Must match the name of an existing DBClusterParameterGroup.

This value is stored as a lowercase string.

DBParameterGroupFamily
Required: Yes
Type: string

The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.

Description
Required: Yes
Type: string

The description for the DB cluster parameter group.

Tags
Type: Array of Tag structures

The tags to be assigned to the new DB cluster parameter group.

Result Syntax

[
    'DBClusterParameterGroup' => [
        'DBClusterParameterGroupArn' => '<string>',
        'DBClusterParameterGroupName' => '<string>',
        'DBParameterGroupFamily' => '<string>',
        'Description' => '<string>',
    ],
]

Result Details

Members
DBClusterParameterGroup
Type: DBClusterParameterGroup structure

Contains the details of an Amazon Neptune DB cluster parameter group.

This data type is used as a response element in the DescribeDBClusterParameterGroups action.

Errors

DBParameterGroupQuotaExceededFault:

Request would result in user exceeding the allowed number of DB parameter groups.

DBParameterGroupAlreadyExistsFault:

A DB parameter group with the same name exists.

CreateDBClusterSnapshot

$result = $client->createDBClusterSnapshot([/* ... */]);
$promise = $client->createDBClusterSnapshotAsync([/* ... */]);

Creates a snapshot of a DB cluster.

Parameter Syntax

$result = $client->createDBClusterSnapshot([
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBClusterSnapshotIdentifier' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

Example: my-cluster1

DBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1-snapshot1

Tags
Type: Array of Tag structures

The tags to be assigned to the DB cluster snapshot.

Result Syntax

[
    'DBClusterSnapshot' => [
        'AllocatedStorage' => <integer>,
        'AvailabilityZones' => ['<string>', ...],
        'ClusterCreateTime' => <DateTime>,
        'DBClusterIdentifier' => '<string>',
        'DBClusterSnapshotArn' => '<string>',
        'DBClusterSnapshotIdentifier' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'KmsKeyId' => '<string>',
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'PercentProgress' => <integer>,
        'Port' => <integer>,
        'SnapshotCreateTime' => <DateTime>,
        'SnapshotType' => '<string>',
        'SourceDBClusterSnapshotArn' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcId' => '<string>',
    ],
]

Result Details

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

Errors

DBClusterSnapshotAlreadyExistsFault:

User already has a DB cluster snapshot with the given identifier.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

SnapshotQuotaExceededFault:

Request would result in user exceeding the allowed number of DB snapshots.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

CreateDBInstance

$result = $client->createDBInstance([/* ... */]);
$promise = $client->createDBInstanceAsync([/* ... */]);

Creates a new DB instance.

Parameter Syntax

$result = $client->createDBInstance([
    'AllocatedStorage' => <integer>,
    'AutoMinorVersionUpgrade' => true || false,
    'AvailabilityZone' => '<string>',
    'BackupRetentionPeriod' => <integer>,
    'CharacterSetName' => '<string>',
    'CopyTagsToSnapshot' => true || false,
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBInstanceClass' => '<string>', // REQUIRED
    'DBInstanceIdentifier' => '<string>', // REQUIRED
    'DBName' => '<string>',
    'DBParameterGroupName' => '<string>',
    'DBSecurityGroups' => ['<string>', ...],
    'DBSubnetGroupName' => '<string>',
    'DeletionProtection' => true || false,
    'Domain' => '<string>',
    'DomainIAMRoleName' => '<string>',
    'EnableCloudwatchLogsExports' => ['<string>', ...],
    'EnableIAMDatabaseAuthentication' => true || false,
    'EnablePerformanceInsights' => true || false,
    'Engine' => '<string>', // REQUIRED
    'EngineVersion' => '<string>',
    'Iops' => <integer>,
    'KmsKeyId' => '<string>',
    'LicenseModel' => '<string>',
    'MasterUserPassword' => '<string>',
    'MasterUsername' => '<string>',
    'MonitoringInterval' => <integer>,
    'MonitoringRoleArn' => '<string>',
    'MultiAZ' => true || false,
    'OptionGroupName' => '<string>',
    'PerformanceInsightsKMSKeyId' => '<string>',
    'Port' => <integer>,
    'PreferredBackupWindow' => '<string>',
    'PreferredMaintenanceWindow' => '<string>',
    'PromotionTier' => <integer>,
    'PubliclyAccessible' => true || false,
    'StorageEncrypted' => true || false,
    'StorageType' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'TdeCredentialArn' => '<string>',
    'TdeCredentialPassword' => '<string>',
    'Timezone' => '<string>',
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
AllocatedStorage
Type: int

Not supported by Neptune.

AutoMinorVersionUpgrade
Type: boolean

Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

Default: true

AvailabilityZone
Type: string

The EC2 Availability Zone that the DB instance is created in

Default: A random, system-chosen Availability Zone in the endpoint's Amazon Region.

Example: us-east-1d

Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same Amazon Region as the current endpoint.

BackupRetentionPeriod
Type: int

The number of days for which automated backups are retained.

Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see CreateDBCluster.

Default: 1

Constraints:

  • Must be a value from 0 to 35

  • Cannot be set to 0 if the DB instance is a source to Read Replicas

CharacterSetName
Type: string

(Not supported by Neptune)

CopyTagsToSnapshot
Type: boolean

True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.

DBClusterIdentifier
Required: Yes
Type: string

The identifier of the DB cluster that the instance will belong to.

For information on creating a DB cluster, see CreateDBCluster.

Type: String

DBInstanceClass
Required: Yes
Type: string

The compute and memory capacity of the DB instance, for example, db.m4.large. Not all DB instance classes are available in all Amazon Regions.

DBInstanceIdentifier
Required: Yes
Type: string

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: mydbinstance

DBName
Type: string

Not supported.

DBParameterGroupName
Type: string

The name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine is used.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

DBSecurityGroups
Type: Array of strings

A list of DB security groups to associate with this DB instance.

Default: The default DB security group for the database engine.

DBSubnetGroupName
Type: string

A DB subnet group to associate with this DB instance.

If there is no DB subnet group, then it is a non-VPC DB instance.

DeletionProtection
Type: boolean

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See Deleting a DB Instance.

DB instances in a DB cluster can be deleted even when deletion protection is enabled in their parent DB cluster.

Domain
Type: string

Specify the Active Directory Domain to create the instance in.

DomainIAMRoleName
Type: string

Specify the name of the IAM role to be used when making API calls to the Directory Service.

EnableCloudwatchLogsExports
Type: Array of strings

The list of log types that need to be enabled for exporting to CloudWatch Logs.

EnableIAMDatabaseAuthentication
Type: boolean

Not supported by Neptune (ignored).

EnablePerformanceInsights
Type: boolean

(Not supported by Neptune)

Engine
Required: Yes
Type: string

The name of the database engine to be used for this instance.

Valid Values: neptune

EngineVersion
Type: string

The version number of the database engine to use. Currently, setting this parameter has no effect.

Iops
Type: int

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

KmsKeyId
Type: string

The Amazon KMS key identifier for an encrypted DB instance.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same Amazon account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key.

Not applicable. The KMS key identifier is managed by the DB cluster. For more information, see CreateDBCluster.

If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, then Amazon Neptune will use your default encryption key. Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.

LicenseModel
Type: string

License model information for this DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

MasterUserPassword
Type: string

Not supported by Neptune.

MasterUsername
Type: string

Not supported by Neptune.

MonitoringInterval
Type: int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.

If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

MonitoringRoleArn
Type: string

The ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

MultiAZ
Type: boolean

Specifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

OptionGroupName
Type: string

(Not supported by Neptune)

PerformanceInsightsKMSKeyId
Type: string

(Not supported by Neptune)

Port
Type: int

The port number on which the database accepts connections.

Not applicable. The port is managed by the DB cluster. For more information, see CreateDBCluster.

Default: 8182

Type: Integer

PreferredBackupWindow
Type: string

The daily time range during which automated backups are created.

Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see CreateDBCluster.

PreferredMaintenanceWindow
Type: string

The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

PromotionTier
Type: int

A value that specifies the order in which an Read Replica is promoted to the primary instance after a failure of the existing primary instance.

Default: 1

Valid Values: 0 - 15

PubliclyAccessible
Type: boolean

This flag should no longer be used.

StorageEncrypted
Type: boolean

Specifies whether the DB instance is encrypted.

Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see CreateDBCluster.

Default: false

StorageType
Type: string

Specifies the storage type to be associated with the DB instance.

Not applicable. Storage is managed by the DB Cluster.

Tags
Type: Array of Tag structures

The tags to assign to the new instance.

TdeCredentialArn
Type: string

The ARN from the key store with which to associate the instance for TDE encryption.

TdeCredentialPassword
Type: string

The password for the given ARN from the key store in order to access the device.

Timezone
Type: string

The time zone of the DB instance.

VpcSecurityGroupIds
Type: Array of strings

A list of EC2 VPC security groups to associate with this DB instance.

Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see CreateDBCluster.

Default: The default EC2 VPC security group for the DB subnet group's VPC.

Result Syntax

[
    'DBInstance' => [
        'AllocatedStorage' => <integer>,
        'AutoMinorVersionUpgrade' => true || false,
        'AvailabilityZone' => '<string>',
        'BackupRetentionPeriod' => <integer>,
        'CACertificateIdentifier' => '<string>',
        'CharacterSetName' => '<string>',
        'CopyTagsToSnapshot' => true || false,
        'DBClusterIdentifier' => '<string>',
        'DBInstanceArn' => '<string>',
        'DBInstanceClass' => '<string>',
        'DBInstanceIdentifier' => '<string>',
        'DBInstanceStatus' => '<string>',
        'DBName' => '<string>',
        'DBParameterGroups' => [
            [
                'DBParameterGroupName' => '<string>',
                'ParameterApplyStatus' => '<string>',
            ],
            // ...
        ],
        'DBSecurityGroups' => [
            [
                'DBSecurityGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBSubnetGroup' => [
            'DBSubnetGroupArn' => '<string>',
            'DBSubnetGroupDescription' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'SubnetGroupStatus' => '<string>',
            'Subnets' => [
                [
                    'SubnetAvailabilityZone' => [
                        'Name' => '<string>',
                    ],
                    'SubnetIdentifier' => '<string>',
                    'SubnetStatus' => '<string>',
                ],
                // ...
            ],
            'VpcId' => '<string>',
        ],
        'DbInstancePort' => <integer>,
        'DbiResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'DomainMemberships' => [
            [
                'Domain' => '<string>',
                'FQDN' => '<string>',
                'IAMRoleName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => [
            'Address' => '<string>',
            'HostedZoneId' => '<string>',
            'Port' => <integer>,
        ],
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'EnhancedMonitoringResourceArn' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'InstanceCreateTime' => <DateTime>,
        'Iops' => <integer>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'MonitoringInterval' => <integer>,
        'MonitoringRoleArn' => '<string>',
        'MultiAZ' => true || false,
        'OptionGroupMemberships' => [
            [
                'OptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'CACertificateIdentifier' => '<string>',
            'DBInstanceClass' => '<string>',
            'DBInstanceIdentifier' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'EngineVersion' => '<string>',
            'Iops' => <integer>,
            'LicenseModel' => '<string>',
            'MasterUserPassword' => '<string>',
            'MultiAZ' => true || false,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'Port' => <integer>,
            'StorageType' => '<string>',
        ],
        'PerformanceInsightsEnabled' => true || false,
        'PerformanceInsightsKMSKeyId' => '<string>',
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'PromotionTier' => <integer>,
        'PubliclyAccessible' => true || false,
        'ReadReplicaDBClusterIdentifiers' => ['<string>', ...],
        'ReadReplicaDBInstanceIdentifiers' => ['<string>', ...],
        'ReadReplicaSourceDBInstanceIdentifier' => '<string>',
        'SecondaryAvailabilityZone' => '<string>',
        'StatusInfos' => [
            [
                'Message' => '<string>',
                'Normal' => true || false,
                'Status' => '<string>',
                'StatusType' => '<string>',
            ],
            // ...
        ],
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'TdeCredentialArn' => '<string>',
        'Timezone' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

Errors

DBInstanceAlreadyExistsFault:

User already has a DB instance with the given identifier.

InsufficientDBInstanceCapacityFault:

Specified DB instance class is not available in the specified Availability Zone.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DBSecurityGroupNotFoundFault:

DBSecurityGroupName does not refer to an existing DB security group.

InstanceQuotaExceededFault:

Request would result in user exceeding the allowed number of DB instances.

StorageQuotaExceededFault:

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

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

DBSubnetGroupDoesNotCoverEnoughAZs:

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

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidSubnet:

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

InvalidVPCNetworkStateFault:

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

ProvisionedIopsNotAvailableInAZFault:

Provisioned IOPS not available in the specified Availability Zone.

OptionGroupNotFoundFault:

The designated option group could not be found.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

StorageTypeNotSupportedFault:

StorageType specified cannot be associated with the DB Instance.

AuthorizationNotFoundFault:

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.

KMSKeyNotAccessibleFault:

Error accessing KMS key.

DomainNotFoundFault:

Domain does not refer to an existing Active Directory Domain.

CreateDBParameterGroup

$result = $client->createDBParameterGroup([/* ... */]);
$promise = $client->createDBParameterGroupAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createDBParameterGroup([
    'DBParameterGroupFamily' => '<string>', // REQUIRED
    'DBParameterGroupName' => '<string>', // REQUIRED
    'Description' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBParameterGroupFamily
Required: Yes
Type: string

The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.

DBParameterGroupName
Required: Yes
Type: string

The name of the DB parameter group.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

This value is stored as a lowercase string.

Description
Required: Yes
Type: string

The description for the DB parameter group.

Tags
Type: Array of Tag structures

The tags to be assigned to the new DB parameter group.

Result Syntax

[
    'DBParameterGroup' => [
        'DBParameterGroupArn' => '<string>',
        'DBParameterGroupFamily' => '<string>',
        'DBParameterGroupName' => '<string>',
        'Description' => '<string>',
    ],
]

Result Details

Members
DBParameterGroup
Type: DBParameterGroup structure

Contains the details of an Amazon Neptune DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

Errors

DBParameterGroupQuotaExceededFault:

Request would result in user exceeding the allowed number of DB parameter groups.

DBParameterGroupAlreadyExistsFault:

A DB parameter group with the same name exists.

CreateDBSubnetGroup

$result = $client->createDBSubnetGroup([/* ... */]);
$promise = $client->createDBSubnetGroupAsync([/* ... */]);

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

Parameter Syntax

$result = $client->createDBSubnetGroup([
    'DBSubnetGroupDescription' => '<string>', // REQUIRED
    'DBSubnetGroupName' => '<string>', // REQUIRED
    'SubnetIds' => ['<string>', ...], // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBSubnetGroupDescription
Required: Yes
Type: string

The description for the DB subnet group.

DBSubnetGroupName
Required: Yes
Type: string

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

SubnetIds
Required: Yes
Type: Array of strings

The EC2 Subnet IDs for the DB subnet group.

Tags
Type: Array of Tag structures

The tags to be assigned to the new DB subnet group.

Result Syntax

[
    'DBSubnetGroup' => [
        'DBSubnetGroupArn' => '<string>',
        'DBSubnetGroupDescription' => '<string>',
        'DBSubnetGroupName' => '<string>',
        'SubnetGroupStatus' => '<string>',
        'Subnets' => [
            [
                'SubnetAvailabilityZone' => [
                    'Name' => '<string>',
                ],
                'SubnetIdentifier' => '<string>',
                'SubnetStatus' => '<string>',
            ],
            // ...
        ],
        'VpcId' => '<string>',
    ],
]

Result Details

Members
DBSubnetGroup
Type: DBSubnetGroup structure

Contains the details of an Amazon Neptune DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

Errors

DBSubnetGroupAlreadyExistsFault:

DBSubnetGroupName is already used by an existing DB subnet group.

DBSubnetGroupQuotaExceededFault:

Request would result in user exceeding the allowed number of DB subnet groups.

DBSubnetQuotaExceededFault:

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

DBSubnetGroupDoesNotCoverEnoughAZs:

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

InvalidSubnet:

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

CreateEventSubscription

$result = $client->createEventSubscription([/* ... */]);
$promise = $client->createEventSubscriptionAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createEventSubscription([
    'Enabled' => true || false,
    'EventCategories' => ['<string>', ...],
    'SnsTopicArn' => '<string>', // REQUIRED
    'SourceIds' => ['<string>', ...],
    'SourceType' => '<string>',
    'SubscriptionName' => '<string>', // REQUIRED
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
Enabled
Type: boolean

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

EventCategories
Type: Array of strings

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

SnsTopicArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

SourceIds
Type: Array of strings

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

SourceType
Type: string

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

SubscriptionName
Required: Yes
Type: string

The name of the subscription.

Constraints: The name must be less than 255 characters.

Tags
Type: Array of Tag structures

The tags to be applied to the new event subscription.

Result Syntax

[
    'EventSubscription' => [
        'CustSubscriptionId' => '<string>',
        'CustomerAwsId' => '<string>',
        'Enabled' => true || false,
        'EventCategoriesList' => ['<string>', ...],
        'EventSubscriptionArn' => '<string>',
        'SnsTopicArn' => '<string>',
        'SourceIdsList' => ['<string>', ...],
        'SourceType' => '<string>',
        'Status' => '<string>',
        'SubscriptionCreationTime' => '<string>',
    ],
]

Result Details

Members
EventSubscription
Type: EventSubscription structure

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Errors

EventSubscriptionQuotaExceededFault:

You have exceeded the number of events you can subscribe to.

SubscriptionAlreadyExistFault:

This subscription already exists.

SNSInvalidTopicFault:

The SNS topic is invalid.

SNSNoAuthorizationFault:

There is no SNS authorization.

SNSTopicArnNotFoundFault:

The ARN of the SNS topic could not be found.

SubscriptionCategoryNotFoundFault:

The designated subscription category could not be found.

SourceNotFoundFault:

The source could not be found.

CreateGlobalCluster

$result = $client->createGlobalCluster([/* ... */]);
$promise = $client->createGlobalClusterAsync([/* ... */]);

Creates a Neptune global database spread across multiple Amazon Regions. The global database contains a single primary cluster with read-write capability, and read-only secondary clusters that receive data from the primary cluster through high-speed replication performed by the Neptune storage subsystem.

You can create a global database that is initially empty, and then add a primary cluster and secondary clusters to it, or you can specify an existing Neptune cluster during the create operation to become the primary cluster of the global database.

Parameter Syntax

$result = $client->createGlobalCluster([
    'DeletionProtection' => true || false,
    'Engine' => '<string>',
    'EngineVersion' => '<string>',
    'GlobalClusterIdentifier' => '<string>', // REQUIRED
    'SourceDBClusterIdentifier' => '<string>',
    'StorageEncrypted' => true || false,
]);

Parameter Details

Members
DeletionProtection
Type: boolean

The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.

Engine
Type: string

The name of the database engine to be used in the global database.

Valid values: neptune

EngineVersion
Type: string

The Neptune engine version to be used by the global database.

Valid values: 1.2.0.0 or above.

GlobalClusterIdentifier
Required: Yes
Type: string

The cluster identifier of the new global database cluster.

SourceDBClusterIdentifier
Type: string

(Optional) The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.

StorageEncrypted
Type: boolean

The storage encryption setting for the new global database cluster.

Result Syntax

[
    'GlobalCluster' => [
        'DeletionProtection' => true || false,
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterArn' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'GlobalClusterMembers' => [
            [
                'DBClusterArn' => '<string>',
                'IsWriter' => true || false,
                'Readers' => ['<string>', ...],
            ],
            // ...
        ],
        'GlobalClusterResourceId' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
    ],
]

Result Details

Members
GlobalCluster
Type: GlobalCluster structure

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Errors

GlobalClusterAlreadyExistsFault:

The GlobalClusterIdentifier already exists. Choose a new global database identifier (unique name) to create a new global database cluster.

GlobalClusterQuotaExceededFault:

The number of global database clusters for this account is already at the maximum allowed.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DeleteDBCluster

$result = $client->deleteDBCluster([/* ... */]);
$promise = $client->deleteDBClusterAsync([/* ... */]);

The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.

Note that the DB Cluster cannot be deleted if deletion protection is enabled. To delete it, you must first set its DeletionProtection field to False.

Parameter Syntax

$result = $client->deleteDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'FinalDBSnapshotIdentifier' => '<string>',
    'SkipFinalSnapshot' => true || false,
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing DBClusterIdentifier.

FinalDBSnapshotIdentifier
Type: string

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

SkipFinalSnapshot
Type: boolean

Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted.

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

Default: false

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBClusterSnapshotAlreadyExistsFault:

User already has a DB cluster snapshot with the given identifier.

SnapshotQuotaExceededFault:

Request would result in user exceeding the allowed number of DB snapshots.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

DeleteDBClusterEndpoint

$result = $client->deleteDBClusterEndpoint([/* ... */]);
$promise = $client->deleteDBClusterEndpointAsync([/* ... */]);

Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.

Parameter Syntax

$result = $client->deleteDBClusterEndpoint([
    'DBClusterEndpointIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterEndpointIdentifier
Required: Yes
Type: string

The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

Result Syntax

[
    'CustomEndpointType' => '<string>',
    'DBClusterEndpointArn' => '<string>',
    'DBClusterEndpointIdentifier' => '<string>',
    'DBClusterEndpointResourceIdentifier' => '<string>',
    'DBClusterIdentifier' => '<string>',
    'Endpoint' => '<string>',
    'EndpointType' => '<string>',
    'ExcludedMembers' => ['<string>', ...],
    'StaticMembers' => ['<string>', ...],
    'Status' => '<string>',
]

Result Details

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

Errors

InvalidDBClusterEndpointStateFault:

The requested operation cannot be performed on the endpoint while the endpoint is in this state.

DBClusterEndpointNotFoundFault:

The specified custom endpoint doesn't exist.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DeleteDBClusterParameterGroup

$result = $client->deleteDBClusterParameterGroup([/* ... */]);
$promise = $client->deleteDBClusterParameterGroupAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteDBClusterParameterGroup([
    'DBClusterParameterGroupName' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterParameterGroupName
Required: Yes
Type: string

The name of the DB cluster parameter group.

Constraints:

  • Must be the name of an existing DB cluster parameter group.

  • You can't delete a default DB cluster parameter group.

  • Cannot be associated with any DB clusters.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidDBParameterGroupStateFault:

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.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DeleteDBClusterSnapshot

$result = $client->deleteDBClusterSnapshot([/* ... */]);
$promise = $client->deleteDBClusterSnapshotAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteDBClusterSnapshot([
    'DBClusterSnapshotIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier of the DB cluster snapshot to delete.

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

Result Syntax

[
    'DBClusterSnapshot' => [
        'AllocatedStorage' => <integer>,
        'AvailabilityZones' => ['<string>', ...],
        'ClusterCreateTime' => <DateTime>,
        'DBClusterIdentifier' => '<string>',
        'DBClusterSnapshotArn' => '<string>',
        'DBClusterSnapshotIdentifier' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'KmsKeyId' => '<string>',
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'PercentProgress' => <integer>,
        'Port' => <integer>,
        'SnapshotCreateTime' => <DateTime>,
        'SnapshotType' => '<string>',
        'SourceDBClusterSnapshotArn' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcId' => '<string>',
    ],
]

Result Details

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

Errors

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

DeleteDBInstance

$result = $client->deleteDBInstance([/* ... */]);
$promise = $client->deleteDBInstanceAsync([/* ... */]);

The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted.

If you request a final DB snapshot the status of the Amazon Neptune DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action can't be canceled or reverted once submitted.

Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true.

You can't delete a DB instance if it is the only instance in the DB cluster, or if it has deletion protection enabled.

Parameter Syntax

$result = $client->deleteDBInstance([
    'DBInstanceIdentifier' => '<string>', // REQUIRED
    'FinalDBSnapshotIdentifier' => '<string>',
    'SkipFinalSnapshot' => true || false,
]);

Parameter Details

Members
DBInstanceIdentifier
Required: Yes
Type: string

The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match the name of an existing DB instance.

FinalDBSnapshotIdentifier
Type: string

The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters or numbers.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • Cannot be specified when deleting a Read Replica.

SkipFinalSnapshot
Type: boolean

Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted.

Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".

Specify true when deleting a Read Replica.

The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is false.

Default: false

Result Syntax

[
    'DBInstance' => [
        'AllocatedStorage' => <integer>,
        'AutoMinorVersionUpgrade' => true || false,
        'AvailabilityZone' => '<string>',
        'BackupRetentionPeriod' => <integer>,
        'CACertificateIdentifier' => '<string>',
        'CharacterSetName' => '<string>',
        'CopyTagsToSnapshot' => true || false,
        'DBClusterIdentifier' => '<string>',
        'DBInstanceArn' => '<string>',
        'DBInstanceClass' => '<string>',
        'DBInstanceIdentifier' => '<string>',
        'DBInstanceStatus' => '<string>',
        'DBName' => '<string>',
        'DBParameterGroups' => [
            [
                'DBParameterGroupName' => '<string>',
                'ParameterApplyStatus' => '<string>',
            ],
            // ...
        ],
        'DBSecurityGroups' => [
            [
                'DBSecurityGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBSubnetGroup' => [
            'DBSubnetGroupArn' => '<string>',
            'DBSubnetGroupDescription' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'SubnetGroupStatus' => '<string>',
            'Subnets' => [
                [
                    'SubnetAvailabilityZone' => [
                        'Name' => '<string>',
                    ],
                    'SubnetIdentifier' => '<string>',
                    'SubnetStatus' => '<string>',
                ],
                // ...
            ],
            'VpcId' => '<string>',
        ],
        'DbInstancePort' => <integer>,
        'DbiResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'DomainMemberships' => [
            [
                'Domain' => '<string>',
                'FQDN' => '<string>',
                'IAMRoleName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => [
            'Address' => '<string>',
            'HostedZoneId' => '<string>',
            'Port' => <integer>,
        ],
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'EnhancedMonitoringResourceArn' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'InstanceCreateTime' => <DateTime>,
        'Iops' => <integer>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'MonitoringInterval' => <integer>,
        'MonitoringRoleArn' => '<string>',
        'MultiAZ' => true || false,
        'OptionGroupMemberships' => [
            [
                'OptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'CACertificateIdentifier' => '<string>',
            'DBInstanceClass' => '<string>',
            'DBInstanceIdentifier' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'EngineVersion' => '<string>',
            'Iops' => <integer>,
            'LicenseModel' => '<string>',
            'MasterUserPassword' => '<string>',
            'MultiAZ' => true || false,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'Port' => <integer>,
            'StorageType' => '<string>',
        ],
        'PerformanceInsightsEnabled' => true || false,
        'PerformanceInsightsKMSKeyId' => '<string>',
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'PromotionTier' => <integer>,
        'PubliclyAccessible' => true || false,
        'ReadReplicaDBClusterIdentifiers' => ['<string>', ...],
        'ReadReplicaDBInstanceIdentifiers' => ['<string>', ...],
        'ReadReplicaSourceDBInstanceIdentifier' => '<string>',
        'SecondaryAvailabilityZone' => '<string>',
        'StatusInfos' => [
            [
                'Message' => '<string>',
                'Normal' => true || false,
                'Status' => '<string>',
                'StatusType' => '<string>',
            ],
            // ...
        ],
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'TdeCredentialArn' => '<string>',
        'Timezone' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

DBSnapshotAlreadyExistsFault:

DBSnapshotIdentifier is already used by an existing snapshot.

SnapshotQuotaExceededFault:

Request would result in user exceeding the allowed number of DB snapshots.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DeleteDBParameterGroup

$result = $client->deleteDBParameterGroup([/* ... */]);
$promise = $client->deleteDBParameterGroupAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteDBParameterGroup([
    'DBParameterGroupName' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBParameterGroupName
Required: Yes
Type: string

The name of the DB parameter group.

Constraints:

  • Must be the name of an existing DB parameter group

  • You can't delete a default DB parameter group

  • Cannot be associated with any DB instances

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidDBParameterGroupStateFault:

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.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DeleteDBSubnetGroup

$result = $client->deleteDBSubnetGroup([/* ... */]);
$promise = $client->deleteDBSubnetGroupAsync([/* ... */]);

Deletes a DB subnet group.

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

Parameter Syntax

$result = $client->deleteDBSubnetGroup([
    'DBSubnetGroupName' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBSubnetGroupName
Required: Yes
Type: string

The name of the database subnet group to delete.

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidDBSubnetGroupStateFault:

The DB subnet group cannot be deleted because it is in use.

InvalidDBSubnetStateFault:

The DB subnet is not in the available state.

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

DeleteEventSubscription

$result = $client->deleteEventSubscription([/* ... */]);
$promise = $client->deleteEventSubscriptionAsync([/* ... */]);

Deletes an event notification subscription.

Parameter Syntax

$result = $client->deleteEventSubscription([
    'SubscriptionName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SubscriptionName
Required: Yes
Type: string

The name of the event notification subscription you want to delete.

Result Syntax

[
    'EventSubscription' => [
        'CustSubscriptionId' => '<string>',
        'CustomerAwsId' => '<string>',
        'Enabled' => true || false,
        'EventCategoriesList' => ['<string>', ...],
        'EventSubscriptionArn' => '<string>',
        'SnsTopicArn' => '<string>',
        'SourceIdsList' => ['<string>', ...],
        'SourceType' => '<string>',
        'Status' => '<string>',
        'SubscriptionCreationTime' => '<string>',
    ],
]

Result Details

Members
EventSubscription
Type: EventSubscription structure

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Errors

SubscriptionNotFoundFault:

The designated subscription could not be found.

InvalidEventSubscriptionStateFault:

The event subscription is in an invalid state.

DeleteGlobalCluster

$result = $client->deleteGlobalCluster([/* ... */]);
$promise = $client->deleteGlobalClusterAsync([/* ... */]);

Deletes a global database. The primary and all secondary clusters must already be detached or deleted first.

Parameter Syntax

$result = $client->deleteGlobalCluster([
    'GlobalClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
GlobalClusterIdentifier
Required: Yes
Type: string

The cluster identifier of the global database cluster being deleted.

Result Syntax

[
    'GlobalCluster' => [
        'DeletionProtection' => true || false,
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterArn' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'GlobalClusterMembers' => [
            [
                'DBClusterArn' => '<string>',
                'IsWriter' => true || false,
                'Readers' => ['<string>', ...],
            ],
            // ...
        ],
        'GlobalClusterResourceId' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
    ],
]

Result Details

Members
GlobalCluster
Type: GlobalCluster structure

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Errors

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

InvalidGlobalClusterStateFault:

The global cluster is in an invalid state and can't perform the requested operation.

DescribeDBClusterEndpoints

$result = $client->describeDBClusterEndpoints([/* ... */]);
$promise = $client->describeDBClusterEndpointsAsync([/* ... */]);

Returns information about endpoints for an Amazon Neptune DB cluster.

This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.

Parameter Syntax

$result = $client->describeDBClusterEndpoints([
    'DBClusterEndpointIdentifier' => '<string>',
    'DBClusterIdentifier' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBClusterEndpointIdentifier
Type: string

The identifier of the endpoint to describe. This parameter is stored as a lowercase string.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Filters
Type: Array of Filter structures

A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBClusterEndpoints' => [
        [
            'CustomEndpointType' => '<string>',
            'DBClusterEndpointArn' => '<string>',
            'DBClusterEndpointIdentifier' => '<string>',
            'DBClusterEndpointResourceIdentifier' => '<string>',
            'DBClusterIdentifier' => '<string>',
            'Endpoint' => '<string>',
            'EndpointType' => '<string>',
            'ExcludedMembers' => ['<string>', ...],
            'StaticMembers' => ['<string>', ...],
            'Status' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBClusterEndpoints
Type: Array of DBClusterEndpoint structures

Contains the details of the endpoints associated with the cluster and matching any filter conditions.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DescribeDBClusterParameterGroups

$result = $client->describeDBClusterParameterGroups([/* ... */]);
$promise = $client->describeDBClusterParameterGroupsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeDBClusterParameterGroups([
    'DBClusterParameterGroupName' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBClusterParameterGroupName
Type: string

The name of a specific DB cluster parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBClusterParameterGroups' => [
        [
            'DBClusterParameterGroupArn' => '<string>',
            'DBClusterParameterGroupName' => '<string>',
            'DBParameterGroupFamily' => '<string>',
            'Description' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBClusterParameterGroups
Type: Array of DBClusterParameterGroup structures

A list of DB cluster parameter groups.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DescribeDBClusterParameters

$result = $client->describeDBClusterParameters([/* ... */]);
$promise = $client->describeDBClusterParametersAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeDBClusterParameters([
    'DBClusterParameterGroupName' => '<string>', // REQUIRED
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'Source' => '<string>',
]);

Parameter Details

Members
DBClusterParameterGroupName
Required: Yes
Type: string

The name of a specific DB cluster parameter group to return parameter details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Source
Type: string

A value that indicates to return only parameters for a specific source. Parameter sources can be engine, service, or customer.

Result Syntax

[
    'Marker' => '<string>',
    'Parameters' => [
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Parameters
Type: Array of Parameter structures

Provides a list of parameters for the DB cluster parameter group.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DescribeDBClusterSnapshotAttributes

$result = $client->describeDBClusterSnapshotAttributes([/* ... */]);
$promise = $client->describeDBClusterSnapshotAttributesAsync([/* ... */]);

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

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

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

Parameter Syntax

$result = $client->describeDBClusterSnapshotAttributes([
    'DBClusterSnapshotIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier for the DB cluster snapshot to describe the attributes for.

Result Syntax

[
    'DBClusterSnapshotAttributesResult' => [
        'DBClusterSnapshotAttributes' => [
            [
                'AttributeName' => '<string>',
                'AttributeValues' => ['<string>', ...],
            ],
            // ...
        ],
        'DBClusterSnapshotIdentifier' => '<string>',
    ],
]

Result Details

Members
DBClusterSnapshotAttributesResult

Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.

Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Errors

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

DescribeDBClusterSnapshots

$result = $client->describeDBClusterSnapshots([/* ... */]);
$promise = $client->describeDBClusterSnapshotsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeDBClusterSnapshots([
    'DBClusterIdentifier' => '<string>',
    'DBClusterSnapshotIdentifier' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'IncludePublic' => true || false,
    'IncludeShared' => true || false,
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'SnapshotType' => '<string>',
]);

Parameter Details

Members
DBClusterIdentifier
Type: string

The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter can't be used in conjunction with the DBClusterSnapshotIdentifier parameter. This parameter is not case-sensitive.

Constraints:

  • If supplied, must match the identifier of an existing DBCluster.

DBClusterSnapshotIdentifier
Type: string

A specific DB cluster snapshot identifier to describe. This parameter can't be used in conjunction with the DBClusterIdentifier parameter. This value is stored as a lowercase string.

Constraints:

  • If supplied, must match the identifier of an existing DBClusterSnapshot.

  • If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

IncludePublic
Type: boolean

True to include manual DB cluster snapshots that are public and can be copied or restored by any Amazon account, and otherwise false. The default is false. The default is false.

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

IncludeShared
Type: boolean

True to include shared manual DB cluster snapshots from other Amazon accounts that this Amazon account has been given permission to copy or restore, and otherwise false. The default is false.

You can give an Amazon account permission to restore a manual DB cluster snapshot from another Amazon account by the ModifyDBClusterSnapshotAttribute API action.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

SnapshotType
Type: string

The type of DB cluster snapshots to be returned. You can specify one of the following values:

  • automated - Return all DB cluster snapshots that have been automatically taken by Amazon Neptune for my Amazon account.

  • manual - Return all DB cluster snapshots that have been taken by my Amazon account.

  • shared - Return all manual DB cluster snapshots that have been shared to my Amazon account.

  • public - Return all DB cluster snapshots that have been marked as public.

If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

Result Syntax

[
    'DBClusterSnapshots' => [
        [
            'AllocatedStorage' => <integer>,
            'AvailabilityZones' => ['<string>', ...],
            'ClusterCreateTime' => <DateTime>,
            'DBClusterIdentifier' => '<string>',
            'DBClusterSnapshotArn' => '<string>',
            'DBClusterSnapshotIdentifier' => '<string>',
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'KmsKeyId' => '<string>',
            'LicenseModel' => '<string>',
            'MasterUsername' => '<string>',
            'PercentProgress' => <integer>,
            'Port' => <integer>,
            'SnapshotCreateTime' => <DateTime>,
            'SnapshotType' => '<string>',
            'SourceDBClusterSnapshotArn' => '<string>',
            'Status' => '<string>',
            'StorageEncrypted' => true || false,
            'StorageType' => '<string>',
            'VpcId' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBClusterSnapshots
Type: Array of DBClusterSnapshot structures

Provides a list of DB cluster snapshots for the user.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

DescribeDBClusters

$result = $client->describeDBClusters([/* ... */]);
$promise = $client->describeDBClustersAsync([/* ... */]);

Returns information about provisioned DB clusters, and supports pagination.

This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.

Parameter Syntax

$result = $client->describeDBClusters([
    'DBClusterIdentifier' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBClusterIdentifier
Type: string

The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive.

Constraints:

  • If supplied, must match an existing DBClusterIdentifier.

Filters
Type: Array of Filter structures

A filter that specifies one or more DB clusters to describe.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs.

  • engine - Accepts an engine name (such as neptune), and restricts the results list to DB clusters created by that engine.

For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB clusters are returned, you could use the following command:

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBClusters' => [
        [
            'AllocatedStorage' => <integer>,
            'AssociatedRoles' => [
                [
                    'FeatureName' => '<string>',
                    'RoleArn' => '<string>',
                    'Status' => '<string>',
                ],
                // ...
            ],
            'AutomaticRestartTime' => <DateTime>,
            'AvailabilityZones' => ['<string>', ...],
            'BackupRetentionPeriod' => <integer>,
            'CharacterSetName' => '<string>',
            'CloneGroupId' => '<string>',
            'ClusterCreateTime' => <DateTime>,
            'CopyTagsToSnapshot' => true || false,
            'CrossAccountClone' => true || false,
            'DBClusterArn' => '<string>',
            'DBClusterIdentifier' => '<string>',
            'DBClusterMembers' => [
                [
                    'DBClusterParameterGroupStatus' => '<string>',
                    'DBInstanceIdentifier' => '<string>',
                    'IsClusterWriter' => true || false,
                    'PromotionTier' => <integer>,
                ],
                // ...
            ],
            'DBClusterOptionGroupMemberships' => [
                [
                    'DBClusterOptionGroupName' => '<string>',
                    'Status' => '<string>',
                ],
                // ...
            ],
            'DBClusterParameterGroup' => '<string>',
            'DBSubnetGroup' => '<string>',
            'DatabaseName' => '<string>',
            'DbClusterResourceId' => '<string>',
            'DeletionProtection' => true || false,
            'EarliestRestorableTime' => <DateTime>,
            'EnabledCloudwatchLogsExports' => ['<string>', ...],
            'Endpoint' => '<string>',
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'GlobalClusterIdentifier' => '<string>',
            'HostedZoneId' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'IOOptimizedNextAllowedModificationTime' => <DateTime>,
            'KmsKeyId' => '<string>',
            'LatestRestorableTime' => <DateTime>,
            'MasterUsername' => '<string>',
            'MultiAZ' => true || false,
            'PendingModifiedValues' => [
                'AllocatedStorage' => <integer>,
                'BackupRetentionPeriod' => <integer>,
                'DBClusterIdentifier' => '<string>',
                'EngineVersion' => '<string>',
                'IAMDatabaseAuthenticationEnabled' => true || false,
                'Iops' => <integer>,
                'PendingCloudwatchLogsExports' => [
                    'LogTypesToDisable' => ['<string>', ...],
                    'LogTypesToEnable' => ['<string>', ...],
                ],
                'StorageType' => '<string>',
            ],
            'PercentProgress' => '<string>',
            'Port' => <integer>,
            'PreferredBackupWindow' => '<string>',
            'PreferredMaintenanceWindow' => '<string>',
            'ReadReplicaIdentifiers' => ['<string>', ...],
            'ReaderEndpoint' => '<string>',
            'ReplicationSourceIdentifier' => '<string>',
            'ServerlessV2ScalingConfiguration' => [
                'MaxCapacity' => <float>,
                'MinCapacity' => <float>,
            ],
            'Status' => '<string>',
            'StorageEncrypted' => true || false,
            'StorageType' => '<string>',
            'VpcSecurityGroups' => [
                [
                    'Status' => '<string>',
                    'VpcSecurityGroupId' => '<string>',
                ],
                // ...
            ],
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBClusters
Type: Array of DBCluster structures

Contains a list of DB clusters for the user.

Marker
Type: string

A pagination token that can be used in a subsequent DescribeDBClusters request.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DescribeDBEngineVersions

$result = $client->describeDBEngineVersions([/* ... */]);
$promise = $client->describeDBEngineVersionsAsync([/* ... */]);

Returns a list of the available DB engines.

Parameter Syntax

$result = $client->describeDBEngineVersions([
    'DBParameterGroupFamily' => '<string>',
    'DefaultOnly' => true || false,
    'Engine' => '<string>',
    'EngineVersion' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'ListSupportedCharacterSets' => true || false,
    'ListSupportedTimezones' => true || false,
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBParameterGroupFamily
Type: string

The name of a specific DB parameter group family to return details for.

Constraints:

  • If supplied, must match an existing DBParameterGroupFamily.

DefaultOnly
Type: boolean

Indicates that only the default version of the specified engine or engine and major version combination is returned.

Engine
Type: string

The database engine to return.

EngineVersion
Type: string

The database engine version to return.

Example: 5.1.49

Filters
Type: Array of Filter structures

Not currently supported.

ListSupportedCharacterSets
Type: boolean

If this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.

ListSupportedTimezones
Type: boolean

If this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBEngineVersions' => [
        [
            'DBEngineDescription' => '<string>',
            'DBEngineVersionDescription' => '<string>',
            'DBParameterGroupFamily' => '<string>',
            'DefaultCharacterSet' => [
                'CharacterSetDescription' => '<string>',
                'CharacterSetName' => '<string>',
            ],
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'ExportableLogTypes' => ['<string>', ...],
            'SupportedCharacterSets' => [
                [
                    'CharacterSetDescription' => '<string>',
                    'CharacterSetName' => '<string>',
                ],
                // ...
            ],
            'SupportedTimezones' => [
                [
                    'TimezoneName' => '<string>',
                ],
                // ...
            ],
            'SupportsGlobalDatabases' => true || false,
            'SupportsLogExportsToCloudwatchLogs' => true || false,
            'SupportsReadReplica' => true || false,
            'ValidUpgradeTarget' => [
                [
                    'AutoUpgrade' => true || false,
                    'Description' => '<string>',
                    'Engine' => '<string>',
                    'EngineVersion' => '<string>',
                    'IsMajorVersionUpgrade' => true || false,
                    'SupportsGlobalDatabases' => true || false,
                ],
                // ...
            ],
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBEngineVersions
Type: Array of DBEngineVersion structures

A list of DBEngineVersion elements.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

There are no errors described for this operation.

DescribeDBInstances

$result = $client->describeDBInstances([/* ... */]);
$promise = $client->describeDBInstancesAsync([/* ... */]);

Returns information about provisioned instances, and supports pagination.

This operation can also return information for Amazon RDS instances and Amazon DocDB instances.

Parameter Syntax

$result = $client->describeDBInstances([
    'DBInstanceIdentifier' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBInstanceIdentifier
Type: string

The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

Constraints:

  • If supplied, must match the identifier of an existing DBInstance.

Filters
Type: Array of Filter structures

A filter that specifies one or more DB instances to describe.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs.

  • engine - Accepts an engine name (such as neptune), and restricts the results list to DB instances created by that engine.

For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:

Marker
Type: string

An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBInstances' => [
        [
            'AllocatedStorage' => <integer>,
            'AutoMinorVersionUpgrade' => true || false,
            'AvailabilityZone' => '<string>',
            'BackupRetentionPeriod' => <integer>,
            'CACertificateIdentifier' => '<string>',
            'CharacterSetName' => '<string>',
            'CopyTagsToSnapshot' => true || false,
            'DBClusterIdentifier' => '<string>',
            'DBInstanceArn' => '<string>',
            'DBInstanceClass' => '<string>',
            'DBInstanceIdentifier' => '<string>',
            'DBInstanceStatus' => '<string>',
            'DBName' => '<string>',
            'DBParameterGroups' => [
                [
                    'DBParameterGroupName' => '<string>',
                    'ParameterApplyStatus' => '<string>',
                ],
                // ...
            ],
            'DBSecurityGroups' => [
                [
                    'DBSecurityGroupName' => '<string>',
                    'Status' => '<string>',
                ],
                // ...
            ],
            'DBSubnetGroup' => [
                'DBSubnetGroupArn' => '<string>',
                'DBSubnetGroupDescription' => '<string>',
                'DBSubnetGroupName' => '<string>',
                'SubnetGroupStatus' => '<string>',
                'Subnets' => [
                    [
                        'SubnetAvailabilityZone' => [
                            'Name' => '<string>',
                        ],
                        'SubnetIdentifier' => '<string>',
                        'SubnetStatus' => '<string>',
                    ],
                    // ...
                ],
                'VpcId' => '<string>',
            ],
            'DbInstancePort' => <integer>,
            'DbiResourceId' => '<string>',
            'DeletionProtection' => true || false,
            'DomainMemberships' => [
                [
                    'Domain' => '<string>',
                    'FQDN' => '<string>',
                    'IAMRoleName' => '<string>',
                    'Status' => '<string>',
                ],
                // ...
            ],
            'EnabledCloudwatchLogsExports' => ['<string>', ...],
            'Endpoint' => [
                'Address' => '<string>',
                'HostedZoneId' => '<string>',
                'Port' => <integer>,
            ],
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'EnhancedMonitoringResourceArn' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'InstanceCreateTime' => <DateTime>,
            'Iops' => <integer>,
            'KmsKeyId' => '<string>',
            'LatestRestorableTime' => <DateTime>,
            'LicenseModel' => '<string>',
            'MasterUsername' => '<string>',
            'MonitoringInterval' => <integer>,
            'MonitoringRoleArn' => '<string>',
            'MultiAZ' => true || false,
            'OptionGroupMemberships' => [
                [
                    'OptionGroupName' => '<string>',
                    'Status' => '<string>',
                ],
                // ...
            ],
            'PendingModifiedValues' => [
                'AllocatedStorage' => <integer>,
                'BackupRetentionPeriod' => <integer>,
                'CACertificateIdentifier' => '<string>',
                'DBInstanceClass' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'DBSubnetGroupName' => '<string>',
                'EngineVersion' => '<string>',
                'Iops' => <integer>,
                'LicenseModel' => '<string>',
                'MasterUserPassword' => '<string>',
                'MultiAZ' => true || false,
                'PendingCloudwatchLogsExports' => [
                    'LogTypesToDisable' => ['<string>', ...],
                    'LogTypesToEnable' => ['<string>', ...],
                ],
                'Port' => <integer>,
                'StorageType' => '<string>',
            ],
            'PerformanceInsightsEnabled' => true || false,
            'PerformanceInsightsKMSKeyId' => '<string>',
            'PreferredBackupWindow' => '<string>',
            'PreferredMaintenanceWindow' => '<string>',
            'PromotionTier' => <integer>,
            'PubliclyAccessible' => true || false,
            'ReadReplicaDBClusterIdentifiers' => ['<string>', ...],
            'ReadReplicaDBInstanceIdentifiers' => ['<string>', ...],
            'ReadReplicaSourceDBInstanceIdentifier' => '<string>',
            'SecondaryAvailabilityZone' => '<string>',
            'StatusInfos' => [
                [
                    'Message' => '<string>',
                    'Normal' => true || false,
                    'Status' => '<string>',
                    'StatusType' => '<string>',
                ],
                // ...
            ],
            'StorageEncrypted' => true || false,
            'StorageType' => '<string>',
            'TdeCredentialArn' => '<string>',
            'Timezone' => '<string>',
            'VpcSecurityGroups' => [
                [
                    'Status' => '<string>',
                    'VpcSecurityGroupId' => '<string>',
                ],
                // ...
            ],
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBInstances
Type: Array of DBInstance structures

A list of DBInstance instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DescribeDBParameterGroups

$result = $client->describeDBParameterGroups([/* ... */]);
$promise = $client->describeDBParameterGroupsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeDBParameterGroups([
    'DBParameterGroupName' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBParameterGroupName
Type: string

The name of a specific DB parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBParameterGroups' => [
        [
            'DBParameterGroupArn' => '<string>',
            'DBParameterGroupFamily' => '<string>',
            'DBParameterGroupName' => '<string>',
            'Description' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBParameterGroups
Type: Array of DBParameterGroup structures

A list of DBParameterGroup instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DescribeDBParameters

$result = $client->describeDBParameters([/* ... */]);
$promise = $client->describeDBParametersAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeDBParameters([
    'DBParameterGroupName' => '<string>', // REQUIRED
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'Source' => '<string>',
]);

Parameter Details

Members
DBParameterGroupName
Required: Yes
Type: string

The name of a specific DB parameter group to return details for.

Constraints:

  • If supplied, must match the name of an existing DBParameterGroup.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Source
Type: string

The parameter types to return.

Default: All parameter types returned

Valid Values: user | system | engine-default

Result Syntax

[
    'Marker' => '<string>',
    'Parameters' => [
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters
Type: Array of Parameter structures

A list of Parameter values.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

DescribeDBSubnetGroups

$result = $client->describeDBSubnetGroups([/* ... */]);
$promise = $client->describeDBSubnetGroupsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeDBSubnetGroups([
    'DBSubnetGroupName' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBSubnetGroupName
Type: string

The name of the DB subnet group to return details for.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'DBSubnetGroups' => [
        [
            'DBSubnetGroupArn' => '<string>',
            'DBSubnetGroupDescription' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'SubnetGroupStatus' => '<string>',
            'Subnets' => [
                [
                    'SubnetAvailabilityZone' => [
                        'Name' => '<string>',
                    ],
                    'SubnetIdentifier' => '<string>',
                    'SubnetStatus' => '<string>',
                ],
                // ...
            ],
            'VpcId' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
DBSubnetGroups
Type: Array of DBSubnetGroup structures

A list of DBSubnetGroup instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

DescribeEngineDefaultClusterParameters

$result = $client->describeEngineDefaultClusterParameters([/* ... */]);
$promise = $client->describeEngineDefaultClusterParametersAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeEngineDefaultClusterParameters([
    'DBParameterGroupFamily' => '<string>', // REQUIRED
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBParameterGroupFamily
Required: Yes
Type: string

The name of the DB cluster parameter group family to return engine parameter information for.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'EngineDefaults' => [
        'DBParameterGroupFamily' => '<string>',
        'Marker' => '<string>',
        'Parameters' => [
            [
                'AllowedValues' => '<string>',
                'ApplyMethod' => 'immediate|pending-reboot',
                'ApplyType' => '<string>',
                'DataType' => '<string>',
                'Description' => '<string>',
                'IsModifiable' => true || false,
                'MinimumEngineVersion' => '<string>',
                'ParameterName' => '<string>',
                'ParameterValue' => '<string>',
                'Source' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
EngineDefaults
Type: EngineDefaults structure

Contains the result of a successful invocation of the DescribeEngineDefaultParameters action.

Errors

There are no errors described for this operation.

DescribeEngineDefaultParameters

$result = $client->describeEngineDefaultParameters([/* ... */]);
$promise = $client->describeEngineDefaultParametersAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeEngineDefaultParameters([
    'DBParameterGroupFamily' => '<string>', // REQUIRED
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
DBParameterGroupFamily
Required: Yes
Type: string

The name of the DB parameter group family.

Filters
Type: Array of Filter structures

Not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'EngineDefaults' => [
        'DBParameterGroupFamily' => '<string>',
        'Marker' => '<string>',
        'Parameters' => [
            [
                'AllowedValues' => '<string>',
                'ApplyMethod' => 'immediate|pending-reboot',
                'ApplyType' => '<string>',
                'DataType' => '<string>',
                'Description' => '<string>',
                'IsModifiable' => true || false,
                'MinimumEngineVersion' => '<string>',
                'ParameterName' => '<string>',
                'ParameterValue' => '<string>',
                'Source' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
EngineDefaults
Type: EngineDefaults structure

Contains the result of a successful invocation of the DescribeEngineDefaultParameters action.

Errors

There are no errors described for this operation.

DescribeEventCategories

$result = $client->describeEventCategories([/* ... */]);
$promise = $client->describeEventCategoriesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeEventCategories([
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'SourceType' => '<string>',
]);

Parameter Details

Members
Filters
Type: Array of Filter structures

This parameter is not currently supported.

SourceType
Type: string

The type of source that is generating the events.

Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

Result Syntax

[
    'EventCategoriesMapList' => [
        [
            'EventCategories' => ['<string>', ...],
            'SourceType' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
EventCategoriesMapList
Type: Array of EventCategoriesMap structures

A list of EventCategoriesMap data types.

Errors

There are no errors described for this operation.

DescribeEventSubscriptions

$result = $client->describeEventSubscriptions([/* ... */]);
$promise = $client->describeEventSubscriptionsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeEventSubscriptions([
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'SubscriptionName' => '<string>',
]);

Parameter Details

Members
Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

SubscriptionName
Type: string

The name of the event notification subscription you want to describe.

Result Syntax

[
    'EventSubscriptionsList' => [
        [
            'CustSubscriptionId' => '<string>',
            'CustomerAwsId' => '<string>',
            'Enabled' => true || false,
            'EventCategoriesList' => ['<string>', ...],
            'EventSubscriptionArn' => '<string>',
            'SnsTopicArn' => '<string>',
            'SourceIdsList' => ['<string>', ...],
            'SourceType' => '<string>',
            'Status' => '<string>',
            'SubscriptionCreationTime' => '<string>',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
EventSubscriptionsList
Type: Array of EventSubscription structures

A list of EventSubscriptions data types.

Marker
Type: string

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Errors

SubscriptionNotFoundFault:

The designated subscription could not be found.

DescribeEvents

$result = $client->describeEvents([/* ... */]);
$promise = $client->describeEventsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeEvents([
    'Duration' => <integer>,
    'EndTime' => <integer || string || DateTime>,
    'EventCategories' => ['<string>', ...],
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'SourceIdentifier' => '<string>',
    'SourceType' => 'db-instance|db-parameter-group|db-security-group|db-snapshot|db-cluster|db-cluster-snapshot',
    'StartTime' => <integer || string || DateTime>,
]);

Parameter Details

Members
Duration
Type: int

The number of minutes to retrieve events for.

Default: 60

EndTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

EventCategories
Type: Array of strings

A list of event categories that trigger notifications for a event notification subscription.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

Marker
Type: string

An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

SourceIdentifier
Type: string

The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.

Constraints:

  • If SourceIdentifier is supplied, SourceType must also be provided.

  • If the source type is DBInstance, then a DBInstanceIdentifier must be supplied.

  • If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.

  • If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.

  • If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.

  • Cannot end with a hyphen or contain two consecutive hyphens.

SourceType
Type: string

The event source to retrieve events for. If no value is specified, all events are returned.

StartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

Result Syntax

[
    'Events' => [
        [
            'Date' => <DateTime>,
            'EventCategories' => ['<string>', ...],
            'Message' => '<string>',
            'SourceArn' => '<string>',
            'SourceIdentifier' => '<string>',
            'SourceType' => 'db-instance|db-parameter-group|db-security-group|db-snapshot|db-cluster|db-cluster-snapshot',
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
Events
Type: Array of Event structures

A list of Event instances.

Marker
Type: string

An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Errors

There are no errors described for this operation.

DescribeGlobalClusters

$result = $client->describeGlobalClusters([/* ... */]);
$promise = $client->describeGlobalClustersAsync([/* ... */]);

Returns information about Neptune global database clusters. This API supports pagination.

Parameter Syntax

$result = $client->describeGlobalClusters([
    'GlobalClusterIdentifier' => '<string>',
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
]);

Parameter Details

Members
GlobalClusterIdentifier
Type: string

The user-supplied DB cluster identifier. If this parameter is specified, only information about the specified DB cluster is returned. This parameter is not case-sensitive.

Constraints: If supplied, must match an existing DB cluster identifier.

Marker
Type: string

(Optional) A pagination token returned by a previous call to DescribeGlobalClusters. If this parameter is specified, the response will only include records beyond the marker, up to the number specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination marker token is included in the response that you can use to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Result Syntax

[
    'GlobalClusters' => [
        [
            'DeletionProtection' => true || false,
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'GlobalClusterArn' => '<string>',
            'GlobalClusterIdentifier' => '<string>',
            'GlobalClusterMembers' => [
                [
                    'DBClusterArn' => '<string>',
                    'IsWriter' => true || false,
                    'Readers' => ['<string>', ...],
                ],
                // ...
            ],
            'GlobalClusterResourceId' => '<string>',
            'Status' => '<string>',
            'StorageEncrypted' => true || false,
        ],
        // ...
    ],
    'Marker' => '<string>',
]

Result Details

Members
GlobalClusters
Type: Array of GlobalCluster structures

The list of global clusters and instances returned by this request.

Marker
Type: string

A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to DescribeGlobalClusters.

Errors

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

DescribeOrderableDBInstanceOptions

$result = $client->describeOrderableDBInstanceOptions([/* ... */]);
$promise = $client->describeOrderableDBInstanceOptionsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeOrderableDBInstanceOptions([
    'DBInstanceClass' => '<string>',
    'Engine' => '<string>', // REQUIRED
    'EngineVersion' => '<string>',
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'LicenseModel' => '<string>',
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'Vpc' => true || false,
]);

Parameter Details

Members
DBInstanceClass
Type: string

The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.

Engine
Required: Yes
Type: string

The name of the engine to retrieve DB instance options for.

EngineVersion
Type: string

The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.

Filters
Type: Array of Filter structures

This parameter is not currently supported.

LicenseModel
Type: string

The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.

Marker
Type: string

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Vpc
Type: boolean

The VPC filter value. Specify this parameter to show only the available VPC or non-VPC offerings.

Result Syntax

[
    'Marker' => '<string>',
    'OrderableDBInstanceOptions' => [
        [
            'AvailabilityZones' => [
                [
                    'Name' => '<string>',
                ],
                // ...
            ],
            'DBInstanceClass' => '<string>',
            'Engine' => '<string>',
            'EngineVersion' => '<string>',
            'LicenseModel' => '<string>',
            'MaxIopsPerDbInstance' => <integer>,
            'MaxIopsPerGib' => <float>,
            'MaxStorageSize' => <integer>,
            'MinIopsPerDbInstance' => <integer>,
            'MinIopsPerGib' => <float>,
            'MinStorageSize' => <integer>,
            'MultiAZCapable' => true || false,
            'ReadReplicaCapable' => true || false,
            'StorageType' => '<string>',
            'SupportsEnhancedMonitoring' => true || false,
            'SupportsGlobalDatabases' => true || false,
            'SupportsIAMDatabaseAuthentication' => true || false,
            'SupportsIops' => true || false,
            'SupportsPerformanceInsights' => true || false,
            'SupportsStorageEncryption' => true || false,
            'Vpc' => true || false,
        ],
        // ...
    ],
]

Result Details

Members
Marker
Type: string

An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

OrderableDBInstanceOptions
Type: Array of OrderableDBInstanceOption structures

An OrderableDBInstanceOption structure containing information about orderable options for the DB instance.

Errors

There are no errors described for this operation.

DescribePendingMaintenanceActions

$result = $client->describePendingMaintenanceActions([/* ... */]);
$promise = $client->describePendingMaintenanceActionsAsync([/* ... */]);

Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

Parameter Syntax

$result = $client->describePendingMaintenanceActions([
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'Marker' => '<string>',
    'MaxRecords' => <integer>,
    'ResourceIdentifier' => '<string>',
]);

Parameter Details

Members
Filters
Type: Array of Filter structures

A filter that specifies one or more resources to return pending maintenance actions for.

Supported filters:

  • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs.

  • db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs.

Marker
Type: string

An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords.

MaxRecords
Type: int

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

ResourceIdentifier
Type: string

The ARN of a resource to return pending maintenance actions for.

Result Syntax

[
    'Marker' => '<string>',
    'PendingMaintenanceActions' => [
        [
            'PendingMaintenanceActionDetails' => [
                [
                    'Action' => '<string>',
                    'AutoAppliedAfterDate' => <DateTime>,
                    'CurrentApplyDate' => <DateTime>,
                    'Description' => '<string>',
                    'ForcedApplyDate' => <DateTime>,
                    'OptInStatus' => '<string>',
                ],
                // ...
            ],
            'ResourceIdentifier' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
Marker
Type: string

An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords.

PendingMaintenanceActions
Type: Array of ResourcePendingMaintenanceActions structures

A list of the pending maintenance actions for the resource.

Errors

ResourceNotFoundFault:

The specified resource ID was not found.

DescribeValidDBInstanceModifications

$result = $client->describeValidDBInstanceModifications([/* ... */]);
$promise = $client->describeValidDBInstanceModificationsAsync([/* ... */]);

You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB instance. You can use this information when you call ModifyDBInstance.

Parameter Syntax

$result = $client->describeValidDBInstanceModifications([
    'DBInstanceIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBInstanceIdentifier
Required: Yes
Type: string

The customer identifier or the ARN of your DB instance.

Result Syntax

[
    'ValidDBInstanceModificationsMessage' => [
        'Storage' => [
            [
                'IopsToStorageRatio' => [
                    [
                        'From' => <float>,
                        'To' => <float>,
                    ],
                    // ...
                ],
                'ProvisionedIops' => [
                    [
                        'From' => <integer>,
                        'Step' => <integer>,
                        'To' => <integer>,
                    ],
                    // ...
                ],
                'StorageSize' => [
                    [
                        'From' => <integer>,
                        'Step' => <integer>,
                        'To' => <integer>,
                    ],
                    // ...
                ],
                'StorageType' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
ValidDBInstanceModificationsMessage

Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications action. You can use this information when you call ModifyDBInstance.

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

FailoverDBCluster

$result = $client->failoverDBCluster([/* ... */]);
$promise = $client->failoverDBClusterAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->failoverDBCluster([
    'DBClusterIdentifier' => '<string>',
    'TargetDBInstanceIdentifier' => '<string>',
]);

Parameter Details

Members
DBClusterIdentifier
Type: string

A DB cluster identifier to force a failover for. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

TargetDBInstanceIdentifier
Type: string

The name of the instance to promote to the primary instance.

You must specify the instance identifier for an Read Replica in the DB cluster. For example, mydbcluster-replica1.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

FailoverGlobalCluster

$result = $client->failoverGlobalCluster([/* ... */]);
$promise = $client->failoverGlobalClusterAsync([/* ... */]);

Initiates the failover process for a Neptune global database.

A failover for a Neptune global database promotes one of secondary read-only DB clusters to be the primary DB cluster and demotes the primary DB cluster to being a secondary (read-only) DB cluster. In other words, the role of the current primary DB cluster and the selected target secondary DB cluster are switched. The selected secondary DB cluster assumes full read/write capabilities for the Neptune global database.

This action applies only to Neptune global databases. This action is only intended for use on healthy Neptune global databases with healthy Neptune DB clusters and no region-wide outages, to test disaster recovery scenarios or to reconfigure the global database topology.

Parameter Syntax

$result = $client->failoverGlobalCluster([
    'GlobalClusterIdentifier' => '<string>', // REQUIRED
    'TargetDbClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
GlobalClusterIdentifier
Required: Yes
Type: string

Identifier of the Neptune global database that should be failed over. The identifier is the unique key assigned by the user when the Neptune global database was created. In other words, it's the name of the global database that you want to fail over.

Constraints: Must match the identifier of an existing Neptune global database.

TargetDbClusterIdentifier
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the secondary Neptune DB cluster that you want to promote to primary for the global database.

Result Syntax

[
    'GlobalCluster' => [
        'DeletionProtection' => true || false,
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterArn' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'GlobalClusterMembers' => [
            [
                'DBClusterArn' => '<string>',
                'IsWriter' => true || false,
                'Readers' => ['<string>', ...],
            ],
            // ...
        ],
        'GlobalClusterResourceId' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
    ],
]

Result Details

Members
GlobalCluster
Type: GlobalCluster structure

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Errors

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

InvalidGlobalClusterStateFault:

The global cluster is in an invalid state and can't perform the requested operation.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists all tags on an Amazon Neptune resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'Filters' => [
        [
            'Name' => '<string>', // REQUIRED
            'Values' => ['<string>', ...], // REQUIRED
        ],
        // ...
    ],
    'ResourceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
Filters
Type: Array of Filter structures

This parameter is not currently supported.

ResourceName
Required: Yes
Type: string

The Amazon Neptune resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Result Syntax

[
    'TagList' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
TagList
Type: Array of Tag structures

List of tags returned by the ListTagsForResource operation.

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DBSnapshotNotFoundFault:

DBSnapshotIdentifier does not refer to an existing DB snapshot.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

ModifyDBCluster

$result = $client->modifyDBCluster([/* ... */]);
$promise = $client->modifyDBClusterAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->modifyDBCluster([
    'AllowMajorVersionUpgrade' => true || false,
    'ApplyImmediately' => true || false,
    'BackupRetentionPeriod' => <integer>,
    'CloudwatchLogsExportConfiguration' => [
        'DisableLogTypes' => ['<string>', ...],
        'EnableLogTypes' => ['<string>', ...],
    ],
    'CopyTagsToSnapshot' => true || false,
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBClusterParameterGroupName' => '<string>',
    'DBInstanceParameterGroupName' => '<string>',
    'DeletionProtection' => true || false,
    'EnableIAMDatabaseAuthentication' => true || false,
    'EngineVersion' => '<string>',
    'MasterUserPassword' => '<string>',
    'NewDBClusterIdentifier' => '<string>',
    'OptionGroupName' => '<string>',
    'Port' => <integer>,
    'PreferredBackupWindow' => '<string>',
    'PreferredMaintenanceWindow' => '<string>',
    'ServerlessV2ScalingConfiguration' => [
        'MaxCapacity' => <float>,
        'MinCapacity' => <float>,
    ],
    'StorageType' => '<string>',
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
AllowMajorVersionUpgrade
Type: boolean

A value that indicates whether upgrades between different major versions are allowed.

Constraints: You must set the allow-major-version-upgrade flag when providing an EngineVersion parameter that uses a different major version than the DB cluster's current version.

ApplyImmediately
Type: boolean

A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window.

The ApplyImmediately parameter only affects NewDBClusterIdentifier values. If you set the ApplyImmediately parameter value to false, then changes to NewDBClusterIdentifier values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter.

Default: false

BackupRetentionPeriod
Type: int

The number of days for which automated backups are retained. You must specify a minimum value of 1.

Default: 1

Constraints:

  • Must be a value from 1 to 35

CloudwatchLogsExportConfiguration

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. See Using the CLI to publish Neptune audit logs to CloudWatch Logs.

CopyTagsToSnapshot
Type: boolean

If set to true, tags are copied to any snapshot of the DB cluster that is created.

DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group to use for the DB cluster.

DBInstanceParameterGroupName
Type: string

The name of the DB parameter group to apply to all instances of the DB cluster.

When you apply a parameter group using DBInstanceParameterGroupName, parameter changes aren't applied during the next maintenance window but instead are applied immediately.

Default: The existing name setting

Constraints:

  • The DB parameter group must be in the same DB parameter group family as the target DB cluster version.

  • The DBInstanceParameterGroupName parameter is only valid in combination with the AllowMajorVersionUpgrade parameter.

DeletionProtection
Type: boolean

A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.

EnableIAMDatabaseAuthentication
Type: boolean

True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

EngineVersion
Type: string

The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true.

For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.

MasterUserPassword
Type: string

Not supported by Neptune.

NewDBClusterIdentifier
Type: string

The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • The first character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-cluster2

OptionGroupName
Type: string

Not supported by Neptune.

Port
Type: int

The port number on which the DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

PreferredBackupWindow
Type: string

The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.

Constraints:

  • Must be in the format hh24:mi-hh24:mi.

  • Must be in Universal Coordinated Time (UTC).

  • Must not conflict with the preferred maintenance window.

  • Must be at least 30 minutes.

PreferredMaintenanceWindow
Type: string

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

ServerlessV2ScalingConfiguration

Contains the scaling configuration of a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

StorageType
Type: string

The storage type to associate with the DB cluster.

Valid Values:

  • standard | iopt1

Default:

  • standard

VpcSecurityGroupIds
Type: Array of strings

A list of VPC security groups that the DB cluster will belong to.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

StorageQuotaExceededFault:

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

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

InvalidVPCNetworkStateFault:

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

InvalidDBSubnetGroupStateFault:

The DB subnet group cannot be deleted because it is in use.

InvalidSubnet:

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

DBClusterParameterGroupNotFoundFault:

DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

InvalidDBSecurityGroupStateFault:

The state of the DB security group does not allow deletion.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

DBClusterAlreadyExistsFault:

User already has a DB cluster with the given identifier.

StorageTypeNotSupportedFault:

StorageType specified cannot be associated with the DB Instance.

ModifyDBClusterEndpoint

$result = $client->modifyDBClusterEndpoint([/* ... */]);
$promise = $client->modifyDBClusterEndpointAsync([/* ... */]);

Modifies the properties of an endpoint in an Amazon Neptune DB cluster.

Parameter Syntax

$result = $client->modifyDBClusterEndpoint([
    'DBClusterEndpointIdentifier' => '<string>', // REQUIRED
    'EndpointType' => '<string>',
    'ExcludedMembers' => ['<string>', ...],
    'StaticMembers' => ['<string>', ...],
]);

Parameter Details

Members
DBClusterEndpointIdentifier
Required: Yes
Type: string

The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, ANY.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Result Syntax

[
    'CustomEndpointType' => '<string>',
    'DBClusterEndpointArn' => '<string>',
    'DBClusterEndpointIdentifier' => '<string>',
    'DBClusterEndpointResourceIdentifier' => '<string>',
    'DBClusterIdentifier' => '<string>',
    'Endpoint' => '<string>',
    'EndpointType' => '<string>',
    'ExcludedMembers' => ['<string>', ...],
    'StaticMembers' => ['<string>', ...],
    'Status' => '<string>',
]

Result Details

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

Errors

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBClusterEndpointStateFault:

The requested operation cannot be performed on the endpoint while the endpoint is in this state.

DBClusterEndpointNotFoundFault:

The specified custom endpoint doesn't exist.

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

ModifyDBClusterParameterGroup

$result = $client->modifyDBClusterParameterGroup([/* ... */]);
$promise = $client->modifyDBClusterParameterGroupAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->modifyDBClusterParameterGroup([
    'DBClusterParameterGroupName' => '<string>', // REQUIRED
    'Parameters' => [ // REQUIRED
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBClusterParameterGroupName
Required: Yes
Type: string

The name of the DB cluster parameter group to modify.

Parameters
Required: Yes
Type: Array of Parameter structures

A list of parameters in the DB cluster parameter group to modify.

Result Syntax

[
    'DBClusterParameterGroupName' => '<string>',
]

Result Details

Members
DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group.

Constraints:

  • Must be 1 to 255 letters or numbers.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

This value is stored as a lowercase string.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

InvalidDBParameterGroupStateFault:

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.

ModifyDBClusterSnapshotAttribute

$result = $client->modifyDBClusterSnapshotAttribute([/* ... */]);
$promise = $client->modifyDBClusterSnapshotAttributeAsync([/* ... */]);

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other Amazon accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the Amazon accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all Amazon accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which Amazon accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.

Parameter Syntax

$result = $client->modifyDBClusterSnapshotAttribute([
    'AttributeName' => '<string>', // REQUIRED
    'DBClusterSnapshotIdentifier' => '<string>', // REQUIRED
    'ValuesToAdd' => ['<string>', ...],
    'ValuesToRemove' => ['<string>', ...],
]);

Parameter Details

Members
AttributeName
Required: Yes
Type: string

The name of the DB cluster snapshot attribute to modify.

To manage authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

DBClusterSnapshotIdentifier
Required: Yes
Type: string

The identifier for the DB cluster snapshot to modify the attributes for.

ValuesToAdd
Type: Array of strings

A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts.

ValuesToRemove
Type: Array of strings

A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or all to remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specify all, an Amazon account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

Result Syntax

[
    'DBClusterSnapshotAttributesResult' => [
        'DBClusterSnapshotAttributes' => [
            [
                'AttributeName' => '<string>',
                'AttributeValues' => ['<string>', ...],
            ],
            // ...
        ],
        'DBClusterSnapshotIdentifier' => '<string>',
    ],
]

Result Details

Members
DBClusterSnapshotAttributesResult

Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.

Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Errors

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

SharedSnapshotQuotaExceededFault:

You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.

ModifyDBInstance

$result = $client->modifyDBInstance([/* ... */]);
$promise = $client->modifyDBInstanceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->modifyDBInstance([
    'AllocatedStorage' => <integer>,
    'AllowMajorVersionUpgrade' => true || false,
    'ApplyImmediately' => true || false,
    'AutoMinorVersionUpgrade' => true || false,
    'BackupRetentionPeriod' => <integer>,
    'CACertificateIdentifier' => '<string>',
    'CloudwatchLogsExportConfiguration' => [
        'DisableLogTypes' => ['<string>', ...],
        'EnableLogTypes' => ['<string>', ...],
    ],
    'CopyTagsToSnapshot' => true || false,
    'DBInstanceClass' => '<string>',
    'DBInstanceIdentifier' => '<string>', // REQUIRED
    'DBParameterGroupName' => '<string>',
    'DBPortNumber' => <integer>,
    'DBSecurityGroups' => ['<string>', ...],
    'DBSubnetGroupName' => '<string>',
    'DeletionProtection' => true || false,
    'Domain' => '<string>',
    'DomainIAMRoleName' => '<string>',
    'EnableIAMDatabaseAuthentication' => true || false,
    'EnablePerformanceInsights' => true || false,
    'EngineVersion' => '<string>',
    'Iops' => <integer>,
    'LicenseModel' => '<string>',
    'MasterUserPassword' => '<string>',
    'MonitoringInterval' => <integer>,
    'MonitoringRoleArn' => '<string>',
    'MultiAZ' => true || false,
    'NewDBInstanceIdentifier' => '<string>',
    'OptionGroupName' => '<string>',
    'PerformanceInsightsKMSKeyId' => '<string>',
    'PreferredBackupWindow' => '<string>',
    'PreferredMaintenanceWindow' => '<string>',
    'PromotionTier' => <integer>,
    'PubliclyAccessible' => true || false,
    'StorageType' => '<string>',
    'TdeCredentialArn' => '<string>',
    'TdeCredentialPassword' => '<string>',
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
AllocatedStorage
Type: int

Not supported by Neptune.

AllowMajorVersionUpgrade
Type: boolean

Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible.

ApplyImmediately
Type: boolean

Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance.

If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next call to RebootDBInstance, or the next failure reboot.

Default: false

AutoMinorVersionUpgrade
Type: boolean

Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and Neptune has enabled auto patching for that engine version.

BackupRetentionPeriod
Type: int

Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: Uses existing setting

CACertificateIdentifier
Type: string

Indicates the certificate that needs to be associated with the instance.

CloudwatchLogsExportConfiguration

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.

CopyTagsToSnapshot
Type: boolean

True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.

DBInstanceClass
Type: string

The new compute and memory capacity of the DB instance, for example, db.m4.large. Not all DB instance classes are available in all Amazon Regions.

If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request.

Default: Uses existing setting

DBInstanceIdentifier
Required: Yes
Type: string

The DB instance identifier. This value is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

DBParameterGroupName
Type: string

The name of the DB parameter group to apply to the DB instance. Changing this setting doesn't result in an outage. The parameter group name itself is changed immediately, but the actual parameter changes are not applied until you reboot the instance without failover. The db instance will NOT be rebooted automatically and the parameter changes will NOT be applied during the next maintenance window.

Default: Uses existing setting

Constraints: The DB parameter group must be in the same DB parameter group family as this DB instance.

DBPortNumber
Type: int

The port number on which the database accepts connections.

The value of the DBPortNumber parameter must not match any of the port values specified for options in the option group for the DB instance.

Your database will restart when you change the DBPortNumber value regardless of the value of the ApplyImmediately parameter.

Default: 8182

DBSecurityGroups
Type: Array of strings

A list of DB security groups to authorize on this DB instance. Changing this setting doesn't result in an outage and the change is asynchronously applied as soon as possible.

Constraints:

  • If supplied, must match existing DBSecurityGroups.

DBSubnetGroupName
Type: string

The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC.

Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you specify true for the ApplyImmediately parameter.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetGroup

DeletionProtection
Type: boolean

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See Deleting a DB Instance.

Domain
Type: string

Not supported.

DomainIAMRoleName
Type: string

Not supported

EnableIAMDatabaseAuthentication
Type: boolean

True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

You can enable IAM database authentication for the following database engines

Not applicable. Mapping Amazon IAM accounts to database accounts is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: false

EnablePerformanceInsights
Type: boolean

(Not supported by Neptune)

EngineVersion
Type: string

The version number of the database engine to upgrade to. Currently, setting this parameter has no effect. To upgrade your database engine to the most recent release, use the ApplyPendingMaintenanceAction API.

Iops
Type: int

The new Provisioned IOPS (I/O operations per second) value for the instance.

Changing this setting doesn't result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.

Default: Uses existing setting

LicenseModel
Type: string

Not supported by Neptune.

MasterUserPassword
Type: string

Not supported by Neptune.

MonitoringInterval
Type: int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.

If MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

MonitoringRoleArn
Type: string

The ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

MultiAZ
Type: boolean

Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter doesn't result in an outage and the change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true for this request.

NewDBInstanceIdentifier
Type: string

The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot will occur immediately if you set Apply Immediately to true, or will occur during the next maintenance window if Apply Immediately to false. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • The first character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: mydbinstance

OptionGroupName
Type: string

(Not supported by Neptune)

PerformanceInsightsKMSKeyId
Type: string

(Not supported by Neptune)

PreferredBackupWindow
Type: string

The daily time range during which automated backups are created if automated backups are enabled.

Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see ModifyDBCluster.

Constraints:

  • Must be in the format hh24:mi-hh24:mi

  • Must be in Universal Time Coordinated (UTC)

  • Must not conflict with the preferred maintenance window

  • Must be at least 30 minutes

PreferredMaintenanceWindow
Type: string

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, then changing this parameter will cause a reboot of the DB instance. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.

Default: Uses existing setting

Format: ddd:hh24:mi-ddd:hh24:mi

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 minutes

PromotionTier
Type: int

A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

Default: 1

Valid Values: 0 - 15

PubliclyAccessible
Type: boolean

This flag should no longer be used.

StorageType
Type: string

Not supported.

TdeCredentialArn
Type: string

The ARN from the key store with which to associate the instance for TDE encryption.

TdeCredentialPassword
Type: string

The password for the given ARN from the key store in order to access the device.

VpcSecurityGroupIds
Type: Array of strings

A list of EC2 VPC security groups to authorize on this DB instance. This change is asynchronously applied as soon as possible.

Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see ModifyDBCluster.

Constraints:

  • If supplied, must match existing VpcSecurityGroupIds.

Result Syntax

[
    'DBInstance' => [
        'AllocatedStorage' => <integer>,
        'AutoMinorVersionUpgrade' => true || false,
        'AvailabilityZone' => '<string>',
        'BackupRetentionPeriod' => <integer>,
        'CACertificateIdentifier' => '<string>',
        'CharacterSetName' => '<string>',
        'CopyTagsToSnapshot' => true || false,
        'DBClusterIdentifier' => '<string>',
        'DBInstanceArn' => '<string>',
        'DBInstanceClass' => '<string>',
        'DBInstanceIdentifier' => '<string>',
        'DBInstanceStatus' => '<string>',
        'DBName' => '<string>',
        'DBParameterGroups' => [
            [
                'DBParameterGroupName' => '<string>',
                'ParameterApplyStatus' => '<string>',
            ],
            // ...
        ],
        'DBSecurityGroups' => [
            [
                'DBSecurityGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBSubnetGroup' => [
            'DBSubnetGroupArn' => '<string>',
            'DBSubnetGroupDescription' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'SubnetGroupStatus' => '<string>',
            'Subnets' => [
                [
                    'SubnetAvailabilityZone' => [
                        'Name' => '<string>',
                    ],
                    'SubnetIdentifier' => '<string>',
                    'SubnetStatus' => '<string>',
                ],
                // ...
            ],
            'VpcId' => '<string>',
        ],
        'DbInstancePort' => <integer>,
        'DbiResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'DomainMemberships' => [
            [
                'Domain' => '<string>',
                'FQDN' => '<string>',
                'IAMRoleName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => [
            'Address' => '<string>',
            'HostedZoneId' => '<string>',
            'Port' => <integer>,
        ],
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'EnhancedMonitoringResourceArn' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'InstanceCreateTime' => <DateTime>,
        'Iops' => <integer>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'MonitoringInterval' => <integer>,
        'MonitoringRoleArn' => '<string>',
        'MultiAZ' => true || false,
        'OptionGroupMemberships' => [
            [
                'OptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'CACertificateIdentifier' => '<string>',
            'DBInstanceClass' => '<string>',
            'DBInstanceIdentifier' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'EngineVersion' => '<string>',
            'Iops' => <integer>,
            'LicenseModel' => '<string>',
            'MasterUserPassword' => '<string>',
            'MultiAZ' => true || false,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'Port' => <integer>,
            'StorageType' => '<string>',
        ],
        'PerformanceInsightsEnabled' => true || false,
        'PerformanceInsightsKMSKeyId' => '<string>',
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'PromotionTier' => <integer>,
        'PubliclyAccessible' => true || false,
        'ReadReplicaDBClusterIdentifiers' => ['<string>', ...],
        'ReadReplicaDBInstanceIdentifiers' => ['<string>', ...],
        'ReadReplicaSourceDBInstanceIdentifier' => '<string>',
        'SecondaryAvailabilityZone' => '<string>',
        'StatusInfos' => [
            [
                'Message' => '<string>',
                'Normal' => true || false,
                'Status' => '<string>',
                'StatusType' => '<string>',
            ],
            // ...
        ],
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'TdeCredentialArn' => '<string>',
        'Timezone' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

Errors

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

InvalidDBSecurityGroupStateFault:

The state of the DB security group does not allow deletion.

DBInstanceAlreadyExistsFault:

User already has a DB instance with the given identifier.

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DBSecurityGroupNotFoundFault:

DBSecurityGroupName does not refer to an existing DB security group.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

InsufficientDBInstanceCapacityFault:

Specified DB instance class is not available in the specified Availability Zone.

StorageQuotaExceededFault:

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

InvalidVPCNetworkStateFault:

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

ProvisionedIopsNotAvailableInAZFault:

Provisioned IOPS not available in the specified Availability Zone.

OptionGroupNotFoundFault:

The designated option group could not be found.

DBUpgradeDependencyFailureFault:

The DB upgrade failed because a resource the DB depends on could not be modified.

StorageTypeNotSupportedFault:

StorageType specified cannot be associated with the DB Instance.

AuthorizationNotFoundFault:

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.

CertificateNotFoundFault:

CertificateIdentifier does not refer to an existing certificate.

DomainNotFoundFault:

Domain does not refer to an existing Active Directory Domain.

ModifyDBParameterGroup

$result = $client->modifyDBParameterGroup([/* ... */]);
$promise = $client->modifyDBParameterGroupAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->modifyDBParameterGroup([
    'DBParameterGroupName' => '<string>', // REQUIRED
    'Parameters' => [ // REQUIRED
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
]);

Parameter Details

Members
DBParameterGroupName
Required: Yes
Type: string

The name of the DB parameter group.

Constraints:

  • If supplied, must match the name of an existing DBParameterGroup.

Parameters
Required: Yes
Type: Array of Parameter structures

An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.

Valid Values (for the application method): immediate | pending-reboot

You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover.

Result Syntax

[
    'DBParameterGroupName' => '<string>',
]

Result Details

Members
DBParameterGroupName
Type: string

Provides the name of the DB parameter group.

Errors

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

InvalidDBParameterGroupStateFault:

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.

ModifyDBSubnetGroup

$result = $client->modifyDBSubnetGroup([/* ... */]);
$promise = $client->modifyDBSubnetGroupAsync([/* ... */]);

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Region.

Parameter Syntax

$result = $client->modifyDBSubnetGroup([
    'DBSubnetGroupDescription' => '<string>',
    'DBSubnetGroupName' => '<string>', // REQUIRED
    'SubnetIds' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
DBSubnetGroupDescription
Type: string

The description for the DB subnet group.

DBSubnetGroupName
Required: Yes
Type: string

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

SubnetIds
Required: Yes
Type: Array of strings

The EC2 subnet IDs for the DB subnet group.

Result Syntax

[
    'DBSubnetGroup' => [
        'DBSubnetGroupArn' => '<string>',
        'DBSubnetGroupDescription' => '<string>',
        'DBSubnetGroupName' => '<string>',
        'SubnetGroupStatus' => '<string>',
        'Subnets' => [
            [
                'SubnetAvailabilityZone' => [
                    'Name' => '<string>',
                ],
                'SubnetIdentifier' => '<string>',
                'SubnetStatus' => '<string>',
            ],
            // ...
        ],
        'VpcId' => '<string>',
    ],
]

Result Details

Members
DBSubnetGroup
Type: DBSubnetGroup structure

Contains the details of an Amazon Neptune DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

Errors

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

DBSubnetQuotaExceededFault:

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

SubnetAlreadyInUse:

The DB subnet is already in use in the Availability Zone.

DBSubnetGroupDoesNotCoverEnoughAZs:

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

InvalidSubnet:

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

ModifyEventSubscription

$result = $client->modifyEventSubscription([/* ... */]);
$promise = $client->modifyEventSubscriptionAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->modifyEventSubscription([
    'Enabled' => true || false,
    'EventCategories' => ['<string>', ...],
    'SnsTopicArn' => '<string>',
    'SourceType' => '<string>',
    'SubscriptionName' => '<string>', // REQUIRED
]);

Parameter Details

Members
Enabled
Type: boolean

A Boolean value; set to true to activate the subscription.

EventCategories
Type: Array of strings

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

SnsTopicArn
Type: string

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

SourceType
Type: string

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

SubscriptionName
Required: Yes
Type: string

The name of the event notification subscription.

Result Syntax

[
    'EventSubscription' => [
        'CustSubscriptionId' => '<string>',
        'CustomerAwsId' => '<string>',
        'Enabled' => true || false,
        'EventCategoriesList' => ['<string>', ...],
        'EventSubscriptionArn' => '<string>',
        'SnsTopicArn' => '<string>',
        'SourceIdsList' => ['<string>', ...],
        'SourceType' => '<string>',
        'Status' => '<string>',
        'SubscriptionCreationTime' => '<string>',
    ],
]

Result Details

Members
EventSubscription
Type: EventSubscription structure

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Errors

EventSubscriptionQuotaExceededFault:

You have exceeded the number of events you can subscribe to.

SubscriptionNotFoundFault:

The designated subscription could not be found.

SNSInvalidTopicFault:

The SNS topic is invalid.

SNSNoAuthorizationFault:

There is no SNS authorization.

SNSTopicArnNotFoundFault:

The ARN of the SNS topic could not be found.

SubscriptionCategoryNotFoundFault:

The designated subscription category could not be found.

ModifyGlobalCluster

$result = $client->modifyGlobalCluster([/* ... */]);
$promise = $client->modifyGlobalClusterAsync([/* ... */]);

Modify a setting for an Amazon Neptune global cluster. You can change one or more database configuration parameters by specifying these parameters and their new values in the request.

Parameter Syntax

$result = $client->modifyGlobalCluster([
    'AllowMajorVersionUpgrade' => true || false,
    'DeletionProtection' => true || false,
    'EngineVersion' => '<string>',
    'GlobalClusterIdentifier' => '<string>', // REQUIRED
    'NewGlobalClusterIdentifier' => '<string>',
]);

Parameter Details

Members
AllowMajorVersionUpgrade
Type: boolean

A value that indicates whether major version upgrades are allowed.

Constraints: You must allow major version upgrades if you specify a value for the EngineVersion parameter that is a different major version than the DB cluster's current version.

If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to the default parameter groups for the new version, so you will need to apply any custom parameter groups after completing the upgrade.

DeletionProtection
Type: boolean

Indicates whether the global database has deletion protection enabled. The global database cannot be deleted when deletion protection is enabled.

EngineVersion
Type: string

The version number of the database engine to which you want to upgrade. Changing this parameter will result in an outage. The change is applied during the next maintenance window unless ApplyImmediately is enabled.

To list all of the available Neptune engine versions, use the following command:

GlobalClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier for the global cluster being modified. This parameter is not case-sensitive.

Constraints: Must match the identifier of an existing global database cluster.

NewGlobalClusterIdentifier
Type: string

A new cluster identifier to assign to the global database. This value is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • The first character must be a letter.

  • Can't end with a hyphen or contain two consecutive hyphens

Example: my-cluster2

Result Syntax

[
    'GlobalCluster' => [
        'DeletionProtection' => true || false,
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterArn' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'GlobalClusterMembers' => [
            [
                'DBClusterArn' => '<string>',
                'IsWriter' => true || false,
                'Readers' => ['<string>', ...],
            ],
            // ...
        ],
        'GlobalClusterResourceId' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
    ],
]

Result Details

Members
GlobalCluster
Type: GlobalCluster structure

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Errors

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

InvalidGlobalClusterStateFault:

The global cluster is in an invalid state and can't perform the requested operation.

PromoteReadReplicaDBCluster

$result = $client->promoteReadReplicaDBCluster([/* ... */]);
$promise = $client->promoteReadReplicaDBClusterAsync([/* ... */]);

Not supported.

Parameter Syntax

$result = $client->promoteReadReplicaDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

Not supported.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

RebootDBInstance

$result = $client->rebootDBInstance([/* ... */]);
$promise = $client->rebootDBInstanceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->rebootDBInstance([
    'DBInstanceIdentifier' => '<string>', // REQUIRED
    'ForceFailover' => true || false,
]);

Parameter Details

Members
DBInstanceIdentifier
Required: Yes
Type: string

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

ForceFailover
Type: boolean

When true, the reboot is conducted through a MultiAZ failover.

Constraint: You can't specify true if the instance is not configured for MultiAZ.

Result Syntax

[
    'DBInstance' => [
        'AllocatedStorage' => <integer>,
        'AutoMinorVersionUpgrade' => true || false,
        'AvailabilityZone' => '<string>',
        'BackupRetentionPeriod' => <integer>,
        'CACertificateIdentifier' => '<string>',
        'CharacterSetName' => '<string>',
        'CopyTagsToSnapshot' => true || false,
        'DBClusterIdentifier' => '<string>',
        'DBInstanceArn' => '<string>',
        'DBInstanceClass' => '<string>',
        'DBInstanceIdentifier' => '<string>',
        'DBInstanceStatus' => '<string>',
        'DBName' => '<string>',
        'DBParameterGroups' => [
            [
                'DBParameterGroupName' => '<string>',
                'ParameterApplyStatus' => '<string>',
            ],
            // ...
        ],
        'DBSecurityGroups' => [
            [
                'DBSecurityGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBSubnetGroup' => [
            'DBSubnetGroupArn' => '<string>',
            'DBSubnetGroupDescription' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'SubnetGroupStatus' => '<string>',
            'Subnets' => [
                [
                    'SubnetAvailabilityZone' => [
                        'Name' => '<string>',
                    ],
                    'SubnetIdentifier' => '<string>',
                    'SubnetStatus' => '<string>',
                ],
                // ...
            ],
            'VpcId' => '<string>',
        ],
        'DbInstancePort' => <integer>,
        'DbiResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'DomainMemberships' => [
            [
                'Domain' => '<string>',
                'FQDN' => '<string>',
                'IAMRoleName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => [
            'Address' => '<string>',
            'HostedZoneId' => '<string>',
            'Port' => <integer>,
        ],
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'EnhancedMonitoringResourceArn' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'InstanceCreateTime' => <DateTime>,
        'Iops' => <integer>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'LicenseModel' => '<string>',
        'MasterUsername' => '<string>',
        'MonitoringInterval' => <integer>,
        'MonitoringRoleArn' => '<string>',
        'MultiAZ' => true || false,
        'OptionGroupMemberships' => [
            [
                'OptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'CACertificateIdentifier' => '<string>',
            'DBInstanceClass' => '<string>',
            'DBInstanceIdentifier' => '<string>',
            'DBSubnetGroupName' => '<string>',
            'EngineVersion' => '<string>',
            'Iops' => <integer>,
            'LicenseModel' => '<string>',
            'MasterUserPassword' => '<string>',
            'MultiAZ' => true || false,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'Port' => <integer>,
            'StorageType' => '<string>',
        ],
        'PerformanceInsightsEnabled' => true || false,
        'PerformanceInsightsKMSKeyId' => '<string>',
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'PromotionTier' => <integer>,
        'PubliclyAccessible' => true || false,
        'ReadReplicaDBClusterIdentifiers' => ['<string>', ...],
        'ReadReplicaDBInstanceIdentifiers' => ['<string>', ...],
        'ReadReplicaSourceDBInstanceIdentifier' => '<string>',
        'SecondaryAvailabilityZone' => '<string>',
        'StatusInfos' => [
            [
                'Message' => '<string>',
                'Normal' => true || false,
                'Status' => '<string>',
                'StatusType' => '<string>',
            ],
            // ...
        ],
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'TdeCredentialArn' => '<string>',
        'Timezone' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

Errors

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

RemoveFromGlobalCluster

$result = $client->removeFromGlobalCluster([/* ... */]);
$promise = $client->removeFromGlobalClusterAsync([/* ... */]);

Detaches a Neptune DB cluster from a Neptune global database. A secondary cluster becomes a normal standalone cluster with read-write capability instead of being read-only, and no longer receives data from a the primary cluster.

Parameter Syntax

$result = $client->removeFromGlobalCluster([
    'DbClusterIdentifier' => '<string>', // REQUIRED
    'GlobalClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DbClusterIdentifier
Required: Yes
Type: string

The Amazon Resource Name (ARN) identifying the cluster to be detached from the Neptune global database cluster.

GlobalClusterIdentifier
Required: Yes
Type: string

The identifier of the Neptune global database from which to detach the specified Neptune DB cluster.

Result Syntax

[
    'GlobalCluster' => [
        'DeletionProtection' => true || false,
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterArn' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'GlobalClusterMembers' => [
            [
                'DBClusterArn' => '<string>',
                'IsWriter' => true || false,
                'Readers' => ['<string>', ...],
            ],
            // ...
        ],
        'GlobalClusterResourceId' => '<string>',
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
    ],
]

Result Details

Members
GlobalCluster
Type: GlobalCluster structure

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Errors

GlobalClusterNotFoundFault:

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

InvalidGlobalClusterStateFault:

The global cluster is in an invalid state and can't perform the requested operation.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

RemoveRoleFromDBCluster

$result = $client->removeRoleFromDBCluster([/* ... */]);
$promise = $client->removeRoleFromDBClusterAsync([/* ... */]);

Disassociates an Identity and Access Management (IAM) role from a DB cluster.

Parameter Syntax

$result = $client->removeRoleFromDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'FeatureName' => '<string>',
    'RoleArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The name of the DB cluster to disassociate the IAM role from.

FeatureName
Type: string

The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DescribeDBEngineVersions.

RoleArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DBClusterRoleNotFoundFault:

The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

RemoveSourceIdentifierFromSubscription

$result = $client->removeSourceIdentifierFromSubscription([/* ... */]);
$promise = $client->removeSourceIdentifierFromSubscriptionAsync([/* ... */]);

Removes a source identifier from an existing event notification subscription.

Parameter Syntax

$result = $client->removeSourceIdentifierFromSubscription([
    'SourceIdentifier' => '<string>', // REQUIRED
    'SubscriptionName' => '<string>', // REQUIRED
]);

Parameter Details

Members
SourceIdentifier
Required: Yes
Type: string

The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.

SubscriptionName
Required: Yes
Type: string

The name of the event notification subscription you want to remove a source identifier from.

Result Syntax

[
    'EventSubscription' => [
        'CustSubscriptionId' => '<string>',
        'CustomerAwsId' => '<string>',
        'Enabled' => true || false,
        'EventCategoriesList' => ['<string>', ...],
        'EventSubscriptionArn' => '<string>',
        'SnsTopicArn' => '<string>',
        'SourceIdsList' => ['<string>', ...],
        'SourceType' => '<string>',
        'Status' => '<string>',
        'SubscriptionCreationTime' => '<string>',
    ],
]

Result Details

Members
EventSubscription
Type: EventSubscription structure

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Errors

SubscriptionNotFoundFault:

The designated subscription could not be found.

SourceNotFoundFault:

The source could not be found.

RemoveTagsFromResource

$result = $client->removeTagsFromResource([/* ... */]);
$promise = $client->removeTagsFromResourceAsync([/* ... */]);

Removes metadata tags from an Amazon Neptune resource.

Parameter Syntax

$result = $client->removeTagsFromResource([
    'ResourceName' => '<string>', // REQUIRED
    'TagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
ResourceName
Required: Yes
Type: string

The Amazon Neptune resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

TagKeys
Required: Yes
Type: Array of strings

The tag key (name) of the tag to be removed.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

DBInstanceNotFoundFault:

DBInstanceIdentifier does not refer to an existing DB instance.

DBSnapshotNotFoundFault:

DBSnapshotIdentifier does not refer to an existing DB snapshot.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

ResetDBClusterParameterGroup

$result = $client->resetDBClusterParameterGroup([/* ... */]);
$promise = $client->resetDBClusterParameterGroupAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->resetDBClusterParameterGroup([
    'DBClusterParameterGroupName' => '<string>', // REQUIRED
    'Parameters' => [
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
    'ResetAllParameters' => true || false,
]);

Parameter Details

Members
DBClusterParameterGroupName
Required: Yes
Type: string

The name of the DB cluster parameter group to reset.

Parameters
Type: Array of Parameter structures

A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true.

ResetAllParameters
Type: boolean

A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter.

Result Syntax

[
    'DBClusterParameterGroupName' => '<string>',
]

Result Details

Members
DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group.

Constraints:

  • Must be 1 to 255 letters or numbers.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

This value is stored as a lowercase string.

Errors

InvalidDBParameterGroupStateFault:

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.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

ResetDBParameterGroup

$result = $client->resetDBParameterGroup([/* ... */]);
$promise = $client->resetDBParameterGroupAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->resetDBParameterGroup([
    'DBParameterGroupName' => '<string>', // REQUIRED
    'Parameters' => [
        [
            'AllowedValues' => '<string>',
            'ApplyMethod' => 'immediate|pending-reboot',
            'ApplyType' => '<string>',
            'DataType' => '<string>',
            'Description' => '<string>',
            'IsModifiable' => true || false,
            'MinimumEngineVersion' => '<string>',
            'ParameterName' => '<string>',
            'ParameterValue' => '<string>',
            'Source' => '<string>',
        ],
        // ...
    ],
    'ResetAllParameters' => true || false,
]);

Parameter Details

Members
DBParameterGroupName
Required: Yes
Type: string

The name of the DB parameter group.

Constraints:

  • Must match the name of an existing DBParameterGroup.

Parameters
Type: Array of Parameter structures

To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Valid Values (for Apply method): pending-reboot

ResetAllParameters
Type: boolean

Specifies whether (true) or not (false) to reset all parameters in the DB parameter group to default values.

Default: true

Result Syntax

[
    'DBParameterGroupName' => '<string>',
]

Result Details

Members
DBParameterGroupName
Type: string

Provides the name of the DB parameter group.

Errors

InvalidDBParameterGroupStateFault:

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.

DBParameterGroupNotFoundFault:

DBParameterGroupName does not refer to an existing DB parameter group.

RestoreDBClusterFromSnapshot

$result = $client->restoreDBClusterFromSnapshot([/* ... */]);
$promise = $client->restoreDBClusterFromSnapshotAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->restoreDBClusterFromSnapshot([
    'AvailabilityZones' => ['<string>', ...],
    'CopyTagsToSnapshot' => true || false,
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBClusterParameterGroupName' => '<string>',
    'DBSubnetGroupName' => '<string>',
    'DatabaseName' => '<string>',
    'DeletionProtection' => true || false,
    'EnableCloudwatchLogsExports' => ['<string>', ...],
    'EnableIAMDatabaseAuthentication' => true || false,
    'Engine' => '<string>', // REQUIRED
    'EngineVersion' => '<string>',
    'KmsKeyId' => '<string>',
    'OptionGroupName' => '<string>',
    'Port' => <integer>,
    'ServerlessV2ScalingConfiguration' => [
        'MaxCapacity' => <float>,
        'MinCapacity' => <float>,
    ],
    'SnapshotIdentifier' => '<string>', // REQUIRED
    'StorageType' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
AvailabilityZones
Type: Array of strings

Provides the list of EC2 Availability Zones that instances in the restored DB cluster can be created in.

CopyTagsToSnapshot
Type: boolean

If set to true, tags are copied to any snapshot of the restored DB cluster that is created.

DBClusterIdentifier
Required: Yes
Type: string

The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This parameter isn't case-sensitive.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-snapshot-id

DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group to associate with the new DB cluster.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

DBSubnetGroupName
Type: string

The name of the DB subnet group to use for the new DB cluster.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

DatabaseName
Type: string

Not supported.

DeletionProtection
Type: boolean

A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.

EnableCloudwatchLogsExports
Type: Array of strings

The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs.

EnableIAMDatabaseAuthentication
Type: boolean

True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

Engine
Required: Yes
Type: string

The database engine to use for the new DB cluster.

Default: The same as source

Constraint: Must be compatible with the engine of the source

EngineVersion
Type: string

The version of the database engine to use for the new DB cluster.

KmsKeyId
Type: string

The Amazon KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

If you do not specify a value for the KmsKeyId parameter, then the following will occur:

  • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the DB snapshot or DB cluster snapshot.

  • If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is not encrypted, then the restored DB cluster is not encrypted.

OptionGroupName
Type: string

(Not supported by Neptune)

Port
Type: int

The port number on which the new DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

ServerlessV2ScalingConfiguration

Contains the scaling configuration of a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

SnapshotIdentifier
Required: Yes
Type: string

The identifier for the DB snapshot or DB cluster snapshot to restore from.

You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot.

Constraints:

  • Must match the identifier of an existing Snapshot.

StorageType
Type: string

Specifies the storage type to be associated with the DB cluster.

Valid values: standard, iopt1

Default: standard

Tags
Type: Array of Tag structures

The tags to be assigned to the restored DB cluster.

VpcSecurityGroupIds
Type: Array of strings

A list of VPC security groups that the new DB cluster will belong to.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterAlreadyExistsFault:

User already has a DB cluster with the given identifier.

DBClusterQuotaExceededFault:

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

StorageQuotaExceededFault:

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

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

DBSnapshotNotFoundFault:

DBSnapshotIdentifier does not refer to an existing DB snapshot.

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

InsufficientDBClusterCapacityFault:

The DB cluster does not have enough capacity for the current operation.

InsufficientStorageClusterCapacityFault:

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.

InvalidDBSnapshotStateFault:

The state of the DB snapshot does not allow deletion.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

StorageQuotaExceededFault:

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

InvalidVPCNetworkStateFault:

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

InvalidRestoreFault:

Cannot restore from vpc backup to non-vpc DB instance.

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

InvalidSubnet:

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

OptionGroupNotFoundFault:

The designated option group could not be found.

KMSKeyNotAccessibleFault:

Error accessing KMS key.

DBClusterParameterGroupNotFoundFault:

DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

RestoreDBClusterToPointInTime

$result = $client->restoreDBClusterToPointInTime([/* ... */]);
$promise = $client->restoreDBClusterToPointInTimeAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->restoreDBClusterToPointInTime([
    'DBClusterIdentifier' => '<string>', // REQUIRED
    'DBClusterParameterGroupName' => '<string>',
    'DBSubnetGroupName' => '<string>',
    'DeletionProtection' => true || false,
    'EnableCloudwatchLogsExports' => ['<string>', ...],
    'EnableIAMDatabaseAuthentication' => true || false,
    'KmsKeyId' => '<string>',
    'OptionGroupName' => '<string>',
    'Port' => <integer>,
    'RestoreToTime' => <integer || string || DateTime>,
    'RestoreType' => '<string>',
    'ServerlessV2ScalingConfiguration' => [
        'MaxCapacity' => <float>,
        'MinCapacity' => <float>,
    ],
    'SourceDBClusterIdentifier' => '<string>', // REQUIRED
    'StorageType' => '<string>',
    'Tags' => [
        [
            'Key' => '<string>',
            'Value' => '<string>',
        ],
        // ...
    ],
    'UseLatestRestorableTime' => true || false,
    'VpcSecurityGroupIds' => ['<string>', ...],
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The name of the new DB cluster to be created.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group to associate with the new DB cluster.

Constraints:

  • If supplied, must match the name of an existing DBClusterParameterGroup.

DBSubnetGroupName
Type: string

The DB subnet group name to use for the new DB cluster.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

DeletionProtection
Type: boolean

A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.

EnableCloudwatchLogsExports
Type: Array of strings

The list of logs that the restored DB cluster is to export to CloudWatch Logs.

EnableIAMDatabaseAuthentication
Type: boolean

True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

KmsKeyId
Type: string

The Amazon KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.

You can restore to a new DB cluster and encrypt the new DB cluster with a KMS key that is different than the KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the KMS key identified by the KmsKeyId parameter.

If you do not specify a value for the KmsKeyId parameter, then the following will occur:

  • If the DB cluster is encrypted, then the restored DB cluster is encrypted using the KMS key that was used to encrypt the source DB cluster.

  • If the DB cluster is not encrypted, then the restored DB cluster is not encrypted.

If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected.

OptionGroupName
Type: string

(Not supported by Neptune)

Port
Type: int

The port number on which the new DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

RestoreToTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time to restore the DB cluster to.

Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

Constraints:

  • Must be before the latest restorable time for the DB instance

  • Must be specified if UseLatestRestorableTime parameter is not provided

  • Cannot be specified if UseLatestRestorableTime parameter is true

  • Cannot be specified if RestoreType parameter is copy-on-write

Example: 2015-03-07T23:45:00Z

RestoreType
Type: string

The type of restore to be performed. You can specify one of the following values:

  • full-copy - The new DB cluster is restored as a full copy of the source DB cluster.

  • copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.

If you don't specify a RestoreType value, then the new DB cluster is restored as a full copy of the source DB cluster.

ServerlessV2ScalingConfiguration

Contains the scaling configuration of a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

SourceDBClusterIdentifier
Required: Yes
Type: string

The identifier of the source DB cluster from which to restore.

Constraints:

  • Must match the identifier of an existing DBCluster.

StorageType
Type: string

Specifies the storage type to be associated with the DB cluster.

Valid values: standard, iopt1

Default: standard

Tags
Type: Array of Tag structures

The tags to be applied to the restored DB cluster.

UseLatestRestorableTime
Type: boolean

A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise.

Default: false

Constraints: Cannot be specified if RestoreToTime parameter is provided.

VpcSecurityGroupIds
Type: Array of strings

A list of VPC security groups that the new DB cluster belongs to.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterAlreadyExistsFault:

User already has a DB cluster with the given identifier.

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

DBClusterQuotaExceededFault:

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

DBClusterSnapshotNotFoundFault:

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

DBSubnetGroupNotFoundFault:

DBSubnetGroupName does not refer to an existing DB subnet group.

InsufficientDBClusterCapacityFault:

The DB cluster does not have enough capacity for the current operation.

InsufficientStorageClusterCapacityFault:

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.

InvalidDBClusterSnapshotStateFault:

The supplied value is not a valid DB cluster snapshot state.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBSnapshotStateFault:

The state of the DB snapshot does not allow deletion.

InvalidRestoreFault:

Cannot restore from vpc backup to non-vpc DB instance.

InvalidSubnet:

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

InvalidVPCNetworkStateFault:

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

KMSKeyNotAccessibleFault:

Error accessing KMS key.

OptionGroupNotFoundFault:

The designated option group could not be found.

StorageQuotaExceededFault:

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

DBClusterParameterGroupNotFoundFault:

DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

StartDBCluster

$result = $client->startDBCluster([/* ... */]);
$promise = $client->startDBClusterAsync([/* ... */]);

Starts an Amazon Neptune DB cluster that was stopped using the Amazon console, the Amazon CLI stop-db-cluster command, or the StopDBCluster API.

Parameter Syntax

$result = $client->startDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier of the Neptune DB cluster to be started. This parameter is stored as a lowercase string.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

StopDBCluster

$result = $client->stopDBCluster([/* ... */]);
$promise = $client->stopDBClusterAsync([/* ... */]);

Stops an Amazon Neptune DB cluster. When you stop a DB cluster, Neptune retains the DB cluster's metadata, including its endpoints and DB parameter groups.

Neptune also retains the transaction logs so you can do a point-in-time restore if necessary.

Parameter Syntax

$result = $client->stopDBCluster([
    'DBClusterIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
DBClusterIdentifier
Required: Yes
Type: string

The DB cluster identifier of the Neptune DB cluster to be stopped. This parameter is stored as a lowercase string.

Result Syntax

[
    'DBCluster' => [
        'AllocatedStorage' => <integer>,
        'AssociatedRoles' => [
            [
                'FeatureName' => '<string>',
                'RoleArn' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'AutomaticRestartTime' => <DateTime>,
        'AvailabilityZones' => ['<string>', ...],
        'BackupRetentionPeriod' => <integer>,
        'CharacterSetName' => '<string>',
        'CloneGroupId' => '<string>',
        'ClusterCreateTime' => <DateTime>,
        'CopyTagsToSnapshot' => true || false,
        'CrossAccountClone' => true || false,
        'DBClusterArn' => '<string>',
        'DBClusterIdentifier' => '<string>',
        'DBClusterMembers' => [
            [
                'DBClusterParameterGroupStatus' => '<string>',
                'DBInstanceIdentifier' => '<string>',
                'IsClusterWriter' => true || false,
                'PromotionTier' => <integer>,
            ],
            // ...
        ],
        'DBClusterOptionGroupMemberships' => [
            [
                'DBClusterOptionGroupName' => '<string>',
                'Status' => '<string>',
            ],
            // ...
        ],
        'DBClusterParameterGroup' => '<string>',
        'DBSubnetGroup' => '<string>',
        'DatabaseName' => '<string>',
        'DbClusterResourceId' => '<string>',
        'DeletionProtection' => true || false,
        'EarliestRestorableTime' => <DateTime>,
        'EnabledCloudwatchLogsExports' => ['<string>', ...],
        'Endpoint' => '<string>',
        'Engine' => '<string>',
        'EngineVersion' => '<string>',
        'GlobalClusterIdentifier' => '<string>',
        'HostedZoneId' => '<string>',
        'IAMDatabaseAuthenticationEnabled' => true || false,
        'IOOptimizedNextAllowedModificationTime' => <DateTime>,
        'KmsKeyId' => '<string>',
        'LatestRestorableTime' => <DateTime>,
        'MasterUsername' => '<string>',
        'MultiAZ' => true || false,
        'PendingModifiedValues' => [
            'AllocatedStorage' => <integer>,
            'BackupRetentionPeriod' => <integer>,
            'DBClusterIdentifier' => '<string>',
            'EngineVersion' => '<string>',
            'IAMDatabaseAuthenticationEnabled' => true || false,
            'Iops' => <integer>,
            'PendingCloudwatchLogsExports' => [
                'LogTypesToDisable' => ['<string>', ...],
                'LogTypesToEnable' => ['<string>', ...],
            ],
            'StorageType' => '<string>',
        ],
        'PercentProgress' => '<string>',
        'Port' => <integer>,
        'PreferredBackupWindow' => '<string>',
        'PreferredMaintenanceWindow' => '<string>',
        'ReadReplicaIdentifiers' => ['<string>', ...],
        'ReaderEndpoint' => '<string>',
        'ReplicationSourceIdentifier' => '<string>',
        'ServerlessV2ScalingConfiguration' => [
            'MaxCapacity' => <float>,
            'MinCapacity' => <float>,
        ],
        'Status' => '<string>',
        'StorageEncrypted' => true || false,
        'StorageType' => '<string>',
        'VpcSecurityGroups' => [
            [
                'Status' => '<string>',
                'VpcSecurityGroupId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Errors

DBClusterNotFoundFault:

DBClusterIdentifier does not refer to an existing DB cluster.

InvalidDBClusterStateFault:

The DB cluster is not in a valid state.

InvalidDBInstanceStateFault:

The specified DB instance is not in the available state.

Shapes

ApplyPendingMaintenanceActionResult

Members
ResourcePendingMaintenanceActions

Describes the pending maintenance actions for a resource.

AuthorizationNotFoundFault

Description

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.

Members

AvailabilityZone

Description

Specifies an Availability Zone.

Members
Name
Type: string

The name of the availability zone.

CertificateNotFoundFault

Description

CertificateIdentifier does not refer to an existing certificate.

Members

CharacterSet

Description

Specifies a character set.

Members
CharacterSetDescription
Type: string

The description of the character set.

CharacterSetName
Type: string

The name of the character set.

CloudwatchLogsExportConfiguration

Description

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.

The EnableLogTypes and DisableLogTypes arrays determine which logs will be exported (or not exported) to CloudWatch Logs.

Valid log types are: audit (to publish audit logs) and slowquery (to publish slow-query logs). See Publishing Neptune logs to Amazon CloudWatch logs.

Members
DisableLogTypes
Type: Array of strings

The list of log types to disable.

EnableLogTypes
Type: Array of strings

The list of log types to enable.

ClusterPendingModifiedValues

Description

This data type is used as a response element in the ModifyDBCluster operation and contains changes that will be applied during the next maintenance window.

Members
AllocatedStorage
Type: int

The allocated storage size in gibibytes (GiB) for database engines. For Neptune, AllocatedStorage always returns 1, because Neptune DB cluster storage size isn't fixed, but instead automatically adjusts as needed.

BackupRetentionPeriod
Type: int

The number of days for which automatic DB snapshots are retained.

DBClusterIdentifier
Type: string

The DBClusterIdentifier value for the DB cluster.

EngineVersion
Type: string

The database engine version.

IAMDatabaseAuthenticationEnabled
Type: boolean

A value that indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

Iops
Type: int

The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.

PendingCloudwatchLogsExports

This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch logs are enabled and which are disabled.

StorageType
Type: string

The storage type for the DB cluster.

CopyDBClusterSnapshotResult

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

CopyDBParameterGroupResult

Members
DBParameterGroup
Type: DBParameterGroup structure

Contains the details of an Amazon Neptune DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

CreateDBClusterEndpointOutput

Description

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

  • CreateDBClusterEndpoint

  • DescribeDBClusterEndpoints

  • ModifyDBClusterEndpoint

  • DeleteDBClusterEndpoint

For the data structure that represents Amazon Neptune DB instance endpoints, see Endpoint.

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

CreateDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

CreateDBClusterSnapshotResult

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

CreateDBInstanceResult

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

CreateDBParameterGroupResult

Members
DBParameterGroup
Type: DBParameterGroup structure

Contains the details of an Amazon Neptune DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

CreateDBSubnetGroupResult

Members
DBSubnetGroup
Type: DBSubnetGroup structure

Contains the details of an Amazon Neptune DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

DBCluster

Description

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Members
AllocatedStorage
Type: int

AllocatedStorage always returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed.

AssociatedRoles
Type: Array of DBClusterRole structures

Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.

AutomaticRestartTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which the DB cluster will be automatically restarted.

AvailabilityZones
Type: Array of strings

Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.

BackupRetentionPeriod
Type: int

Specifies the number of days for which automatic DB snapshots are retained.

CharacterSetName
Type: string

Not supported by Neptune.

CloneGroupId
Type: string

Identifies the clone group to which the DB cluster is associated.

ClusterCreateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

CopyTagsToSnapshot
Type: boolean

If set to true, tags are copied to any snapshot of the DB cluster that is created.

CrossAccountClone
Type: boolean

If set to true, the DB cluster can be cloned across accounts.

DBClusterArn
Type: string

The Amazon Resource Name (ARN) for the DB cluster.

DBClusterIdentifier
Type: string

Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.

DBClusterMembers
Type: Array of DBClusterMember structures

Provides the list of instances that make up the DB cluster.

DBClusterOptionGroupMemberships
Type: Array of DBClusterOptionGroupStatus structures

Not supported by Neptune.

DBClusterParameterGroup
Type: string

Specifies the name of the DB cluster parameter group for the DB cluster.

DBSubnetGroup
Type: string

Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.

DatabaseName
Type: string

Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.

DbClusterResourceId
Type: string

The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.

DeletionProtection
Type: boolean

Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.

EarliestRestorableTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the earliest time to which a database can be restored with point-in-time restore.

EnabledCloudwatchLogsExports
Type: Array of strings

A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are: audit (to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs.

Endpoint
Type: string

Specifies the connection endpoint for the primary instance of the DB cluster.

Engine
Type: string

Provides the name of the database engine to be used for this DB cluster.

EngineVersion
Type: string

Indicates the database engine version.

GlobalClusterIdentifier
Type: string

Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.

HostedZoneId
Type: string

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

IAMDatabaseAuthenticationEnabled
Type: boolean

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

IOOptimizedNextAllowedModificationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The next time you can modify the DB cluster to use the iopt1 storage type.

KmsKeyId
Type: string

If StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB cluster.

LatestRestorableTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the latest time to which a database can be restored with point-in-time restore.

MasterUsername
Type: string

Not supported by Neptune.

MultiAZ
Type: boolean

Specifies whether the DB cluster has instances in multiple Availability Zones.

PendingModifiedValues

This data type is used as a response element in the ModifyDBCluster operation and contains changes that will be applied during the next maintenance window.

PercentProgress
Type: string

Specifies the progress of the operation as a percentage.

Port
Type: int

Specifies the port that the database engine is listening on.

PreferredBackupWindow
Type: string

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

PreferredMaintenanceWindow
Type: string

Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

ReadReplicaIdentifiers
Type: Array of strings

Contains one or more identifiers of the Read Replicas associated with this DB cluster.

ReaderEndpoint
Type: string

The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.

If a failover occurs, and the Read Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Read Replicas in the cluster, you can then reconnect to the reader endpoint.

ReplicationSourceIdentifier
Type: string

Not supported by Neptune.

ServerlessV2ScalingConfiguration

Shows the scaling configuration for a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

Status
Type: string

Specifies the current state of this DB cluster.

StorageEncrypted
Type: boolean

Specifies whether the DB cluster is encrypted.

StorageType
Type: string

The storage type associated with the DB cluster.

VpcSecurityGroups
Type: Array of VpcSecurityGroupMembership structures

Provides a list of VPC security groups that the DB cluster belongs to.

DBClusterAlreadyExistsFault

Description

User already has a DB cluster with the given identifier.

Members

DBClusterEndpoint

Description

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

  • CreateDBClusterEndpoint

  • DescribeDBClusterEndpoints

  • ModifyDBClusterEndpoint

  • DeleteDBClusterEndpoint

For the data structure that represents Amazon Neptune DB instance endpoints, see Endpoint.

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

DBClusterEndpointAlreadyExistsFault

Description

The specified custom endpoint cannot be created because it already exists.

Members

DBClusterEndpointMessage

Members
DBClusterEndpoints
Type: Array of DBClusterEndpoint structures

Contains the details of the endpoints associated with the cluster and matching any filter conditions.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBClusterEndpointNotFoundFault

Description

The specified custom endpoint doesn't exist.

Members

DBClusterEndpointQuotaExceededFault

Description

The cluster already has the maximum number of custom endpoints.

Members

DBClusterMember

Description

Contains information about an instance that is part of a DB cluster.

Members
DBClusterParameterGroupStatus
Type: string

Specifies the status of the DB cluster parameter group for this member of the DB cluster.

DBInstanceIdentifier
Type: string

Specifies the instance identifier for this member of the DB cluster.

IsClusterWriter
Type: boolean

Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.

PromotionTier
Type: int

A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

DBClusterMessage

Members
DBClusters
Type: Array of DBCluster structures

Contains a list of DB clusters for the user.

Marker
Type: string

A pagination token that can be used in a subsequent DescribeDBClusters request.

DBClusterNotFoundFault

Description

DBClusterIdentifier does not refer to an existing DB cluster.

Members

DBClusterOptionGroupStatus

Description

Not supported by Neptune.

Members
DBClusterOptionGroupName
Type: string

Not supported by Neptune.

Status
Type: string

Not supported by Neptune.

DBClusterParameterGroup

Description

Contains the details of an Amazon Neptune DB cluster parameter group.

This data type is used as a response element in the DescribeDBClusterParameterGroups action.

Members
DBClusterParameterGroupArn
Type: string

The Amazon Resource Name (ARN) for the DB cluster parameter group.

DBClusterParameterGroupName
Type: string

Provides the name of the DB cluster parameter group.

DBParameterGroupFamily
Type: string

Provides the name of the DB parameter group family that this DB cluster parameter group is compatible with.

Description
Type: string

Provides the customer-specified description for this DB cluster parameter group.

DBClusterParameterGroupDetails

Members
Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Parameters
Type: Array of Parameter structures

Provides a list of parameters for the DB cluster parameter group.

DBClusterParameterGroupNameMessage

Members
DBClusterParameterGroupName
Type: string

The name of the DB cluster parameter group.

Constraints:

  • Must be 1 to 255 letters or numbers.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

This value is stored as a lowercase string.

DBClusterParameterGroupNotFoundFault

Description

DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.

Members

DBClusterParameterGroupsMessage

Members
DBClusterParameterGroups
Type: Array of DBClusterParameterGroup structures

A list of DB cluster parameter groups.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBClusterQuotaExceededFault

Description

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

Members

DBClusterRole

Description

Describes an Amazon Identity and Access Management (IAM) role that is associated with a DB cluster.

Members
FeatureName
Type: string

The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list of supported feature names, see DescribeDBEngineVersions.

RoleArn
Type: string

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.

Status
Type: string

Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

  • ACTIVE - the IAM role ARN is associated with the DB cluster and can be used to access other Amazon services on your behalf.

  • PENDING - the IAM role ARN is being associated with the DB cluster.

  • INVALID - the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other Amazon services on your behalf.

DBClusterRoleAlreadyExistsFault

Description

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

Members

DBClusterRoleNotFoundFault

Description

The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.

Members

DBClusterRoleQuotaExceededFault

Description

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

Members

DBClusterSnapshot

Description

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

Members
AllocatedStorage
Type: int

Specifies the allocated storage size in gibibytes (GiB).

AvailabilityZones
Type: Array of strings

Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.

ClusterCreateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

DBClusterIdentifier
Type: string

Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.

DBClusterSnapshotArn
Type: string

The Amazon Resource Name (ARN) for the DB cluster snapshot.

DBClusterSnapshotIdentifier
Type: string

Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot.

After you restore a DB cluster using a DBClusterSnapshotIdentifier, you must specify the same DBClusterSnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed.

However, if you don't specify the DBClusterSnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the DBClusterSnapshotIdentifier, and the original DB cluster is deleted.

Engine
Type: string

Specifies the name of the database engine.

EngineVersion
Type: string

Provides the version of the database engine for this DB cluster snapshot.

IAMDatabaseAuthenticationEnabled
Type: boolean

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

KmsKeyId
Type: string

If StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB cluster snapshot.

LicenseModel
Type: string

Provides the license model information for this DB cluster snapshot.

MasterUsername
Type: string

Not supported by Neptune.

PercentProgress
Type: int

Specifies the percentage of the estimated data that has been transferred.

Port
Type: int

Specifies the port that the DB cluster was listening on at the time of the snapshot.

SnapshotCreateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).

SnapshotType
Type: string

Provides the type of the DB cluster snapshot.

SourceDBClusterSnapshotArn
Type: string

If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value.

Status
Type: string

Specifies the status of this DB cluster snapshot.

StorageEncrypted
Type: boolean

Specifies whether the DB cluster snapshot is encrypted.

StorageType
Type: string

The storage type associated with the DB cluster snapshot.

VpcId
Type: string

Provides the VPC ID associated with the DB cluster snapshot.

DBClusterSnapshotAlreadyExistsFault

Description

User already has a DB cluster snapshot with the given identifier.

Members

DBClusterSnapshotAttribute

Description

Contains the name and values of a manual DB cluster snapshot attribute.

Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Members
AttributeName
Type: string

The name of the manual DB cluster snapshot attribute.

The attribute named restore refers to the list of Amazon accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

AttributeValues
Type: Array of strings

The value(s) for the manual DB cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the Amazon accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any Amazon account to copy or restore.

DBClusterSnapshotAttributesResult

Description

Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.

Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Members
DBClusterSnapshotAttributes
Type: Array of DBClusterSnapshotAttribute structures

The list of attributes and values for the manual DB cluster snapshot.

DBClusterSnapshotIdentifier
Type: string

The identifier of the manual DB cluster snapshot that the attributes apply to.

DBClusterSnapshotMessage

Members
DBClusterSnapshots
Type: Array of DBClusterSnapshot structures

Provides a list of DB cluster snapshots for the user.

Marker
Type: string

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBClusterSnapshotNotFoundFault

Description

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

Members

DBEngineVersion

Description

This data type is used as a response element in the action DescribeDBEngineVersions.

Members
DBEngineDescription
Type: string

The description of the database engine.

DBEngineVersionDescription
Type: string

The description of the database engine version.

DBParameterGroupFamily
Type: string

The name of the DB parameter group family for the database engine.

DefaultCharacterSet
Type: CharacterSet structure

(Not supported by Neptune)

Engine
Type: string

The name of the database engine.

EngineVersion
Type: string

The version number of the database engine.

ExportableLogTypes
Type: Array of strings

The types of logs that the database engine has available for export to CloudWatch Logs.

SupportedCharacterSets
Type: Array of CharacterSet structures

(Not supported by Neptune)

SupportedTimezones
Type: Array of Timezone structures

A list of the time zones supported by this engine for the Timezone parameter of the CreateDBInstance action.

SupportsGlobalDatabases
Type: boolean

A value that indicates whether you can use Aurora global databases with a specific DB engine version.

SupportsLogExportsToCloudwatchLogs
Type: boolean

A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.

SupportsReadReplica
Type: boolean

Indicates whether the database engine version supports read replicas.

ValidUpgradeTarget
Type: Array of UpgradeTarget structures

A list of engine versions that this database engine version can be upgraded to.

DBEngineVersionMessage

Members
DBEngineVersions
Type: Array of DBEngineVersion structures

A list of DBEngineVersion elements.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBInstance

Description

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

Members
AllocatedStorage
Type: int

Not supported by Neptune.

AutoMinorVersionUpgrade
Type: boolean

Indicates that minor version patches are applied automatically.

AvailabilityZone
Type: string

Specifies the name of the Availability Zone the DB instance is located in.

BackupRetentionPeriod
Type: int

Specifies the number of days for which automatic DB snapshots are retained.

CACertificateIdentifier
Type: string

The identifier of the CA certificate for this DB instance.

CharacterSetName
Type: string

(Not supported by Neptune)

CopyTagsToSnapshot
Type: boolean

Specifies whether tags are copied from the DB instance to snapshots of the DB instance.

DBClusterIdentifier
Type: string

If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.

DBInstanceArn
Type: string

The Amazon Resource Name (ARN) for the DB instance.

DBInstanceClass
Type: string

Contains the name of the compute and memory capacity class of the DB instance.

DBInstanceIdentifier
Type: string

Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.

DBInstanceStatus
Type: string

Specifies the current state of this database.

DBName
Type: string

The database name.

DBParameterGroups
Type: Array of DBParameterGroupStatus structures

Provides the list of DB parameter groups applied to this DB instance.

DBSecurityGroups
Type: Array of DBSecurityGroupMembership structures

Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.

DBSubnetGroup
Type: DBSubnetGroup structure

Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.

DbInstancePort
Type: int

Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.

DbiResourceId
Type: string

The Amazon Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB instance is accessed.

DeletionProtection
Type: boolean

Indicates whether or not the DB instance has deletion protection enabled. The instance can't be deleted when deletion protection is enabled. See Deleting a DB Instance.

DomainMemberships
Type: Array of DomainMembership structures

Not supported

EnabledCloudwatchLogsExports
Type: Array of strings

A list of log types that this DB instance is configured to export to CloudWatch Logs.

Endpoint
Type: Endpoint structure

Specifies the connection endpoint.

Engine
Type: string

Provides the name of the database engine to be used for this DB instance.

EngineVersion
Type: string

Indicates the database engine version.

EnhancedMonitoringResourceArn
Type: string

The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.

IAMDatabaseAuthenticationEnabled
Type: boolean

True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.

InstanceCreateTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Provides the date and time the DB instance was created.

Iops
Type: int

Specifies the Provisioned IOPS (I/O operations per second) value.

KmsKeyId
Type: string

Not supported: The encryption for DB instances is managed by the DB cluster.

LatestRestorableTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the latest time to which a database can be restored with point-in-time restore.

LicenseModel
Type: string

License model information for this DB instance.

MasterUsername
Type: string

Not supported by Neptune.

MonitoringInterval
Type: int

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.

MonitoringRoleArn
Type: string

The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.

MultiAZ
Type: boolean

Specifies if the DB instance is a Multi-AZ deployment.

OptionGroupMemberships
Type: Array of OptionGroupMembership structures

(Not supported by Neptune)

PendingModifiedValues
Type: PendingModifiedValues structure

Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.

PerformanceInsightsEnabled
Type: boolean

(Not supported by Neptune)

PerformanceInsightsKMSKeyId
Type: string

(Not supported by Neptune)

PreferredBackupWindow
Type: string

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

PreferredMaintenanceWindow
Type: string

Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

PromotionTier
Type: int

A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

PubliclyAccessible
Type: boolean

This flag should no longer be used.

ReadReplicaDBClusterIdentifiers
Type: Array of strings

Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.

ReadReplicaDBInstanceIdentifiers
Type: Array of strings

Contains one or more identifiers of the Read Replicas associated with this DB instance.

ReadReplicaSourceDBInstanceIdentifier
Type: string

Contains the identifier of the source DB instance if this DB instance is a Read Replica.

SecondaryAvailabilityZone
Type: string

If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.

StatusInfos
Type: Array of DBInstanceStatusInfo structures

The status of a Read Replica. If the instance is not a Read Replica, this is blank.

StorageEncrypted
Type: boolean

Not supported: The encryption for DB instances is managed by the DB cluster.

StorageType
Type: string

Specifies the storage type associated with DB instance.

TdeCredentialArn
Type: string

The ARN from the key store with which the instance is associated for TDE encryption.

Timezone
Type: string

Not supported.

VpcSecurityGroups
Type: Array of VpcSecurityGroupMembership structures

Provides a list of VPC security group elements that the DB instance belongs to.

DBInstanceAlreadyExistsFault

Description

User already has a DB instance with the given identifier.

Members

DBInstanceMessage

Members
DBInstances
Type: Array of DBInstance structures

A list of DBInstance instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

DBInstanceNotFoundFault

Description

DBInstanceIdentifier does not refer to an existing DB instance.

Members

DBInstanceStatusInfo

Description

Provides a list of status information for a DB instance.

Members
Message
Type: string

Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.

Normal
Type: boolean

Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

Status
Type: string

Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

StatusType
Type: string

This value is currently "read replication."

DBParameterGroup

Description

Contains the details of an Amazon Neptune DB parameter group.

This data type is used as a response element in the DescribeDBParameterGroups action.

Members
DBParameterGroupArn
Type: string

The Amazon Resource Name (ARN) for the DB parameter group.

DBParameterGroupFamily
Type: string

Provides the name of the DB parameter group family that this DB parameter group is compatible with.

DBParameterGroupName
Type: string

Provides the name of the DB parameter group.

Description
Type: string

Provides the customer-specified description for this DB parameter group.

DBParameterGroupAlreadyExistsFault

Description

A DB parameter group with the same name exists.

Members

DBParameterGroupDetails

Members
Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters
Type: Array of Parameter structures

A list of Parameter values.

DBParameterGroupNameMessage

Members
DBParameterGroupName
Type: string

Provides the name of the DB parameter group.

DBParameterGroupNotFoundFault

Description

DBParameterGroupName does not refer to an existing DB parameter group.

Members

DBParameterGroupQuotaExceededFault

Description

Request would result in user exceeding the allowed number of DB parameter groups.

Members

DBParameterGroupStatus

Description

The status of the DB parameter group.

This data type is used as a response element in the following actions:

Members
DBParameterGroupName
Type: string

The name of the DP parameter group.

ParameterApplyStatus
Type: string

The status of parameter updates.

DBParameterGroupsMessage

Members
DBParameterGroups
Type: Array of DBParameterGroup structures

A list of DBParameterGroup instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBSecurityGroupMembership

Description

Specifies membership in a designated DB security group.

Members
DBSecurityGroupName
Type: string

The name of the DB security group.

Status
Type: string

The status of the DB security group.

DBSecurityGroupNotFoundFault

Description

DBSecurityGroupName does not refer to an existing DB security group.

Members

DBSnapshotAlreadyExistsFault

Description

DBSnapshotIdentifier is already used by an existing snapshot.

Members

DBSnapshotNotFoundFault

Description

DBSnapshotIdentifier does not refer to an existing DB snapshot.

Members

DBSubnetGroup

Description

Contains the details of an Amazon Neptune DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

Members
DBSubnetGroupArn
Type: string

The Amazon Resource Name (ARN) for the DB subnet group.

DBSubnetGroupDescription
Type: string

Provides the description of the DB subnet group.

DBSubnetGroupName
Type: string

The name of the DB subnet group.

SubnetGroupStatus
Type: string

Provides the status of the DB subnet group.

Subnets
Type: Array of Subnet structures

Contains a list of Subnet elements.

VpcId
Type: string

Provides the VpcId of the DB subnet group.

DBSubnetGroupAlreadyExistsFault

Description

DBSubnetGroupName is already used by an existing DB subnet group.

Members

DBSubnetGroupDoesNotCoverEnoughAZs

Description

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

Members

DBSubnetGroupMessage

Members
DBSubnetGroups
Type: Array of DBSubnetGroup structures

A list of DBSubnetGroup instances.

Marker
Type: string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

DBSubnetGroupNotFoundFault

Description

DBSubnetGroupName does not refer to an existing DB subnet group.

Members

DBSubnetGroupQuotaExceededFault

Description

Request would result in user exceeding the allowed number of DB subnet groups.

Members

DBSubnetQuotaExceededFault

Description

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

Members

DBUpgradeDependencyFailureFault

Description

The DB upgrade failed because a resource the DB depends on could not be modified.

Members

DeleteDBClusterEndpointOutput

Description

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

  • CreateDBClusterEndpoint

  • DescribeDBClusterEndpoints

  • ModifyDBClusterEndpoint

  • DeleteDBClusterEndpoint

For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

DeleteDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

DeleteDBClusterSnapshotResult

Members
DBClusterSnapshot
Type: DBClusterSnapshot structure

Contains the details for an Amazon Neptune DB cluster snapshot

This data type is used as a response element in the DescribeDBClusterSnapshots action.

DeleteDBInstanceResult

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

DomainMembership

Description

An Active Directory Domain membership record associated with a DB instance.

Members
Domain
Type: string

The identifier of the Active Directory Domain.

FQDN
Type: string

The fully qualified domain name of the Active Directory Domain.

IAMRoleName
Type: string

The name of the IAM role to be used when making API calls to the Directory Service.

Status
Type: string

The status of the DB instance's Active Directory Domain membership, such as joined, pending-join, failed etc).

DomainNotFoundFault

Description

Domain does not refer to an existing Active Directory Domain.

Members

DoubleRange

Description

A range of double values.

Members
From
Type: double

The minimum value in the range.

To
Type: double

The maximum value in the range.

Endpoint

Description

Specifies a connection endpoint.

For the data structure that represents Amazon Neptune DB cluster endpoints, see DBClusterEndpoint.

Members
Address
Type: string

Specifies the DNS address of the DB instance.

HostedZoneId
Type: string

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

Port
Type: int

Specifies the port that the database engine is listening on.

EngineDefaults

Description

Contains the result of a successful invocation of the DescribeEngineDefaultParameters action.

Members
DBParameterGroupFamily
Type: string

Specifies the name of the DB parameter group family that the engine default parameters apply to.

Marker
Type: string

An optional pagination token provided by a previous EngineDefaults request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Parameters
Type: Array of Parameter structures

Contains a list of engine default parameters.

Event

Description

This data type is used as a response element in the DescribeEvents action.

Members
Date
Type: timestamp (string|DateTime or anything parsable by strtotime)

Specifies the date and time of the event.

EventCategories
Type: Array of strings

Specifies the category for the event.

Message
Type: string

Provides the text of this event.

SourceArn
Type: string

The Amazon Resource Name (ARN) for the event.

SourceIdentifier
Type: string

Provides the identifier for the source of the event.

SourceType
Type: string

Specifies the source type for this event.

EventCategoriesMap

Description

Contains the results of a successful invocation of the DescribeEventCategories action.

Members
EventCategories
Type: Array of strings

The event categories for the specified source type

SourceType
Type: string

The source type that the returned categories belong to

EventCategoriesMessage

Members
EventCategoriesMapList
Type: Array of EventCategoriesMap structures

A list of EventCategoriesMap data types.

EventSubscription

Description

Contains the results of a successful invocation of the DescribeEventSubscriptions action.

Members
CustSubscriptionId
Type: string

The event notification subscription Id.

CustomerAwsId
Type: string

The Amazon customer account associated with the event notification subscription.

Enabled
Type: boolean

A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.

EventCategoriesList
Type: Array of strings

A list of event categories for the event notification subscription.

EventSubscriptionArn
Type: string

The Amazon Resource Name (ARN) for the event subscription.

SnsTopicArn
Type: string

The topic ARN of the event notification subscription.

SourceIdsList
Type: Array of strings

A list of source IDs for the event notification subscription.

SourceType
Type: string

The source type for the event notification subscription.

Status
Type: string

The status of the event notification subscription.

Constraints:

Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

The status "no-permission" indicates that Neptune no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

SubscriptionCreationTime
Type: string

The time the event notification subscription was created.

EventSubscriptionQuotaExceededFault

Description

You have exceeded the number of events you can subscribe to.

Members

EventSubscriptionsMessage

Members
EventSubscriptionsList
Type: Array of EventSubscription structures

A list of EventSubscriptions data types.

Marker
Type: string

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

EventsMessage

Members
Events
Type: Array of Event structures

A list of Event instances.

Marker
Type: string

An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

FailoverDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

Filter

Description

This type is not currently supported.

Members
Name
Required: Yes
Type: string

This parameter is not currently supported.

Values
Required: Yes
Type: Array of strings

This parameter is not currently supported.

GlobalCluster

Description

Contains the details of an Amazon Neptune global database.

This data type is used as a response element for the CreateGlobalCluster, DescribeGlobalClusters, ModifyGlobalCluster, DeleteGlobalCluster, FailoverGlobalCluster, and RemoveFromGlobalCluster actions.

Members
DeletionProtection
Type: boolean

The deletion protection setting for the global database.

Engine
Type: string

The Neptune database engine used by the global database ("neptune").

EngineVersion
Type: string

The Neptune engine version used by the global database.

GlobalClusterArn
Type: string

The Amazon Resource Name (ARN) for the global database.

GlobalClusterIdentifier
Type: string

Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.

GlobalClusterMembers
Type: Array of GlobalClusterMember structures

A list of cluster ARNs and instance ARNs for all the DB clusters that are part of the global database.

GlobalClusterResourceId
Type: string

An immutable identifier for the global database that is unique within in all regions. This identifier is found in CloudTrail log entries whenever the KMS key for the DB cluster is accessed.

Status
Type: string

Specifies the current state of this global database.

StorageEncrypted
Type: boolean

The storage encryption setting for the global database.

GlobalClusterAlreadyExistsFault

Description

The GlobalClusterIdentifier already exists. Choose a new global database identifier (unique name) to create a new global database cluster.

Members

GlobalClusterMember

Description

A data structure with information about any primary and secondary clusters associated with an Neptune global database.

Members
DBClusterArn
Type: string

The Amazon Resource Name (ARN) for each Neptune cluster.

IsWriter
Type: boolean

Specifies whether the Neptune cluster is the primary cluster (that is, has read-write capability) for the Neptune global database with which it is associated.

Readers
Type: Array of strings

The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Neptune global database.

GlobalClusterNotFoundFault

Description

The GlobalClusterIdentifier doesn't refer to an existing global database cluster.

Members

GlobalClusterQuotaExceededFault

Description

The number of global database clusters for this account is already at the maximum allowed.

Members

GlobalClustersMessage

Members
GlobalClusters
Type: Array of GlobalCluster structures

The list of global clusters and instances returned by this request.

Marker
Type: string

A pagination token. If this parameter is returned in the response, more records are available, which can be retrieved by one or more additional calls to DescribeGlobalClusters.

InstanceQuotaExceededFault

Description

Request would result in user exceeding the allowed number of DB instances.

Members

InsufficientDBClusterCapacityFault

Description

The DB cluster does not have enough capacity for the current operation.

Members

InsufficientDBInstanceCapacityFault

Description

Specified DB instance class is not available in the specified Availability Zone.

Members

InsufficientStorageClusterCapacityFault

Description

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.

Members

InvalidDBClusterEndpointStateFault

Description

The requested operation cannot be performed on the endpoint while the endpoint is in this state.

Members

InvalidDBClusterSnapshotStateFault

Description

The supplied value is not a valid DB cluster snapshot state.

Members

InvalidDBClusterStateFault

Description

The DB cluster is not in a valid state.

Members

InvalidDBInstanceStateFault

Description

The specified DB instance is not in the available state.

Members

InvalidDBParameterGroupStateFault

Description

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.

Members

InvalidDBSecurityGroupStateFault

Description

The state of the DB security group does not allow deletion.

Members

InvalidDBSnapshotStateFault

Description

The state of the DB snapshot does not allow deletion.

Members

InvalidDBSubnetGroupStateFault

Description

The DB subnet group cannot be deleted because it is in use.

Members

InvalidDBSubnetStateFault

Description

The DB subnet is not in the available state.

Members

InvalidEventSubscriptionStateFault

Description

The event subscription is in an invalid state.

Members

InvalidGlobalClusterStateFault

Description

The global cluster is in an invalid state and can't perform the requested operation.

Members

InvalidRestoreFault

Description

Cannot restore from vpc backup to non-vpc DB instance.

Members

InvalidSubnet

Description

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

Members

InvalidVPCNetworkStateFault

Description

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

Members

KMSKeyNotAccessibleFault

Description

Error accessing KMS key.

Members

ModifyDBClusterEndpointOutput

Description

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

  • CreateDBClusterEndpoint

  • DescribeDBClusterEndpoints

  • ModifyDBClusterEndpoint

  • DeleteDBClusterEndpoint

For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.

Members
CustomEndpointType
Type: string

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

DBClusterEndpointArn
Type: string

The Amazon Resource Name (ARN) for the endpoint.

DBClusterEndpointIdentifier
Type: string

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

DBClusterEndpointResourceIdentifier
Type: string

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

DBClusterIdentifier
Type: string

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

Endpoint
Type: string

The DNS address of the endpoint.

EndpointType
Type: string

The type of the endpoint. One of: READER, WRITER, CUSTOM.

ExcludedMembers
Type: Array of strings

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

StaticMembers
Type: Array of strings

List of DB instance identifiers that are part of the custom endpoint group.

Status
Type: string

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

ModifyDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

ModifyDBInstanceResult

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

ModifyDBSubnetGroupResult

Members
DBSubnetGroup
Type: DBSubnetGroup structure

Contains the details of an Amazon Neptune DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

OptionGroupMembership

Description

Not supported by Neptune.

Members
OptionGroupName
Type: string

Not supported by Neptune.

Status
Type: string

Not supported by Neptune.

OptionGroupNotFoundFault

Description

The designated option group could not be found.

Members

OrderableDBInstanceOption

Description

Contains a list of available options for a DB instance.

This data type is used as a response element in the DescribeOrderableDBInstanceOptions action.

Members
AvailabilityZones
Type: Array of AvailabilityZone structures

A list of Availability Zones for a DB instance.

DBInstanceClass
Type: string

The DB instance class for a DB instance.

Engine
Type: string

The engine type of a DB instance.

EngineVersion
Type: string

The engine version of a DB instance.

LicenseModel
Type: string

The license model for a DB instance.

MaxIopsPerDbInstance
Type: int

Maximum total provisioned IOPS for a DB instance.

MaxIopsPerGib
Type: double

Maximum provisioned IOPS per GiB for a DB instance.

MaxStorageSize
Type: int

Maximum storage size for a DB instance.

MinIopsPerDbInstance
Type: int

Minimum total provisioned IOPS for a DB instance.

MinIopsPerGib
Type: double

Minimum provisioned IOPS per GiB for a DB instance.

MinStorageSize
Type: int

Minimum storage size for a DB instance.

MultiAZCapable
Type: boolean

Indicates whether a DB instance is Multi-AZ capable.

ReadReplicaCapable
Type: boolean

Indicates whether a DB instance can have a Read Replica.

StorageType
Type: string

Indicates the storage type for a DB instance.

SupportsEnhancedMonitoring
Type: boolean

Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.

SupportsGlobalDatabases
Type: boolean

A value that indicates whether you can use Neptune global databases with a specific combination of other DB engine attributes.

SupportsIAMDatabaseAuthentication
Type: boolean

Indicates whether a DB instance supports IAM database authentication.

SupportsIops
Type: boolean

Indicates whether a DB instance supports provisioned IOPS.

SupportsPerformanceInsights
Type: boolean

(Not supported by Neptune)

SupportsStorageEncryption
Type: boolean

Indicates whether a DB instance supports encrypted storage.

Vpc
Type: boolean

Indicates whether a DB instance is in a VPC.

OrderableDBInstanceOptionsMessage

Members
Marker
Type: string

An optional pagination token provided by a previous OrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

OrderableDBInstanceOptions
Type: Array of OrderableDBInstanceOption structures

An OrderableDBInstanceOption structure containing information about orderable options for the DB instance.

Parameter

Description

Specifies a parameter.

Members
AllowedValues
Type: string

Specifies the valid range of values for the parameter.

ApplyMethod
Type: string

Indicates when to apply parameter updates.

ApplyType
Type: string

Specifies the engine specific parameters type.

DataType
Type: string

Specifies the valid data type for the parameter.

Description
Type: string

Provides a description of the parameter.

IsModifiable
Type: boolean

Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

MinimumEngineVersion
Type: string

The earliest engine version to which the parameter can apply.

ParameterName
Type: string

Specifies the name of the parameter.

ParameterValue
Type: string

Specifies the value of the parameter.

Source
Type: string

Indicates the source of the parameter value.

PendingCloudwatchLogsExports

Description

A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.

Valid log types are: audit (to publish audit logs) and slowquery (to publish slow-query logs). See Publishing Neptune logs to Amazon CloudWatch logs.

Members
LogTypesToDisable
Type: Array of strings

Log types that are in the process of being enabled. After they are enabled, these log types are exported to CloudWatch Logs.

LogTypesToEnable
Type: Array of strings

Log types that are in the process of being deactivated. After they are deactivated, these log types aren't exported to CloudWatch Logs.

PendingMaintenanceAction

Description

Provides information about a pending maintenance action for a resource.

Members
Action
Type: string

The type of pending maintenance action that is available for the resource.

AutoAppliedAfterDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.

CurrentApplyDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

Description
Type: string

A description providing more detail about the maintenance action.

ForcedApplyDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.

OptInStatus
Type: string

Indicates the type of opt-in request that has been received for the resource.

PendingMaintenanceActionsMessage

Members
Marker
Type: string

An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords.

PendingMaintenanceActions
Type: Array of ResourcePendingMaintenanceActions structures

A list of the pending maintenance actions for the resource.

PendingModifiedValues

Description

This data type is used as a response element in the ModifyDBInstance action.

Members
AllocatedStorage
Type: int

Contains the new AllocatedStorage size for the DB instance that will be applied or is currently being applied.

BackupRetentionPeriod
Type: int

Specifies the pending number of days for which automated backups are retained.

CACertificateIdentifier
Type: string

Specifies the identifier of the CA certificate for the DB instance.

DBInstanceClass
Type: string

Contains the new DBInstanceClass for the DB instance that will be applied or is currently being applied.

DBInstanceIdentifier
Type: string

Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently being applied.

DBSubnetGroupName
Type: string

The new DB subnet group for the DB instance.

EngineVersion
Type: string

Indicates the database engine version.

Iops
Type: int

Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being applied.

LicenseModel
Type: string

Not supported by Neptune.

MasterUserPassword
Type: string

Not supported by Neptune.

MultiAZ
Type: boolean

Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment.

PendingCloudwatchLogsExports

This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch logs are enabled and which are disabled.

Port
Type: int

Specifies the pending port for the DB instance.

StorageType
Type: string

Specifies the storage type to be associated with the DB instance.

PromoteReadReplicaDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

ProvisionedIopsNotAvailableInAZFault

Description

Provisioned IOPS not available in the specified Availability Zone.

Members

Range

Description

A range of integer values.

Members
From
Type: int

The minimum value in the range.

Step
Type: int

The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

To
Type: int

The maximum value in the range.

RebootDBInstanceResult

Members
DBInstance
Type: DBInstance structure

Contains the details of an Amazon Neptune DB instance.

This data type is used as a response element in the DescribeDBInstances action.

ResourceNotFoundFault

Description

The specified resource ID was not found.

Members

ResourcePendingMaintenanceActions

Description

Describes the pending maintenance actions for a resource.

Members
PendingMaintenanceActionDetails
Type: Array of PendingMaintenanceAction structures

A list that provides details about the pending maintenance actions for the resource.

ResourceIdentifier
Type: string

The ARN of the resource that has pending maintenance actions.

RestoreDBClusterFromSnapshotResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

RestoreDBClusterToPointInTimeResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

SNSInvalidTopicFault

Description

The SNS topic is invalid.

Members

SNSNoAuthorizationFault

Description

There is no SNS authorization.

Members

SNSTopicArnNotFoundFault

Description

The ARN of the SNS topic could not be found.

Members

ServerlessV2ScalingConfiguration

Description

Contains the scaling configuration of a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

Members
MaxCapacity
Type: double

The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.

MinCapacity
Type: double

The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.

ServerlessV2ScalingConfigurationInfo

Description

Shows the scaling configuration for a Neptune Serverless DB cluster.

For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.

Members
MaxCapacity
Type: double

The maximum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on.

MinCapacity
Type: double

The minimum number of Neptune capacity units (NCUs) for a DB instance in a Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on.

SharedSnapshotQuotaExceededFault

Description

You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.

Members

SnapshotQuotaExceededFault

Description

Request would result in user exceeding the allowed number of DB snapshots.

Members

SourceNotFoundFault

Description

The source could not be found.

Members

StartDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

StopDBClusterResult

Members
DBCluster
Type: DBCluster structure

Contains the details of an Amazon Neptune DB cluster.

This data type is used as a response element in the DescribeDBClusters.

StorageQuotaExceededFault

Description

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

Members

StorageTypeNotSupportedFault

Description

StorageType specified cannot be associated with the DB Instance.

Members

Subnet

Description

Specifies a subnet.

This data type is used as a response element in the DescribeDBSubnetGroups action.

Members
SubnetAvailabilityZone
Type: AvailabilityZone structure

Specifies the EC2 Availability Zone that the subnet is in.

SubnetIdentifier
Type: string

Specifies the identifier of the subnet.

SubnetStatus
Type: string

Specifies the status of the subnet.

SubnetAlreadyInUse

Description

The DB subnet is already in use in the Availability Zone.

Members

SubscriptionAlreadyExistFault

Description

This subscription already exists.

Members

SubscriptionCategoryNotFoundFault

Description

The designated subscription category could not be found.

Members

SubscriptionNotFoundFault

Description

The designated subscription could not be found.

Members

Tag

Description

Metadata assigned to an Amazon Neptune resource consisting of a key-value pair.

Members
Key
Type: string

A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

Value
Type: string

A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

TagListMessage

Members
TagList
Type: Array of Tag structures

List of tags returned by the ListTagsForResource operation.

Timezone

Description

A time zone associated with a DBInstance.

Members
TimezoneName
Type: string

The name of the time zone.

UpgradeTarget

Description

The version of the database engine that a DB instance can be upgraded to.

Members
AutoUpgrade
Type: boolean

A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

Description
Type: string

The version of the database engine that a DB instance can be upgraded to.

Engine
Type: string

The name of the upgrade target database engine.

EngineVersion
Type: string

The version number of the upgrade target database engine.

IsMajorVersionUpgrade
Type: boolean

A value that indicates whether a database engine is upgraded to a major version.

SupportsGlobalDatabases
Type: boolean

A value that indicates whether you can use Neptune global databases with the target engine version.

ValidDBInstanceModificationsMessage

Description

Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications action. You can use this information when you call ModifyDBInstance.

Members
Storage
Type: Array of ValidStorageOptions structures

Valid storage options for your DB instance.

ValidStorageOptions

Description

Information about valid modifications that you can make to your DB instance.

Contains the result of a successful call to the DescribeValidDBInstanceModifications action.

Members
IopsToStorageRatio
Type: Array of DoubleRange structures

The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.

ProvisionedIops
Type: Array of Range structures

The valid range of provisioned IOPS. For example, 1000-20000.

StorageSize
Type: Array of Range structures

The valid range of storage in gibibytes. For example, 100 to 16384.

StorageType
Type: string

The valid storage types for your DB instance. For example, gp2, io1.

VpcSecurityGroupMembership

Description

This data type is used as a response element for queries on VPC security group membership.

Members
Status
Type: string

The status of the VPC security group.

VpcSecurityGroupId
Type: string

The name of the VPC security group.