Struct aws_sdk_redshift::model::EndpointAuthorization
source · [−]#[non_exhaustive]pub struct EndpointAuthorization {
pub grantor: Option<String>,
pub grantee: Option<String>,
pub cluster_identifier: Option<String>,
pub authorize_time: Option<DateTime>,
pub cluster_status: Option<String>,
pub status: Option<AuthorizationStatus>,
pub allowed_all_vp_cs: bool,
pub allowed_vp_cs: Option<Vec<String>>,
pub endpoint_count: i32,
}
Expand description
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.
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.grantor: Option<String>
The Amazon Web Services account ID of the cluster owner.
grantee: Option<String>
The Amazon Web Services account ID of the grantee of the cluster.
cluster_identifier: Option<String>
The cluster identifier.
The time (UTC) when the authorization was created.
cluster_status: Option<String>
The status of the cluster.
status: Option<AuthorizationStatus>
The status of the authorization action.
allowed_all_vp_cs: bool
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
allowed_vp_cs: Option<Vec<String>>
The VPCs allowed access to the cluster.
endpoint_count: i32
The number of Redshift-managed VPC endpoints created for the authorization.
Implementations
sourceimpl EndpointAuthorization
impl EndpointAuthorization
sourcepub fn grantee(&self) -> Option<&str>
pub fn grantee(&self) -> Option<&str>
The Amazon Web Services account ID of the grantee of the cluster.
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The cluster identifier.
The time (UTC) when the authorization was created.
sourcepub fn cluster_status(&self) -> Option<&str>
pub fn cluster_status(&self) -> Option<&str>
The status of the cluster.
sourcepub fn status(&self) -> Option<&AuthorizationStatus>
pub fn status(&self) -> Option<&AuthorizationStatus>
The status of the authorization action.
sourcepub fn allowed_all_vp_cs(&self) -> bool
pub fn allowed_all_vp_cs(&self) -> bool
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
sourcepub fn endpoint_count(&self) -> i32
pub fn endpoint_count(&self) -> i32
The number of Redshift-managed VPC endpoints created for the authorization.
sourceimpl EndpointAuthorization
impl EndpointAuthorization
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EndpointAuthorization
Trait Implementations
sourceimpl Clone for EndpointAuthorization
impl Clone for EndpointAuthorization
sourcefn clone(&self) -> EndpointAuthorization
fn clone(&self) -> EndpointAuthorization
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EndpointAuthorization
impl Debug for EndpointAuthorization
sourceimpl PartialEq<EndpointAuthorization> for EndpointAuthorization
impl PartialEq<EndpointAuthorization> for EndpointAuthorization
sourcefn eq(&self, other: &EndpointAuthorization) -> bool
fn eq(&self, other: &EndpointAuthorization) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EndpointAuthorization) -> bool
fn ne(&self, other: &EndpointAuthorization) -> bool
This method tests for !=
.
impl StructuralPartialEq for EndpointAuthorization
Auto Trait Implementations
impl RefUnwindSafe for EndpointAuthorization
impl Send for EndpointAuthorization
impl Sync for EndpointAuthorization
impl Unpin for EndpointAuthorization
impl UnwindSafe for EndpointAuthorization
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more