SSM / Client / exceptions / DocumentPermissionLimit

DocumentPermissionLimit#

class SSM.Client.exceptions.DocumentPermissionLimit#

The document can’t be shared with more Amazon Web Services accounts. You can specify a maximum of 20 accounts per API operation to share a private document.

By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.

If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.

Example

try:
  ...
except client.exceptions.DocumentPermissionLimit as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'Message': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The document can’t be shared with more Amazon Web Services accounts. You can specify a maximum of 20 accounts per API operation to share a private document.

    By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.

    If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.

    • Message (string) –

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.