amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.GetCSVHeader

Description

Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job.

Synopsis

Creating a Request

data GetCSVHeader Source #

Represents the request to get the header information of the CSV file for the user import job.

See: newGetCSVHeader smart constructor.

Constructors

GetCSVHeader' 

Fields

  • userPoolId :: Text

    The user pool ID for the user pool that the users are to be imported into.

Instances

Instances details
ToJSON GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

ToHeaders GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

ToPath GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

ToQuery GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

AWSRequest GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Associated Types

type AWSResponse GetCSVHeader #

Generic GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Associated Types

type Rep GetCSVHeader :: Type -> Type #

Read GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Show GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

NFData GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Methods

rnf :: GetCSVHeader -> () #

Eq GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Hashable GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

type AWSResponse GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

type Rep GetCSVHeader Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

type Rep GetCSVHeader = D1 ('MetaData "GetCSVHeader" "Amazonka.CognitoIdentityProvider.GetCSVHeader" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "GetCSVHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetCSVHeader Source #

Create a value of GetCSVHeader with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetCSVHeader, getCSVHeader_userPoolId - The user pool ID for the user pool that the users are to be imported into.

Request Lenses

getCSVHeader_userPoolId :: Lens' GetCSVHeader Text Source #

The user pool ID for the user pool that the users are to be imported into.

Destructuring the Response

data GetCSVHeaderResponse Source #

Represents the response from the server to the request to get the header information of the CSV file for the user import job.

See: newGetCSVHeaderResponse smart constructor.

Constructors

GetCSVHeaderResponse' 

Fields

Instances

Instances details
Generic GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Associated Types

type Rep GetCSVHeaderResponse :: Type -> Type #

Read GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Show GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

NFData GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

Methods

rnf :: GetCSVHeaderResponse -> () #

Eq GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

type Rep GetCSVHeaderResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetCSVHeader

type Rep GetCSVHeaderResponse = D1 ('MetaData "GetCSVHeaderResponse" "Amazonka.CognitoIdentityProvider.GetCSVHeader" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "GetCSVHeaderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cSVHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetCSVHeaderResponse Source #

Create a value of GetCSVHeaderResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cSVHeader:GetCSVHeaderResponse', getCSVHeaderResponse_cSVHeader - The header information of the CSV file for the user import job.

GetCSVHeader, getCSVHeaderResponse_userPoolId - The user pool ID for the user pool that the users are to be imported into.

$sel:httpStatus:GetCSVHeaderResponse', getCSVHeaderResponse_httpStatus - The response's http status code.

Response Lenses

getCSVHeaderResponse_cSVHeader :: Lens' GetCSVHeaderResponse (Maybe [Text]) Source #

The header information of the CSV file for the user import job.

getCSVHeaderResponse_userPoolId :: Lens' GetCSVHeaderResponse (Maybe Text) Source #

The user pool ID for the user pool that the users are to be imported into.