Skip to content

Typed dictionaries

Index > Organizations > Typed dictionaries

Auto-generated documentation for Organizations type annotations stubs module mypy-boto3-organizations.

AcceptHandshakeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import AcceptHandshakeRequestRequestTypeDef

def get_value() -> AcceptHandshakeRequestRequestTypeDef:
    return {
        "HandshakeId": ...,
    }
Definition
class AcceptHandshakeRequestRequestTypeDef(TypedDict):
    HandshakeId: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AccountTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import AccountTypeDef

def get_value() -> AccountTypeDef:
    return {
        "Id": ...,
    }
Definition
class AccountTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Email: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[AccountStatusType],  # (1)
    JoinedMethod: NotRequired[AccountJoinedMethodType],  # (2)
    JoinedTimestamp: NotRequired[datetime],
  1. See AccountStatusType
  2. See AccountJoinedMethodType

AttachPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import AttachPolicyRequestRequestTypeDef

def get_value() -> AttachPolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
        "TargetId": ...,
    }
Definition
class AttachPolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    TargetId: str,

CancelHandshakeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CancelHandshakeRequestRequestTypeDef

def get_value() -> CancelHandshakeRequestRequestTypeDef:
    return {
        "HandshakeId": ...,
    }
Definition
class CancelHandshakeRequestRequestTypeDef(TypedDict):
    HandshakeId: str,

ChildTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ChildTypeDef

def get_value() -> ChildTypeDef:
    return {
        "Id": ...,
    }
Definition
class ChildTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[ChildTypeType],  # (1)
  1. See ChildTypeType

CloseAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CloseAccountRequestRequestTypeDef

def get_value() -> CloseAccountRequestRequestTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class CloseAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,

TagTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CreateAccountStatusTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateAccountStatusTypeDef

def get_value() -> CreateAccountStatusTypeDef:
    return {
        "Id": ...,
    }
Definition
class CreateAccountStatusTypeDef(TypedDict):
    Id: NotRequired[str],
    AccountName: NotRequired[str],
    State: NotRequired[CreateAccountStateType],  # (1)
    RequestedTimestamp: NotRequired[datetime],
    CompletedTimestamp: NotRequired[datetime],
    AccountId: NotRequired[str],
    GovCloudAccountId: NotRequired[str],
    FailureReason: NotRequired[CreateAccountFailureReasonType],  # (2)
  1. See CreateAccountStateType
  2. See CreateAccountFailureReasonType

CreateOrganizationRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateOrganizationRequestRequestTypeDef

def get_value() -> CreateOrganizationRequestRequestTypeDef:
    return {
        "FeatureSet": ...,
    }
Definition
class CreateOrganizationRequestRequestTypeDef(TypedDict):
    FeatureSet: NotRequired[OrganizationFeatureSetType],  # (1)
  1. See OrganizationFeatureSetType

OrganizationalUnitTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import OrganizationalUnitTypeDef

def get_value() -> OrganizationalUnitTypeDef:
    return {
        "Id": ...,
    }
Definition
class OrganizationalUnitTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],

DeclineHandshakeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DeclineHandshakeRequestRequestTypeDef

def get_value() -> DeclineHandshakeRequestRequestTypeDef:
    return {
        "HandshakeId": ...,
    }
Definition
class DeclineHandshakeRequestRequestTypeDef(TypedDict):
    HandshakeId: str,

DelegatedAdministratorTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DelegatedAdministratorTypeDef

def get_value() -> DelegatedAdministratorTypeDef:
    return {
        "Id": ...,
    }
Definition
class DelegatedAdministratorTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Email: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[AccountStatusType],  # (1)
    JoinedMethod: NotRequired[AccountJoinedMethodType],  # (2)
    JoinedTimestamp: NotRequired[datetime],
    DelegationEnabledDate: NotRequired[datetime],
  1. See AccountStatusType
  2. See AccountJoinedMethodType

DelegatedServiceTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DelegatedServiceTypeDef

def get_value() -> DelegatedServiceTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class DelegatedServiceTypeDef(TypedDict):
    ServicePrincipal: NotRequired[str],
    DelegationEnabledDate: NotRequired[datetime],

DeleteOrganizationalUnitRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DeleteOrganizationalUnitRequestRequestTypeDef

def get_value() -> DeleteOrganizationalUnitRequestRequestTypeDef:
    return {
        "OrganizationalUnitId": ...,
    }
Definition
class DeleteOrganizationalUnitRequestRequestTypeDef(TypedDict):
    OrganizationalUnitId: str,

DeletePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DeletePolicyRequestRequestTypeDef

def get_value() -> DeletePolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
    }
Definition
class DeletePolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,

DeregisterDelegatedAdministratorRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DeregisterDelegatedAdministratorRequestRequestTypeDef

def get_value() -> DeregisterDelegatedAdministratorRequestRequestTypeDef:
    return {
        "AccountId": ...,
        "ServicePrincipal": ...,
    }
Definition
class DeregisterDelegatedAdministratorRequestRequestTypeDef(TypedDict):
    AccountId: str,
    ServicePrincipal: str,

DescribeAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeAccountRequestRequestTypeDef

def get_value() -> DescribeAccountRequestRequestTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class DescribeAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,

DescribeCreateAccountStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeCreateAccountStatusRequestRequestTypeDef

def get_value() -> DescribeCreateAccountStatusRequestRequestTypeDef:
    return {
        "CreateAccountRequestId": ...,
    }
Definition
class DescribeCreateAccountStatusRequestRequestTypeDef(TypedDict):
    CreateAccountRequestId: str,

DescribeEffectivePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeEffectivePolicyRequestRequestTypeDef

def get_value() -> DescribeEffectivePolicyRequestRequestTypeDef:
    return {
        "PolicyType": ...,
    }
Definition
class DescribeEffectivePolicyRequestRequestTypeDef(TypedDict):
    PolicyType: EffectivePolicyTypeType,  # (1)
    TargetId: NotRequired[str],
  1. See EffectivePolicyTypeType

EffectivePolicyTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EffectivePolicyTypeDef

def get_value() -> EffectivePolicyTypeDef:
    return {
        "PolicyContent": ...,
    }
Definition
class EffectivePolicyTypeDef(TypedDict):
    PolicyContent: NotRequired[str],
    LastUpdatedTimestamp: NotRequired[datetime],
    TargetId: NotRequired[str],
    PolicyType: NotRequired[EffectivePolicyTypeType],  # (1)
  1. See EffectivePolicyTypeType

DescribeHandshakeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeHandshakeRequestRequestTypeDef

def get_value() -> DescribeHandshakeRequestRequestTypeDef:
    return {
        "HandshakeId": ...,
    }
Definition
class DescribeHandshakeRequestRequestTypeDef(TypedDict):
    HandshakeId: str,

DescribeOrganizationalUnitRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeOrganizationalUnitRequestRequestTypeDef

def get_value() -> DescribeOrganizationalUnitRequestRequestTypeDef:
    return {
        "OrganizationalUnitId": ...,
    }
Definition
class DescribeOrganizationalUnitRequestRequestTypeDef(TypedDict):
    OrganizationalUnitId: str,

DescribePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribePolicyRequestRequestTypeDef

def get_value() -> DescribePolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
    }
Definition
class DescribePolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,

DetachPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DetachPolicyRequestRequestTypeDef

def get_value() -> DetachPolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
        "TargetId": ...,
    }
Definition
class DetachPolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    TargetId: str,

DisableAWSServiceAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DisableAWSServiceAccessRequestRequestTypeDef

def get_value() -> DisableAWSServiceAccessRequestRequestTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class DisableAWSServiceAccessRequestRequestTypeDef(TypedDict):
    ServicePrincipal: str,

DisablePolicyTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DisablePolicyTypeRequestRequestTypeDef

def get_value() -> DisablePolicyTypeRequestRequestTypeDef:
    return {
        "RootId": ...,
        "PolicyType": ...,
    }
Definition
class DisablePolicyTypeRequestRequestTypeDef(TypedDict):
    RootId: str,
    PolicyType: PolicyTypeType,  # (1)
  1. See PolicyTypeType

EnableAWSServiceAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EnableAWSServiceAccessRequestRequestTypeDef

def get_value() -> EnableAWSServiceAccessRequestRequestTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class EnableAWSServiceAccessRequestRequestTypeDef(TypedDict):
    ServicePrincipal: str,

EnablePolicyTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EnablePolicyTypeRequestRequestTypeDef

def get_value() -> EnablePolicyTypeRequestRequestTypeDef:
    return {
        "RootId": ...,
        "PolicyType": ...,
    }
Definition
class EnablePolicyTypeRequestRequestTypeDef(TypedDict):
    RootId: str,
    PolicyType: PolicyTypeType,  # (1)
  1. See PolicyTypeType

EnabledServicePrincipalTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EnabledServicePrincipalTypeDef

def get_value() -> EnabledServicePrincipalTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class EnabledServicePrincipalTypeDef(TypedDict):
    ServicePrincipal: NotRequired[str],
    DateEnabled: NotRequired[datetime],

HandshakeFilterTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import HandshakeFilterTypeDef

def get_value() -> HandshakeFilterTypeDef:
    return {
        "ActionType": ...,
    }
Definition
class HandshakeFilterTypeDef(TypedDict):
    ActionType: NotRequired[ActionTypeType],  # (1)
    ParentHandshakeId: NotRequired[str],
  1. See ActionTypeType

HandshakePartyTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import HandshakePartyTypeDef

def get_value() -> HandshakePartyTypeDef:
    return {
        "Id": ...,
        "Type": ...,
    }
Definition
class HandshakePartyTypeDef(TypedDict):
    Id: str,
    Type: HandshakePartyTypeType,  # (1)
  1. See HandshakePartyTypeType

HandshakeResourceTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import HandshakeResourceTypeDef

def get_value() -> HandshakeResourceTypeDef:
    return {
        "Value": ...,
    }
Definition
class HandshakeResourceTypeDef(TypedDict):
    Value: NotRequired[str],
    Type: NotRequired[HandshakeResourceTypeType],  # (1)
    Resources: NotRequired[List[HandshakeResourceTypeDef]],  # (2)
  1. See HandshakeResourceTypeType
  2. See HandshakeResourceTypeDef

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAWSServiceAccessForOrganizationRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAWSServiceAccessForOrganizationRequestRequestTypeDef

def get_value() -> ListAWSServiceAccessForOrganizationRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListAWSServiceAccessForOrganizationRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListAccountsForParentRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsForParentRequestRequestTypeDef

def get_value() -> ListAccountsForParentRequestRequestTypeDef:
    return {
        "ParentId": ...,
    }
Definition
class ListAccountsForParentRequestRequestTypeDef(TypedDict):
    ParentId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListAccountsRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsRequestRequestTypeDef

def get_value() -> ListAccountsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListAccountsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListChildrenRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListChildrenRequestRequestTypeDef

def get_value() -> ListChildrenRequestRequestTypeDef:
    return {
        "ParentId": ...,
        "ChildType": ...,
    }
Definition
class ListChildrenRequestRequestTypeDef(TypedDict):
    ParentId: str,
    ChildType: ChildTypeType,  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See ChildTypeType

ListCreateAccountStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListCreateAccountStatusRequestRequestTypeDef

def get_value() -> ListCreateAccountStatusRequestRequestTypeDef:
    return {
        "States": ...,
    }
Definition
class ListCreateAccountStatusRequestRequestTypeDef(TypedDict):
    States: NotRequired[Sequence[CreateAccountStateType]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See CreateAccountStateType

ListDelegatedAdministratorsRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedAdministratorsRequestRequestTypeDef

def get_value() -> ListDelegatedAdministratorsRequestRequestTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class ListDelegatedAdministratorsRequestRequestTypeDef(TypedDict):
    ServicePrincipal: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDelegatedServicesForAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedServicesForAccountRequestRequestTypeDef

def get_value() -> ListDelegatedServicesForAccountRequestRequestTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class ListDelegatedServicesForAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListOrganizationalUnitsForParentRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListOrganizationalUnitsForParentRequestRequestTypeDef

def get_value() -> ListOrganizationalUnitsForParentRequestRequestTypeDef:
    return {
        "ParentId": ...,
    }
Definition
class ListOrganizationalUnitsForParentRequestRequestTypeDef(TypedDict):
    ParentId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListParentsRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListParentsRequestRequestTypeDef

def get_value() -> ListParentsRequestRequestTypeDef:
    return {
        "ChildId": ...,
    }
Definition
class ListParentsRequestRequestTypeDef(TypedDict):
    ChildId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ParentTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ParentTypeDef

def get_value() -> ParentTypeDef:
    return {
        "Id": ...,
    }
Definition
class ParentTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[ParentTypeType],  # (1)
  1. See ParentTypeType

ListPoliciesForTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesForTargetRequestRequestTypeDef

def get_value() -> ListPoliciesForTargetRequestRequestTypeDef:
    return {
        "TargetId": ...,
        "Filter": ...,
    }
Definition
class ListPoliciesForTargetRequestRequestTypeDef(TypedDict):
    TargetId: str,
    Filter: PolicyTypeType,  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See PolicyTypeType

PolicySummaryTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import PolicySummaryTypeDef

def get_value() -> PolicySummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class PolicySummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    Type: NotRequired[PolicyTypeType],  # (1)
    AwsManaged: NotRequired[bool],
  1. See PolicyTypeType

ListPoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesRequestRequestTypeDef

def get_value() -> ListPoliciesRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListPoliciesRequestRequestTypeDef(TypedDict):
    Filter: PolicyTypeType,  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See PolicyTypeType

ListRootsRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListRootsRequestRequestTypeDef

def get_value() -> ListRootsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListRootsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceId": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    NextToken: NotRequired[str],

ListTargetsForPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTargetsForPolicyRequestRequestTypeDef

def get_value() -> ListTargetsForPolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
    }
Definition
class ListTargetsForPolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PolicyTargetSummaryTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import PolicyTargetSummaryTypeDef

def get_value() -> PolicyTargetSummaryTypeDef:
    return {
        "TargetId": ...,
    }
Definition
class PolicyTargetSummaryTypeDef(TypedDict):
    TargetId: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    Type: NotRequired[TargetTypeType],  # (1)
  1. See TargetTypeType

MoveAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import MoveAccountRequestRequestTypeDef

def get_value() -> MoveAccountRequestRequestTypeDef:
    return {
        "AccountId": ...,
        "SourceParentId": ...,
        "DestinationParentId": ...,
    }
Definition
class MoveAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,
    SourceParentId: str,
    DestinationParentId: str,

PolicyTypeSummaryTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import PolicyTypeSummaryTypeDef

def get_value() -> PolicyTypeSummaryTypeDef:
    return {
        "Type": ...,
    }
Definition
class PolicyTypeSummaryTypeDef(TypedDict):
    Type: NotRequired[PolicyTypeType],  # (1)
    Status: NotRequired[PolicyTypeStatusType],  # (2)
  1. See PolicyTypeType
  2. See PolicyTypeStatusType

RegisterDelegatedAdministratorRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import RegisterDelegatedAdministratorRequestRequestTypeDef

def get_value() -> RegisterDelegatedAdministratorRequestRequestTypeDef:
    return {
        "AccountId": ...,
        "ServicePrincipal": ...,
    }
Definition
class RegisterDelegatedAdministratorRequestRequestTypeDef(TypedDict):
    AccountId: str,
    ServicePrincipal: str,

RemoveAccountFromOrganizationRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import RemoveAccountFromOrganizationRequestRequestTypeDef

def get_value() -> RemoveAccountFromOrganizationRequestRequestTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class RemoveAccountFromOrganizationRequestRequestTypeDef(TypedDict):
    AccountId: str,

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceId": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    TagKeys: Sequence[str],

UpdateOrganizationalUnitRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import UpdateOrganizationalUnitRequestRequestTypeDef

def get_value() -> UpdateOrganizationalUnitRequestRequestTypeDef:
    return {
        "OrganizationalUnitId": ...,
    }
Definition
class UpdateOrganizationalUnitRequestRequestTypeDef(TypedDict):
    OrganizationalUnitId: str,
    Name: NotRequired[str],

UpdatePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import UpdatePolicyRequestRequestTypeDef

def get_value() -> UpdatePolicyRequestRequestTypeDef:
    return {
        "PolicyId": ...,
    }
Definition
class UpdatePolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    Content: NotRequired[str],

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAccountResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeAccountResponseTypeDef

def get_value() -> DescribeAccountResponseTypeDef:
    return {
        "Account": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAccountResponseTypeDef(TypedDict):
    Account: AccountTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountTypeDef
  2. See ResponseMetadataTypeDef

ListAccountsForParentResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsForParentResponseTypeDef

def get_value() -> ListAccountsForParentResponseTypeDef:
    return {
        "Accounts": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAccountsForParentResponseTypeDef(TypedDict):
    Accounts: List[AccountTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountTypeDef
  2. See ResponseMetadataTypeDef

ListAccountsResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsResponseTypeDef

def get_value() -> ListAccountsResponseTypeDef:
    return {
        "Accounts": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAccountsResponseTypeDef(TypedDict):
    Accounts: List[AccountTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountTypeDef
  2. See ResponseMetadataTypeDef

ListChildrenResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListChildrenResponseTypeDef

def get_value() -> ListChildrenResponseTypeDef:
    return {
        "Children": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListChildrenResponseTypeDef(TypedDict):
    Children: List[ChildTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ChildTypeDef
  2. See ResponseMetadataTypeDef

CreateAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateAccountRequestRequestTypeDef

def get_value() -> CreateAccountRequestRequestTypeDef:
    return {
        "Email": ...,
        "AccountName": ...,
    }
Definition
class CreateAccountRequestRequestTypeDef(TypedDict):
    Email: str,
    AccountName: str,
    RoleName: NotRequired[str],
    IamUserAccessToBilling: NotRequired[IAMUserAccessToBillingType],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See IAMUserAccessToBillingType
  2. See TagTypeDef

CreateGovCloudAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateGovCloudAccountRequestRequestTypeDef

def get_value() -> CreateGovCloudAccountRequestRequestTypeDef:
    return {
        "Email": ...,
        "AccountName": ...,
    }
Definition
class CreateGovCloudAccountRequestRequestTypeDef(TypedDict):
    Email: str,
    AccountName: str,
    RoleName: NotRequired[str],
    IamUserAccessToBilling: NotRequired[IAMUserAccessToBillingType],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See IAMUserAccessToBillingType
  2. See TagTypeDef

CreateOrganizationalUnitRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateOrganizationalUnitRequestRequestTypeDef

def get_value() -> CreateOrganizationalUnitRequestRequestTypeDef:
    return {
        "ParentId": ...,
        "Name": ...,
    }
Definition
class CreateOrganizationalUnitRequestRequestTypeDef(TypedDict):
    ParentId: str,
    Name: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreatePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreatePolicyRequestRequestTypeDef

def get_value() -> CreatePolicyRequestRequestTypeDef:
    return {
        "Content": ...,
        "Description": ...,
        "Name": ...,
        "Type": ...,
    }
Definition
class CreatePolicyRequestRequestTypeDef(TypedDict):
    Content: str,
    Description: str,
    Name: str,
    Type: PolicyTypeType,  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See PolicyTypeType
  2. See TagTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceId": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateAccountResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateAccountResponseTypeDef

def get_value() -> CreateAccountResponseTypeDef:
    return {
        "CreateAccountStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAccountResponseTypeDef(TypedDict):
    CreateAccountStatus: CreateAccountStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CreateAccountStatusTypeDef
  2. See ResponseMetadataTypeDef

CreateGovCloudAccountResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateGovCloudAccountResponseTypeDef

def get_value() -> CreateGovCloudAccountResponseTypeDef:
    return {
        "CreateAccountStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateGovCloudAccountResponseTypeDef(TypedDict):
    CreateAccountStatus: CreateAccountStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CreateAccountStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribeCreateAccountStatusResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeCreateAccountStatusResponseTypeDef

def get_value() -> DescribeCreateAccountStatusResponseTypeDef:
    return {
        "CreateAccountStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCreateAccountStatusResponseTypeDef(TypedDict):
    CreateAccountStatus: CreateAccountStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CreateAccountStatusTypeDef
  2. See ResponseMetadataTypeDef

ListCreateAccountStatusResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListCreateAccountStatusResponseTypeDef

def get_value() -> ListCreateAccountStatusResponseTypeDef:
    return {
        "CreateAccountStatuses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCreateAccountStatusResponseTypeDef(TypedDict):
    CreateAccountStatuses: List[CreateAccountStatusTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CreateAccountStatusTypeDef
  2. See ResponseMetadataTypeDef

CreateOrganizationalUnitResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateOrganizationalUnitResponseTypeDef

def get_value() -> CreateOrganizationalUnitResponseTypeDef:
    return {
        "OrganizationalUnit": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateOrganizationalUnitResponseTypeDef(TypedDict):
    OrganizationalUnit: OrganizationalUnitTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationalUnitTypeDef
  2. See ResponseMetadataTypeDef

DescribeOrganizationalUnitResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeOrganizationalUnitResponseTypeDef

def get_value() -> DescribeOrganizationalUnitResponseTypeDef:
    return {
        "OrganizationalUnit": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeOrganizationalUnitResponseTypeDef(TypedDict):
    OrganizationalUnit: OrganizationalUnitTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationalUnitTypeDef
  2. See ResponseMetadataTypeDef

ListOrganizationalUnitsForParentResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListOrganizationalUnitsForParentResponseTypeDef

def get_value() -> ListOrganizationalUnitsForParentResponseTypeDef:
    return {
        "OrganizationalUnits": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListOrganizationalUnitsForParentResponseTypeDef(TypedDict):
    OrganizationalUnits: List[OrganizationalUnitTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationalUnitTypeDef
  2. See ResponseMetadataTypeDef

UpdateOrganizationalUnitResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import UpdateOrganizationalUnitResponseTypeDef

def get_value() -> UpdateOrganizationalUnitResponseTypeDef:
    return {
        "OrganizationalUnit": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateOrganizationalUnitResponseTypeDef(TypedDict):
    OrganizationalUnit: OrganizationalUnitTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationalUnitTypeDef
  2. See ResponseMetadataTypeDef

ListDelegatedAdministratorsResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedAdministratorsResponseTypeDef

def get_value() -> ListDelegatedAdministratorsResponseTypeDef:
    return {
        "DelegatedAdministrators": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDelegatedAdministratorsResponseTypeDef(TypedDict):
    DelegatedAdministrators: List[DelegatedAdministratorTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DelegatedAdministratorTypeDef
  2. See ResponseMetadataTypeDef

ListDelegatedServicesForAccountResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedServicesForAccountResponseTypeDef

def get_value() -> ListDelegatedServicesForAccountResponseTypeDef:
    return {
        "DelegatedServices": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDelegatedServicesForAccountResponseTypeDef(TypedDict):
    DelegatedServices: List[DelegatedServiceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DelegatedServiceTypeDef
  2. See ResponseMetadataTypeDef

DescribeEffectivePolicyResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeEffectivePolicyResponseTypeDef

def get_value() -> DescribeEffectivePolicyResponseTypeDef:
    return {
        "EffectivePolicy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeEffectivePolicyResponseTypeDef(TypedDict):
    EffectivePolicy: EffectivePolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EffectivePolicyTypeDef
  2. See ResponseMetadataTypeDef

ListAWSServiceAccessForOrganizationResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAWSServiceAccessForOrganizationResponseTypeDef

def get_value() -> ListAWSServiceAccessForOrganizationResponseTypeDef:
    return {
        "EnabledServicePrincipals": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAWSServiceAccessForOrganizationResponseTypeDef(TypedDict):
    EnabledServicePrincipals: List[EnabledServicePrincipalTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnabledServicePrincipalTypeDef
  2. See ResponseMetadataTypeDef

ListHandshakesForAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForAccountRequestRequestTypeDef

def get_value() -> ListHandshakesForAccountRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListHandshakesForAccountRequestRequestTypeDef(TypedDict):
    Filter: NotRequired[HandshakeFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See HandshakeFilterTypeDef

ListHandshakesForOrganizationRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForOrganizationRequestRequestTypeDef

def get_value() -> ListHandshakesForOrganizationRequestRequestTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListHandshakesForOrganizationRequestRequestTypeDef(TypedDict):
    Filter: NotRequired[HandshakeFilterTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See HandshakeFilterTypeDef

HandshakeTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import HandshakeTypeDef

def get_value() -> HandshakeTypeDef:
    return {
        "Id": ...,
    }
Definition
class HandshakeTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Parties: NotRequired[List[HandshakePartyTypeDef]],  # (1)
    State: NotRequired[HandshakeStateType],  # (2)
    RequestedTimestamp: NotRequired[datetime],
    ExpirationTimestamp: NotRequired[datetime],
    Action: NotRequired[ActionTypeType],  # (3)
    Resources: NotRequired[List[HandshakeResourceTypeDef]],  # (4)
  1. See HandshakePartyTypeDef
  2. See HandshakeStateType
  3. See ActionTypeType
  4. See HandshakeResourceTypeDef

InviteAccountToOrganizationRequestRequestTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import InviteAccountToOrganizationRequestRequestTypeDef

def get_value() -> InviteAccountToOrganizationRequestRequestTypeDef:
    return {
        "Target": ...,
    }
Definition
class InviteAccountToOrganizationRequestRequestTypeDef(TypedDict):
    Target: HandshakePartyTypeDef,  # (1)
    Notes: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See HandshakePartyTypeDef
  2. See TagTypeDef

ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef

def get_value() -> ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAccountsForParentRequestListAccountsForParentPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsForParentRequestListAccountsForParentPaginateTypeDef

def get_value() -> ListAccountsForParentRequestListAccountsForParentPaginateTypeDef:
    return {
        "ParentId": ...,
    }
Definition
class ListAccountsForParentRequestListAccountsForParentPaginateTypeDef(TypedDict):
    ParentId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAccountsRequestListAccountsPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListAccountsRequestListAccountsPaginateTypeDef

def get_value() -> ListAccountsRequestListAccountsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListAccountsRequestListAccountsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListChildrenRequestListChildrenPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListChildrenRequestListChildrenPaginateTypeDef

def get_value() -> ListChildrenRequestListChildrenPaginateTypeDef:
    return {
        "ParentId": ...,
        "ChildType": ...,
    }
Definition
class ListChildrenRequestListChildrenPaginateTypeDef(TypedDict):
    ParentId: str,
    ChildType: ChildTypeType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ChildTypeType
  2. See PaginatorConfigTypeDef

ListCreateAccountStatusRequestListCreateAccountStatusPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListCreateAccountStatusRequestListCreateAccountStatusPaginateTypeDef

def get_value() -> ListCreateAccountStatusRequestListCreateAccountStatusPaginateTypeDef:
    return {
        "States": ...,
    }
Definition
class ListCreateAccountStatusRequestListCreateAccountStatusPaginateTypeDef(TypedDict):
    States: NotRequired[Sequence[CreateAccountStateType]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See CreateAccountStateType
  2. See PaginatorConfigTypeDef

ListDelegatedAdministratorsRequestListDelegatedAdministratorsPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedAdministratorsRequestListDelegatedAdministratorsPaginateTypeDef

def get_value() -> ListDelegatedAdministratorsRequestListDelegatedAdministratorsPaginateTypeDef:
    return {
        "ServicePrincipal": ...,
    }
Definition
class ListDelegatedAdministratorsRequestListDelegatedAdministratorsPaginateTypeDef(TypedDict):
    ServicePrincipal: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDelegatedServicesForAccountRequestListDelegatedServicesForAccountPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListDelegatedServicesForAccountRequestListDelegatedServicesForAccountPaginateTypeDef

def get_value() -> ListDelegatedServicesForAccountRequestListDelegatedServicesForAccountPaginateTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class ListDelegatedServicesForAccountRequestListDelegatedServicesForAccountPaginateTypeDef(TypedDict):
    AccountId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListHandshakesForAccountRequestListHandshakesForAccountPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForAccountRequestListHandshakesForAccountPaginateTypeDef

def get_value() -> ListHandshakesForAccountRequestListHandshakesForAccountPaginateTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListHandshakesForAccountRequestListHandshakesForAccountPaginateTypeDef(TypedDict):
    Filter: NotRequired[HandshakeFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See HandshakeFilterTypeDef
  2. See PaginatorConfigTypeDef

ListHandshakesForOrganizationRequestListHandshakesForOrganizationPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForOrganizationRequestListHandshakesForOrganizationPaginateTypeDef

def get_value() -> ListHandshakesForOrganizationRequestListHandshakesForOrganizationPaginateTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListHandshakesForOrganizationRequestListHandshakesForOrganizationPaginateTypeDef(TypedDict):
    Filter: NotRequired[HandshakeFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See HandshakeFilterTypeDef
  2. See PaginatorConfigTypeDef

ListOrganizationalUnitsForParentRequestListOrganizationalUnitsForParentPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListOrganizationalUnitsForParentRequestListOrganizationalUnitsForParentPaginateTypeDef

def get_value() -> ListOrganizationalUnitsForParentRequestListOrganizationalUnitsForParentPaginateTypeDef:
    return {
        "ParentId": ...,
    }
Definition
class ListOrganizationalUnitsForParentRequestListOrganizationalUnitsForParentPaginateTypeDef(TypedDict):
    ParentId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListParentsRequestListParentsPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListParentsRequestListParentsPaginateTypeDef

def get_value() -> ListParentsRequestListParentsPaginateTypeDef:
    return {
        "ChildId": ...,
    }
Definition
class ListParentsRequestListParentsPaginateTypeDef(TypedDict):
    ChildId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPoliciesForTargetRequestListPoliciesForTargetPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesForTargetRequestListPoliciesForTargetPaginateTypeDef

def get_value() -> ListPoliciesForTargetRequestListPoliciesForTargetPaginateTypeDef:
    return {
        "TargetId": ...,
        "Filter": ...,
    }
Definition
class ListPoliciesForTargetRequestListPoliciesForTargetPaginateTypeDef(TypedDict):
    TargetId: str,
    Filter: PolicyTypeType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PolicyTypeType
  2. See PaginatorConfigTypeDef

ListPoliciesRequestListPoliciesPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesRequestListPoliciesPaginateTypeDef

def get_value() -> ListPoliciesRequestListPoliciesPaginateTypeDef:
    return {
        "Filter": ...,
    }
Definition
class ListPoliciesRequestListPoliciesPaginateTypeDef(TypedDict):
    Filter: PolicyTypeType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See PolicyTypeType
  2. See PaginatorConfigTypeDef

ListRootsRequestListRootsPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListRootsRequestListRootsPaginateTypeDef

def get_value() -> ListRootsRequestListRootsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListRootsRequestListRootsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

def get_value() -> ListTagsForResourceRequestListTagsForResourcePaginateTypeDef:
    return {
        "ResourceId": ...,
    }
Definition
class ListTagsForResourceRequestListTagsForResourcePaginateTypeDef(TypedDict):
    ResourceId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTargetsForPolicyRequestListTargetsForPolicyPaginateTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTargetsForPolicyRequestListTargetsForPolicyPaginateTypeDef

def get_value() -> ListTargetsForPolicyRequestListTargetsForPolicyPaginateTypeDef:
    return {
        "PolicyId": ...,
    }
Definition
class ListTargetsForPolicyRequestListTargetsForPolicyPaginateTypeDef(TypedDict):
    PolicyId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListParentsResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListParentsResponseTypeDef

def get_value() -> ListParentsResponseTypeDef:
    return {
        "Parents": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListParentsResponseTypeDef(TypedDict):
    Parents: List[ParentTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ParentTypeDef
  2. See ResponseMetadataTypeDef

ListPoliciesForTargetResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesForTargetResponseTypeDef

def get_value() -> ListPoliciesForTargetResponseTypeDef:
    return {
        "Policies": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPoliciesForTargetResponseTypeDef(TypedDict):
    Policies: List[PolicySummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListPoliciesResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListPoliciesResponseTypeDef

def get_value() -> ListPoliciesResponseTypeDef:
    return {
        "Policies": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPoliciesResponseTypeDef(TypedDict):
    Policies: List[PolicySummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicySummaryTypeDef
  2. See ResponseMetadataTypeDef

PolicyTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import PolicyTypeDef

def get_value() -> PolicyTypeDef:
    return {
        "PolicySummary": ...,
    }
Definition
class PolicyTypeDef(TypedDict):
    PolicySummary: NotRequired[PolicySummaryTypeDef],  # (1)
    Content: NotRequired[str],
  1. See PolicySummaryTypeDef

ListTargetsForPolicyResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListTargetsForPolicyResponseTypeDef

def get_value() -> ListTargetsForPolicyResponseTypeDef:
    return {
        "Targets": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTargetsForPolicyResponseTypeDef(TypedDict):
    Targets: List[PolicyTargetSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyTargetSummaryTypeDef
  2. See ResponseMetadataTypeDef

OrganizationTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import OrganizationTypeDef

def get_value() -> OrganizationTypeDef:
    return {
        "Id": ...,
    }
Definition
class OrganizationTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    FeatureSet: NotRequired[OrganizationFeatureSetType],  # (1)
    MasterAccountArn: NotRequired[str],
    MasterAccountId: NotRequired[str],
    MasterAccountEmail: NotRequired[str],
    AvailablePolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]],  # (2)
  1. See OrganizationFeatureSetType
  2. See PolicyTypeSummaryTypeDef

RootTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import RootTypeDef

def get_value() -> RootTypeDef:
    return {
        "Id": ...,
    }
Definition
class RootTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    PolicyTypes: NotRequired[List[PolicyTypeSummaryTypeDef]],  # (1)
  1. See PolicyTypeSummaryTypeDef

AcceptHandshakeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import AcceptHandshakeResponseTypeDef

def get_value() -> AcceptHandshakeResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptHandshakeResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

CancelHandshakeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CancelHandshakeResponseTypeDef

def get_value() -> CancelHandshakeResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelHandshakeResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

DeclineHandshakeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DeclineHandshakeResponseTypeDef

def get_value() -> DeclineHandshakeResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeclineHandshakeResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

DescribeHandshakeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeHandshakeResponseTypeDef

def get_value() -> DescribeHandshakeResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeHandshakeResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

EnableAllFeaturesResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EnableAllFeaturesResponseTypeDef

def get_value() -> EnableAllFeaturesResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableAllFeaturesResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

InviteAccountToOrganizationResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import InviteAccountToOrganizationResponseTypeDef

def get_value() -> InviteAccountToOrganizationResponseTypeDef:
    return {
        "Handshake": ...,
        "ResponseMetadata": ...,
    }
Definition
class InviteAccountToOrganizationResponseTypeDef(TypedDict):
    Handshake: HandshakeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

ListHandshakesForAccountResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForAccountResponseTypeDef

def get_value() -> ListHandshakesForAccountResponseTypeDef:
    return {
        "Handshakes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListHandshakesForAccountResponseTypeDef(TypedDict):
    Handshakes: List[HandshakeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

ListHandshakesForOrganizationResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListHandshakesForOrganizationResponseTypeDef

def get_value() -> ListHandshakesForOrganizationResponseTypeDef:
    return {
        "Handshakes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListHandshakesForOrganizationResponseTypeDef(TypedDict):
    Handshakes: List[HandshakeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HandshakeTypeDef
  2. See ResponseMetadataTypeDef

CreatePolicyResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreatePolicyResponseTypeDef

def get_value() -> CreatePolicyResponseTypeDef:
    return {
        "Policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreatePolicyResponseTypeDef(TypedDict):
    Policy: PolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyTypeDef
  2. See ResponseMetadataTypeDef

DescribePolicyResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribePolicyResponseTypeDef

def get_value() -> DescribePolicyResponseTypeDef:
    return {
        "Policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePolicyResponseTypeDef(TypedDict):
    Policy: PolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyTypeDef
  2. See ResponseMetadataTypeDef

UpdatePolicyResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import UpdatePolicyResponseTypeDef

def get_value() -> UpdatePolicyResponseTypeDef:
    return {
        "Policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdatePolicyResponseTypeDef(TypedDict):
    Policy: PolicyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyTypeDef
  2. See ResponseMetadataTypeDef

CreateOrganizationResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import CreateOrganizationResponseTypeDef

def get_value() -> CreateOrganizationResponseTypeDef:
    return {
        "Organization": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateOrganizationResponseTypeDef(TypedDict):
    Organization: OrganizationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationTypeDef
  2. See ResponseMetadataTypeDef

DescribeOrganizationResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DescribeOrganizationResponseTypeDef

def get_value() -> DescribeOrganizationResponseTypeDef:
    return {
        "Organization": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeOrganizationResponseTypeDef(TypedDict):
    Organization: OrganizationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OrganizationTypeDef
  2. See ResponseMetadataTypeDef

DisablePolicyTypeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import DisablePolicyTypeResponseTypeDef

def get_value() -> DisablePolicyTypeResponseTypeDef:
    return {
        "Root": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisablePolicyTypeResponseTypeDef(TypedDict):
    Root: RootTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RootTypeDef
  2. See ResponseMetadataTypeDef

EnablePolicyTypeResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import EnablePolicyTypeResponseTypeDef

def get_value() -> EnablePolicyTypeResponseTypeDef:
    return {
        "Root": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnablePolicyTypeResponseTypeDef(TypedDict):
    Root: RootTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RootTypeDef
  2. See ResponseMetadataTypeDef

ListRootsResponseTypeDef

Usage Example
from mypy_boto3_organizations.type_defs import ListRootsResponseTypeDef

def get_value() -> ListRootsResponseTypeDef:
    return {
        "Roots": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRootsResponseTypeDef(TypedDict):
    Roots: List[RootTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RootTypeDef
  2. See ResponseMetadataTypeDef