Type definitions#
Auto-generated documentation for SSO type annotations stubs module mypy-boto3-sso.
AccountInfoTypeDef#
# AccountInfoTypeDef definition
class AccountInfoTypeDef(TypedDict):
accountId: NotRequired[str],
accountName: NotRequired[str],
emailAddress: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
GetRoleCredentialsRequestRequestTypeDef#
# GetRoleCredentialsRequestRequestTypeDef definition
class GetRoleCredentialsRequestRequestTypeDef(TypedDict):
roleName: str,
accountId: str,
accessToken: str,
RoleCredentialsTypeDef#
# RoleCredentialsTypeDef definition
class RoleCredentialsTypeDef(TypedDict):
accessKeyId: NotRequired[str],
secretAccessKey: NotRequired[str],
sessionToken: NotRequired[str],
expiration: NotRequired[int],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListAccountRolesRequestRequestTypeDef#
# ListAccountRolesRequestRequestTypeDef definition
class ListAccountRolesRequestRequestTypeDef(TypedDict):
accessToken: str,
accountId: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
RoleInfoTypeDef#
# RoleInfoTypeDef definition
class RoleInfoTypeDef(TypedDict):
roleName: NotRequired[str],
accountId: NotRequired[str],
ListAccountsRequestRequestTypeDef#
# ListAccountsRequestRequestTypeDef definition
class ListAccountsRequestRequestTypeDef(TypedDict):
accessToken: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
LogoutRequestRequestTypeDef#
# LogoutRequestRequestTypeDef definition
class LogoutRequestRequestTypeDef(TypedDict):
accessToken: str,
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAccountsResponseTypeDef#
# ListAccountsResponseTypeDef definition
class ListAccountsResponseTypeDef(TypedDict):
nextToken: str,
accountList: List[AccountInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRoleCredentialsResponseTypeDef#
# GetRoleCredentialsResponseTypeDef definition
class GetRoleCredentialsResponseTypeDef(TypedDict):
roleCredentials: RoleCredentialsTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAccountRolesRequestListAccountRolesPaginateTypeDef#
# ListAccountRolesRequestListAccountRolesPaginateTypeDef definition
class ListAccountRolesRequestListAccountRolesPaginateTypeDef(TypedDict):
accessToken: str,
accountId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListAccountsRequestListAccountsPaginateTypeDef#
# ListAccountsRequestListAccountsPaginateTypeDef definition
class ListAccountsRequestListAccountsPaginateTypeDef(TypedDict):
accessToken: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListAccountRolesResponseTypeDef#
# ListAccountRolesResponseTypeDef definition
class ListAccountRolesResponseTypeDef(TypedDict):
nextToken: str,
roleList: List[RoleInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)