#[non_exhaustive]pub struct GetResourcePolicyInput { /* private fields */ }Implementations§
source§impl GetResourcePolicyInput
impl GetResourcePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetResourcePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetResourcePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetResourcePolicy>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetResourcePolicyInput.
source§impl GetResourcePolicyInput
impl GetResourcePolicyInput
sourcepub fn secret_id(&self) -> Option<&str>
pub fn secret_id(&self) -> Option<&str>
The ARN or name of the secret to retrieve the attached resource-based policy for.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Trait Implementations§
source§impl Clone for GetResourcePolicyInput
impl Clone for GetResourcePolicyInput
source§fn clone(&self) -> GetResourcePolicyInput
fn clone(&self) -> GetResourcePolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetResourcePolicyInput
impl Debug for GetResourcePolicyInput
source§impl PartialEq<GetResourcePolicyInput> for GetResourcePolicyInput
impl PartialEq<GetResourcePolicyInput> for GetResourcePolicyInput
source§fn eq(&self, other: &GetResourcePolicyInput) -> bool
fn eq(&self, other: &GetResourcePolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.