amazonka-nimble-2.0: Amazon NimbleStudio 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.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 #

See: newCreateStudio smart constructor.

Constructors

CreateStudio' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

  • studioEncryptionConfiguration :: Maybe StudioEncryptionConfiguration

    The studio encryption configuration.

  • tags :: Maybe (HashMap Text Text)

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

  • adminRoleArn :: Text

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

  • displayName :: Sensitive 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.

Instances

Instances details
ToJSON CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.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

AWSRequest CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Associated Types

type AWSResponse CreateStudio #

Generic CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Associated Types

type Rep CreateStudio :: Type -> Type #

Show CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

NFData CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Methods

rnf :: CreateStudio -> () #

Eq CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

Hashable CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

type AWSResponse CreateStudio Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudio

type Rep 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:clientToken:CreateStudio', createStudio_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

CreateStudio, createStudio_studioEncryptionConfiguration - The studio encryption configuration.

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

CreateStudio, createStudio_adminRoleArn - The IAM role that studio admins will assume when logging in to the Nimble Studio portal.

CreateStudio, createStudio_displayName - A friendly name for the studio.

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

CreateStudio, createStudio_userRoleArn - The IAM role that studio users will assume when logging in to the Nimble Studio portal.

Request Lenses

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

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.

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_adminRoleArn :: Lens' CreateStudio Text Source #

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

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.

Destructuring the Response

data CreateStudioResponse Source #

See: newCreateStudioResponse smart constructor.

Constructors

CreateStudioResponse' 

Fields

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