Skip to content

CreateGrantRequest

Source code in docs_src/capo_license_manager/types/create_grant_request.py
class CreateGrantRequest(TypedDict, closed=True):
    client_token: "capo_license_manager.types.client_token.ClientToken"
    """<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"""
    grant_name: "capo_license_manager.types.string.String"
    """<p>Grant name.</p>"""
    license_arn: "capo_license_manager.types.arn.Arn"
    """<p>Amazon Resource Name (ARN) of the license.</p>"""
    principals: "capo_license_manager.types.principal_arn_list.PrincipalArnList"
    """<p>The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):</p> <ul> <li> <p>An Amazon Web Services account, which includes only the account specified.</p> </li> </ul> <ul> <li> <p>An organizational unit (OU), which includes all accounts in the OU.</p> </li> </ul> <ul> <li> <p>An organization, which will include all accounts across your organization.</p> </li> </ul>"""
    home_region: "capo_license_manager.types.string.String"
    """<p>Home Region of the grant.</p>"""
    allowed_operations: (
        "capo_license_manager.types.allowed_operation_list.AllowedOperationList"
    )
    """<p>Allowed operations for the grant.</p>"""
    tags: NotRequired["capo_license_manager.types.tag_list.TagList"]
    """<p>Tags to add to the grant. For more information about tagging support in License Manager, see the <a href="https://docs.aws.amazon.com/license-manager/latest/APIReference/API_TagResource.html">TagResource</a> operation.</p>"""

allowed_operations instance-attribute

allowed_operations: AllowedOperationList

Allowed operations for the grant.

client_token instance-attribute

client_token: ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

grant_name instance-attribute

grant_name: String

Grant name.

home_region instance-attribute

home_region: String

Home Region of the grant.

license_arn instance-attribute

license_arn: Arn

Amazon Resource Name (ARN) of the license.

principals instance-attribute

principals: PrincipalArnList

The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):

  • An Amazon Web Services account, which includes only the account specified.

  • An organizational unit (OU), which includes all accounts in the OU.

  • An organization, which will include all accounts across your organization.

tags instance-attribute

tags: NotRequired[TagList]

Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.