#[non_exhaustive]pub struct DeleteResourcePolicyInput {
    pub resource_arn: Option<String>,
    pub expected_revision_id: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_arn: Option<String>The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
expected_revision_id: Option<String>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.
Implementations
pub async fn make_operation(
    &self, 
    _config: &Config
) -> Result<Operation<DeleteResourcePolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
    &self, 
    _config: &Config
) -> Result<Operation<DeleteResourcePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteResourcePolicy>
Creates a new builder-style object to manufacture DeleteResourcePolicyInput
The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DeleteResourcePolicyInput
impl Send for DeleteResourcePolicyInput
impl Sync for DeleteResourcePolicyInput
impl Unpin for DeleteResourcePolicyInput
impl UnwindSafe for DeleteResourcePolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more