pub struct GetPermissionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetPermission.
Retrieves the contents of a managed permission in JSON format.
Implementations§
source§impl GetPermissionFluentBuilder
impl GetPermissionFluentBuilder
sourcepub fn as_input(&self) -> &GetPermissionInputBuilder
pub fn as_input(&self) -> &GetPermissionInputBuilder
Access the GetPermission as a reference.
sourcepub async fn send(
self
) -> Result<GetPermissionOutput, SdkError<GetPermissionError, HttpResponse>>
pub async fn send( self ) -> Result<GetPermissionOutput, SdkError<GetPermissionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetPermissionOutput, GetPermissionError, Self>
pub fn customize( self ) -> CustomizableOperation<GetPermissionOutput, GetPermissionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for GetPermissionFluentBuilder
impl Clone for GetPermissionFluentBuilder
source§fn clone(&self) -> GetPermissionFluentBuilder
fn clone(&self) -> GetPermissionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more