git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

cognito_identity_credentials.d.ts (1570B)


      1 import {Credentials} from '../credentials';
      2 import {AWSError} from '../error';
      3 import CognitoIdentity = require('../../clients/cognitoidentity');
      4 import STS = require('../../clients/sts');
      5 export class CognitoIdentityCredentials extends Credentials {
      6 		/**
      7 		 * Creates a new credentials object.
      8 		 */
      9 		constructor(options?: CognitoIdentity.Types.GetIdInput|CognitoIdentity.Types.GetCredentialsForIdentityInput|CognitoIdentity.Types.GetOpenIdTokenInput|STS.Types.AssumeRoleWithWebIdentityRequest);
     10 		/**
     11 		 * Refreshes credentials using AWS.CognitoIdentity.getCredentialsForIdentity(), or AWS.STS.assumeRoleWithWebIdentity().
     12 		 */
     13 		refresh(callback: (err: AWSError) => void): void;
     14         /**
     15          * Clears the cached Cognito ID associated with the currently configured identity pool ID.
     16          */
     17         clearCachedId(): void;
     18         /**
     19          * The raw data response from the call to AWS.CognitoIdentity.getCredentialsForIdentity(), or AWS.STS.assumeRoleWithWebIdentity().
     20          */
     21         data: CognitoIdentity.Types.GetCredentialsForIdentityResponse|STS.Types.AssumeRoleWithWebIdentityResponse;
     22         /**
     23          * The Cognito ID returned by the last call to AWS.CognitoIdentity.getOpenIdToken().
     24          */
     25         identityId: string;
     26         /**
     27          * The map of params passed to AWS.CognitoIdentity.getId(), AWS.CognitoIdentity.getOpenIdToken(), and AWS.STS.assumeRoleWithWebIdentity().
     28          */
     29         params: CognitoIdentity.Types.GetIdInput|CognitoIdentity.Types.GetOpenIdTokenInput|STS.Types.AssumeRoleWithWebIdentityRequest;
     30 	}