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.