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>"""
    grant_type: NotRequired["capo_license_manager.types.grant_type.GrantType"]
    """<p>The type of grant to create. For more information about each type, see the preceding description of this operation. Valid values:</p> <ul> <li> <p> <code>BuyerGrant</code> - The default grant type if you don't specify a value. Conveys the entitlement to use the license.</p> </li> <li> <p> <code>DelegateGrant</code> - Gives the grantee read-only visibility into the licenses and grants that you have distributed to buyers, with no entitlement to use them.</p> </li> </ul>"""
    options: NotRequired["capo_license_manager.types.options.Options"]
    """<p>The options for the grant: the status to set after creation, and how activating the grant affects other active grants for the same product.</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.

grant_type instance-attribute

grant_type: NotRequired[GrantType]

The type of grant to create. For more information about each type, see the preceding description of this operation. Valid values:

  • BuyerGrant - The default grant type if you don't specify a value. Conveys the entitlement to use the license.

  • DelegateGrant - Gives the grantee read-only visibility into the licenses and grants that you have distributed to buyers, with no entitlement to use them.

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.

options instance-attribute

options: NotRequired[Options]

The options for the grant: the status to set after creation, and how activating the grant affects other active grants for the same product.

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.