@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Cognito Identity
@version 2014-06-30
@auth AWS SigV4
@endpoints 23
@hint download_for_search
@toc root(23)

@endpoint POST /
@required {IdentityPoolName: str, AllowUnauthenticatedIdentities: bool}
@optional {AllowClassicFlow: bool, SupportedLoginProviders: map<str,str>, DeveloperProviderName: str, OpenIdConnectProviderARNs: [str], CognitoIdentityProviders: [CognitoIdentityProvider], SamlProviderARNs: [str], IdentityPoolTags: map<str,str>}
@returns(200) {IdentityPoolId: str, IdentityPoolName: str, AllowUnauthenticatedIdentities: bool, AllowClassicFlow: bool?, SupportedLoginProviders: map<str,str>?, DeveloperProviderName: str?, OpenIdConnectProviderARNs: [str]?, CognitoIdentityProviders: [CognitoIdentityProvider]?, SamlProviderARNs: [str]?, IdentityPoolTags: map<str,str>?}

@endpoint POST /
@required {IdentityIdsToDelete: [str]}
@returns(200) {UnprocessedIdentityIds: [UnprocessedIdentityId]?}

@endpoint POST /
@required {IdentityPoolId: str}

@endpoint POST /
@required {IdentityId: str}
@returns(200) {IdentityId: str?, Logins: [str]?, CreationDate: str(timestamp)?, LastModifiedDate: str(timestamp)?}

@endpoint POST /
@required {IdentityPoolId: str}
@returns(200) {IdentityPoolId: str, IdentityPoolName: str, AllowUnauthenticatedIdentities: bool, AllowClassicFlow: bool?, SupportedLoginProviders: map<str,str>?, DeveloperProviderName: str?, OpenIdConnectProviderARNs: [str]?, CognitoIdentityProviders: [CognitoIdentityProvider]?, SamlProviderARNs: [str]?, IdentityPoolTags: map<str,str>?}

@endpoint POST /
@required {IdentityId: str}
@optional {Logins: map<str,str>, CustomRoleArn: str}
@returns(200) {IdentityId: str?, Credentials: Credentials?{AccessKeyId: str?, SecretKey: str?, SessionToken: str?, Expiration: str(timestamp)?}}

@endpoint POST /
@required {IdentityPoolId: str}
@optional {AccountId: str, Logins: map<str,str>}
@returns(200) {IdentityId: str?}

@endpoint POST /
@required {IdentityPoolId: str}
@returns(200) {IdentityPoolId: str?, Roles: map<str,str>?, RoleMappings: map<str,RoleMapping>?}

@endpoint POST /
@required {IdentityId: str}
@optional {Logins: map<str,str>}
@returns(200) {IdentityId: str?, Token: str?}

@endpoint POST /
@required {IdentityPoolId: str, Logins: map<str,str>}
@optional {IdentityId: str, PrincipalTags: map<str,str>, TokenDuration: int(i64)}
@returns(200) {IdentityId: str?, Token: str?}

@endpoint POST /
@required {IdentityPoolId: str, IdentityProviderName: str}
@returns(200) {IdentityPoolId: str?, IdentityProviderName: str?, UseDefaults: bool?, PrincipalTags: map<str,str>?}

@endpoint POST /
@required {IdentityPoolId: str, MaxResults: int}
@optional {NextToken: str, HideDisabled: bool}
@returns(200) {IdentityPoolId: str?, Identities: [IdentityDescription]?, NextToken: str?}

@endpoint POST /
@required {MaxResults: int}
@optional {NextToken: str}
@returns(200) {IdentityPools: [IdentityPoolShortDescription]?, NextToken: str?}

@endpoint POST /
@required {ResourceArn: str}
@returns(200) {Tags: map<str,str>?}

@endpoint POST /
@required {IdentityPoolId: str}
@optional {IdentityId: str, DeveloperUserIdentifier: str, MaxResults: int, NextToken: str}
@returns(200) {IdentityId: str?, DeveloperUserIdentifierList: [str]?, NextToken: str?}

@endpoint POST /
@required {SourceUserIdentifier: str, DestinationUserIdentifier: str, DeveloperProviderName: str, IdentityPoolId: str}
@returns(200) {IdentityId: str?}

@endpoint POST /
@required {IdentityPoolId: str, Roles: map<str,str>}
@optional {RoleMappings: map<str,RoleMapping>}

@endpoint POST /
@required {IdentityPoolId: str, IdentityProviderName: str}
@optional {UseDefaults: bool, PrincipalTags: map<str,str>}
@returns(200) {IdentityPoolId: str?, IdentityProviderName: str?, UseDefaults: bool?, PrincipalTags: map<str,str>?}

@endpoint POST /
@required {ResourceArn: str, Tags: map<str,str>}

@endpoint POST /
@required {IdentityId: str, IdentityPoolId: str, DeveloperProviderName: str, DeveloperUserIdentifier: str}

@endpoint POST /
@required {IdentityId: str, Logins: map<str,str>, LoginsToRemove: [str]}

@endpoint POST /
@required {ResourceArn: str, TagKeys: [str]}

@endpoint POST /
@required {IdentityPoolId: str, IdentityPoolName: str, AllowUnauthenticatedIdentities: bool}
@optional {AllowClassicFlow: bool, SupportedLoginProviders: map<str,str>, DeveloperProviderName: str, OpenIdConnectProviderARNs: [str], CognitoIdentityProviders: [CognitoIdentityProvider], SamlProviderARNs: [str], IdentityPoolTags: map<str,str>}
@returns(200) {IdentityPoolId: str, IdentityPoolName: str, AllowUnauthenticatedIdentities: bool, AllowClassicFlow: bool?, SupportedLoginProviders: map<str,str>?, DeveloperProviderName: str?, OpenIdConnectProviderARNs: [str]?, CognitoIdentityProviders: [CognitoIdentityProvider]?, SamlProviderARNs: [str]?, IdentityPoolTags: map<str,str>?}

@end
