SSMClient.describe_document_permission
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's Amazon Web Services account ID) or publicly ( All ).
Install and imports
from rboto import SSMClient
from rboto_ssm.types import (
DescribeDocumentPermissionOutput,
DocumentPermissionType,
)
Signature
async def describe_document_permission(
*,
name: str,
permission_type: DocumentPermissionType,
max_results: int | None = None,
next_token: str | None = None,
) -> DescribeDocumentPermissionOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name of the document for which you are the owner. |
permission_type |
Yes | The permission type for the document. The permission type can be Share . |
max_results |
No | The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. |
next_token |
No | The token for the next set of items to return. (You received this token from a previous call.) |
Output
DescribeDocumentPermissionOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
account_ids |
list[str] | None |
Always present | — |
account_sharing_info_list |
list[AccountSharingInfoOutput] | None |
Always present | AccountSharingInfoOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DescribeDocumentPermissionOutput, DocumentPermissionType
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_ssm.exceptions:
InternalServerError, InvalidDocumentError, InvalidDocumentOperationError, InvalidNextTokenError, InvalidPermissionTypeError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.