#[non_exhaustive]pub struct DeleteResourcePolicyInput { /* private fields */ }Implementations§
source§impl DeleteResourcePolicyInput
impl DeleteResourcePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteResourcePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteResourcePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteResourcePolicy>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteResourcePolicyInput.
source§impl DeleteResourcePolicyInput
impl DeleteResourcePolicyInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
sourcepub fn expected_revision_id(&self) -> Option<&str>
pub fn expected_revision_id(&self) -> Option<&str>
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception
If you don't specify a revision ID, Amazon Lex will delete the current policy.
Trait Implementations§
source§impl Clone for DeleteResourcePolicyInput
impl Clone for DeleteResourcePolicyInput
source§fn clone(&self) -> DeleteResourcePolicyInput
fn clone(&self) -> DeleteResourcePolicyInput
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 DeleteResourcePolicyInput
impl Debug for DeleteResourcePolicyInput
source§impl PartialEq<DeleteResourcePolicyInput> for DeleteResourcePolicyInput
impl PartialEq<DeleteResourcePolicyInput> for DeleteResourcePolicyInput
source§fn eq(&self, other: &DeleteResourcePolicyInput) -> bool
fn eq(&self, other: &DeleteResourcePolicyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.