Struct aws_sdk_ram::operation::get_permission::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 Resource 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 the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
Implementations§
source§impl GetPermissionInput
impl GetPermissionInput
sourcepub fn permission_arn(&self) -> Option<&str>
pub fn permission_arn(&self) -> Option<&str>
Specifies the Amazon Resource 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 the version number of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
To see the list of available versions, use ListPermissionVersions.
source§impl GetPermissionInput
impl GetPermissionInput
sourcepub fn builder() -> GetPermissionInputBuilder
pub fn builder() -> GetPermissionInputBuilder
Creates a new builder-style object to manufacture GetPermissionInput.
Trait Implementations§
source§impl Clone for GetPermissionInput
impl Clone for GetPermissionInput
source§fn clone(&self) -> GetPermissionInput
fn clone(&self) -> GetPermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPermissionInput
impl Debug for GetPermissionInput
source§impl PartialEq for GetPermissionInput
impl PartialEq for GetPermissionInput
source§fn eq(&self, other: &GetPermissionInput) -> bool
fn eq(&self, other: &GetPermissionInput) -> bool
self and other values to be equal, and is used
by ==.