#[non_exhaustive]pub struct DeleteResourcePolicyStatementInput {
pub resource_arn: Option<String>,
pub statement_id: 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 the resource policy is attached to.
statement_id: Option<String>The name of the statement (SID) to delete from the policy.
expected_revision_id: Option<String>The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteResourcePolicyStatement, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteResourcePolicyStatement, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteResourcePolicyStatement>
Creates a new builder-style object to manufacture DeleteResourcePolicyStatementInput
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
The name of the statement (SID) to delete from the policy.
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
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 Send for DeleteResourcePolicyStatementInput
impl Sync for DeleteResourcePolicyStatementInput
impl Unpin for DeleteResourcePolicyStatementInput
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