Did you find this page useful? Do you have a suggestion to improve the documentation? Give us feedback.
If you would like to suggest an improvement or fix for the AWS CLI, check out our contributing guide on GitHub.
First time using the AWS CLI? See the User Guide for help getting started.
Accepts a directory sharing request that was sent from the directory owner account.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
accept-shared-directory
--shared-directory-id <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--shared-directory-id
(string)
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
SharedDirectory -> (structure)
The shared directory in the directory consumer account.
OwnerAccountId -> (string)
Identifier of the directory owner account, which contains the directory that has been shared to the consumer account.
OwnerDirectoryId -> (string)
Identifier of the directory in the directory owner account.
ShareMethod -> (string)
The method used when sharing a directory to determine whether the directory should be shared within your Amazon Web Services organization (
ORGANIZATIONS
) or with any Amazon Web Services account by sending a shared directory request (HANDSHAKE
).SharedAccountId -> (string)
Identifier of the directory consumer account that has access to the shared directory (
OwnerDirectoryId
) in the directory owner account.SharedDirectoryId -> (string)
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
ShareStatus -> (string)
Current directory status of the shared Managed Microsoft AD directory.
ShareNotes -> (string)
A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.
CreatedDateTime -> (timestamp)
The date and time that the shared directory was created.
LastUpdatedDateTime -> (timestamp)
The date and time that the shared directory was last updated.