// Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an
// implicit linked account. This is a public API. You do not need any credentials
// to call this API.
Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an
implicit linked account. This is a public API. You do not need any credentials
to call this API.
// Generates ( or retrieves ) a Cognito ID . Supplying multiple logins will create an // implicit linked account . This is a public API . You do not need any credentials // to call this API .
func (c *Client) GetId(ctx context.Context, params *GetIdInput, optFns ...func(*Options)) (*GetIdOutput, error) {
	if params == nil {
		params = &GetIdInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetId", params, optFns, addOperationGetIdMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetIdOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetId ( ctx context . Context , params * GetIdInput , optFns ... func ( * Options ) ) ( * GetIdOutput , error ) { if params == nil { params = & GetIdInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetIdMiddlewares ) if err != nil { return nil , err } out := result . ( * GetIdOutput ) out . ResultMetadata = metadata return out , nil }
Generates (or retrieves) a Cognito ID.
Generates ( or retrieves ) a Cognito ID .