software.amazon.awssdk.services.neptune.NeptuneClient Maven / Gradle / Ivy
Show all versions of neptune Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.neptune;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.neptune.model.AddRoleToDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.AddRoleToDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.AddSourceIdentifierToSubscriptionRequest;
import software.amazon.awssdk.services.neptune.model.AddSourceIdentifierToSubscriptionResponse;
import software.amazon.awssdk.services.neptune.model.AddTagsToResourceRequest;
import software.amazon.awssdk.services.neptune.model.AddTagsToResourceResponse;
import software.amazon.awssdk.services.neptune.model.ApplyPendingMaintenanceActionRequest;
import software.amazon.awssdk.services.neptune.model.ApplyPendingMaintenanceActionResponse;
import software.amazon.awssdk.services.neptune.model.AuthorizationNotFoundException;
import software.amazon.awssdk.services.neptune.model.CertificateNotFoundException;
import software.amazon.awssdk.services.neptune.model.CopyDbClusterParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.CopyDbClusterParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.CopyDbClusterSnapshotRequest;
import software.amazon.awssdk.services.neptune.model.CopyDbClusterSnapshotResponse;
import software.amazon.awssdk.services.neptune.model.CopyDbParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.CopyDbParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterEndpointRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterEndpointResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterSnapshotRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbClusterSnapshotResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbInstanceRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbInstanceResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.CreateDbSubnetGroupRequest;
import software.amazon.awssdk.services.neptune.model.CreateDbSubnetGroupResponse;
import software.amazon.awssdk.services.neptune.model.CreateEventSubscriptionRequest;
import software.amazon.awssdk.services.neptune.model.CreateEventSubscriptionResponse;
import software.amazon.awssdk.services.neptune.model.CreateGlobalClusterRequest;
import software.amazon.awssdk.services.neptune.model.CreateGlobalClusterResponse;
import software.amazon.awssdk.services.neptune.model.DbClusterAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbClusterEndpointAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbClusterEndpointNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbClusterEndpointQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbClusterNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbClusterParameterGroupNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbClusterQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbClusterRoleAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbClusterRoleNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbClusterRoleQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbClusterSnapshotAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbClusterSnapshotNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbInstanceAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbInstanceNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbParameterGroupAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbParameterGroupNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbParameterGroupQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbSecurityGroupNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbSnapshotAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbSnapshotNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbSubnetGroupAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.DbSubnetGroupDoesNotCoverEnoughAZsException;
import software.amazon.awssdk.services.neptune.model.DbSubnetGroupNotFoundException;
import software.amazon.awssdk.services.neptune.model.DbSubnetGroupQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbSubnetQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.DbUpgradeDependencyFailureException;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterEndpointRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterEndpointResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterSnapshotRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbClusterSnapshotResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbInstanceRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbInstanceResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.DeleteDbSubnetGroupRequest;
import software.amazon.awssdk.services.neptune.model.DeleteDbSubnetGroupResponse;
import software.amazon.awssdk.services.neptune.model.DeleteEventSubscriptionRequest;
import software.amazon.awssdk.services.neptune.model.DeleteEventSubscriptionResponse;
import software.amazon.awssdk.services.neptune.model.DeleteGlobalClusterRequest;
import software.amazon.awssdk.services.neptune.model.DeleteGlobalClusterResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotAttributesRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotAttributesResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbClustersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbInstancesResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbParametersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultClusterParametersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultClusterParametersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeEventCategoriesRequest;
import software.amazon.awssdk.services.neptune.model.DescribeEventCategoriesResponse;
import software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeEventsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeEventsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest;
import software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersResponse;
import software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsResponse;
import software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest;
import software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsResponse;
import software.amazon.awssdk.services.neptune.model.DescribeValidDbInstanceModificationsRequest;
import software.amazon.awssdk.services.neptune.model.DescribeValidDbInstanceModificationsResponse;
import software.amazon.awssdk.services.neptune.model.DomainNotFoundException;
import software.amazon.awssdk.services.neptune.model.EventSubscriptionQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.FailoverDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.FailoverDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.FailoverGlobalClusterRequest;
import software.amazon.awssdk.services.neptune.model.FailoverGlobalClusterResponse;
import software.amazon.awssdk.services.neptune.model.GlobalClusterAlreadyExistsException;
import software.amazon.awssdk.services.neptune.model.GlobalClusterNotFoundException;
import software.amazon.awssdk.services.neptune.model.GlobalClusterQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.InstanceQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.InsufficientDbClusterCapacityException;
import software.amazon.awssdk.services.neptune.model.InsufficientDbInstanceCapacityException;
import software.amazon.awssdk.services.neptune.model.InsufficientStorageClusterCapacityException;
import software.amazon.awssdk.services.neptune.model.InvalidDbClusterEndpointStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbClusterSnapshotStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbClusterStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbInstanceStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbParameterGroupStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbSecurityGroupStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbSnapshotStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbSubnetGroupStateException;
import software.amazon.awssdk.services.neptune.model.InvalidDbSubnetStateException;
import software.amazon.awssdk.services.neptune.model.InvalidEventSubscriptionStateException;
import software.amazon.awssdk.services.neptune.model.InvalidGlobalClusterStateException;
import software.amazon.awssdk.services.neptune.model.InvalidRestoreException;
import software.amazon.awssdk.services.neptune.model.InvalidSubnetException;
import software.amazon.awssdk.services.neptune.model.InvalidVpcNetworkStateException;
import software.amazon.awssdk.services.neptune.model.KmsKeyNotAccessibleException;
import software.amazon.awssdk.services.neptune.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.neptune.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterEndpointRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterEndpointResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterSnapshotAttributeRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbClusterSnapshotAttributeResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbInstanceRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbInstanceResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.ModifyDbSubnetGroupRequest;
import software.amazon.awssdk.services.neptune.model.ModifyDbSubnetGroupResponse;
import software.amazon.awssdk.services.neptune.model.ModifyEventSubscriptionRequest;
import software.amazon.awssdk.services.neptune.model.ModifyEventSubscriptionResponse;
import software.amazon.awssdk.services.neptune.model.ModifyGlobalClusterRequest;
import software.amazon.awssdk.services.neptune.model.ModifyGlobalClusterResponse;
import software.amazon.awssdk.services.neptune.model.NeptuneException;
import software.amazon.awssdk.services.neptune.model.OptionGroupNotFoundException;
import software.amazon.awssdk.services.neptune.model.PromoteReadReplicaDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.PromoteReadReplicaDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.ProvisionedIopsNotAvailableInAzException;
import software.amazon.awssdk.services.neptune.model.RebootDbInstanceRequest;
import software.amazon.awssdk.services.neptune.model.RebootDbInstanceResponse;
import software.amazon.awssdk.services.neptune.model.RemoveFromGlobalClusterRequest;
import software.amazon.awssdk.services.neptune.model.RemoveFromGlobalClusterResponse;
import software.amazon.awssdk.services.neptune.model.RemoveRoleFromDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.RemoveRoleFromDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.RemoveSourceIdentifierFromSubscriptionRequest;
import software.amazon.awssdk.services.neptune.model.RemoveSourceIdentifierFromSubscriptionResponse;
import software.amazon.awssdk.services.neptune.model.RemoveTagsFromResourceRequest;
import software.amazon.awssdk.services.neptune.model.RemoveTagsFromResourceResponse;
import software.amazon.awssdk.services.neptune.model.ResetDbClusterParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.ResetDbClusterParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.ResetDbParameterGroupRequest;
import software.amazon.awssdk.services.neptune.model.ResetDbParameterGroupResponse;
import software.amazon.awssdk.services.neptune.model.ResourceNotFoundException;
import software.amazon.awssdk.services.neptune.model.RestoreDbClusterFromSnapshotRequest;
import software.amazon.awssdk.services.neptune.model.RestoreDbClusterFromSnapshotResponse;
import software.amazon.awssdk.services.neptune.model.RestoreDbClusterToPointInTimeRequest;
import software.amazon.awssdk.services.neptune.model.RestoreDbClusterToPointInTimeResponse;
import software.amazon.awssdk.services.neptune.model.SharedSnapshotQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.SnapshotQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.SnsInvalidTopicException;
import software.amazon.awssdk.services.neptune.model.SnsNoAuthorizationException;
import software.amazon.awssdk.services.neptune.model.SnsTopicArnNotFoundException;
import software.amazon.awssdk.services.neptune.model.SourceNotFoundException;
import software.amazon.awssdk.services.neptune.model.StartDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.StartDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.StopDbClusterRequest;
import software.amazon.awssdk.services.neptune.model.StopDbClusterResponse;
import software.amazon.awssdk.services.neptune.model.StorageQuotaExceededException;
import software.amazon.awssdk.services.neptune.model.StorageTypeNotSupportedException;
import software.amazon.awssdk.services.neptune.model.SubnetAlreadyInUseException;
import software.amazon.awssdk.services.neptune.model.SubscriptionAlreadyExistException;
import software.amazon.awssdk.services.neptune.model.SubscriptionCategoryNotFoundException;
import software.amazon.awssdk.services.neptune.model.SubscriptionNotFoundException;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable;
import software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable;
import software.amazon.awssdk.services.neptune.waiters.NeptuneWaiter;
/**
* Service client for accessing Amazon Neptune. This can be created using the static {@link #builder()} method.
*
* Amazon Neptune
*
* Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it easy to build and run
* applications that work with highly connected datasets. The core of Amazon Neptune is a purpose-built,
* high-performance graph database engine optimized for storing billions of relationships and querying the graph with
* milliseconds latency. Amazon Neptune supports popular graph models Property Graph and W3C's RDF, and their respective
* query languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that efficiently navigate
* highly connected datasets. Neptune powers graph use cases such as recommendation engines, fraud detection, knowledge
* graphs, drug discovery, and network security.
*
*
* This interface reference for Amazon Neptune contains documentation for a programming or command line interface you
* can use to manage Amazon Neptune. Note that Amazon Neptune is asynchronous, which means that some interfaces might
* require techniques such as polling or callback functions to determine when a command has been applied. In this
* reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot,
* or during the maintenance window. The reference structure is as follows, and we list following some related topics
* from the user guide.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface NeptuneClient extends AwsClient {
String SERVICE_NAME = "rds";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "rds";
/**
*
* Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.
*
*
* @param addRoleToDbClusterRequest
* @return Result of the AddRoleToDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterRoleAlreadyExistsException
* The specified IAM role Amazon Resource Name (ARN) is already associated with the specified DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterRoleQuotaExceededException
* You have exceeded the maximum number of IAM roles that can be associated with the specified DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddRoleToDBCluster
* @see AWS
* API Documentation
*/
default AddRoleToDbClusterResponse addRoleToDBCluster(AddRoleToDbClusterRequest addRoleToDbClusterRequest)
throws DbClusterNotFoundException, DbClusterRoleAlreadyExistsException, InvalidDbClusterStateException,
DbClusterRoleQuotaExceededException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link AddRoleToDbClusterRequest.Builder} avoiding the
* need to create one manually via {@link AddRoleToDbClusterRequest#builder()}
*
*
* @param addRoleToDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.AddRoleToDbClusterRequest.Builder} to create a
* request.
* @return Result of the AddRoleToDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterRoleAlreadyExistsException
* The specified IAM role Amazon Resource Name (ARN) is already associated with the specified DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterRoleQuotaExceededException
* You have exceeded the maximum number of IAM roles that can be associated with the specified DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddRoleToDBCluster
* @see AWS
* API Documentation
*/
default AddRoleToDbClusterResponse addRoleToDBCluster(Consumer addRoleToDbClusterRequest)
throws DbClusterNotFoundException, DbClusterRoleAlreadyExistsException, InvalidDbClusterStateException,
DbClusterRoleQuotaExceededException, AwsServiceException, SdkClientException, NeptuneException {
return addRoleToDBCluster(AddRoleToDbClusterRequest.builder().applyMutation(addRoleToDbClusterRequest).build());
}
/**
*
* Adds a source identifier to an existing event notification subscription.
*
*
* @param addSourceIdentifierToSubscriptionRequest
* @return Result of the AddSourceIdentifierToSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddSourceIdentifierToSubscription
* @see AWS API Documentation
*/
default AddSourceIdentifierToSubscriptionResponse addSourceIdentifierToSubscription(
AddSourceIdentifierToSubscriptionRequest addSourceIdentifierToSubscriptionRequest)
throws SubscriptionNotFoundException, SourceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Adds a source identifier to an existing event notification subscription.
*
*
*
* This is a convenience which creates an instance of the {@link AddSourceIdentifierToSubscriptionRequest.Builder}
* avoiding the need to create one manually via {@link AddSourceIdentifierToSubscriptionRequest#builder()}
*
*
* @param addSourceIdentifierToSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.AddSourceIdentifierToSubscriptionRequest.Builder} to
* create a request.
* @return Result of the AddSourceIdentifierToSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddSourceIdentifierToSubscription
* @see AWS API Documentation
*/
default AddSourceIdentifierToSubscriptionResponse addSourceIdentifierToSubscription(
Consumer addSourceIdentifierToSubscriptionRequest)
throws SubscriptionNotFoundException, SourceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
return addSourceIdentifierToSubscription(AddSourceIdentifierToSubscriptionRequest.builder()
.applyMutation(addSourceIdentifierToSubscriptionRequest).build());
}
/**
*
* 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.
*
*
* @param addTagsToResourceRequest
* @return Result of the AddTagsToResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default AddTagsToResourceResponse addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
throws DbInstanceNotFoundException, DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link AddTagsToResourceRequest.Builder} avoiding the need
* to create one manually via {@link AddTagsToResourceRequest#builder()}
*
*
* @param addTagsToResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.AddTagsToResourceRequest.Builder} to create a
* request.
* @return Result of the AddTagsToResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default AddTagsToResourceResponse addTagsToResource(Consumer addTagsToResourceRequest)
throws DbInstanceNotFoundException, DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return addTagsToResource(AddTagsToResourceRequest.builder().applyMutation(addTagsToResourceRequest).build());
}
/**
*
* Applies a pending maintenance action to a resource (for example, to a DB instance).
*
*
* @param applyPendingMaintenanceActionRequest
* @return Result of the ApplyPendingMaintenanceAction operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default ApplyPendingMaintenanceActionResponse applyPendingMaintenanceAction(
ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Applies a pending maintenance action to a resource (for example, to a DB instance).
*
*
*
* This is a convenience which creates an instance of the {@link ApplyPendingMaintenanceActionRequest.Builder}
* avoiding the need to create one manually via {@link ApplyPendingMaintenanceActionRequest#builder()}
*
*
* @param applyPendingMaintenanceActionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ApplyPendingMaintenanceActionRequest.Builder} to
* create a request.
* @return Result of the ApplyPendingMaintenanceAction operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default ApplyPendingMaintenanceActionResponse applyPendingMaintenanceAction(
Consumer applyPendingMaintenanceActionRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest.builder()
.applyMutation(applyPendingMaintenanceActionRequest).build());
}
/**
*
* Copies the specified DB cluster parameter group.
*
*
* @param copyDbClusterParameterGroupRequest
* @return Result of the CopyDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBClusterParameterGroup
* @see AWS API Documentation
*/
default CopyDbClusterParameterGroupResponse copyDBClusterParameterGroup(
CopyDbClusterParameterGroupRequest copyDbClusterParameterGroupRequest) throws DbParameterGroupNotFoundException,
DbParameterGroupQuotaExceededException, DbParameterGroupAlreadyExistsException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Copies the specified DB cluster parameter group.
*
*
*
* This is a convenience which creates an instance of the {@link CopyDbClusterParameterGroupRequest.Builder}
* avoiding the need to create one manually via {@link CopyDbClusterParameterGroupRequest#builder()}
*
*
* @param copyDbClusterParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CopyDbClusterParameterGroupRequest.Builder} to create
* a request.
* @return Result of the CopyDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBClusterParameterGroup
* @see AWS API Documentation
*/
default CopyDbClusterParameterGroupResponse copyDBClusterParameterGroup(
Consumer copyDbClusterParameterGroupRequest)
throws DbParameterGroupNotFoundException, DbParameterGroupQuotaExceededException,
DbParameterGroupAlreadyExistsException, AwsServiceException, SdkClientException, NeptuneException {
return copyDBClusterParameterGroup(CopyDbClusterParameterGroupRequest.builder()
.applyMutation(copyDbClusterParameterGroupRequest).build());
}
/**
*
* 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.
*
*
* @param copyDbClusterSnapshotRequest
* @return Result of the CopyDBClusterSnapshot operation returned by the service.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBClusterSnapshot
* @see AWS
* API Documentation
*/
default CopyDbClusterSnapshotResponse copyDBClusterSnapshot(CopyDbClusterSnapshotRequest copyDbClusterSnapshotRequest)
throws DbClusterSnapshotAlreadyExistsException, DbClusterSnapshotNotFoundException, InvalidDbClusterStateException,
InvalidDbClusterSnapshotStateException, SnapshotQuotaExceededException, KmsKeyNotAccessibleException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CopyDbClusterSnapshotRequest.Builder} avoiding the
* need to create one manually via {@link CopyDbClusterSnapshotRequest#builder()}
*
*
* @param copyDbClusterSnapshotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CopyDbClusterSnapshotRequest.Builder} to create a
* request.
* @return Result of the CopyDBClusterSnapshot operation returned by the service.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBClusterSnapshot
* @see AWS
* API Documentation
*/
default CopyDbClusterSnapshotResponse copyDBClusterSnapshot(
Consumer copyDbClusterSnapshotRequest)
throws DbClusterSnapshotAlreadyExistsException, DbClusterSnapshotNotFoundException, InvalidDbClusterStateException,
InvalidDbClusterSnapshotStateException, SnapshotQuotaExceededException, KmsKeyNotAccessibleException,
AwsServiceException, SdkClientException, NeptuneException {
return copyDBClusterSnapshot(CopyDbClusterSnapshotRequest.builder().applyMutation(copyDbClusterSnapshotRequest).build());
}
/**
*
* Copies the specified DB parameter group.
*
*
* @param copyDbParameterGroupRequest
* @return Result of the CopyDBParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBParameterGroup
* @see AWS
* API Documentation
*/
default CopyDbParameterGroupResponse copyDBParameterGroup(CopyDbParameterGroupRequest copyDbParameterGroupRequest)
throws DbParameterGroupNotFoundException, DbParameterGroupAlreadyExistsException,
DbParameterGroupQuotaExceededException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Copies the specified DB parameter group.
*
*
*
* This is a convenience which creates an instance of the {@link CopyDbParameterGroupRequest.Builder} avoiding the
* need to create one manually via {@link CopyDbParameterGroupRequest#builder()}
*
*
* @param copyDbParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CopyDbParameterGroupRequest.Builder} to create a
* request.
* @return Result of the CopyDBParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CopyDBParameterGroup
* @see AWS
* API Documentation
*/
default CopyDbParameterGroupResponse copyDBParameterGroup(
Consumer copyDbParameterGroupRequest) throws DbParameterGroupNotFoundException,
DbParameterGroupAlreadyExistsException, DbParameterGroupQuotaExceededException, AwsServiceException,
SdkClientException, NeptuneException {
return copyDBParameterGroup(CopyDbParameterGroupRequest.builder().applyMutation(copyDbParameterGroupRequest).build());
}
/**
*
* 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
.
*
*
* @param createDbClusterRequest
* @return Result of the CreateDBCluster operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBCluster
* @see AWS API
* Documentation
*/
default CreateDbClusterResponse createDBCluster(CreateDbClusterRequest createDbClusterRequest)
throws DbClusterAlreadyExistsException, InsufficientStorageClusterCapacityException, DbClusterQuotaExceededException,
StorageQuotaExceededException, DbSubnetGroupNotFoundException, InvalidVpcNetworkStateException,
InvalidDbClusterStateException, InvalidDbSubnetGroupStateException, InvalidSubnetException,
InvalidDbInstanceStateException, DbClusterParameterGroupNotFoundException, KmsKeyNotAccessibleException,
DbClusterNotFoundException, DbInstanceNotFoundException, DbSubnetGroupDoesNotCoverEnoughAZsException,
GlobalClusterNotFoundException, InvalidGlobalClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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
.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbClusterRequest.Builder} avoiding the need
* to create one manually via {@link CreateDbClusterRequest#builder()}
*
*
* @param createDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbClusterRequest.Builder} to create a request.
* @return Result of the CreateDBCluster operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBCluster
* @see AWS API
* Documentation
*/
default CreateDbClusterResponse createDBCluster(Consumer createDbClusterRequest)
throws DbClusterAlreadyExistsException, InsufficientStorageClusterCapacityException, DbClusterQuotaExceededException,
StorageQuotaExceededException, DbSubnetGroupNotFoundException, InvalidVpcNetworkStateException,
InvalidDbClusterStateException, InvalidDbSubnetGroupStateException, InvalidSubnetException,
InvalidDbInstanceStateException, DbClusterParameterGroupNotFoundException, KmsKeyNotAccessibleException,
DbClusterNotFoundException, DbInstanceNotFoundException, DbSubnetGroupDoesNotCoverEnoughAZsException,
GlobalClusterNotFoundException, InvalidGlobalClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
return createDBCluster(CreateDbClusterRequest.builder().applyMutation(createDbClusterRequest).build());
}
/**
*
* Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
*
*
* @param createDbClusterEndpointRequest
* @return Result of the CreateDBClusterEndpoint operation returned by the service.
* @throws DbClusterEndpointQuotaExceededException
* The cluster already has the maximum number of custom endpoints.
* @throws DbClusterEndpointAlreadyExistsException
* The specified custom endpoint cannot be created because it already exists.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterEndpoint
* @see AWS API Documentation
*/
default CreateDbClusterEndpointResponse createDBClusterEndpoint(CreateDbClusterEndpointRequest createDbClusterEndpointRequest)
throws DbClusterEndpointQuotaExceededException, DbClusterEndpointAlreadyExistsException, DbClusterNotFoundException,
InvalidDbClusterStateException, DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbClusterEndpointRequest.Builder} avoiding
* the need to create one manually via {@link CreateDbClusterEndpointRequest#builder()}
*
*
* @param createDbClusterEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbClusterEndpointRequest.Builder} to create a
* request.
* @return Result of the CreateDBClusterEndpoint operation returned by the service.
* @throws DbClusterEndpointQuotaExceededException
* The cluster already has the maximum number of custom endpoints.
* @throws DbClusterEndpointAlreadyExistsException
* The specified custom endpoint cannot be created because it already exists.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterEndpoint
* @see AWS API Documentation
*/
default CreateDbClusterEndpointResponse createDBClusterEndpoint(
Consumer createDbClusterEndpointRequest)
throws DbClusterEndpointQuotaExceededException, DbClusterEndpointAlreadyExistsException, DbClusterNotFoundException,
InvalidDbClusterStateException, DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException,
SdkClientException, NeptuneException {
return createDBClusterEndpoint(CreateDbClusterEndpointRequest.builder().applyMutation(createDbClusterEndpointRequest)
.build());
}
/**
*
* 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.
*
*
*
* @param createDbClusterParameterGroupRequest
* @return Result of the CreateDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterParameterGroup
* @see AWS API Documentation
*/
default CreateDbClusterParameterGroupResponse createDBClusterParameterGroup(
CreateDbClusterParameterGroupRequest createDbClusterParameterGroupRequest)
throws DbParameterGroupQuotaExceededException, DbParameterGroupAlreadyExistsException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbClusterParameterGroupRequest.Builder}
* avoiding the need to create one manually via {@link CreateDbClusterParameterGroupRequest#builder()}
*
*
* @param createDbClusterParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbClusterParameterGroupRequest.Builder} to
* create a request.
* @return Result of the CreateDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterParameterGroup
* @see AWS API Documentation
*/
default CreateDbClusterParameterGroupResponse createDBClusterParameterGroup(
Consumer createDbClusterParameterGroupRequest)
throws DbParameterGroupQuotaExceededException, DbParameterGroupAlreadyExistsException, AwsServiceException,
SdkClientException, NeptuneException {
return createDBClusterParameterGroup(CreateDbClusterParameterGroupRequest.builder()
.applyMutation(createDbClusterParameterGroupRequest).build());
}
/**
*
* Creates a snapshot of a DB cluster.
*
*
* @param createDbClusterSnapshotRequest
* @return Result of the CreateDBClusterSnapshot operation returned by the service.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterSnapshot
* @see AWS API Documentation
*/
default CreateDbClusterSnapshotResponse createDBClusterSnapshot(CreateDbClusterSnapshotRequest createDbClusterSnapshotRequest)
throws DbClusterSnapshotAlreadyExistsException, InvalidDbClusterStateException, DbClusterNotFoundException,
SnapshotQuotaExceededException, InvalidDbClusterSnapshotStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a snapshot of a DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbClusterSnapshotRequest.Builder} avoiding
* the need to create one manually via {@link CreateDbClusterSnapshotRequest#builder()}
*
*
* @param createDbClusterSnapshotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbClusterSnapshotRequest.Builder} to create a
* request.
* @return Result of the CreateDBClusterSnapshot operation returned by the service.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBClusterSnapshot
* @see AWS API Documentation
*/
default CreateDbClusterSnapshotResponse createDBClusterSnapshot(
Consumer createDbClusterSnapshotRequest)
throws DbClusterSnapshotAlreadyExistsException, InvalidDbClusterStateException, DbClusterNotFoundException,
SnapshotQuotaExceededException, InvalidDbClusterSnapshotStateException, AwsServiceException, SdkClientException,
NeptuneException {
return createDBClusterSnapshot(CreateDbClusterSnapshotRequest.builder().applyMutation(createDbClusterSnapshotRequest)
.build());
}
/**
*
* Creates a new DB instance.
*
*
* @param createDbInstanceRequest
* @return Result of the CreateDBInstance operation returned by the service.
* @throws DbInstanceAlreadyExistsException
* User already has a DB instance with the given identifier.
* @throws InsufficientDbInstanceCapacityException
* Specified DB instance class is not available in the specified Availability Zone.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbSecurityGroupNotFoundException
* DBSecurityGroupName does not refer to an existing DB security group.
* @throws InstanceQuotaExceededException
* Request would result in user exceeding the allowed number of DB instances.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws ProvisionedIopsNotAvailableInAzException
* Provisioned IOPS not available in the specified Availability Zone.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws AuthorizationNotFoundException
* 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.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DomainNotFoundException
* Domain does not refer to an existing Active Directory Domain.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBInstance
* @see AWS API
* Documentation
*/
default CreateDbInstanceResponse createDBInstance(CreateDbInstanceRequest createDbInstanceRequest)
throws DbInstanceAlreadyExistsException, InsufficientDbInstanceCapacityException, DbParameterGroupNotFoundException,
DbSecurityGroupNotFoundException, InstanceQuotaExceededException, StorageQuotaExceededException,
DbSubnetGroupNotFoundException, DbSubnetGroupDoesNotCoverEnoughAZsException, InvalidDbClusterStateException,
InvalidSubnetException, InvalidVpcNetworkStateException, ProvisionedIopsNotAvailableInAzException,
OptionGroupNotFoundException, DbClusterNotFoundException, StorageTypeNotSupportedException,
AuthorizationNotFoundException, KmsKeyNotAccessibleException, DomainNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new DB instance.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbInstanceRequest.Builder} avoiding the need
* to create one manually via {@link CreateDbInstanceRequest#builder()}
*
*
* @param createDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbInstanceRequest.Builder} to create a request.
* @return Result of the CreateDBInstance operation returned by the service.
* @throws DbInstanceAlreadyExistsException
* User already has a DB instance with the given identifier.
* @throws InsufficientDbInstanceCapacityException
* Specified DB instance class is not available in the specified Availability Zone.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws DbSecurityGroupNotFoundException
* DBSecurityGroupName does not refer to an existing DB security group.
* @throws InstanceQuotaExceededException
* Request would result in user exceeding the allowed number of DB instances.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws ProvisionedIopsNotAvailableInAzException
* Provisioned IOPS not available in the specified Availability Zone.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws AuthorizationNotFoundException
* 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.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DomainNotFoundException
* Domain does not refer to an existing Active Directory Domain.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBInstance
* @see AWS API
* Documentation
*/
default CreateDbInstanceResponse createDBInstance(Consumer createDbInstanceRequest)
throws DbInstanceAlreadyExistsException, InsufficientDbInstanceCapacityException, DbParameterGroupNotFoundException,
DbSecurityGroupNotFoundException, InstanceQuotaExceededException, StorageQuotaExceededException,
DbSubnetGroupNotFoundException, DbSubnetGroupDoesNotCoverEnoughAZsException, InvalidDbClusterStateException,
InvalidSubnetException, InvalidVpcNetworkStateException, ProvisionedIopsNotAvailableInAzException,
OptionGroupNotFoundException, DbClusterNotFoundException, StorageTypeNotSupportedException,
AuthorizationNotFoundException, KmsKeyNotAccessibleException, DomainNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return createDBInstance(CreateDbInstanceRequest.builder().applyMutation(createDbInstanceRequest).build());
}
/**
*
* 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.
*
*
*
* @param createDbParameterGroupRequest
* @return Result of the CreateDBParameterGroup operation returned by the service.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBParameterGroup
* @see AWS API Documentation
*/
default CreateDbParameterGroupResponse createDBParameterGroup(CreateDbParameterGroupRequest createDbParameterGroupRequest)
throws DbParameterGroupQuotaExceededException, DbParameterGroupAlreadyExistsException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbParameterGroupRequest.Builder} avoiding the
* need to create one manually via {@link CreateDbParameterGroupRequest#builder()}
*
*
* @param createDbParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbParameterGroupRequest.Builder} to create a
* request.
* @return Result of the CreateDBParameterGroup operation returned by the service.
* @throws DbParameterGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB parameter groups.
* @throws DbParameterGroupAlreadyExistsException
* A DB parameter group with the same name exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBParameterGroup
* @see AWS API Documentation
*/
default CreateDbParameterGroupResponse createDBParameterGroup(
Consumer createDbParameterGroupRequest)
throws DbParameterGroupQuotaExceededException, DbParameterGroupAlreadyExistsException, AwsServiceException,
SdkClientException, NeptuneException {
return createDBParameterGroup(CreateDbParameterGroupRequest.builder().applyMutation(createDbParameterGroupRequest)
.build());
}
/**
*
* Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the
* Amazon Region.
*
*
* @param createDbSubnetGroupRequest
* @return Result of the CreateDBSubnetGroup operation returned by the service.
* @throws DbSubnetGroupAlreadyExistsException
* DBSubnetGroupName is already used by an existing DB subnet group.
* @throws DbSubnetGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB subnet groups.
* @throws DbSubnetQuotaExceededException
* Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBSubnetGroup
* @see AWS
* API Documentation
*/
default CreateDbSubnetGroupResponse createDBSubnetGroup(CreateDbSubnetGroupRequest createDbSubnetGroupRequest)
throws DbSubnetGroupAlreadyExistsException, DbSubnetGroupQuotaExceededException, DbSubnetQuotaExceededException,
DbSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the
* Amazon Region.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDbSubnetGroupRequest.Builder} avoiding the
* need to create one manually via {@link CreateDbSubnetGroupRequest#builder()}
*
*
* @param createDbSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateDbSubnetGroupRequest.Builder} to create a
* request.
* @return Result of the CreateDBSubnetGroup operation returned by the service.
* @throws DbSubnetGroupAlreadyExistsException
* DBSubnetGroupName is already used by an existing DB subnet group.
* @throws DbSubnetGroupQuotaExceededException
* Request would result in user exceeding the allowed number of DB subnet groups.
* @throws DbSubnetQuotaExceededException
* Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateDBSubnetGroup
* @see AWS
* API Documentation
*/
default CreateDbSubnetGroupResponse createDBSubnetGroup(
Consumer createDbSubnetGroupRequest) throws DbSubnetGroupAlreadyExistsException,
DbSubnetGroupQuotaExceededException, DbSubnetQuotaExceededException, DbSubnetGroupDoesNotCoverEnoughAZsException,
InvalidSubnetException, AwsServiceException, SdkClientException, NeptuneException {
return createDBSubnetGroup(CreateDbSubnetGroupRequest.builder().applyMutation(createDbSubnetGroupRequest).build());
}
/**
*
* 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.
*
*
* @param createEventSubscriptionRequest
* @return Result of the CreateEventSubscription operation returned by the service.
* @throws EventSubscriptionQuotaExceededException
* You have exceeded the number of events you can subscribe to.
* @throws SubscriptionAlreadyExistException
* This subscription already exists.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* There is no SNS authorization.
* @throws SnsTopicArnNotFoundException
* The ARN of the SNS topic could not be found.
* @throws SubscriptionCategoryNotFoundException
* The designated subscription category could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateEventSubscription
* @see AWS API Documentation
*/
default CreateEventSubscriptionResponse createEventSubscription(CreateEventSubscriptionRequest createEventSubscriptionRequest)
throws EventSubscriptionQuotaExceededException, SubscriptionAlreadyExistException, SnsInvalidTopicException,
SnsNoAuthorizationException, SnsTopicArnNotFoundException, SubscriptionCategoryNotFoundException,
SourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link CreateEventSubscriptionRequest#builder()}
*
*
* @param createEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateEventSubscriptionRequest.Builder} to create a
* request.
* @return Result of the CreateEventSubscription operation returned by the service.
* @throws EventSubscriptionQuotaExceededException
* You have exceeded the number of events you can subscribe to.
* @throws SubscriptionAlreadyExistException
* This subscription already exists.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* There is no SNS authorization.
* @throws SnsTopicArnNotFoundException
* The ARN of the SNS topic could not be found.
* @throws SubscriptionCategoryNotFoundException
* The designated subscription category could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateEventSubscription
* @see AWS API Documentation
*/
default CreateEventSubscriptionResponse createEventSubscription(
Consumer createEventSubscriptionRequest)
throws EventSubscriptionQuotaExceededException, SubscriptionAlreadyExistException, SnsInvalidTopicException,
SnsNoAuthorizationException, SnsTopicArnNotFoundException, SubscriptionCategoryNotFoundException,
SourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return createEventSubscription(CreateEventSubscriptionRequest.builder().applyMutation(createEventSubscriptionRequest)
.build());
}
/**
*
* 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.
*
*
* @param createGlobalClusterRequest
* @return Result of the CreateGlobalCluster operation returned by the service.
* @throws GlobalClusterAlreadyExistsException
* The GlobalClusterIdentifier
already exists. Choose a new global database identifier (unique
* name) to create a new global database cluster.
* @throws GlobalClusterQuotaExceededException
* The number of global database clusters for this account is already at the maximum allowed.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateGlobalCluster
* @see AWS
* API Documentation
*/
default CreateGlobalClusterResponse createGlobalCluster(CreateGlobalClusterRequest createGlobalClusterRequest)
throws GlobalClusterAlreadyExistsException, GlobalClusterQuotaExceededException, InvalidDbClusterStateException,
DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CreateGlobalClusterRequest.Builder} avoiding the
* need to create one manually via {@link CreateGlobalClusterRequest#builder()}
*
*
* @param createGlobalClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.CreateGlobalClusterRequest.Builder} to create a
* request.
* @return Result of the CreateGlobalCluster operation returned by the service.
* @throws GlobalClusterAlreadyExistsException
* The GlobalClusterIdentifier
already exists. Choose a new global database identifier (unique
* name) to create a new global database cluster.
* @throws GlobalClusterQuotaExceededException
* The number of global database clusters for this account is already at the maximum allowed.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.CreateGlobalCluster
* @see AWS
* API Documentation
*/
default CreateGlobalClusterResponse createGlobalCluster(
Consumer createGlobalClusterRequest) throws GlobalClusterAlreadyExistsException,
GlobalClusterQuotaExceededException, InvalidDbClusterStateException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return createGlobalCluster(CreateGlobalClusterRequest.builder().applyMutation(createGlobalClusterRequest).build());
}
/**
*
* 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
.
*
*
* @param deleteDbClusterRequest
* @return Result of the DeleteDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBCluster
* @see AWS API
* Documentation
*/
default DeleteDbClusterResponse deleteDBCluster(DeleteDbClusterRequest deleteDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, DbClusterSnapshotAlreadyExistsException,
SnapshotQuotaExceededException, InvalidDbClusterSnapshotStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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
.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbClusterRequest.Builder} avoiding the need
* to create one manually via {@link DeleteDbClusterRequest#builder()}
*
*
* @param deleteDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbClusterRequest.Builder} to create a request.
* @return Result of the DeleteDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterSnapshotAlreadyExistsException
* User already has a DB cluster snapshot with the given identifier.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBCluster
* @see AWS API
* Documentation
*/
default DeleteDbClusterResponse deleteDBCluster(Consumer deleteDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, DbClusterSnapshotAlreadyExistsException,
SnapshotQuotaExceededException, InvalidDbClusterSnapshotStateException, AwsServiceException, SdkClientException,
NeptuneException {
return deleteDBCluster(DeleteDbClusterRequest.builder().applyMutation(deleteDbClusterRequest).build());
}
/**
*
* Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.
*
*
* @param deleteDbClusterEndpointRequest
* @return Result of the DeleteDBClusterEndpoint operation returned by the service.
* @throws InvalidDbClusterEndpointStateException
* The requested operation cannot be performed on the endpoint while the endpoint is in this state.
* @throws DbClusterEndpointNotFoundException
* The specified custom endpoint doesn't exist.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterEndpoint
* @see AWS API Documentation
*/
default DeleteDbClusterEndpointResponse deleteDBClusterEndpoint(DeleteDbClusterEndpointRequest deleteDbClusterEndpointRequest)
throws InvalidDbClusterEndpointStateException, DbClusterEndpointNotFoundException, InvalidDbClusterStateException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbClusterEndpointRequest.Builder} avoiding
* the need to create one manually via {@link DeleteDbClusterEndpointRequest#builder()}
*
*
* @param deleteDbClusterEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbClusterEndpointRequest.Builder} to create a
* request.
* @return Result of the DeleteDBClusterEndpoint operation returned by the service.
* @throws InvalidDbClusterEndpointStateException
* The requested operation cannot be performed on the endpoint while the endpoint is in this state.
* @throws DbClusterEndpointNotFoundException
* The specified custom endpoint doesn't exist.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterEndpoint
* @see AWS API Documentation
*/
default DeleteDbClusterEndpointResponse deleteDBClusterEndpoint(
Consumer deleteDbClusterEndpointRequest)
throws InvalidDbClusterEndpointStateException, DbClusterEndpointNotFoundException, InvalidDbClusterStateException,
AwsServiceException, SdkClientException, NeptuneException {
return deleteDBClusterEndpoint(DeleteDbClusterEndpointRequest.builder().applyMutation(deleteDbClusterEndpointRequest)
.build());
}
/**
*
* Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated
* with any DB clusters.
*
*
* @param deleteDbClusterParameterGroupRequest
* @return Result of the DeleteDBClusterParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterParameterGroup
* @see AWS API Documentation
*/
default DeleteDbClusterParameterGroupResponse deleteDBClusterParameterGroup(
DeleteDbClusterParameterGroupRequest deleteDbClusterParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated
* with any DB clusters.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbClusterParameterGroupRequest.Builder}
* avoiding the need to create one manually via {@link DeleteDbClusterParameterGroupRequest#builder()}
*
*
* @param deleteDbClusterParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbClusterParameterGroupRequest.Builder} to
* create a request.
* @return Result of the DeleteDBClusterParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterParameterGroup
* @see AWS API Documentation
*/
default DeleteDbClusterParameterGroupResponse deleteDBClusterParameterGroup(
Consumer deleteDbClusterParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return deleteDBClusterParameterGroup(DeleteDbClusterParameterGroupRequest.builder()
.applyMutation(deleteDbClusterParameterGroupRequest).build());
}
/**
*
* 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.
*
*
*
* @param deleteDbClusterSnapshotRequest
* @return Result of the DeleteDBClusterSnapshot operation returned by the service.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterSnapshot
* @see AWS API Documentation
*/
default DeleteDbClusterSnapshotResponse deleteDBClusterSnapshot(DeleteDbClusterSnapshotRequest deleteDbClusterSnapshotRequest)
throws InvalidDbClusterSnapshotStateException, DbClusterSnapshotNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbClusterSnapshotRequest.Builder} avoiding
* the need to create one manually via {@link DeleteDbClusterSnapshotRequest#builder()}
*
*
* @param deleteDbClusterSnapshotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbClusterSnapshotRequest.Builder} to create a
* request.
* @return Result of the DeleteDBClusterSnapshot operation returned by the service.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBClusterSnapshot
* @see AWS API Documentation
*/
default DeleteDbClusterSnapshotResponse deleteDBClusterSnapshot(
Consumer deleteDbClusterSnapshotRequest)
throws InvalidDbClusterSnapshotStateException, DbClusterSnapshotNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return deleteDBClusterSnapshot(DeleteDbClusterSnapshotRequest.builder().applyMutation(deleteDbClusterSnapshotRequest)
.build());
}
/**
*
* 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.
*
*
* @param deleteDbInstanceRequest
* @return Result of the DeleteDBInstance operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbSnapshotAlreadyExistsException
* DBSnapshotIdentifier is already used by an existing snapshot.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBInstance
* @see AWS API
* Documentation
*/
default DeleteDbInstanceResponse deleteDBInstance(DeleteDbInstanceRequest deleteDbInstanceRequest)
throws DbInstanceNotFoundException, InvalidDbInstanceStateException, DbSnapshotAlreadyExistsException,
SnapshotQuotaExceededException, InvalidDbClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbInstanceRequest.Builder} avoiding the need
* to create one manually via {@link DeleteDbInstanceRequest#builder()}
*
*
* @param deleteDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbInstanceRequest.Builder} to create a request.
* @return Result of the DeleteDBInstance operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbSnapshotAlreadyExistsException
* DBSnapshotIdentifier is already used by an existing snapshot.
* @throws SnapshotQuotaExceededException
* Request would result in user exceeding the allowed number of DB snapshots.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBInstance
* @see AWS API
* Documentation
*/
default DeleteDbInstanceResponse deleteDBInstance(Consumer deleteDbInstanceRequest)
throws DbInstanceNotFoundException, InvalidDbInstanceStateException, DbSnapshotAlreadyExistsException,
SnapshotQuotaExceededException, InvalidDbClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
return deleteDBInstance(DeleteDbInstanceRequest.builder().applyMutation(deleteDbInstanceRequest).build());
}
/**
*
* Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be associated with any DB
* instances.
*
*
* @param deleteDbParameterGroupRequest
* @return Result of the DeleteDBParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBParameterGroup
* @see AWS API Documentation
*/
default DeleteDbParameterGroupResponse deleteDBParameterGroup(DeleteDbParameterGroupRequest deleteDbParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be associated with any DB
* instances.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbParameterGroupRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDbParameterGroupRequest#builder()}
*
*
* @param deleteDbParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbParameterGroupRequest.Builder} to create a
* request.
* @return Result of the DeleteDBParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBParameterGroup
* @see AWS API Documentation
*/
default DeleteDbParameterGroupResponse deleteDBParameterGroup(
Consumer deleteDbParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return deleteDBParameterGroup(DeleteDbParameterGroupRequest.builder().applyMutation(deleteDbParameterGroupRequest)
.build());
}
/**
*
* Deletes a DB subnet group.
*
*
*
* The specified database subnet group must not be associated with any DB instances.
*
*
*
* @param deleteDbSubnetGroupRequest
* @return Result of the DeleteDBSubnetGroup operation returned by the service.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidDbSubnetStateException
* The DB subnet is not in the available state.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBSubnetGroup
* @see AWS
* API Documentation
*/
default DeleteDbSubnetGroupResponse deleteDBSubnetGroup(DeleteDbSubnetGroupRequest deleteDbSubnetGroupRequest)
throws InvalidDbSubnetGroupStateException, InvalidDbSubnetStateException, DbSubnetGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a DB subnet group.
*
*
*
* The specified database subnet group must not be associated with any DB instances.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDbSubnetGroupRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDbSubnetGroupRequest#builder()}
*
*
* @param deleteDbSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteDbSubnetGroupRequest.Builder} to create a
* request.
* @return Result of the DeleteDBSubnetGroup operation returned by the service.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidDbSubnetStateException
* The DB subnet is not in the available state.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteDBSubnetGroup
* @see AWS
* API Documentation
*/
default DeleteDbSubnetGroupResponse deleteDBSubnetGroup(
Consumer deleteDbSubnetGroupRequest) throws InvalidDbSubnetGroupStateException,
InvalidDbSubnetStateException, DbSubnetGroupNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
return deleteDBSubnetGroup(DeleteDbSubnetGroupRequest.builder().applyMutation(deleteDbSubnetGroupRequest).build());
}
/**
*
* Deletes an event notification subscription.
*
*
* @param deleteEventSubscriptionRequest
* @return Result of the DeleteEventSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws InvalidEventSubscriptionStateException
* The event subscription is in an invalid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteEventSubscription
* @see AWS API Documentation
*/
default DeleteEventSubscriptionResponse deleteEventSubscription(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest)
throws SubscriptionNotFoundException, InvalidEventSubscriptionStateException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an event notification subscription.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link DeleteEventSubscriptionRequest#builder()}
*
*
* @param deleteEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteEventSubscriptionRequest.Builder} to create a
* request.
* @return Result of the DeleteEventSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws InvalidEventSubscriptionStateException
* The event subscription is in an invalid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteEventSubscription
* @see AWS API Documentation
*/
default DeleteEventSubscriptionResponse deleteEventSubscription(
Consumer deleteEventSubscriptionRequest)
throws SubscriptionNotFoundException, InvalidEventSubscriptionStateException, AwsServiceException,
SdkClientException, NeptuneException {
return deleteEventSubscription(DeleteEventSubscriptionRequest.builder().applyMutation(deleteEventSubscriptionRequest)
.build());
}
/**
*
* Deletes a global database. The primary and all secondary clusters must already be detached or deleted first.
*
*
* @param deleteGlobalClusterRequest
* @return Result of the DeleteGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteGlobalCluster
* @see AWS
* API Documentation
*/
default DeleteGlobalClusterResponse deleteGlobalCluster(DeleteGlobalClusterRequest deleteGlobalClusterRequest)
throws GlobalClusterNotFoundException, InvalidGlobalClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a global database. The primary and all secondary clusters must already be detached or deleted first.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteGlobalClusterRequest.Builder} avoiding the
* need to create one manually via {@link DeleteGlobalClusterRequest#builder()}
*
*
* @param deleteGlobalClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DeleteGlobalClusterRequest.Builder} to create a
* request.
* @return Result of the DeleteGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DeleteGlobalCluster
* @see AWS
* API Documentation
*/
default DeleteGlobalClusterResponse deleteGlobalCluster(
Consumer deleteGlobalClusterRequest) throws GlobalClusterNotFoundException,
InvalidGlobalClusterStateException, AwsServiceException, SdkClientException, NeptuneException {
return deleteGlobalCluster(DeleteGlobalClusterRequest.builder().applyMutation(deleteGlobalClusterRequest).build());
}
/**
*
* Returns information about endpoints for an Amazon Neptune DB cluster.
*
*
*
* This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
*
*
*
* @param describeDbClusterEndpointsRequest
* @return Result of the DescribeDBClusterEndpoints operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterEndpoints
* @see AWS API Documentation
*/
default DescribeDbClusterEndpointsResponse describeDBClusterEndpoints(
DescribeDbClusterEndpointsRequest describeDbClusterEndpointsRequest) throws DbClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about endpoints for an Amazon Neptune DB cluster.
*
*
*
* This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterEndpointsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbClusterEndpointsRequest#builder()}
*
*
* @param describeDbClusterEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest.Builder} to create
* a request.
* @return Result of the DescribeDBClusterEndpoints operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterEndpoints
* @see AWS API Documentation
*/
default DescribeDbClusterEndpointsResponse describeDBClusterEndpoints(
Consumer describeDbClusterEndpointsRequest)
throws DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterEndpoints(DescribeDbClusterEndpointsRequest.builder()
.applyMutation(describeDbClusterEndpointsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterEndpoints(software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client.describeDBClusterEndpointsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client
* .describeDBClusterEndpointsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client.describeDBClusterEndpointsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterEndpoints(software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest)}
* operation.
*
*
* @param describeDbClusterEndpointsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterEndpoints
* @see AWS API Documentation
*/
default DescribeDBClusterEndpointsIterable describeDBClusterEndpointsPaginator(
DescribeDbClusterEndpointsRequest describeDbClusterEndpointsRequest) throws DbClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBClusterEndpointsIterable(this, describeDbClusterEndpointsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBClusterEndpoints(software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client.describeDBClusterEndpointsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client
* .describeDBClusterEndpointsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterEndpointsIterable responses = client.describeDBClusterEndpointsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterEndpoints(software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterEndpointsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbClusterEndpointsRequest#builder()}
*
*
* @param describeDbClusterEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterEndpointsRequest.Builder} to create
* a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterEndpoints
* @see AWS API Documentation
*/
default DescribeDBClusterEndpointsIterable describeDBClusterEndpointsPaginator(
Consumer describeDbClusterEndpointsRequest)
throws DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterEndpointsPaginator(DescribeDbClusterEndpointsRequest.builder()
.applyMutation(describeDbClusterEndpointsRequest).build());
}
/**
*
* 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.
*
*
* @param describeDbClusterParameterGroupsRequest
* @return Result of the DescribeDBClusterParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
default DescribeDbClusterParameterGroupsResponse describeDBClusterParameterGroups(
DescribeDbClusterParameterGroupsRequest describeDbClusterParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterParameterGroupsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeDbClusterParameterGroupsRequest#builder()}
*
*
* @param describeDbClusterParameterGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest.Builder} to
* create a request.
* @return Result of the DescribeDBClusterParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
default DescribeDbClusterParameterGroupsResponse describeDBClusterParameterGroups(
Consumer describeDbClusterParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParameterGroups(DescribeDbClusterParameterGroupsRequest.builder()
.applyMutation(describeDbClusterParameterGroupsRequest).build());
}
/**
*
* 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.
*
*
* @return Result of the DescribeDBClusterParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see #describeDBClusterParameterGroups(DescribeDbClusterParameterGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDbClusterParameterGroupsResponse describeDBClusterParameterGroups() throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParameterGroups(DescribeDbClusterParameterGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client
* .describeDBClusterParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see #describeDBClusterParameterGroupsPaginator(DescribeDbClusterParameterGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDBClusterParameterGroupsIterable describeDBClusterParameterGroupsPaginator()
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParameterGroupsPaginator(DescribeDbClusterParameterGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client
* .describeDBClusterParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation.
*
*
* @param describeDbClusterParameterGroupsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
default DescribeDBClusterParameterGroupsIterable describeDBClusterParameterGroupsPaginator(
DescribeDbClusterParameterGroupsRequest describeDbClusterParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBClusterParameterGroupsIterable(this, describeDbClusterParameterGroupsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client
* .describeDBClusterParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParameterGroupsIterable responses = client.describeDBClusterParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterParameterGroupsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeDbClusterParameterGroupsRequest#builder()}
*
*
* @param describeDbClusterParameterGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterParameterGroupsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameterGroups
* @see AWS API Documentation
*/
default DescribeDBClusterParameterGroupsIterable describeDBClusterParameterGroupsPaginator(
Consumer describeDbClusterParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParameterGroupsPaginator(DescribeDbClusterParameterGroupsRequest.builder()
.applyMutation(describeDbClusterParameterGroupsRequest).build());
}
/**
*
* Returns the detailed parameter list for a particular DB cluster parameter group.
*
*
* @param describeDbClusterParametersRequest
* @return Result of the DescribeDBClusterParameters operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameters
* @see AWS API Documentation
*/
default DescribeDbClusterParametersResponse describeDBClusterParameters(
DescribeDbClusterParametersRequest describeDbClusterParametersRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the detailed parameter list for a particular DB cluster parameter group.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterParametersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeDbClusterParametersRequest#builder()}
*
*
* @param describeDbClusterParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest.Builder} to create
* a request.
* @return Result of the DescribeDBClusterParameters operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameters
* @see AWS API Documentation
*/
default DescribeDbClusterParametersResponse describeDBClusterParameters(
Consumer describeDbClusterParametersRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParameters(DescribeDbClusterParametersRequest.builder()
.applyMutation(describeDbClusterParametersRequest).build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterParameters(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client.describeDBClusterParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client
* .describeDBClusterParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client.describeDBClusterParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterParameters(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest)}
* operation.
*
*
* @param describeDbClusterParametersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameters
* @see AWS API Documentation
*/
default DescribeDBClusterParametersIterable describeDBClusterParametersPaginator(
DescribeDbClusterParametersRequest describeDbClusterParametersRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBClusterParametersIterable(this, describeDbClusterParametersRequest);
}
/**
*
* This is a variant of
* {@link #describeDBClusterParameters(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client.describeDBClusterParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client
* .describeDBClusterParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterParametersIterable responses = client.describeDBClusterParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterParameters(software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterParametersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeDbClusterParametersRequest#builder()}
*
*
* @param describeDbClusterParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterParametersRequest.Builder} to create
* a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterParameters
* @see AWS API Documentation
*/
default DescribeDBClusterParametersIterable describeDBClusterParametersPaginator(
Consumer describeDbClusterParametersRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterParametersPaginator(DescribeDbClusterParametersRequest.builder()
.applyMutation(describeDbClusterParametersRequest).build());
}
/**
*
* 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.
*
*
* @param describeDbClusterSnapshotAttributesRequest
* @return Result of the DescribeDBClusterSnapshotAttributes operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshotAttributes
* @see AWS API Documentation
*/
default DescribeDbClusterSnapshotAttributesResponse describeDBClusterSnapshotAttributes(
DescribeDbClusterSnapshotAttributesRequest describeDbClusterSnapshotAttributesRequest)
throws DbClusterSnapshotNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterSnapshotAttributesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeDbClusterSnapshotAttributesRequest#builder()}
*
*
* @param describeDbClusterSnapshotAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotAttributesRequest.Builder}
* to create a request.
* @return Result of the DescribeDBClusterSnapshotAttributes operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshotAttributes
* @see AWS API Documentation
*/
default DescribeDbClusterSnapshotAttributesResponse describeDBClusterSnapshotAttributes(
Consumer describeDbClusterSnapshotAttributesRequest)
throws DbClusterSnapshotNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterSnapshotAttributes(DescribeDbClusterSnapshotAttributesRequest.builder()
.applyMutation(describeDbClusterSnapshotAttributesRequest).build());
}
/**
*
* Returns information about DB cluster snapshots. This API action supports pagination.
*
*
* @param describeDbClusterSnapshotsRequest
* @return Result of the DescribeDBClusterSnapshots operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
default DescribeDbClusterSnapshotsResponse describeDBClusterSnapshots(
DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest) throws DbClusterSnapshotNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about DB cluster snapshots. This API action supports pagination.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterSnapshotsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbClusterSnapshotsRequest#builder()}
*
*
* @param describeDbClusterSnapshotsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest.Builder} to create
* a request.
* @return Result of the DescribeDBClusterSnapshots operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
default DescribeDbClusterSnapshotsResponse describeDBClusterSnapshots(
Consumer describeDbClusterSnapshotsRequest)
throws DbClusterSnapshotNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterSnapshots(DescribeDbClusterSnapshotsRequest.builder()
.applyMutation(describeDbClusterSnapshotsRequest).build());
}
/**
*
* Returns information about DB cluster snapshots. This API action supports pagination.
*
*
* @return Result of the DescribeDBClusterSnapshots operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see #describeDBClusterSnapshots(DescribeDbClusterSnapshotsRequest)
* @see AWS API Documentation
*/
default DescribeDbClusterSnapshotsResponse describeDBClusterSnapshots() throws DbClusterSnapshotNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterSnapshots(DescribeDbClusterSnapshotsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client
* .describeDBClusterSnapshotsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see #describeDBClusterSnapshotsPaginator(DescribeDbClusterSnapshotsRequest)
* @see AWS API Documentation
*/
default DescribeDBClusterSnapshotsIterable describeDBClusterSnapshotsPaginator() throws DbClusterSnapshotNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterSnapshotsPaginator(DescribeDbClusterSnapshotsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client
* .describeDBClusterSnapshotsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation.
*
*
* @param describeDbClusterSnapshotsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
default DescribeDBClusterSnapshotsIterable describeDBClusterSnapshotsPaginator(
DescribeDbClusterSnapshotsRequest describeDbClusterSnapshotsRequest) throws DbClusterSnapshotNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBClusterSnapshotsIterable(this, describeDbClusterSnapshotsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client
* .describeDBClusterSnapshotsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClusterSnapshotsIterable responses = client.describeDBClusterSnapshotsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusterSnapshots(software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClusterSnapshotsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbClusterSnapshotsRequest#builder()}
*
*
* @param describeDbClusterSnapshotsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClusterSnapshotsRequest.Builder} to create
* a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusterSnapshots
* @see AWS API Documentation
*/
default DescribeDBClusterSnapshotsIterable describeDBClusterSnapshotsPaginator(
Consumer describeDbClusterSnapshotsRequest)
throws DbClusterSnapshotNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusterSnapshotsPaginator(DescribeDbClusterSnapshotsRequest.builder()
.applyMutation(describeDbClusterSnapshotsRequest).build());
}
/**
*
* Returns information about provisioned DB clusters, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
*
*
*
* @param describeDbClustersRequest
* @return Result of the DescribeDBClusters operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see AWS
* API Documentation
*/
default DescribeDbClustersResponse describeDBClusters(DescribeDbClustersRequest describeDbClustersRequest)
throws DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about provisioned DB clusters, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbClustersRequest#builder()}
*
*
* @param describeDbClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest.Builder} to create a
* request.
* @return Result of the DescribeDBClusters operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see AWS
* API Documentation
*/
default DescribeDbClustersResponse describeDBClusters(Consumer describeDbClustersRequest)
throws DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBClusters(DescribeDbClustersRequest.builder().applyMutation(describeDbClustersRequest).build());
}
/**
*
* Returns information about provisioned DB clusters, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
*
*
*
* @return Result of the DescribeDBClusters operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see #describeDBClusters(DescribeDbClustersRequest)
* @see AWS
* API Documentation
*/
default DescribeDbClustersResponse describeDBClusters() throws DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return describeDBClusters(DescribeDbClustersRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client
* .describeDBClustersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClustersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see #describeDBClustersPaginator(DescribeDbClustersRequest)
* @see AWS
* API Documentation
*/
default DescribeDBClustersIterable describeDBClustersPaginator() throws DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return describeDBClustersPaginator(DescribeDbClustersRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client
* .describeDBClustersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClustersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)}
* operation.
*
*
* @param describeDbClustersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see AWS
* API Documentation
*/
default DescribeDBClustersIterable describeDBClustersPaginator(DescribeDbClustersRequest describeDbClustersRequest)
throws DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBClustersIterable(this, describeDbClustersRequest);
}
/**
*
* This is a variant of
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client
* .describeDBClustersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbClustersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBClustersIterable responses = client.describeDBClustersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBClusters(software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbClustersRequest#builder()}
*
*
* @param describeDbClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbClustersRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBClusters
* @see AWS
* API Documentation
*/
default DescribeDBClustersIterable describeDBClustersPaginator(
Consumer describeDbClustersRequest) throws DbClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBClustersPaginator(DescribeDbClustersRequest.builder().applyMutation(describeDbClustersRequest).build());
}
/**
*
* Returns a list of the available DB engines.
*
*
* @param describeDbEngineVersionsRequest
* @return Result of the DescribeDBEngineVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see AWS API Documentation
*/
default DescribeDbEngineVersionsResponse describeDBEngineVersions(
DescribeDbEngineVersionsRequest describeDbEngineVersionsRequest) throws AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of the available DB engines.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbEngineVersionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbEngineVersionsRequest#builder()}
*
*
* @param describeDbEngineVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest.Builder} to create a
* request.
* @return Result of the DescribeDBEngineVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see AWS API Documentation
*/
default DescribeDbEngineVersionsResponse describeDBEngineVersions(
Consumer describeDbEngineVersionsRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
return describeDBEngineVersions(DescribeDbEngineVersionsRequest.builder().applyMutation(describeDbEngineVersionsRequest)
.build());
}
/**
*
* Returns a list of the available DB engines.
*
*
* @return Result of the DescribeDBEngineVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see #describeDBEngineVersions(DescribeDbEngineVersionsRequest)
* @see AWS API Documentation
*/
default DescribeDbEngineVersionsResponse describeDBEngineVersions() throws AwsServiceException, SdkClientException,
NeptuneException {
return describeDBEngineVersions(DescribeDbEngineVersionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client
* .describeDBEngineVersionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see #describeDBEngineVersionsPaginator(DescribeDbEngineVersionsRequest)
* @see AWS API Documentation
*/
default DescribeDBEngineVersionsIterable describeDBEngineVersionsPaginator() throws AwsServiceException, SdkClientException,
NeptuneException {
return describeDBEngineVersionsPaginator(DescribeDbEngineVersionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client
* .describeDBEngineVersionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation.
*
*
* @param describeDbEngineVersionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see AWS API Documentation
*/
default DescribeDBEngineVersionsIterable describeDBEngineVersionsPaginator(
DescribeDbEngineVersionsRequest describeDbEngineVersionsRequest) throws AwsServiceException, SdkClientException,
NeptuneException {
return new DescribeDBEngineVersionsIterable(this, describeDbEngineVersionsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client
* .describeDBEngineVersionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBEngineVersionsIterable responses = client.describeDBEngineVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBEngineVersions(software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbEngineVersionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbEngineVersionsRequest#builder()}
*
*
* @param describeDbEngineVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbEngineVersionsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBEngineVersions
* @see AWS API Documentation
*/
default DescribeDBEngineVersionsIterable describeDBEngineVersionsPaginator(
Consumer describeDbEngineVersionsRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
return describeDBEngineVersionsPaginator(DescribeDbEngineVersionsRequest.builder()
.applyMutation(describeDbEngineVersionsRequest).build());
}
/**
*
* Returns information about provisioned instances, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS instances and Amazon DocDB instances.
*
*
*
* @param describeDbInstancesRequest
* @return Result of the DescribeDBInstances operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see AWS
* API Documentation
*/
default DescribeDbInstancesResponse describeDBInstances(DescribeDbInstancesRequest describeDbInstancesRequest)
throws DbInstanceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about provisioned instances, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS instances and Amazon DocDB instances.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbInstancesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbInstancesRequest#builder()}
*
*
* @param describeDbInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest.Builder} to create a
* request.
* @return Result of the DescribeDBInstances operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see AWS
* API Documentation
*/
default DescribeDbInstancesResponse describeDBInstances(
Consumer describeDbInstancesRequest) throws DbInstanceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBInstances(DescribeDbInstancesRequest.builder().applyMutation(describeDbInstancesRequest).build());
}
/**
*
* Returns information about provisioned instances, and supports pagination.
*
*
*
* This operation can also return information for Amazon RDS instances and Amazon DocDB instances.
*
*
*
* @return Result of the DescribeDBInstances operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see #describeDBInstances(DescribeDbInstancesRequest)
* @see AWS
* API Documentation
*/
default DescribeDbInstancesResponse describeDBInstances() throws DbInstanceNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return describeDBInstances(DescribeDbInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client
* .describeDBInstancesPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see #describeDBInstancesPaginator(DescribeDbInstancesRequest)
* @see AWS
* API Documentation
*/
default DescribeDBInstancesIterable describeDBInstancesPaginator() throws DbInstanceNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return describeDBInstancesPaginator(DescribeDbInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client
* .describeDBInstancesPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)}
* operation.
*
*
* @param describeDbInstancesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see AWS
* API Documentation
*/
default DescribeDBInstancesIterable describeDBInstancesPaginator(DescribeDbInstancesRequest describeDbInstancesRequest)
throws DbInstanceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBInstancesIterable(this, describeDbInstancesRequest);
}
/**
*
* This is a variant of
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client
* .describeDBInstancesPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBInstancesIterable responses = client.describeDBInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBInstances(software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbInstancesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbInstancesRequest#builder()}
*
*
* @param describeDbInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbInstancesRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBInstances
* @see AWS
* API Documentation
*/
default DescribeDBInstancesIterable describeDBInstancesPaginator(
Consumer describeDbInstancesRequest) throws DbInstanceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBInstancesPaginator(DescribeDbInstancesRequest.builder().applyMutation(describeDbInstancesRequest)
.build());
}
/**
*
* Returns a list of DBParameterGroup
descriptions. If a DBParameterGroupName
is
* specified, the list will contain only the description of the specified DB parameter group.
*
*
* @param describeDbParameterGroupsRequest
* @return Result of the DescribeDBParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see AWS API Documentation
*/
default DescribeDbParameterGroupsResponse describeDBParameterGroups(
DescribeDbParameterGroupsRequest describeDbParameterGroupsRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of DBParameterGroup
descriptions. If a DBParameterGroupName
is
* specified, the list will contain only the description of the specified DB parameter group.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbParameterGroupsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbParameterGroupsRequest#builder()}
*
*
* @param describeDbParameterGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest.Builder} to create a
* request.
* @return Result of the DescribeDBParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see AWS API Documentation
*/
default DescribeDbParameterGroupsResponse describeDBParameterGroups(
Consumer describeDbParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBParameterGroups(DescribeDbParameterGroupsRequest.builder()
.applyMutation(describeDbParameterGroupsRequest).build());
}
/**
*
* Returns a list of DBParameterGroup
descriptions. If a DBParameterGroupName
is
* specified, the list will contain only the description of the specified DB parameter group.
*
*
* @return Result of the DescribeDBParameterGroups operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see #describeDBParameterGroups(DescribeDbParameterGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDbParameterGroupsResponse describeDBParameterGroups() throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBParameterGroups(DescribeDbParameterGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client
* .describeDBParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see #describeDBParameterGroupsPaginator(DescribeDbParameterGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDBParameterGroupsIterable describeDBParameterGroupsPaginator() throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBParameterGroupsPaginator(DescribeDbParameterGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client
* .describeDBParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation.
*
*
* @param describeDbParameterGroupsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see AWS API Documentation
*/
default DescribeDBParameterGroupsIterable describeDBParameterGroupsPaginator(
DescribeDbParameterGroupsRequest describeDbParameterGroupsRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBParameterGroupsIterable(this, describeDbParameterGroupsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client
* .describeDBParameterGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParameterGroupsIterable responses = client.describeDBParameterGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBParameterGroups(software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbParameterGroupsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeDbParameterGroupsRequest#builder()}
*
*
* @param describeDbParameterGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbParameterGroupsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameterGroups
* @see AWS API Documentation
*/
default DescribeDBParameterGroupsIterable describeDBParameterGroupsPaginator(
Consumer describeDbParameterGroupsRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeDBParameterGroupsPaginator(DescribeDbParameterGroupsRequest.builder()
.applyMutation(describeDbParameterGroupsRequest).build());
}
/**
*
* Returns the detailed parameter list for a particular DB parameter group.
*
*
* @param describeDbParametersRequest
* @return Result of the DescribeDBParameters operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameters
* @see AWS
* API Documentation
*/
default DescribeDbParametersResponse describeDBParameters(DescribeDbParametersRequest describeDbParametersRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the detailed parameter list for a particular DB parameter group.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbParametersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbParametersRequest#builder()}
*
*
* @param describeDbParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest.Builder} to create a
* request.
* @return Result of the DescribeDBParameters operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameters
* @see AWS
* API Documentation
*/
default DescribeDbParametersResponse describeDBParameters(
Consumer describeDbParametersRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBParameters(DescribeDbParametersRequest.builder().applyMutation(describeDbParametersRequest).build());
}
/**
*
* This is a variant of
* {@link #describeDBParameters(software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client.describeDBParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client
* .describeDBParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client.describeDBParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBParameters(software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest)}
* operation.
*
*
* @param describeDbParametersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameters
* @see AWS
* API Documentation
*/
default DescribeDBParametersIterable describeDBParametersPaginator(DescribeDbParametersRequest describeDbParametersRequest)
throws DbParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBParametersIterable(this, describeDbParametersRequest);
}
/**
*
* This is a variant of
* {@link #describeDBParameters(software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client.describeDBParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client
* .describeDBParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBParametersIterable responses = client.describeDBParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBParameters(software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbParametersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbParametersRequest#builder()}
*
*
* @param describeDbParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbParametersRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBParameters
* @see AWS
* API Documentation
*/
default DescribeDBParametersIterable describeDBParametersPaginator(
Consumer describeDbParametersRequest) throws DbParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBParametersPaginator(DescribeDbParametersRequest.builder().applyMutation(describeDbParametersRequest)
.build());
}
/**
*
* 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.
*
*
* @param describeDbSubnetGroupsRequest
* @return Result of the DescribeDBSubnetGroups operation returned by the service.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see AWS API Documentation
*/
default DescribeDbSubnetGroupsResponse describeDBSubnetGroups(DescribeDbSubnetGroupsRequest describeDbSubnetGroupsRequest)
throws DbSubnetGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbSubnetGroupsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbSubnetGroupsRequest#builder()}
*
*
* @param describeDbSubnetGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest.Builder} to create a
* request.
* @return Result of the DescribeDBSubnetGroups operation returned by the service.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see AWS API Documentation
*/
default DescribeDbSubnetGroupsResponse describeDBSubnetGroups(
Consumer describeDbSubnetGroupsRequest) throws DbSubnetGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBSubnetGroups(DescribeDbSubnetGroupsRequest.builder().applyMutation(describeDbSubnetGroupsRequest)
.build());
}
/**
*
* 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.
*
*
* @return Result of the DescribeDBSubnetGroups operation returned by the service.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see #describeDBSubnetGroups(DescribeDbSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDbSubnetGroupsResponse describeDBSubnetGroups() throws DbSubnetGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return describeDBSubnetGroups(DescribeDbSubnetGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client
* .describeDBSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see #describeDBSubnetGroupsPaginator(DescribeDbSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeDBSubnetGroupsIterable describeDBSubnetGroupsPaginator() throws DbSubnetGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBSubnetGroupsPaginator(DescribeDbSubnetGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client
* .describeDBSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation.
*
*
* @param describeDbSubnetGroupsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see AWS API Documentation
*/
default DescribeDBSubnetGroupsIterable describeDBSubnetGroupsPaginator(
DescribeDbSubnetGroupsRequest describeDbSubnetGroupsRequest) throws DbSubnetGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeDBSubnetGroupsIterable(this, describeDbSubnetGroupsRequest);
}
/**
*
* This is a variant of
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client
* .describeDBSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeDBSubnetGroupsIterable responses = client.describeDBSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeDBSubnetGroups(software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDbSubnetGroupsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDbSubnetGroupsRequest#builder()}
*
*
* @param describeDbSubnetGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeDbSubnetGroupsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeDBSubnetGroups
* @see AWS API Documentation
*/
default DescribeDBSubnetGroupsIterable describeDBSubnetGroupsPaginator(
Consumer describeDbSubnetGroupsRequest) throws DbSubnetGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeDBSubnetGroupsPaginator(DescribeDbSubnetGroupsRequest.builder()
.applyMutation(describeDbSubnetGroupsRequest).build());
}
/**
*
* Returns the default engine and system parameter information for the cluster database engine.
*
*
* @param describeEngineDefaultClusterParametersRequest
* @return Result of the DescribeEngineDefaultClusterParameters operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultClusterParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultClusterParametersResponse describeEngineDefaultClusterParameters(
DescribeEngineDefaultClusterParametersRequest describeEngineDefaultClusterParametersRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the default engine and system parameter information for the cluster database engine.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeEngineDefaultClusterParametersRequest.Builder} avoiding the need to create one manually via
* {@link DescribeEngineDefaultClusterParametersRequest#builder()}
*
*
* @param describeEngineDefaultClusterParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultClusterParametersRequest.Builder}
* to create a request.
* @return Result of the DescribeEngineDefaultClusterParameters operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultClusterParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultClusterParametersResponse describeEngineDefaultClusterParameters(
Consumer describeEngineDefaultClusterParametersRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeEngineDefaultClusterParameters(DescribeEngineDefaultClusterParametersRequest.builder()
.applyMutation(describeEngineDefaultClusterParametersRequest).build());
}
/**
*
* Returns the default engine and system parameter information for the specified database engine.
*
*
* @param describeEngineDefaultParametersRequest
* @return Result of the DescribeEngineDefaultParameters operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultParametersResponse describeEngineDefaultParameters(
DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the default engine and system parameter information for the specified database engine.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEngineDefaultParametersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeEngineDefaultParametersRequest#builder()}
*
*
* @param describeEngineDefaultParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest.Builder} to
* create a request.
* @return Result of the DescribeEngineDefaultParameters operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultParametersResponse describeEngineDefaultParameters(
Consumer describeEngineDefaultParametersRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeEngineDefaultParameters(DescribeEngineDefaultParametersRequest.builder()
.applyMutation(describeEngineDefaultParametersRequest).build());
}
/**
*
* This is a variant of
* {@link #describeEngineDefaultParameters(software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client.describeEngineDefaultParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client
* .describeEngineDefaultParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client.describeEngineDefaultParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEngineDefaultParameters(software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest)}
* operation.
*
*
* @param describeEngineDefaultParametersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultParametersIterable describeEngineDefaultParametersPaginator(
DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
return new DescribeEngineDefaultParametersIterable(this, describeEngineDefaultParametersRequest);
}
/**
*
* This is a variant of
* {@link #describeEngineDefaultParameters(software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client.describeEngineDefaultParametersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client
* .describeEngineDefaultParametersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEngineDefaultParametersIterable responses = client.describeEngineDefaultParametersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEngineDefaultParameters(software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEngineDefaultParametersRequest.Builder}
* avoiding the need to create one manually via {@link DescribeEngineDefaultParametersRequest#builder()}
*
*
* @param describeEngineDefaultParametersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEngineDefaultParametersRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEngineDefaultParameters
* @see AWS API Documentation
*/
default DescribeEngineDefaultParametersIterable describeEngineDefaultParametersPaginator(
Consumer describeEngineDefaultParametersRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeEngineDefaultParametersPaginator(DescribeEngineDefaultParametersRequest.builder()
.applyMutation(describeEngineDefaultParametersRequest).build());
}
/**
*
* Displays a list of categories for all event source types, or, if specified, for a specified source type.
*
*
* @param describeEventCategoriesRequest
* @return Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventCategories
* @see AWS API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories(DescribeEventCategoriesRequest describeEventCategoriesRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Displays a list of categories for all event source types, or, if specified, for a specified source type.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventCategoriesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventCategoriesRequest#builder()}
*
*
* @param describeEventCategoriesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEventCategoriesRequest.Builder} to create a
* request.
* @return Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventCategories
* @see AWS API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories(
Consumer describeEventCategoriesRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
return describeEventCategories(DescribeEventCategoriesRequest.builder().applyMutation(describeEventCategoriesRequest)
.build());
}
/**
*
* Displays a list of categories for all event source types, or, if specified, for a specified source type.
*
*
* @return Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventCategories
* @see #describeEventCategories(DescribeEventCategoriesRequest)
* @see AWS API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories() throws AwsServiceException, SdkClientException,
NeptuneException {
return describeEventCategories(DescribeEventCategoriesRequest.builder().build());
}
/**
*
* 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.
*
*
* @param describeEventSubscriptionsRequest
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws SubscriptionNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventSubscriptionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventSubscriptionsRequest#builder()}
*
*
* @param describeEventSubscriptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest.Builder} to create
* a request.
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions(
Consumer describeEventSubscriptionsRequest)
throws SubscriptionNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder()
.applyMutation(describeEventSubscriptionsRequest).build());
}
/**
*
* 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.
*
*
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see #describeEventSubscriptions(DescribeEventSubscriptionsRequest)
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions() throws SubscriptionNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see #describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest)
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator() throws SubscriptionNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @param describeEventSubscriptionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws SubscriptionNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeEventSubscriptionsIterable(this, describeEventSubscriptionsRequest);
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventSubscriptionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventSubscriptionsRequest#builder()}
*
*
* @param describeEventSubscriptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEventSubscriptionsRequest.Builder} to create
* a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator(
Consumer describeEventSubscriptionsRequest)
throws SubscriptionNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest.builder()
.applyMutation(describeEventSubscriptionsRequest).build());
}
/**
*
* 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.
*
*
* @param describeEventsRequest
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEventsRequest.Builder} to create a request.
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* 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.
*
*
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see #describeEvents(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents() throws AwsServiceException, SdkClientException, NeptuneException {
return describeEvents(DescribeEventsRequest.builder().build());
}
/**
*
* This is a variant of {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)} operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see #describeEventsPaginator(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator() throws AwsServiceException, SdkClientException, NeptuneException {
return describeEventsPaginator(DescribeEventsRequest.builder().build());
}
/**
*
* This is a variant of {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)} operation.
*
*
* @param describeEventsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator(DescribeEventsRequest describeEventsRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return new DescribeEventsIterable(this, describeEventsRequest);
}
/**
*
* This is a variant of {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEvents(software.amazon.awssdk.services.neptune.model.DescribeEventsRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeEventsRequest.Builder} to create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeEventsPaginator(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* Returns information about Neptune global database clusters. This API supports pagination.
*
*
* @param describeGlobalClustersRequest
* @return Result of the DescribeGlobalClusters operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeGlobalClusters
* @see AWS API Documentation
*/
default DescribeGlobalClustersResponse describeGlobalClusters(DescribeGlobalClustersRequest describeGlobalClustersRequest)
throws GlobalClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about Neptune global database clusters. This API supports pagination.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeGlobalClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeGlobalClustersRequest#builder()}
*
*
* @param describeGlobalClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest.Builder} to create a
* request.
* @return Result of the DescribeGlobalClusters operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeGlobalClusters
* @see AWS API Documentation
*/
default DescribeGlobalClustersResponse describeGlobalClusters(
Consumer describeGlobalClustersRequest) throws GlobalClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeGlobalClusters(DescribeGlobalClustersRequest.builder().applyMutation(describeGlobalClustersRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeGlobalClusters(software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client.describeGlobalClustersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client
* .describeGlobalClustersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client.describeGlobalClustersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeGlobalClusters(software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest)}
* operation.
*
*
* @param describeGlobalClustersRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeGlobalClusters
* @see AWS API Documentation
*/
default DescribeGlobalClustersIterable describeGlobalClustersPaginator(
DescribeGlobalClustersRequest describeGlobalClustersRequest) throws GlobalClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribeGlobalClustersIterable(this, describeGlobalClustersRequest);
}
/**
*
* This is a variant of
* {@link #describeGlobalClusters(software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client.describeGlobalClustersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client
* .describeGlobalClustersPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeGlobalClustersIterable responses = client.describeGlobalClustersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeGlobalClusters(software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeGlobalClustersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeGlobalClustersRequest#builder()}
*
*
* @param describeGlobalClustersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeGlobalClustersRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeGlobalClusters
* @see AWS API Documentation
*/
default DescribeGlobalClustersIterable describeGlobalClustersPaginator(
Consumer describeGlobalClustersRequest) throws GlobalClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describeGlobalClustersPaginator(DescribeGlobalClustersRequest.builder()
.applyMutation(describeGlobalClustersRequest).build());
}
/**
*
* Returns a list of orderable DB instance options for the specified engine.
*
*
* @param describeOrderableDbInstanceOptionsRequest
* @return Result of the DescribeOrderableDBInstanceOptions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
default DescribeOrderableDbInstanceOptionsResponse describeOrderableDBInstanceOptions(
DescribeOrderableDbInstanceOptionsRequest describeOrderableDbInstanceOptionsRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of orderable DB instance options for the specified engine.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeOrderableDbInstanceOptionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeOrderableDbInstanceOptionsRequest#builder()}
*
*
* @param describeOrderableDbInstanceOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest.Builder} to
* create a request.
* @return Result of the DescribeOrderableDBInstanceOptions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
default DescribeOrderableDbInstanceOptionsResponse describeOrderableDBInstanceOptions(
Consumer describeOrderableDbInstanceOptionsRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeOrderableDBInstanceOptions(DescribeOrderableDbInstanceOptionsRequest.builder()
.applyMutation(describeOrderableDbInstanceOptionsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeOrderableDBInstanceOptions(software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client.describeOrderableDBInstanceOptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client
* .describeOrderableDBInstanceOptionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client.describeOrderableDBInstanceOptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeOrderableDBInstanceOptions(software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest)}
* operation.
*
*
* @param describeOrderableDbInstanceOptionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
default DescribeOrderableDBInstanceOptionsIterable describeOrderableDBInstanceOptionsPaginator(
DescribeOrderableDbInstanceOptionsRequest describeOrderableDbInstanceOptionsRequest) throws AwsServiceException,
SdkClientException, NeptuneException {
return new DescribeOrderableDBInstanceOptionsIterable(this, describeOrderableDbInstanceOptionsRequest);
}
/**
*
* This is a variant of
* {@link #describeOrderableDBInstanceOptions(software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client.describeOrderableDBInstanceOptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client
* .describeOrderableDBInstanceOptionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribeOrderableDBInstanceOptionsIterable responses = client.describeOrderableDBInstanceOptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeOrderableDBInstanceOptions(software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeOrderableDbInstanceOptionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeOrderableDbInstanceOptionsRequest#builder()}
*
*
* @param describeOrderableDbInstanceOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeOrderableDbInstanceOptionsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeOrderableDBInstanceOptions
* @see AWS API Documentation
*/
default DescribeOrderableDBInstanceOptionsIterable describeOrderableDBInstanceOptionsPaginator(
Consumer describeOrderableDbInstanceOptionsRequest)
throws AwsServiceException, SdkClientException, NeptuneException {
return describeOrderableDBInstanceOptionsPaginator(DescribeOrderableDbInstanceOptionsRequest.builder()
.applyMutation(describeOrderableDbInstanceOptionsRequest).build());
}
/**
*
* Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
*
*
* @param describePendingMaintenanceActionsRequest
* @return Result of the DescribePendingMaintenanceActions operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsResponse describePendingMaintenanceActions(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePendingMaintenanceActionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribePendingMaintenanceActionsRequest#builder()}
*
*
* @param describePendingMaintenanceActionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest.Builder} to
* create a request.
* @return Result of the DescribePendingMaintenanceActions operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsResponse describePendingMaintenanceActions(
Consumer describePendingMaintenanceActionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
*
*
* @return Result of the DescribePendingMaintenanceActions operation returned by the service.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see #describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest)
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsResponse describePendingMaintenanceActions() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client
* .describePendingMaintenanceActionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see #describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest)
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsIterable describePendingMaintenanceActionsPaginator()
throws ResourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client
* .describePendingMaintenanceActionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation.
*
*
* @param describePendingMaintenanceActionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsIterable describePendingMaintenanceActionsPaginator(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return new DescribePendingMaintenanceActionsIterable(this, describePendingMaintenanceActionsRequest);
}
/**
*
* This is a variant of
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client
* .describePendingMaintenanceActionsPaginator(request);
* for (software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.neptune.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePendingMaintenanceActionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribePendingMaintenanceActionsRequest#builder()}
*
*
* @param describePendingMaintenanceActionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribePendingMaintenanceActionsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The specified resource ID was not found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsIterable describePendingMaintenanceActionsPaginator(
Consumer describePendingMaintenanceActionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB
* instance. You can use this information when you call ModifyDBInstance.
*
*
* @param describeValidDbInstanceModificationsRequest
* @return Result of the DescribeValidDBInstanceModifications operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeValidDBInstanceModifications
* @see AWS API Documentation
*/
default DescribeValidDbInstanceModificationsResponse describeValidDBInstanceModifications(
DescribeValidDbInstanceModificationsRequest describeValidDbInstanceModificationsRequest)
throws DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* You can call DescribeValidDBInstanceModifications to learn what modifications you can make to your DB
* instance. You can use this information when you call ModifyDBInstance.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeValidDbInstanceModificationsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeValidDbInstanceModificationsRequest#builder()}
*
*
* @param describeValidDbInstanceModificationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.DescribeValidDbInstanceModificationsRequest.Builder}
* to create a request.
* @return Result of the DescribeValidDBInstanceModifications operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.DescribeValidDBInstanceModifications
* @see AWS API Documentation
*/
default DescribeValidDbInstanceModificationsResponse describeValidDBInstanceModifications(
Consumer describeValidDbInstanceModificationsRequest)
throws DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
return describeValidDBInstanceModifications(DescribeValidDbInstanceModificationsRequest.builder()
.applyMutation(describeValidDbInstanceModificationsRequest).build());
}
/**
*
* 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.
*
*
* @param failoverDbClusterRequest
* @return Result of the FailoverDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.FailoverDBCluster
* @see AWS API
* Documentation
*/
default FailoverDbClusterResponse failoverDBCluster(FailoverDbClusterRequest failoverDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, InvalidDbInstanceStateException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link FailoverDbClusterRequest.Builder} avoiding the need
* to create one manually via {@link FailoverDbClusterRequest#builder()}
*
*
* @param failoverDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.FailoverDbClusterRequest.Builder} to create a
* request.
* @return Result of the FailoverDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.FailoverDBCluster
* @see AWS API
* Documentation
*/
default FailoverDbClusterResponse failoverDBCluster(Consumer failoverDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, InvalidDbInstanceStateException,
AwsServiceException, SdkClientException, NeptuneException {
return failoverDBCluster(FailoverDbClusterRequest.builder().applyMutation(failoverDbClusterRequest).build());
}
/**
*
* 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.
*
*
*
* @param failoverGlobalClusterRequest
* @return Result of the FailoverGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.FailoverGlobalCluster
* @see AWS
* API Documentation
*/
default FailoverGlobalClusterResponse failoverGlobalCluster(FailoverGlobalClusterRequest failoverGlobalClusterRequest)
throws GlobalClusterNotFoundException, InvalidGlobalClusterStateException, InvalidDbClusterStateException,
DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link FailoverGlobalClusterRequest.Builder} avoiding the
* need to create one manually via {@link FailoverGlobalClusterRequest#builder()}
*
*
* @param failoverGlobalClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.FailoverGlobalClusterRequest.Builder} to create a
* request.
* @return Result of the FailoverGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.FailoverGlobalCluster
* @see AWS
* API Documentation
*/
default FailoverGlobalClusterResponse failoverGlobalCluster(
Consumer failoverGlobalClusterRequest) throws GlobalClusterNotFoundException,
InvalidGlobalClusterStateException, InvalidDbClusterStateException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return failoverGlobalCluster(FailoverGlobalClusterRequest.builder().applyMutation(failoverGlobalClusterRequest).build());
}
/**
*
* Lists all tags on an Amazon Neptune resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws DbInstanceNotFoundException, DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all tags on an Amazon Neptune resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws DbInstanceNotFoundException,
DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* 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.
*
*
* @param modifyDbClusterRequest
* @return Result of the ModifyDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws InvalidDbSecurityGroupStateException
* The state of the DB security group does not allow deletion.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBCluster
* @see AWS API
* Documentation
*/
default ModifyDbClusterResponse modifyDBCluster(ModifyDbClusterRequest modifyDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, StorageQuotaExceededException,
DbSubnetGroupNotFoundException, InvalidVpcNetworkStateException, InvalidDbSubnetGroupStateException,
InvalidSubnetException, DbClusterParameterGroupNotFoundException, InvalidDbSecurityGroupStateException,
InvalidDbInstanceStateException, DbClusterAlreadyExistsException, StorageTypeNotSupportedException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbClusterRequest.Builder} avoiding the need
* to create one manually via {@link ModifyDbClusterRequest#builder()}
*
*
* @param modifyDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbClusterRequest.Builder} to create a request.
* @return Result of the ModifyDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidDbSubnetGroupStateException
* The DB subnet group cannot be deleted because it is in use.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws InvalidDbSecurityGroupStateException
* The state of the DB security group does not allow deletion.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBCluster
* @see AWS API
* Documentation
*/
default ModifyDbClusterResponse modifyDBCluster(Consumer modifyDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, StorageQuotaExceededException,
DbSubnetGroupNotFoundException, InvalidVpcNetworkStateException, InvalidDbSubnetGroupStateException,
InvalidSubnetException, DbClusterParameterGroupNotFoundException, InvalidDbSecurityGroupStateException,
InvalidDbInstanceStateException, DbClusterAlreadyExistsException, StorageTypeNotSupportedException,
AwsServiceException, SdkClientException, NeptuneException {
return modifyDBCluster(ModifyDbClusterRequest.builder().applyMutation(modifyDbClusterRequest).build());
}
/**
*
* Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
*
*
* @param modifyDbClusterEndpointRequest
* @return Result of the ModifyDBClusterEndpoint operation returned by the service.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbClusterEndpointStateException
* The requested operation cannot be performed on the endpoint while the endpoint is in this state.
* @throws DbClusterEndpointNotFoundException
* The specified custom endpoint doesn't exist.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterEndpoint
* @see AWS API Documentation
*/
default ModifyDbClusterEndpointResponse modifyDBClusterEndpoint(ModifyDbClusterEndpointRequest modifyDbClusterEndpointRequest)
throws InvalidDbClusterStateException, InvalidDbClusterEndpointStateException, DbClusterEndpointNotFoundException,
DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbClusterEndpointRequest.Builder} avoiding
* the need to create one manually via {@link ModifyDbClusterEndpointRequest#builder()}
*
*
* @param modifyDbClusterEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbClusterEndpointRequest.Builder} to create a
* request.
* @return Result of the ModifyDBClusterEndpoint operation returned by the service.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbClusterEndpointStateException
* The requested operation cannot be performed on the endpoint while the endpoint is in this state.
* @throws DbClusterEndpointNotFoundException
* The specified custom endpoint doesn't exist.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterEndpoint
* @see AWS API Documentation
*/
default ModifyDbClusterEndpointResponse modifyDBClusterEndpoint(
Consumer modifyDbClusterEndpointRequest)
throws InvalidDbClusterStateException, InvalidDbClusterEndpointStateException, DbClusterEndpointNotFoundException,
DbInstanceNotFoundException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
return modifyDBClusterEndpoint(ModifyDbClusterEndpointRequest.builder().applyMutation(modifyDbClusterEndpointRequest)
.build());
}
/**
*
* 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.
*
*
*
* @param modifyDbClusterParameterGroupRequest
* @return Result of the ModifyDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterParameterGroup
* @see AWS API Documentation
*/
default ModifyDbClusterParameterGroupResponse modifyDBClusterParameterGroup(
ModifyDbClusterParameterGroupRequest modifyDbClusterParameterGroupRequest) throws DbParameterGroupNotFoundException,
InvalidDbParameterGroupStateException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbClusterParameterGroupRequest.Builder}
* avoiding the need to create one manually via {@link ModifyDbClusterParameterGroupRequest#builder()}
*
*
* @param modifyDbClusterParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbClusterParameterGroupRequest.Builder} to
* create a request.
* @return Result of the ModifyDBClusterParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterParameterGroup
* @see AWS API Documentation
*/
default ModifyDbClusterParameterGroupResponse modifyDBClusterParameterGroup(
Consumer modifyDbClusterParameterGroupRequest)
throws DbParameterGroupNotFoundException, InvalidDbParameterGroupStateException, AwsServiceException,
SdkClientException, NeptuneException {
return modifyDBClusterParameterGroup(ModifyDbClusterParameterGroupRequest.builder()
.applyMutation(modifyDbClusterParameterGroupRequest).build());
}
/**
*
* 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.
*
*
* @param modifyDbClusterSnapshotAttributeRequest
* @return Result of the ModifyDBClusterSnapshotAttribute operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SharedSnapshotQuotaExceededException
* You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterSnapshotAttribute
* @see AWS API Documentation
*/
default ModifyDbClusterSnapshotAttributeResponse modifyDBClusterSnapshotAttribute(
ModifyDbClusterSnapshotAttributeRequest modifyDbClusterSnapshotAttributeRequest)
throws DbClusterSnapshotNotFoundException, InvalidDbClusterSnapshotStateException,
SharedSnapshotQuotaExceededException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbClusterSnapshotAttributeRequest.Builder}
* avoiding the need to create one manually via {@link ModifyDbClusterSnapshotAttributeRequest#builder()}
*
*
* @param modifyDbClusterSnapshotAttributeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbClusterSnapshotAttributeRequest.Builder} to
* create a request.
* @return Result of the ModifyDBClusterSnapshotAttribute operation returned by the service.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws SharedSnapshotQuotaExceededException
* You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBClusterSnapshotAttribute
* @see AWS API Documentation
*/
default ModifyDbClusterSnapshotAttributeResponse modifyDBClusterSnapshotAttribute(
Consumer modifyDbClusterSnapshotAttributeRequest)
throws DbClusterSnapshotNotFoundException, InvalidDbClusterSnapshotStateException,
SharedSnapshotQuotaExceededException, AwsServiceException, SdkClientException, NeptuneException {
return modifyDBClusterSnapshotAttribute(ModifyDbClusterSnapshotAttributeRequest.builder()
.applyMutation(modifyDbClusterSnapshotAttributeRequest).build());
}
/**
*
* 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.
*
*
* @param modifyDbInstanceRequest
* @return Result of the ModifyDBInstance operation returned by the service.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws InvalidDbSecurityGroupStateException
* The state of the DB security group does not allow deletion.
* @throws DbInstanceAlreadyExistsException
* User already has a DB instance with the given identifier.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSecurityGroupNotFoundException
* DBSecurityGroupName does not refer to an existing DB security group.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InsufficientDbInstanceCapacityException
* Specified DB instance class is not available in the specified Availability Zone.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws ProvisionedIopsNotAvailableInAzException
* Provisioned IOPS not available in the specified Availability Zone.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws DbUpgradeDependencyFailureException
* The DB upgrade failed because a resource the DB depends on could not be modified.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws AuthorizationNotFoundException
* 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.
* @throws CertificateNotFoundException
* CertificateIdentifier does not refer to an existing certificate.
* @throws DomainNotFoundException
* Domain does not refer to an existing Active Directory Domain.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBInstance
* @see AWS API
* Documentation
*/
default ModifyDbInstanceResponse modifyDBInstance(ModifyDbInstanceRequest modifyDbInstanceRequest)
throws InvalidDbInstanceStateException, InvalidDbSecurityGroupStateException, DbInstanceAlreadyExistsException,
DbInstanceNotFoundException, DbSecurityGroupNotFoundException, DbParameterGroupNotFoundException,
InsufficientDbInstanceCapacityException, StorageQuotaExceededException, InvalidVpcNetworkStateException,
ProvisionedIopsNotAvailableInAzException, OptionGroupNotFoundException, DbUpgradeDependencyFailureException,
StorageTypeNotSupportedException, AuthorizationNotFoundException, CertificateNotFoundException,
DomainNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbInstanceRequest.Builder} avoiding the need
* to create one manually via {@link ModifyDbInstanceRequest#builder()}
*
*
* @param modifyDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbInstanceRequest.Builder} to create a request.
* @return Result of the ModifyDBInstance operation returned by the service.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws InvalidDbSecurityGroupStateException
* The state of the DB security group does not allow deletion.
* @throws DbInstanceAlreadyExistsException
* User already has a DB instance with the given identifier.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSecurityGroupNotFoundException
* DBSecurityGroupName does not refer to an existing DB security group.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InsufficientDbInstanceCapacityException
* Specified DB instance class is not available in the specified Availability Zone.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws ProvisionedIopsNotAvailableInAzException
* Provisioned IOPS not available in the specified Availability Zone.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws DbUpgradeDependencyFailureException
* The DB upgrade failed because a resource the DB depends on could not be modified.
* @throws StorageTypeNotSupportedException
* StorageType specified cannot be associated with the DB Instance.
* @throws AuthorizationNotFoundException
* 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.
* @throws CertificateNotFoundException
* CertificateIdentifier does not refer to an existing certificate.
* @throws DomainNotFoundException
* Domain does not refer to an existing Active Directory Domain.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBInstance
* @see AWS API
* Documentation
*/
default ModifyDbInstanceResponse modifyDBInstance(Consumer modifyDbInstanceRequest)
throws InvalidDbInstanceStateException, InvalidDbSecurityGroupStateException, DbInstanceAlreadyExistsException,
DbInstanceNotFoundException, DbSecurityGroupNotFoundException, DbParameterGroupNotFoundException,
InsufficientDbInstanceCapacityException, StorageQuotaExceededException, InvalidVpcNetworkStateException,
ProvisionedIopsNotAvailableInAzException, OptionGroupNotFoundException, DbUpgradeDependencyFailureException,
StorageTypeNotSupportedException, AuthorizationNotFoundException, CertificateNotFoundException,
DomainNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return modifyDBInstance(ModifyDbInstanceRequest.builder().applyMutation(modifyDbInstanceRequest).build());
}
/**
*
* 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.
*
*
*
* @param modifyDbParameterGroupRequest
* @return Result of the ModifyDBParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBParameterGroup
* @see AWS API Documentation
*/
default ModifyDbParameterGroupResponse modifyDBParameterGroup(ModifyDbParameterGroupRequest modifyDbParameterGroupRequest)
throws DbParameterGroupNotFoundException, InvalidDbParameterGroupStateException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbParameterGroupRequest.Builder} avoiding the
* need to create one manually via {@link ModifyDbParameterGroupRequest#builder()}
*
*
* @param modifyDbParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbParameterGroupRequest.Builder} to create a
* request.
* @return Result of the ModifyDBParameterGroup operation returned by the service.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBParameterGroup
* @see AWS API Documentation
*/
default ModifyDbParameterGroupResponse modifyDBParameterGroup(
Consumer modifyDbParameterGroupRequest)
throws DbParameterGroupNotFoundException, InvalidDbParameterGroupStateException, AwsServiceException,
SdkClientException, NeptuneException {
return modifyDBParameterGroup(ModifyDbParameterGroupRequest.builder().applyMutation(modifyDbParameterGroupRequest)
.build());
}
/**
*
* Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in
* the Amazon Region.
*
*
* @param modifyDbSubnetGroupRequest
* @return Result of the ModifyDBSubnetGroup operation returned by the service.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSubnetQuotaExceededException
* Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
* @throws SubnetAlreadyInUseException
* The DB subnet is already in use in the Availability Zone.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBSubnetGroup
* @see AWS
* API Documentation
*/
default ModifyDbSubnetGroupResponse modifyDBSubnetGroup(ModifyDbSubnetGroupRequest modifyDbSubnetGroupRequest)
throws DbSubnetGroupNotFoundException, DbSubnetQuotaExceededException, SubnetAlreadyInUseException,
DbSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in
* the Amazon Region.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDbSubnetGroupRequest.Builder} avoiding the
* need to create one manually via {@link ModifyDbSubnetGroupRequest#builder()}
*
*
* @param modifyDbSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyDbSubnetGroupRequest.Builder} to create a
* request.
* @return Result of the ModifyDBSubnetGroup operation returned by the service.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSubnetQuotaExceededException
* Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
* @throws SubnetAlreadyInUseException
* The DB subnet is already in use in the Availability Zone.
* @throws DbSubnetGroupDoesNotCoverEnoughAZsException
* Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
* Availability Zone.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyDBSubnetGroup
* @see AWS
* API Documentation
*/
default ModifyDbSubnetGroupResponse modifyDBSubnetGroup(
Consumer modifyDbSubnetGroupRequest) throws DbSubnetGroupNotFoundException,
DbSubnetQuotaExceededException, SubnetAlreadyInUseException, DbSubnetGroupDoesNotCoverEnoughAZsException,
InvalidSubnetException, AwsServiceException, SdkClientException, NeptuneException {
return modifyDBSubnetGroup(ModifyDbSubnetGroupRequest.builder().applyMutation(modifyDbSubnetGroupRequest).build());
}
/**
*
* 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.
*
*
* @param modifyEventSubscriptionRequest
* @return Result of the ModifyEventSubscription operation returned by the service.
* @throws EventSubscriptionQuotaExceededException
* You have exceeded the number of events you can subscribe to.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* There is no SNS authorization.
* @throws SnsTopicArnNotFoundException
* The ARN of the SNS topic could not be found.
* @throws SubscriptionCategoryNotFoundException
* The designated subscription category could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyEventSubscription
* @see AWS API Documentation
*/
default ModifyEventSubscriptionResponse modifyEventSubscription(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest)
throws EventSubscriptionQuotaExceededException, SubscriptionNotFoundException, SnsInvalidTopicException,
SnsNoAuthorizationException, SnsTopicArnNotFoundException, SubscriptionCategoryNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link ModifyEventSubscriptionRequest#builder()}
*
*
* @param modifyEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyEventSubscriptionRequest.Builder} to create a
* request.
* @return Result of the ModifyEventSubscription operation returned by the service.
* @throws EventSubscriptionQuotaExceededException
* You have exceeded the number of events you can subscribe to.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* There is no SNS authorization.
* @throws SnsTopicArnNotFoundException
* The ARN of the SNS topic could not be found.
* @throws SubscriptionCategoryNotFoundException
* The designated subscription category could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyEventSubscription
* @see AWS API Documentation
*/
default ModifyEventSubscriptionResponse modifyEventSubscription(
Consumer modifyEventSubscriptionRequest)
throws EventSubscriptionQuotaExceededException, SubscriptionNotFoundException, SnsInvalidTopicException,
SnsNoAuthorizationException, SnsTopicArnNotFoundException, SubscriptionCategoryNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return modifyEventSubscription(ModifyEventSubscriptionRequest.builder().applyMutation(modifyEventSubscriptionRequest)
.build());
}
/**
*
* 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.
*
*
* @param modifyGlobalClusterRequest
* @return Result of the ModifyGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyGlobalCluster
* @see AWS
* API Documentation
*/
default ModifyGlobalClusterResponse modifyGlobalCluster(ModifyGlobalClusterRequest modifyGlobalClusterRequest)
throws GlobalClusterNotFoundException, InvalidGlobalClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyGlobalClusterRequest.Builder} avoiding the
* need to create one manually via {@link ModifyGlobalClusterRequest#builder()}
*
*
* @param modifyGlobalClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ModifyGlobalClusterRequest.Builder} to create a
* request.
* @return Result of the ModifyGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ModifyGlobalCluster
* @see AWS
* API Documentation
*/
default ModifyGlobalClusterResponse modifyGlobalCluster(
Consumer modifyGlobalClusterRequest) throws GlobalClusterNotFoundException,
InvalidGlobalClusterStateException, AwsServiceException, SdkClientException, NeptuneException {
return modifyGlobalCluster(ModifyGlobalClusterRequest.builder().applyMutation(modifyGlobalClusterRequest).build());
}
/**
*
* Not supported.
*
*
* @param promoteReadReplicaDbClusterRequest
* @return Result of the PromoteReadReplicaDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.PromoteReadReplicaDBCluster
* @see AWS API Documentation
*/
default PromoteReadReplicaDbClusterResponse promoteReadReplicaDBCluster(
PromoteReadReplicaDbClusterRequest promoteReadReplicaDbClusterRequest) throws DbClusterNotFoundException,
InvalidDbClusterStateException, AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Not supported.
*
*
*
* This is a convenience which creates an instance of the {@link PromoteReadReplicaDbClusterRequest.Builder}
* avoiding the need to create one manually via {@link PromoteReadReplicaDbClusterRequest#builder()}
*
*
* @param promoteReadReplicaDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.PromoteReadReplicaDbClusterRequest.Builder} to create
* a request.
* @return Result of the PromoteReadReplicaDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.PromoteReadReplicaDBCluster
* @see AWS API Documentation
*/
default PromoteReadReplicaDbClusterResponse promoteReadReplicaDBCluster(
Consumer promoteReadReplicaDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
return promoteReadReplicaDBCluster(PromoteReadReplicaDbClusterRequest.builder()
.applyMutation(promoteReadReplicaDbClusterRequest).build());
}
/**
*
* 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.
*
*
* @param rebootDbInstanceRequest
* @return Result of the RebootDBInstance operation returned by the service.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RebootDBInstance
* @see AWS API
* Documentation
*/
default RebootDbInstanceResponse rebootDBInstance(RebootDbInstanceRequest rebootDbInstanceRequest)
throws InvalidDbInstanceStateException, DbInstanceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link RebootDbInstanceRequest.Builder} avoiding the need
* to create one manually via {@link RebootDbInstanceRequest#builder()}
*
*
* @param rebootDbInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RebootDbInstanceRequest.Builder} to create a request.
* @return Result of the RebootDBInstance operation returned by the service.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RebootDBInstance
* @see AWS API
* Documentation
*/
default RebootDbInstanceResponse rebootDBInstance(Consumer rebootDbInstanceRequest)
throws InvalidDbInstanceStateException, DbInstanceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
return rebootDBInstance(RebootDbInstanceRequest.builder().applyMutation(rebootDbInstanceRequest).build());
}
/**
*
* 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.
*
*
* @param removeFromGlobalClusterRequest
* @return Result of the RemoveFromGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveFromGlobalCluster
* @see AWS API Documentation
*/
default RemoveFromGlobalClusterResponse removeFromGlobalCluster(RemoveFromGlobalClusterRequest removeFromGlobalClusterRequest)
throws GlobalClusterNotFoundException, InvalidGlobalClusterStateException, DbClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link RemoveFromGlobalClusterRequest.Builder} avoiding
* the need to create one manually via {@link RemoveFromGlobalClusterRequest#builder()}
*
*
* @param removeFromGlobalClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RemoveFromGlobalClusterRequest.Builder} to create a
* request.
* @return Result of the RemoveFromGlobalCluster operation returned by the service.
* @throws GlobalClusterNotFoundException
* The GlobalClusterIdentifier
doesn't refer to an existing global database cluster.
* @throws InvalidGlobalClusterStateException
* The global cluster is in an invalid state and can't perform the requested operation.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveFromGlobalCluster
* @see AWS API Documentation
*/
default RemoveFromGlobalClusterResponse removeFromGlobalCluster(
Consumer removeFromGlobalClusterRequest)
throws GlobalClusterNotFoundException, InvalidGlobalClusterStateException, DbClusterNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
return removeFromGlobalCluster(RemoveFromGlobalClusterRequest.builder().applyMutation(removeFromGlobalClusterRequest)
.build());
}
/**
*
* Disassociates an Identity and Access Management (IAM) role from a DB cluster.
*
*
* @param removeRoleFromDbClusterRequest
* @return Result of the RemoveRoleFromDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterRoleNotFoundException
* The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveRoleFromDBCluster
* @see AWS API Documentation
*/
default RemoveRoleFromDbClusterResponse removeRoleFromDBCluster(RemoveRoleFromDbClusterRequest removeRoleFromDbClusterRequest)
throws DbClusterNotFoundException, DbClusterRoleNotFoundException, InvalidDbClusterStateException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates an Identity and Access Management (IAM) role from a DB cluster.
*
*
*
* This is a convenience which creates an instance of the {@link RemoveRoleFromDbClusterRequest.Builder} avoiding
* the need to create one manually via {@link RemoveRoleFromDbClusterRequest#builder()}
*
*
* @param removeRoleFromDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RemoveRoleFromDbClusterRequest.Builder} to create a
* request.
* @return Result of the RemoveRoleFromDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterRoleNotFoundException
* The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveRoleFromDBCluster
* @see AWS API Documentation
*/
default RemoveRoleFromDbClusterResponse removeRoleFromDBCluster(
Consumer removeRoleFromDbClusterRequest) throws DbClusterNotFoundException,
DbClusterRoleNotFoundException, InvalidDbClusterStateException, AwsServiceException, SdkClientException,
NeptuneException {
return removeRoleFromDBCluster(RemoveRoleFromDbClusterRequest.builder().applyMutation(removeRoleFromDbClusterRequest)
.build());
}
/**
*
* Removes a source identifier from an existing event notification subscription.
*
*
* @param removeSourceIdentifierFromSubscriptionRequest
* @return Result of the RemoveSourceIdentifierFromSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveSourceIdentifierFromSubscription
* @see AWS API Documentation
*/
default RemoveSourceIdentifierFromSubscriptionResponse removeSourceIdentifierFromSubscription(
RemoveSourceIdentifierFromSubscriptionRequest removeSourceIdentifierFromSubscriptionRequest)
throws SubscriptionNotFoundException, SourceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Removes a source identifier from an existing event notification subscription.
*
*
*
* This is a convenience which creates an instance of the
* {@link RemoveSourceIdentifierFromSubscriptionRequest.Builder} avoiding the need to create one manually via
* {@link RemoveSourceIdentifierFromSubscriptionRequest#builder()}
*
*
* @param removeSourceIdentifierFromSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RemoveSourceIdentifierFromSubscriptionRequest.Builder}
* to create a request.
* @return Result of the RemoveSourceIdentifierFromSubscription operation returned by the service.
* @throws SubscriptionNotFoundException
* The designated subscription could not be found.
* @throws SourceNotFoundException
* The source could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveSourceIdentifierFromSubscription
* @see AWS API Documentation
*/
default RemoveSourceIdentifierFromSubscriptionResponse removeSourceIdentifierFromSubscription(
Consumer removeSourceIdentifierFromSubscriptionRequest)
throws SubscriptionNotFoundException, SourceNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
return removeSourceIdentifierFromSubscription(RemoveSourceIdentifierFromSubscriptionRequest.builder()
.applyMutation(removeSourceIdentifierFromSubscriptionRequest).build());
}
/**
*
* Removes metadata tags from an Amazon Neptune resource.
*
*
* @param removeTagsFromResourceRequest
* @return Result of the RemoveTagsFromResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveTagsFromResource
* @see AWS API Documentation
*/
default RemoveTagsFromResourceResponse removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
throws DbInstanceNotFoundException, DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Removes metadata tags from an Amazon Neptune resource.
*
*
*
* This is a convenience which creates an instance of the {@link RemoveTagsFromResourceRequest.Builder} avoiding the
* need to create one manually via {@link RemoveTagsFromResourceRequest#builder()}
*
*
* @param removeTagsFromResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RemoveTagsFromResourceRequest.Builder} to create a
* request.
* @return Result of the RemoveTagsFromResource operation returned by the service.
* @throws DbInstanceNotFoundException
* DBInstanceIdentifier does not refer to an existing DB instance.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RemoveTagsFromResource
* @see AWS API Documentation
*/
default RemoveTagsFromResourceResponse removeTagsFromResource(
Consumer removeTagsFromResourceRequest) throws DbInstanceNotFoundException,
DbSnapshotNotFoundException, DbClusterNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return removeTagsFromResource(RemoveTagsFromResourceRequest.builder().applyMutation(removeTagsFromResourceRequest)
.build());
}
/**
*
* 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.
*
*
* @param resetDbClusterParameterGroupRequest
* @return Result of the ResetDBClusterParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ResetDBClusterParameterGroup
* @see AWS API Documentation
*/
default ResetDbClusterParameterGroupResponse resetDBClusterParameterGroup(
ResetDbClusterParameterGroupRequest resetDbClusterParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ResetDbClusterParameterGroupRequest.Builder}
* avoiding the need to create one manually via {@link ResetDbClusterParameterGroupRequest#builder()}
*
*
* @param resetDbClusterParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ResetDbClusterParameterGroupRequest.Builder} to
* create a request.
* @return Result of the ResetDBClusterParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ResetDBClusterParameterGroup
* @see AWS API Documentation
*/
default ResetDbClusterParameterGroupResponse resetDBClusterParameterGroup(
Consumer resetDbClusterParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return resetDBClusterParameterGroup(ResetDbClusterParameterGroupRequest.builder()
.applyMutation(resetDbClusterParameterGroupRequest).build());
}
/**
*
* 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.
*
*
* @param resetDbParameterGroupRequest
* @return Result of the ResetDBParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ResetDBParameterGroup
* @see AWS
* API Documentation
*/
default ResetDbParameterGroupResponse resetDBParameterGroup(ResetDbParameterGroupRequest resetDbParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link ResetDbParameterGroupRequest.Builder} avoiding the
* need to create one manually via {@link ResetDbParameterGroupRequest#builder()}
*
*
* @param resetDbParameterGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.ResetDbParameterGroupRequest.Builder} to create a
* request.
* @return Result of the ResetDBParameterGroup operation returned by the service.
* @throws InvalidDbParameterGroupStateException
* 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.
* @throws DbParameterGroupNotFoundException
* DBParameterGroupName does not refer to an existing DB parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.ResetDBParameterGroup
* @see AWS
* API Documentation
*/
default ResetDbParameterGroupResponse resetDBParameterGroup(
Consumer resetDbParameterGroupRequest)
throws InvalidDbParameterGroupStateException, DbParameterGroupNotFoundException, AwsServiceException,
SdkClientException, NeptuneException {
return resetDBParameterGroup(ResetDbParameterGroupRequest.builder().applyMutation(resetDbParameterGroupRequest).build());
}
/**
*
* 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.
*
*
* @param restoreDbClusterFromSnapshotRequest
* @return Result of the RestoreDBClusterFromSnapshot operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InsufficientDbClusterCapacityException
* The DB cluster does not have enough capacity for the current operation.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws InvalidDbSnapshotStateException
* The state of the DB snapshot does not allow deletion.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidRestoreException
* Cannot restore from vpc backup to non-vpc DB instance.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RestoreDBClusterFromSnapshot
* @see AWS API Documentation
*/
default RestoreDbClusterFromSnapshotResponse restoreDBClusterFromSnapshot(
RestoreDbClusterFromSnapshotRequest restoreDbClusterFromSnapshotRequest) throws DbClusterAlreadyExistsException,
DbClusterQuotaExceededException, StorageQuotaExceededException, DbSubnetGroupNotFoundException,
DbSnapshotNotFoundException, DbClusterSnapshotNotFoundException, InsufficientDbClusterCapacityException,
InsufficientStorageClusterCapacityException, InvalidDbSnapshotStateException, InvalidDbClusterSnapshotStateException,
InvalidVpcNetworkStateException, InvalidRestoreException, InvalidSubnetException, OptionGroupNotFoundException,
KmsKeyNotAccessibleException, DbClusterParameterGroupNotFoundException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link RestoreDbClusterFromSnapshotRequest.Builder}
* avoiding the need to create one manually via {@link RestoreDbClusterFromSnapshotRequest#builder()}
*
*
* @param restoreDbClusterFromSnapshotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RestoreDbClusterFromSnapshotRequest.Builder} to
* create a request.
* @return Result of the RestoreDBClusterFromSnapshot operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws DbSnapshotNotFoundException
* DBSnapshotIdentifier does not refer to an existing DB snapshot.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws InsufficientDbClusterCapacityException
* The DB cluster does not have enough capacity for the current operation.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws InvalidDbSnapshotStateException
* The state of the DB snapshot does not allow deletion.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws InvalidRestoreException
* Cannot restore from vpc backup to non-vpc DB instance.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RestoreDBClusterFromSnapshot
* @see AWS API Documentation
*/
default RestoreDbClusterFromSnapshotResponse restoreDBClusterFromSnapshot(
Consumer restoreDbClusterFromSnapshotRequest)
throws DbClusterAlreadyExistsException, DbClusterQuotaExceededException, StorageQuotaExceededException,
DbSubnetGroupNotFoundException, DbSnapshotNotFoundException, DbClusterSnapshotNotFoundException,
InsufficientDbClusterCapacityException, InsufficientStorageClusterCapacityException, InvalidDbSnapshotStateException,
InvalidDbClusterSnapshotStateException, InvalidVpcNetworkStateException, InvalidRestoreException,
InvalidSubnetException, OptionGroupNotFoundException, KmsKeyNotAccessibleException,
DbClusterParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return restoreDBClusterFromSnapshot(RestoreDbClusterFromSnapshotRequest.builder()
.applyMutation(restoreDbClusterFromSnapshotRequest).build());
}
/**
*
* 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.
*
*
*
* @param restoreDbClusterToPointInTimeRequest
* @return Result of the RestoreDBClusterToPointInTime operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InsufficientDbClusterCapacityException
* The DB cluster does not have enough capacity for the current operation.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbSnapshotStateException
* The state of the DB snapshot does not allow deletion.
* @throws InvalidRestoreException
* Cannot restore from vpc backup to non-vpc DB instance.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RestoreDBClusterToPointInTime
* @see AWS API Documentation
*/
default RestoreDbClusterToPointInTimeResponse restoreDBClusterToPointInTime(
RestoreDbClusterToPointInTimeRequest restoreDbClusterToPointInTimeRequest) throws DbClusterAlreadyExistsException,
DbClusterNotFoundException, DbClusterQuotaExceededException, DbClusterSnapshotNotFoundException,
DbSubnetGroupNotFoundException, InsufficientDbClusterCapacityException, InsufficientStorageClusterCapacityException,
InvalidDbClusterSnapshotStateException, InvalidDbClusterStateException, InvalidDbSnapshotStateException,
InvalidRestoreException, InvalidSubnetException, InvalidVpcNetworkStateException, KmsKeyNotAccessibleException,
OptionGroupNotFoundException, StorageQuotaExceededException, DbClusterParameterGroupNotFoundException,
AwsServiceException, SdkClientException, NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link RestoreDbClusterToPointInTimeRequest.Builder}
* avoiding the need to create one manually via {@link RestoreDbClusterToPointInTimeRequest#builder()}
*
*
* @param restoreDbClusterToPointInTimeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.RestoreDbClusterToPointInTimeRequest.Builder} to
* create a request.
* @return Result of the RestoreDBClusterToPointInTime operation returned by the service.
* @throws DbClusterAlreadyExistsException
* User already has a DB cluster with the given identifier.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws DbClusterQuotaExceededException
* User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster
* quota.
* @throws DbClusterSnapshotNotFoundException
* DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
* @throws DbSubnetGroupNotFoundException
* DBSubnetGroupName does not refer to an existing DB subnet group.
* @throws InsufficientDbClusterCapacityException
* The DB cluster does not have enough capacity for the current operation.
* @throws InsufficientStorageClusterCapacityException
* 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.
* @throws InvalidDbClusterSnapshotStateException
* The supplied value is not a valid DB cluster snapshot state.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbSnapshotStateException
* The state of the DB snapshot does not allow deletion.
* @throws InvalidRestoreException
* Cannot restore from vpc backup to non-vpc DB instance.
* @throws InvalidSubnetException
* The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
* @throws InvalidVpcNetworkStateException
* DB subnet group does not cover all Availability Zones after it is created because users' change.
* @throws KmsKeyNotAccessibleException
* Error accessing KMS key.
* @throws OptionGroupNotFoundException
* The designated option group could not be found.
* @throws StorageQuotaExceededException
* Request would result in user exceeding the allowed amount of storage available across all DB instances.
* @throws DbClusterParameterGroupNotFoundException
* DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.RestoreDBClusterToPointInTime
* @see AWS API Documentation
*/
default RestoreDbClusterToPointInTimeResponse restoreDBClusterToPointInTime(
Consumer restoreDbClusterToPointInTimeRequest)
throws DbClusterAlreadyExistsException, DbClusterNotFoundException, DbClusterQuotaExceededException,
DbClusterSnapshotNotFoundException, DbSubnetGroupNotFoundException, InsufficientDbClusterCapacityException,
InsufficientStorageClusterCapacityException, InvalidDbClusterSnapshotStateException, InvalidDbClusterStateException,
InvalidDbSnapshotStateException, InvalidRestoreException, InvalidSubnetException, InvalidVpcNetworkStateException,
KmsKeyNotAccessibleException, OptionGroupNotFoundException, StorageQuotaExceededException,
DbClusterParameterGroupNotFoundException, AwsServiceException, SdkClientException, NeptuneException {
return restoreDBClusterToPointInTime(RestoreDbClusterToPointInTimeRequest.builder()
.applyMutation(restoreDbClusterToPointInTimeRequest).build());
}
/**
*
* Starts an Amazon Neptune DB cluster that was stopped using the Amazon console, the Amazon CLI stop-db-cluster
* command, or the StopDBCluster API.
*
*
* @param startDbClusterRequest
* @return Result of the StartDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.StartDBCluster
* @see AWS API
* Documentation
*/
default StartDbClusterResponse startDBCluster(StartDbClusterRequest startDbClusterRequest) throws DbClusterNotFoundException,
InvalidDbClusterStateException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* Starts an Amazon Neptune DB cluster that was stopped using the Amazon console, the Amazon CLI stop-db-cluster
* command, or the StopDBCluster API.
*
*
*
* This is a convenience which creates an instance of the {@link StartDbClusterRequest.Builder} avoiding the need to
* create one manually via {@link StartDbClusterRequest#builder()}
*
*
* @param startDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.StartDbClusterRequest.Builder} to create a request.
* @return Result of the StartDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.StartDBCluster
* @see AWS API
* Documentation
*/
default StartDbClusterResponse startDBCluster(Consumer startDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, InvalidDbInstanceStateException,
AwsServiceException, SdkClientException, NeptuneException {
return startDBCluster(StartDbClusterRequest.builder().applyMutation(startDbClusterRequest).build());
}
/**
*
* 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.
*
*
* @param stopDbClusterRequest
* @return Result of the StopDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.StopDBCluster
* @see AWS API
* Documentation
*/
default StopDbClusterResponse stopDBCluster(StopDbClusterRequest stopDbClusterRequest) throws DbClusterNotFoundException,
InvalidDbClusterStateException, InvalidDbInstanceStateException, AwsServiceException, SdkClientException,
NeptuneException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link StopDbClusterRequest.Builder} avoiding the need to
* create one manually via {@link StopDbClusterRequest#builder()}
*
*
* @param stopDbClusterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.neptune.model.StopDbClusterRequest.Builder} to create a request.
* @return Result of the StopDBCluster operation returned by the service.
* @throws DbClusterNotFoundException
* DBClusterIdentifier does not refer to an existing DB cluster.
* @throws InvalidDbClusterStateException
* The DB cluster is not in a valid state.
* @throws InvalidDbInstanceStateException
* The specified DB instance is not in the available state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws NeptuneException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample NeptuneClient.StopDBCluster
* @see AWS API
* Documentation
*/
default StopDbClusterResponse stopDBCluster(Consumer stopDbClusterRequest)
throws DbClusterNotFoundException, InvalidDbClusterStateException, InvalidDbInstanceStateException,
AwsServiceException, SdkClientException, NeptuneException {
return stopDBCluster(StopDbClusterRequest.builder().applyMutation(stopDbClusterRequest).build());
}
/**
* Create an instance of {@link NeptuneWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link NeptuneWaiter}
*/
default NeptuneWaiter waiter() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link NeptuneClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static NeptuneClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link NeptuneClient}.
*/
static NeptuneClientBuilder builder() {
return new DefaultNeptuneClientBuilder();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
@Override
default NeptuneServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
}