Struct aws_sdk_migrationhubrefactorspaces::operation::get_resource_policy::builders::GetResourcePolicyFluentBuilder
source · pub struct GetResourcePolicyFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetResourcePolicy.
Gets the resource-based permission policy that is set for the given environment.
Implementations§
source§impl GetResourcePolicyFluentBuilder
impl GetResourcePolicyFluentBuilder
sourcepub fn as_input(&self) -> &GetResourcePolicyInputBuilder
pub fn as_input(&self) -> &GetResourcePolicyInputBuilder
Access the GetResourcePolicy as a reference.
sourcepub async fn send(
self
) -> Result<GetResourcePolicyOutput, SdkError<GetResourcePolicyError, HttpResponse>>
pub async fn send( self ) -> Result<GetResourcePolicyOutput, SdkError<GetResourcePolicyError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetResourcePolicyOutput, GetResourcePolicyError>, SdkError<GetResourcePolicyError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetResourcePolicyOutput, GetResourcePolicyError>, SdkError<GetResourcePolicyError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the policy.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the policy.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource associated with the policy.
Trait Implementations§
source§impl Clone for GetResourcePolicyFluentBuilder
impl Clone for GetResourcePolicyFluentBuilder
source§fn clone(&self) -> GetResourcePolicyFluentBuilder
fn clone(&self) -> GetResourcePolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more