Struct aws_sdk_lexmodelsv2::operation::create_resource_policy_statement::CreateResourcePolicyStatementOutput
source · #[non_exhaustive]pub struct CreateResourcePolicyStatementOutput {
pub resource_arn: Option<String>,
pub revision_id: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
revision_id: Option<String>
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
Implementations§
source§impl CreateResourcePolicyStatementOutput
impl CreateResourcePolicyStatementOutput
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 the resource policy is attached to.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
source§impl CreateResourcePolicyStatementOutput
impl CreateResourcePolicyStatementOutput
sourcepub fn builder() -> CreateResourcePolicyStatementOutputBuilder
pub fn builder() -> CreateResourcePolicyStatementOutputBuilder
Creates a new builder-style object to manufacture CreateResourcePolicyStatementOutput
.
Trait Implementations§
source§impl Clone for CreateResourcePolicyStatementOutput
impl Clone for CreateResourcePolicyStatementOutput
source§fn clone(&self) -> CreateResourcePolicyStatementOutput
fn clone(&self) -> CreateResourcePolicyStatementOutput
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 PartialEq for CreateResourcePolicyStatementOutput
impl PartialEq for CreateResourcePolicyStatementOutput
source§fn eq(&self, other: &CreateResourcePolicyStatementOutput) -> bool
fn eq(&self, other: &CreateResourcePolicyStatementOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateResourcePolicyStatementOutput
impl RequestId for CreateResourcePolicyStatementOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateResourcePolicyStatementOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateResourcePolicyStatementOutput
impl Send for CreateResourcePolicyStatementOutput
impl Sync for CreateResourcePolicyStatementOutput
impl Unpin for CreateResourcePolicyStatementOutput
impl UnwindSafe for CreateResourcePolicyStatementOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.