AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Edit-SSMDocumentPermission-Name <String>-AccountIdsToAdd <String[]>-AccountIdsToRemove <String[]>-PermissionType <DocumentPermissionType>-SharedDocumentVersion <String>-Select <String>-Force <SwitchParameter>-ClientConfig <AmazonSimpleSystemsManagementConfig>
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | True | 
| Position? | 1 | 
| Accept pipeline input? | True (ByValue, ByPropertyName) | 
| Required? | True | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | AK | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByValue, ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByValue, ByPropertyName) | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | AWSProfilesLocation, ProfilesLocation | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | StoredCredentials, AWSProfileName | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | RegionToCall | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | SK, SecretAccessKey | 
| Required? | False | 
| Position? | Named | 
| Accept pipeline input? | True (ByPropertyName) | 
| Aliases | ST | 
Edit-SSMDocumentPermission -Name "RunShellScript" -PermissionType "Share" -AccountIdsToAdd allThis example adds "share" permissions to all accounts for a document. There is no output if the command succeeds.
Edit-SSMDocumentPermission -Name "RunShellScriptNew" -PermissionType "Share" -AccountIdsToAdd "123456789012"This example adds "share" permissions to a specific account for a document. There is no output if the command succeeds.
AWS Tools for PowerShell: 2.x.y.z