libZSservicesZSamazonka-nimbleZSamazonka-nimble
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Nimble.CreateStudio

Description

Create a new Studio.

When creating a Studio, two IAM roles must be provided: the admin role and the user Role. These roles are assumed by your users when they log in to the Nimble Studio portal.

The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly.

The Admin Role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.

You may optionally specify a KMS key in the StudioEncryptionConfiguration.

In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always encrypted at rest using an KMS key. By default, this key is owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key when calling CreateStudio to encrypt this data using a key you own and manage.

When providing an KMS key during studio creation, Nimble Studio creates KMS grants in your account to provide your studio user and admin roles access to these KMS keys.

If you delete this grant, the studio will no longer be accessible to your portal users.

If you delete the studio KMS key, your studio will no longer be accessible.

Synopsis

Creating a Request

data CreateStudio Source #

A collection of studio resources.

See: newCreateStudio smart constructor.

Constructors

CreateStudio' 

Fields

  • studioEncryptionConfiguration :: Maybe StudioEncryptionConfiguration

    The studio encryption configuration.

  • clientToken :: Maybe Text

    To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

  • tags :: Maybe (HashMap Text Text)

    A collection of labels, in the form of key:value pairs, that apply to this resource.

  • displayName :: Text

    A friendly name for the studio.

  • studioName :: Text

    The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.

  • userRoleArn :: Text

    The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.

  • adminRoleArn :: Text

    The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

Instances

Instances details
Eq CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Read CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Show CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Generic CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Associated Types

type Rep CreateStudio :: Type -> Type #

NFData CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Methods

rnf :: CreateStudio -> () #

Hashable CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

ToJSON CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

AWSRequest CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Associated Types

type AWSResponse CreateStudio #

ToHeaders CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

ToPath CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

ToQuery CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

type Rep CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

type AWSResponse CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

newCreateStudio Source #

Create a value of CreateStudio 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:studioEncryptionConfiguration:CreateStudio', createStudio_studioEncryptionConfiguration - The studio encryption configuration.

$sel:clientToken:CreateStudio', createStudio_clientToken - To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

$sel:tags:CreateStudio', createStudio_tags - A collection of labels, in the form of key:value pairs, that apply to this resource.

$sel:displayName:CreateStudio', createStudio_displayName - A friendly name for the studio.

$sel:studioName:CreateStudio', createStudio_studioName - The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.

$sel:userRoleArn:CreateStudio', createStudio_userRoleArn - The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.

$sel:adminRoleArn:CreateStudio', createStudio_adminRoleArn - The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

Request Lenses

createStudio_clientToken :: Lens' CreateStudio (Maybe Text) Source #

To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.

createStudio_tags :: Lens' CreateStudio (Maybe (HashMap Text Text)) Source #

A collection of labels, in the form of key:value pairs, that apply to this resource.

createStudio_displayName :: Lens' CreateStudio Text Source #

A friendly name for the studio.

createStudio_studioName :: Lens' CreateStudio Text Source #

The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.

createStudio_userRoleArn :: Lens' CreateStudio Text Source #

The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.

createStudio_adminRoleArn :: Lens' CreateStudio Text Source #

The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

Destructuring the Response

data CreateStudioResponse Source #

See: newCreateStudioResponse smart constructor.

Constructors

CreateStudioResponse' 

Fields

Instances

Instances details
Eq CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Read CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Show CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Generic CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Associated Types

type Rep CreateStudioResponse :: Type -> Type #

NFData CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Methods

rnf :: CreateStudioResponse -> () #

type Rep CreateStudioResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

type Rep CreateStudioResponse = D1 ('MetaData "CreateStudioResponse" "Amazonka.Nimble.CreateStudio" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStudioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "studio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Studio)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateStudioResponse Source #

Create a value of CreateStudioResponse 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:studio:CreateStudioResponse', createStudioResponse_studio - Information about a studio.

$sel:httpStatus:CreateStudioResponse', createStudioResponse_httpStatus - The response's http status code.

Response Lenses