Struct aws_sdk_ssm::input::ModifyDocumentPermissionInput
source · #[non_exhaustive]pub struct ModifyDocumentPermissionInput { /* private fields */ }Implementations§
source§impl ModifyDocumentPermissionInput
impl ModifyDocumentPermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDocumentPermission, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDocumentPermission, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyDocumentPermission>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyDocumentPermissionInput.
source§impl ModifyDocumentPermissionInput
impl ModifyDocumentPermissionInput
sourcepub fn permission_type(&self) -> Option<&DocumentPermissionType>
pub fn permission_type(&self) -> Option<&DocumentPermissionType>
The permission type for the document. The permission type can be Share.
sourcepub fn account_ids_to_add(&self) -> Option<&[String]>
pub fn account_ids_to_add(&self) -> Option<&[String]>
The Amazon Web Services user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.
sourcepub fn account_ids_to_remove(&self) -> Option<&[String]>
pub fn account_ids_to_remove(&self) -> Option<&[String]>
The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.
(Optional) The version of the document to share. If it isn't specified, the system choose the Default version to share.
Trait Implementations§
source§impl Clone for ModifyDocumentPermissionInput
impl Clone for ModifyDocumentPermissionInput
source§fn clone(&self) -> ModifyDocumentPermissionInput
fn clone(&self) -> ModifyDocumentPermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<ModifyDocumentPermissionInput> for ModifyDocumentPermissionInput
impl PartialEq<ModifyDocumentPermissionInput> for ModifyDocumentPermissionInput
source§fn eq(&self, other: &ModifyDocumentPermissionInput) -> bool
fn eq(&self, other: &ModifyDocumentPermissionInput) -> bool
self and other values to be equal, and is used
by ==.