#[non_exhaustive]pub struct ModifyDbClusterEndpointOutput {
pub db_cluster_endpoint_identifier: Option<String>,
pub db_cluster_identifier: Option<String>,
pub db_cluster_endpoint_resource_identifier: Option<String>,
pub endpoint: Option<String>,
pub status: Option<String>,
pub endpoint_type: Option<String>,
pub custom_endpoint_type: Option<String>,
pub static_members: Option<Vec<String>>,
pub excluded_members: Option<Vec<String>>,
pub db_cluster_endpoint_arn: Option<String>,
/* private fields */
}
Expand description
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
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.db_cluster_endpoint_identifier: Option<String>
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
db_cluster_identifier: Option<String>
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
db_cluster_endpoint_resource_identifier: Option<String>
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
endpoint: Option<String>
The DNS address of the endpoint.
status: Option<String>
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.
endpoint_type: Option<String>
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
custom_endpoint_type: Option<String>
The type associated with a custom endpoint. One of: READER
, WRITER
, ANY
.
static_members: Option<Vec<String>>
List of DB instance identifiers that are part of the custom endpoint group.
excluded_members: Option<Vec<String>>
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.
db_cluster_endpoint_arn: Option<String>
The Amazon Resource Name (ARN) for the endpoint.
Implementations§
source§impl ModifyDbClusterEndpointOutput
impl ModifyDbClusterEndpointOutput
sourcepub fn db_cluster_endpoint_identifier(&self) -> Option<&str>
pub fn db_cluster_endpoint_identifier(&self) -> Option<&str>
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
sourcepub fn db_cluster_endpoint_resource_identifier(&self) -> Option<&str>
pub fn db_cluster_endpoint_resource_identifier(&self) -> Option<&str>
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
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.
sourcepub fn endpoint_type(&self) -> Option<&str>
pub fn endpoint_type(&self) -> Option<&str>
The type of the endpoint. One of: READER
, WRITER
, CUSTOM
.
sourcepub fn custom_endpoint_type(&self) -> Option<&str>
pub fn custom_endpoint_type(&self) -> Option<&str>
The type associated with a custom endpoint. One of: READER
, WRITER
, ANY
.
sourcepub fn static_members(&self) -> &[String]
pub fn static_members(&self) -> &[String]
List of DB instance identifiers that are part of the custom endpoint group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .static_members.is_none()
.
sourcepub fn excluded_members(&self) -> &[String]
pub fn excluded_members(&self) -> &[String]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .excluded_members.is_none()
.
sourcepub fn db_cluster_endpoint_arn(&self) -> Option<&str>
pub fn db_cluster_endpoint_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the endpoint.
source§impl ModifyDbClusterEndpointOutput
impl ModifyDbClusterEndpointOutput
sourcepub fn builder() -> ModifyDbClusterEndpointOutputBuilder
pub fn builder() -> ModifyDbClusterEndpointOutputBuilder
Creates a new builder-style object to manufacture ModifyDbClusterEndpointOutput
.
Trait Implementations§
source§impl Clone for ModifyDbClusterEndpointOutput
impl Clone for ModifyDbClusterEndpointOutput
source§fn clone(&self) -> ModifyDbClusterEndpointOutput
fn clone(&self) -> ModifyDbClusterEndpointOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ModifyDbClusterEndpointOutput
impl PartialEq for ModifyDbClusterEndpointOutput
source§fn eq(&self, other: &ModifyDbClusterEndpointOutput) -> bool
fn eq(&self, other: &ModifyDbClusterEndpointOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ModifyDbClusterEndpointOutput
impl RequestId for ModifyDbClusterEndpointOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.