amazonka-identitystore-2.0: Amazon SSO Identity Store 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.IdentityStore.CreateUser

Description

Creates a new user within the specified identity store.

Synopsis

Creating a Request

data CreateUser Source #

See: newCreateUser smart constructor.

Constructors

CreateUser' 

Fields

Instances

Instances details
ToJSON CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

ToHeaders CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Methods

toHeaders :: CreateUser -> [Header] #

ToPath CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

ToQuery CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

AWSRequest CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Associated Types

type AWSResponse CreateUser #

Generic CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Associated Types

type Rep CreateUser :: Type -> Type #

Show CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

NFData CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Methods

rnf :: CreateUser -> () #

Eq CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Hashable CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

type AWSResponse CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

type Rep CreateUser Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

type Rep CreateUser = D1 ('MetaData "CreateUser" "Amazonka.IdentityStore.CreateUser" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "CreateUser'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Address))) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "emails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Email))))) :*: ((S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Name))) :*: (S1 ('MetaSel ('Just "nickName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "phoneNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PhoneNumber)))))) :*: ((S1 ('MetaSel ('Just "preferredLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "profileUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "userType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCreateUser Source #

Arguments

:: Text

CreateUser

-> CreateUser 

Create a value of CreateUser 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:

CreateUser, createUser_addresses - A list of Address objects containing addresses associated with the user.

CreateUser, createUser_displayName - A string containing the user's name. This value is typically formatted for display when the user is referenced. For example, "John Doe."

CreateUser, createUser_emails - A list of Email objects containing email addresses associated with the user.

CreateUser, createUser_locale - A string containing the user's geographical region or location.

CreateUser, createUser_name - An object containing the user's name.

CreateUser, createUser_nickName - A string containing an alternate name for the user.

CreateUser, createUser_phoneNumbers - A list of PhoneNumber objects containing phone numbers associated with the user.

CreateUser, createUser_preferredLanguage - A string containing the preferred language of the user. For example, "American English" or "en-us."

CreateUser, createUser_profileUrl - A string containing a URL that may be associated with the user.

CreateUser, createUser_timezone - A string containing the user's time zone.

CreateUser, createUser_title - A string containing the user's title. Possible values are left unspecified given that they depend on each customer's specific needs.

CreateUser, createUser_userName - A unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.

CreateUser, createUser_userType - A string indicating the user's type. Possible values depend on each customer's specific needs, so they are left unspecified.

CreateUser, createUser_identityStoreId - The globally unique identifier for the identity store.

Request Lenses

createUser_addresses :: Lens' CreateUser (Maybe (NonEmpty Address)) Source #

A list of Address objects containing addresses associated with the user.

createUser_displayName :: Lens' CreateUser (Maybe Text) Source #

A string containing the user's name. This value is typically formatted for display when the user is referenced. For example, "John Doe."

createUser_emails :: Lens' CreateUser (Maybe (NonEmpty Email)) Source #

A list of Email objects containing email addresses associated with the user.

createUser_locale :: Lens' CreateUser (Maybe Text) Source #

A string containing the user's geographical region or location.

createUser_name :: Lens' CreateUser (Maybe Name) Source #

An object containing the user's name.

createUser_nickName :: Lens' CreateUser (Maybe Text) Source #

A string containing an alternate name for the user.

createUser_phoneNumbers :: Lens' CreateUser (Maybe (NonEmpty PhoneNumber)) Source #

A list of PhoneNumber objects containing phone numbers associated with the user.

createUser_preferredLanguage :: Lens' CreateUser (Maybe Text) Source #

A string containing the preferred language of the user. For example, "American English" or "en-us."

createUser_profileUrl :: Lens' CreateUser (Maybe Text) Source #

A string containing a URL that may be associated with the user.

createUser_timezone :: Lens' CreateUser (Maybe Text) Source #

A string containing the user's time zone.

createUser_title :: Lens' CreateUser (Maybe Text) Source #

A string containing the user's title. Possible values are left unspecified given that they depend on each customer's specific needs.

createUser_userName :: Lens' CreateUser (Maybe Text) Source #

A unique string used to identify the user. The length limit is 128 characters. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store.

createUser_userType :: Lens' CreateUser (Maybe Text) Source #

A string indicating the user's type. Possible values depend on each customer's specific needs, so they are left unspecified.

createUser_identityStoreId :: Lens' CreateUser Text Source #

The globally unique identifier for the identity store.

Destructuring the Response

data CreateUserResponse Source #

See: newCreateUserResponse smart constructor.

Constructors

CreateUserResponse' 

Fields

Instances

Instances details
Generic CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Associated Types

type Rep CreateUserResponse :: Type -> Type #

Read CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Show CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

NFData CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

Methods

rnf :: CreateUserResponse -> () #

Eq CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

type Rep CreateUserResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.CreateUser

type Rep CreateUserResponse = D1 ('MetaData "CreateUserResponse" "Amazonka.IdentityStore.CreateUser" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "CreateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateUserResponse Source #

Create a value of CreateUserResponse 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:httpStatus:CreateUserResponse', createUserResponse_httpStatus - The response's http status code.

CreateUserResponse, createUserResponse_userId - The identifier of the newly created user in the identity store.

CreateUser, createUserResponse_identityStoreId - The globally unique identifier for the identity store.

Response Lenses

createUserResponse_userId :: Lens' CreateUserResponse Text Source #

The identifier of the newly created user in the identity store.

createUserResponse_identityStoreId :: Lens' CreateUserResponse Text Source #

The globally unique identifier for the identity store.