Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a custom endpoint and removes it from an Amazon Aurora DB cluster.
This action only applies to Aurora DB clusters.
Synopsis
- data DeleteDBClusterEndpoint = DeleteDBClusterEndpoint' {}
- newDeleteDBClusterEndpoint :: Text -> DeleteDBClusterEndpoint
- deleteDBClusterEndpoint_dbClusterEndpointIdentifier :: Lens' DeleteDBClusterEndpoint Text
- data DBClusterEndpoint = DBClusterEndpoint' {
- status :: Maybe Text
- dbClusterIdentifier :: Maybe Text
- dbClusterEndpointArn :: Maybe Text
- customEndpointType :: Maybe Text
- staticMembers :: Maybe [Text]
- endpointType :: Maybe Text
- dbClusterEndpointIdentifier :: Maybe Text
- endpoint :: Maybe Text
- dbClusterEndpointResourceIdentifier :: Maybe Text
- excludedMembers :: Maybe [Text]
- newDBClusterEndpoint :: DBClusterEndpoint
- dbClusterEndpoint_status :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_dbClusterIdentifier :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_dbClusterEndpointArn :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_customEndpointType :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_staticMembers :: Lens' DBClusterEndpoint (Maybe [Text])
- dbClusterEndpoint_endpointType :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_dbClusterEndpointIdentifier :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_endpoint :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_dbClusterEndpointResourceIdentifier :: Lens' DBClusterEndpoint (Maybe Text)
- dbClusterEndpoint_excludedMembers :: Lens' DBClusterEndpoint (Maybe [Text])
Creating a Request
data DeleteDBClusterEndpoint Source #
See: newDeleteDBClusterEndpoint
smart constructor.
DeleteDBClusterEndpoint' | |
|
Instances
newDeleteDBClusterEndpoint Source #
Create a value of DeleteDBClusterEndpoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dbClusterEndpointIdentifier:DeleteDBClusterEndpoint'
, deleteDBClusterEndpoint_dbClusterEndpointIdentifier
- The identifier associated with the custom endpoint. This parameter is
stored as a lowercase string.
Request Lenses
deleteDBClusterEndpoint_dbClusterEndpointIdentifier :: Lens' DeleteDBClusterEndpoint Text Source #
The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.
Destructuring the Response
data DBClusterEndpoint Source #
This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions:
CreateDBClusterEndpoint
DescribeDBClusterEndpoints
ModifyDBClusterEndpoint
DeleteDBClusterEndpoint
For the data structure that represents Amazon RDS DB instance endpoints,
see Endpoint
.
See: newDBClusterEndpoint
smart constructor.
DBClusterEndpoint' | |
|
Instances
newDBClusterEndpoint :: DBClusterEndpoint Source #
Create a value of DBClusterEndpoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:DBClusterEndpoint'
, dbClusterEndpoint_status
- The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state applies to an
endpoint that can't be used for a certain kind of cluster, such as a
writer
endpoint for a read-only secondary cluster in a global
database.
$sel:dbClusterIdentifier:DBClusterEndpoint'
, dbClusterEndpoint_dbClusterIdentifier
- The DB cluster identifier of the DB cluster associated with the
endpoint. This parameter is stored as a lowercase string.
$sel:dbClusterEndpointArn:DBClusterEndpoint'
, dbClusterEndpoint_dbClusterEndpointArn
- The Amazon Resource Name (ARN) for the endpoint.
$sel:customEndpointType:DBClusterEndpoint'
, dbClusterEndpoint_customEndpointType
- The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.
$sel:staticMembers:DBClusterEndpoint'
, dbClusterEndpoint_staticMembers
- List of DB instance identifiers that are part of the custom endpoint
group.
$sel:endpointType:DBClusterEndpoint'
, dbClusterEndpoint_endpointType
- The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
$sel:dbClusterEndpointIdentifier:DBClusterEndpoint'
, dbClusterEndpoint_dbClusterEndpointIdentifier
- The identifier associated with the endpoint. This parameter is stored as
a lowercase string.
$sel:endpoint:DBClusterEndpoint'
, dbClusterEndpoint_endpoint
- The DNS address of the endpoint.
$sel:dbClusterEndpointResourceIdentifier:DBClusterEndpoint'
, dbClusterEndpoint_dbClusterEndpointResourceIdentifier
- A unique system-generated identifier for an endpoint. It remains the
same for the whole life of the endpoint.
$sel:excludedMembers:DBClusterEndpoint'
, dbClusterEndpoint_excludedMembers
- List of DB instance identifiers that aren't part of the custom endpoint
group. All other eligible instances are reachable through the custom
endpoint. Only relevant if the list of static members is empty.
Response Lenses
dbClusterEndpoint_status :: Lens' DBClusterEndpoint (Maybe Text) Source #
The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state applies to an
endpoint that can't be used for a certain kind of cluster, such as a
writer
endpoint for a read-only secondary cluster in a global
database.
dbClusterEndpoint_dbClusterIdentifier :: Lens' DBClusterEndpoint (Maybe Text) Source #
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
dbClusterEndpoint_dbClusterEndpointArn :: Lens' DBClusterEndpoint (Maybe Text) Source #
The Amazon Resource Name (ARN) for the endpoint.
dbClusterEndpoint_customEndpointType :: Lens' DBClusterEndpoint (Maybe Text) Source #
The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.
dbClusterEndpoint_staticMembers :: Lens' DBClusterEndpoint (Maybe [Text]) Source #
List of DB instance identifiers that are part of the custom endpoint group.
dbClusterEndpoint_endpointType :: Lens' DBClusterEndpoint (Maybe Text) Source #
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
dbClusterEndpoint_dbClusterEndpointIdentifier :: Lens' DBClusterEndpoint (Maybe Text) Source #
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
dbClusterEndpoint_endpoint :: Lens' DBClusterEndpoint (Maybe Text) Source #
The DNS address of the endpoint.
dbClusterEndpoint_dbClusterEndpointResourceIdentifier :: Lens' DBClusterEndpoint (Maybe Text) Source #
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
dbClusterEndpoint_excludedMembers :: Lens' DBClusterEndpoint (Maybe [Text]) Source #
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.