![]() |
![]()
| ![]() |
![]()
NAMEPaws::SSM::ModifyDocumentPermission - Arguments for method ModifyDocumentPermission on Paws::SSM DESCRIPTIONThis class represents the parameters used for calling the method ModifyDocumentPermission on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method ModifyDocumentPermission. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyDocumentPermission. SYNOPSISmy $ssm = Paws->service('SSM'); my $ModifyDocumentPermissionResponse = $ssm->ModifyDocumentPermission( Name => 'MyDocumentName', PermissionType => 'Share', AccountIdsToAdd => [ 'MyAccountId', ... ], # OPTIONAL AccountIdsToRemove => [ 'MyAccountId', ... ], # OPTIONAL SharedDocumentVersion => 'MySharedDocumentVersion', # OPTIONAL ); Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ssm/ModifyDocumentPermission> ATTRIBUTESAccountIdsToAdd => ArrayRef[Str|Undef]The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or All. AccountIdsToRemove => ArrayRef[Str|Undef]The AWS user accounts that should no longer have access to the document. The AWS 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. REQUIRED Name => StrThe name of the document that you want to share. REQUIRED PermissionType => StrThe permission type for the document. The permission type can be Share. Valid values are: "Share" SharedDocumentVersion => Str(Optional) The version of the document to share. If it's not specified, the system choose the "Default" version to share. SEE ALSOThis class forms part of Paws, documenting arguments for method ModifyDocumentPermission in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|