#[non_exhaustive]pub struct GetPermissionInputBuilder { /* private fields */ }Expand description
A builder for GetPermissionInput.
Implementations§
source§impl GetPermissionInputBuilder
impl GetPermissionInputBuilder
sourcepub fn permission_arn(self, input: impl Into<String>) -> Self
pub fn permission_arn(self, input: impl Into<String>) -> Self
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 set_permission_arn(self, input: Option<String>) -> Self
pub fn set_permission_arn(self, input: Option<String>) -> Self
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 get_permission_arn(&self) -> &Option<String>
pub fn get_permission_arn(&self) -> &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.
sourcepub fn permission_version(self, input: i32) -> Self
pub fn permission_version(self, input: i32) -> Self
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.
sourcepub fn set_permission_version(self, input: Option<i32>) -> Self
pub fn set_permission_version(self, input: Option<i32>) -> Self
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.
sourcepub fn get_permission_version(&self) -> &Option<i32>
pub fn get_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.
sourcepub fn build(self) -> Result<GetPermissionInput, BuildError>
pub fn build(self) -> Result<GetPermissionInput, BuildError>
Consumes the builder and constructs a GetPermissionInput.
source§impl GetPermissionInputBuilder
impl GetPermissionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPermissionOutput, SdkError<GetPermissionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPermissionOutput, SdkError<GetPermissionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPermissionInputBuilder
impl Clone for GetPermissionInputBuilder
source§fn clone(&self) -> GetPermissionInputBuilder
fn clone(&self) -> GetPermissionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPermissionInputBuilder
impl Debug for GetPermissionInputBuilder
source§impl Default for GetPermissionInputBuilder
impl Default for GetPermissionInputBuilder
source§fn default() -> GetPermissionInputBuilder
fn default() -> GetPermissionInputBuilder
source§impl PartialEq for GetPermissionInputBuilder
impl PartialEq for GetPermissionInputBuilder
source§fn eq(&self, other: &GetPermissionInputBuilder) -> bool
fn eq(&self, other: &GetPermissionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.