Struct aws_sdk_redshift::types::EndpointAuthorization
source · #[non_exhaustive]pub struct EndpointAuthorization { /* private fields */ }
Expand description
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across Amazon Web Services accounts.
Implementations§
source§impl 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 allowed_vp_cs(&self) -> Option<&[String]>
pub fn allowed_vp_cs(&self) -> Option<&[String]>
The VPCs 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.
source§impl EndpointAuthorization
impl EndpointAuthorization
sourcepub fn builder() -> EndpointAuthorizationBuilder
pub fn builder() -> EndpointAuthorizationBuilder
Creates a new builder-style object to manufacture EndpointAuthorization
.
Trait Implementations§
source§impl Clone for EndpointAuthorization
impl Clone for EndpointAuthorization
source§fn clone(&self) -> EndpointAuthorization
fn clone(&self) -> EndpointAuthorization
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EndpointAuthorization
impl Debug for EndpointAuthorization
source§impl PartialEq<EndpointAuthorization> for EndpointAuthorization
impl PartialEq<EndpointAuthorization> for EndpointAuthorization
source§fn 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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more