Skip to content

CreateApprovalTeamRequest

Source code in docs_src/capo_mpa/types/create_approval_team_request.py
class CreateApprovalTeamRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_mpa.types.token.Token"]
    """<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services populates this field.</p> <note> <p> <b>What is idempotency?</b> </p> <p>When you make a mutating API request, the request typically returns a result before the operation's asynchronous workflows have completed. Operations might also time out or encounter other server issues before they complete, even though the request has already returned a result. This could make it difficult to determine whether the request succeeded or not, and could lead to multiple retries to ensure that the operation completes successfully. However, if the original request and the subsequent retries are successful, the operation is completed multiple times. This means that you might create more resources than you intended.</p> <p> <i>Idempotency</i> ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.</p> </note>"""
    approval_strategy: "capo_mpa.types.approval_strategy.ApprovalStrategy"
    """<p>An <code>ApprovalStrategy</code> object. Contains details for how the team grants approval.</p>"""
    approvers: (
        "capo_mpa.types.approval_team_request_approvers.ApprovalTeamRequestApprovers"
    )
    """<p>An array of <code>ApprovalTeamRequesterApprovers</code> objects. Contains details for the approvers in the team.</p>"""
    description: "capo_mpa.types.description.Description"
    """<p>Description for the team.</p>"""
    policies: "capo_mpa.types.policies_references.PoliciesReferences"
    """<p>An array of <code>PolicyReference</code> objects. Contains a list of policies that define the permissions for team resources.</p>"""
    name: "capo_mpa.types.approval_team_name.ApprovalTeamName"
    """<p>Name of the team.</p>"""
    tags: NotRequired["capo_mpa.types.tags.Tags"]
    """<p>Tags you want to attach to the team.</p>"""

approval_strategy instance-attribute

approval_strategy: ApprovalStrategy

An ApprovalStrategy object. Contains details for how the team grants approval.

approvers instance-attribute

An array of ApprovalTeamRequesterApprovers objects. Contains details for the approvers in the team.

client_token instance-attribute

client_token: NotRequired[Token]

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services populates this field.

What is idempotency?

When you make a mutating API request, the request typically returns a result before the operation's asynchronous workflows have completed. Operations might also time out or encounter other server issues before they complete, even though the request has already returned a result. This could make it difficult to determine whether the request succeeded or not, and could lead to multiple retries to ensure that the operation completes successfully. However, if the original request and the subsequent retries are successful, the operation is completed multiple times. This means that you might create more resources than you intended.

Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

description instance-attribute

description: Description

Description for the team.

name instance-attribute

Name of the team.

policies instance-attribute

An array of PolicyReference objects. Contains a list of policies that define the permissions for team resources.

tags instance-attribute

tags: NotRequired[Tags]

Tags you want to attach to the team.