aws.ds.describe_shared_directories
Example SQL Queries
SELECT * FROMaws.ds.describe_shared_directoriesWHERE"owner_directory_id" = 'VALUE';Description
Returns the shared directories in your account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| owner_directory_id Required Input Column Identifier of the directory in the directory owner account. | VARCHAR |
| shared_directory_ids Input Column A list of identifiers of all shared directories in your account. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| created_date_time The date and time that the shared directory was created. | TIMESTAMP_S |
| last_updated_date_time The date and time that the shared directory was last updated. | TIMESTAMP_S |
| owner_account_id Identifier of the directory owner account, which contains the directory that has been shared to the consumer account. | VARCHAR |
| share_method 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). | VARCHAR |
| share_notes 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. | VARCHAR |
| share_status Current directory status of the shared Managed Microsoft AD directory. | VARCHAR |
| shared_account_id Identifier of the directory consumer account that has access to the shared directory (OwnerDirectoryId) in the directory owner account. | VARCHAR |
| shared_directory_id Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account. | VARCHAR |