Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a user profile. A user profile represents a single user within a domain, and is the main way to reference a "person" for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an administrator invites a person by email or imports them from SSO, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user's private Amazon Elastic File System (EFS) home directory.
Synopsis
- data CreateUserProfile = CreateUserProfile' {}
- newCreateUserProfile :: Text -> Text -> CreateUserProfile
- createUserProfile_userSettings :: Lens' CreateUserProfile (Maybe UserSettings)
- createUserProfile_singleSignOnUserValue :: Lens' CreateUserProfile (Maybe Text)
- createUserProfile_singleSignOnUserIdentifier :: Lens' CreateUserProfile (Maybe Text)
- createUserProfile_tags :: Lens' CreateUserProfile (Maybe [Tag])
- createUserProfile_domainId :: Lens' CreateUserProfile Text
- createUserProfile_userProfileName :: Lens' CreateUserProfile Text
- data CreateUserProfileResponse = CreateUserProfileResponse' {
- userProfileArn :: Maybe Text
- httpStatus :: Int
- newCreateUserProfileResponse :: Int -> CreateUserProfileResponse
- createUserProfileResponse_userProfileArn :: Lens' CreateUserProfileResponse (Maybe Text)
- createUserProfileResponse_httpStatus :: Lens' CreateUserProfileResponse Int
Creating a Request
data CreateUserProfile Source #
See: newCreateUserProfile
smart constructor.
CreateUserProfile' | |
|
Instances
:: Text | |
-> Text | |
-> CreateUserProfile |
Create a value of CreateUserProfile
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:userSettings:CreateUserProfile'
, createUserProfile_userSettings
- A collection of settings.
$sel:singleSignOnUserValue:CreateUserProfile'
, createUserProfile_singleSignOnUserValue
- The username of the associated Amazon Web Services Single Sign-On User
for this UserProfile. If the Domain's AuthMode is SSO, this field is
required, and must match a valid username of a user in your directory.
If the Domain's AuthMode is not SSO, this field cannot be specified.
$sel:singleSignOnUserIdentifier:CreateUserProfile'
, createUserProfile_singleSignOnUserIdentifier
- A specifier for the type of value specified in SingleSignOnUserValue.
Currently, the only supported value is "UserName". If the Domain's
AuthMode is SSO, this field is required. If the Domain's AuthMode is
not SSO, this field cannot be specified.
$sel:tags:CreateUserProfile'
, createUserProfile_tags
- Each tag consists of a key and an optional value. Tag keys must be
unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
$sel:domainId:CreateUserProfile'
, createUserProfile_domainId
- The ID of the associated Domain.
$sel:userProfileName:CreateUserProfile'
, createUserProfile_userProfileName
- A name for the UserProfile. This value is not case sensitive.
Request Lenses
createUserProfile_userSettings :: Lens' CreateUserProfile (Maybe UserSettings) Source #
A collection of settings.
createUserProfile_singleSignOnUserValue :: Lens' CreateUserProfile (Maybe Text) Source #
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified.
createUserProfile_singleSignOnUserIdentifier :: Lens' CreateUserProfile (Maybe Text) Source #
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified.
createUserProfile_tags :: Lens' CreateUserProfile (Maybe [Tag]) Source #
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
createUserProfile_domainId :: Lens' CreateUserProfile Text Source #
The ID of the associated Domain.
createUserProfile_userProfileName :: Lens' CreateUserProfile Text Source #
A name for the UserProfile. This value is not case sensitive.
Destructuring the Response
data CreateUserProfileResponse Source #
See: newCreateUserProfileResponse
smart constructor.
CreateUserProfileResponse' | |
|
Instances
newCreateUserProfileResponse Source #
Create a value of CreateUserProfileResponse
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:userProfileArn:CreateUserProfileResponse'
, createUserProfileResponse_userProfileArn
- The user profile Amazon Resource Name (ARN).
$sel:httpStatus:CreateUserProfileResponse'
, createUserProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createUserProfileResponse_userProfileArn :: Lens' CreateUserProfileResponse (Maybe Text) Source #
The user profile Amazon Resource Name (ARN).
createUserProfileResponse_httpStatus :: Lens' CreateUserProfileResponse Int Source #
The response's http status code.