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 |
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
Synopsis
- data CreateDBClusterEndpoint = CreateDBClusterEndpoint' {
- staticMembers :: Maybe [Text]
- excludedMembers :: Maybe [Text]
- tags :: Maybe [Tag]
- dbClusterIdentifier :: Text
- dbClusterEndpointIdentifier :: Text
- endpointType :: Text
- newCreateDBClusterEndpoint :: Text -> Text -> Text -> CreateDBClusterEndpoint
- createDBClusterEndpoint_staticMembers :: Lens' CreateDBClusterEndpoint (Maybe [Text])
- createDBClusterEndpoint_excludedMembers :: Lens' CreateDBClusterEndpoint (Maybe [Text])
- createDBClusterEndpoint_tags :: Lens' CreateDBClusterEndpoint (Maybe [Tag])
- createDBClusterEndpoint_dbClusterIdentifier :: Lens' CreateDBClusterEndpoint Text
- createDBClusterEndpoint_dbClusterEndpointIdentifier :: Lens' CreateDBClusterEndpoint Text
- createDBClusterEndpoint_endpointType :: Lens' CreateDBClusterEndpoint Text
- data CreateDBClusterEndpointResponse = CreateDBClusterEndpointResponse' {
- 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]
- httpStatus :: Int
- newCreateDBClusterEndpointResponse :: Int -> CreateDBClusterEndpointResponse
- createDBClusterEndpointResponse_status :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_dbClusterIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_dbClusterEndpointArn :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_customEndpointType :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_staticMembers :: Lens' CreateDBClusterEndpointResponse (Maybe [Text])
- createDBClusterEndpointResponse_endpointType :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_dbClusterEndpointIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_endpoint :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text)
- createDBClusterEndpointResponse_excludedMembers :: Lens' CreateDBClusterEndpointResponse (Maybe [Text])
- createDBClusterEndpointResponse_httpStatus :: Lens' CreateDBClusterEndpointResponse Int
Creating a Request
data CreateDBClusterEndpoint Source #
See: newCreateDBClusterEndpoint
smart constructor.
CreateDBClusterEndpoint' | |
|
Instances
newCreateDBClusterEndpoint Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateDBClusterEndpoint |
Create a value of CreateDBClusterEndpoint
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:staticMembers:CreateDBClusterEndpoint'
, createDBClusterEndpoint_staticMembers
- List of DB instance identifiers that are part of the custom endpoint
group.
$sel:excludedMembers:CreateDBClusterEndpoint'
, createDBClusterEndpoint_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.
$sel:tags:CreateDBClusterEndpoint'
, createDBClusterEndpoint_tags
- The tags to be assigned to the Amazon Neptune resource.
$sel:dbClusterIdentifier:CreateDBClusterEndpoint'
, createDBClusterEndpoint_dbClusterIdentifier
- The DB cluster identifier of the DB cluster associated with the
endpoint. This parameter is stored as a lowercase string.
$sel:dbClusterEndpointIdentifier:CreateDBClusterEndpoint'
, createDBClusterEndpoint_dbClusterEndpointIdentifier
- The identifier to use for the new endpoint. This parameter is stored as
a lowercase string.
$sel:endpointType:CreateDBClusterEndpoint'
, createDBClusterEndpoint_endpointType
- The type of the endpoint. One of: READER
, WRITER
, ANY
.
Request Lenses
createDBClusterEndpoint_staticMembers :: Lens' CreateDBClusterEndpoint (Maybe [Text]) Source #
List of DB instance identifiers that are part of the custom endpoint group.
createDBClusterEndpoint_excludedMembers :: Lens' CreateDBClusterEndpoint (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.
createDBClusterEndpoint_tags :: Lens' CreateDBClusterEndpoint (Maybe [Tag]) Source #
The tags to be assigned to the Amazon Neptune resource.
createDBClusterEndpoint_dbClusterIdentifier :: Lens' CreateDBClusterEndpoint Text Source #
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
createDBClusterEndpoint_dbClusterEndpointIdentifier :: Lens' CreateDBClusterEndpoint Text Source #
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
createDBClusterEndpoint_endpointType :: Lens' CreateDBClusterEndpoint Text Source #
The type of the endpoint. One of: READER
, WRITER
, ANY
.
Destructuring the Response
data CreateDBClusterEndpointResponse Source #
This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:
CreateDBClusterEndpoint
DescribeDBClusterEndpoints
ModifyDBClusterEndpoint
DeleteDBClusterEndpoint
For the data structure that represents Amazon Neptune DB instance
endpoints, see Endpoint
.
See: newCreateDBClusterEndpointResponse
smart constructor.
CreateDBClusterEndpointResponse' | |
|
Instances
newCreateDBClusterEndpointResponse Source #
Create a value of CreateDBClusterEndpointResponse
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:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_status
- The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state applies to an
endpoint that cannot be used for a certain kind of cluster, such as a
writer
endpoint for a read-only secondary cluster in a global
database.
$sel:dbClusterIdentifier:CreateDBClusterEndpoint'
, createDBClusterEndpointResponse_dbClusterIdentifier
- The DB cluster identifier of the DB cluster associated with the
endpoint. This parameter is stored as a lowercase string.
$sel:dbClusterEndpointArn:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_dbClusterEndpointArn
- The Amazon Resource Name (ARN) for the endpoint.
$sel:customEndpointType:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_customEndpointType
- The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.
$sel:staticMembers:CreateDBClusterEndpoint'
, createDBClusterEndpointResponse_staticMembers
- List of DB instance identifiers that are part of the custom endpoint
group.
$sel:endpointType:CreateDBClusterEndpoint'
, createDBClusterEndpointResponse_endpointType
- The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
$sel:dbClusterEndpointIdentifier:CreateDBClusterEndpoint'
, createDBClusterEndpointResponse_dbClusterEndpointIdentifier
- The identifier associated with the endpoint. This parameter is stored as
a lowercase string.
$sel:endpoint:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_endpoint
- The DNS address of the endpoint.
$sel:dbClusterEndpointResourceIdentifier:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier
- A unique system-generated identifier for an endpoint. It remains the
same for the whole life of the endpoint.
$sel:excludedMembers:CreateDBClusterEndpoint'
, createDBClusterEndpointResponse_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.
$sel:httpStatus:CreateDBClusterEndpointResponse'
, createDBClusterEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
createDBClusterEndpointResponse_status :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The current status of the endpoint. One of: creating
, available
,
deleting
, inactive
, modifying
. The inactive
state applies to an
endpoint that cannot be used for a certain kind of cluster, such as a
writer
endpoint for a read-only secondary cluster in a global
database.
createDBClusterEndpointResponse_dbClusterIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
createDBClusterEndpointResponse_dbClusterEndpointArn :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the endpoint.
createDBClusterEndpointResponse_customEndpointType :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The type associated with a custom endpoint. One of: READER
, WRITER
,
ANY
.
createDBClusterEndpointResponse_staticMembers :: Lens' CreateDBClusterEndpointResponse (Maybe [Text]) Source #
List of DB instance identifiers that are part of the custom endpoint group.
createDBClusterEndpointResponse_endpointType :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
createDBClusterEndpointResponse_dbClusterEndpointIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
createDBClusterEndpointResponse_endpoint :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
The DNS address of the endpoint.
createDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier :: Lens' CreateDBClusterEndpointResponse (Maybe Text) Source #
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
createDBClusterEndpointResponse_excludedMembers :: Lens' CreateDBClusterEndpointResponse (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.
createDBClusterEndpointResponse_httpStatus :: Lens' CreateDBClusterEndpointResponse Int Source #
The response's http status code.