Struct aws_sdk_ram::input::GetPermissionInput
source · [−]#[non_exhaustive]pub struct GetPermissionInput {
pub permission_arn: Option<String>,
pub permission_version: Option<i32>,
}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.permission_arn: Option<String>Specifies the Amazon Resoure Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
permission_version: Option<i32>Specifies identifier for the version of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
Implementations
sourceimpl GetPermissionInput
impl GetPermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetPermission, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetPermission, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetPermission>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetPermissionInput
sourceimpl GetPermissionInput
impl GetPermissionInput
sourcepub fn permission_arn(&self) -> Option<&str>
pub fn permission_arn(&self) -> Option<&str>
Specifies the Amazon Resoure Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
sourcepub fn permission_version(&self) -> Option<i32>
pub fn permission_version(&self) -> Option<i32>
Specifies identifier for the version of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
Trait Implementations
sourceimpl Clone for GetPermissionInput
impl Clone for GetPermissionInput
sourcefn clone(&self) -> GetPermissionInput
fn clone(&self) -> GetPermissionInput
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 GetPermissionInput
impl Debug for GetPermissionInput
sourceimpl PartialEq<GetPermissionInput> for GetPermissionInput
impl PartialEq<GetPermissionInput> for GetPermissionInput
sourcefn eq(&self, other: &GetPermissionInput) -> bool
fn eq(&self, other: &GetPermissionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetPermissionInput) -> bool
fn ne(&self, other: &GetPermissionInput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetPermissionInput
Auto Trait Implementations
impl RefUnwindSafe for GetPermissionInput
impl Send for GetPermissionInput
impl Sync for GetPermissionInput
impl Unpin for GetPermissionInput
impl UnwindSafe for GetPermissionInput
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