Struct aws_sdk_ssm::operation::describe_document_permission::DescribeDocumentPermissionOutput
source · #[non_exhaustive]pub struct DescribeDocumentPermissionOutput {
pub account_ids: Option<Vec<String>>,
pub account_sharing_info_list: Option<Vec<AccountSharingInfo>>,
pub next_token: Option<String>,
/* private fields */
}
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.account_ids: Option<Vec<String>>
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
account_sharing_info_list: Option<Vec<AccountSharingInfo>>
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
next_token: Option<String>
The token for the next set of items to return. Use this token to get the next set of results.
Implementations§
source§impl DescribeDocumentPermissionOutput
impl DescribeDocumentPermissionOutput
sourcepub fn account_ids(&self) -> &[String]
pub fn account_ids(&self) -> &[String]
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .account_ids.is_none()
.
sourcepub fn account_sharing_info_list(&self) -> &[AccountSharingInfo]
pub fn account_sharing_info_list(&self) -> &[AccountSharingInfo]
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .account_sharing_info_list.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of items to return. Use this token to get the next set of results.
source§impl DescribeDocumentPermissionOutput
impl DescribeDocumentPermissionOutput
sourcepub fn builder() -> DescribeDocumentPermissionOutputBuilder
pub fn builder() -> DescribeDocumentPermissionOutputBuilder
Creates a new builder-style object to manufacture DescribeDocumentPermissionOutput
.
Trait Implementations§
source§impl Clone for DescribeDocumentPermissionOutput
impl Clone for DescribeDocumentPermissionOutput
source§fn clone(&self) -> DescribeDocumentPermissionOutput
fn clone(&self) -> DescribeDocumentPermissionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeDocumentPermissionOutput
impl PartialEq for DescribeDocumentPermissionOutput
source§fn eq(&self, other: &DescribeDocumentPermissionOutput) -> bool
fn eq(&self, other: &DescribeDocumentPermissionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeDocumentPermissionOutput
impl RequestId for DescribeDocumentPermissionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeDocumentPermissionOutput
Auto Trait Implementations§
impl Freeze for DescribeDocumentPermissionOutput
impl RefUnwindSafe for DescribeDocumentPermissionOutput
impl Send for DescribeDocumentPermissionOutput
impl Sync for DescribeDocumentPermissionOutput
impl Unpin for DescribeDocumentPermissionOutput
impl UnwindSafe for DescribeDocumentPermissionOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more