amazonka-emr-2.0: Amazon EMR 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.EMR.UpdateStudio

Description

Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.

Synopsis

Creating a Request

data UpdateStudio Source #

See: newUpdateStudio smart constructor.

Constructors

UpdateStudio' 

Fields

  • defaultS3Location :: Maybe Text

    The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.

  • description :: Maybe Text

    A detailed description to assign to the Amazon EMR Studio.

  • name :: Maybe Text

    A descriptive name for the Amazon EMR Studio.

  • subnetIds :: Maybe [Text]

    A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.

  • studioId :: Text

    The ID of the Amazon EMR Studio to update.

Instances

Instances details
ToJSON UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

ToHeaders UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

ToPath UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

ToQuery UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

AWSRequest UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

Associated Types

type AWSResponse UpdateStudio #

Generic UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

Associated Types

type Rep UpdateStudio :: Type -> Type #

Read UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

Show UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

NFData UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

Methods

rnf :: UpdateStudio -> () #

Eq UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

Hashable UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

type AWSResponse UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

type Rep UpdateStudio Source # 
Instance details

Defined in Amazonka.EMR.UpdateStudio

type Rep UpdateStudio = D1 ('MetaData "UpdateStudio" "Amazonka.EMR.UpdateStudio" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "UpdateStudio'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultS3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateStudio Source #

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

UpdateStudio, updateStudio_defaultS3Location - The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.

UpdateStudio, updateStudio_description - A detailed description to assign to the Amazon EMR Studio.

UpdateStudio, updateStudio_name - A descriptive name for the Amazon EMR Studio.

UpdateStudio, updateStudio_subnetIds - A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.

UpdateStudio, updateStudio_studioId - The ID of the Amazon EMR Studio to update.

Request Lenses

updateStudio_defaultS3Location :: Lens' UpdateStudio (Maybe Text) Source #

The Amazon S3 location to back up Workspaces and notebook files for the Amazon EMR Studio.

updateStudio_description :: Lens' UpdateStudio (Maybe Text) Source #

A detailed description to assign to the Amazon EMR Studio.

updateStudio_name :: Lens' UpdateStudio (Maybe Text) Source #

A descriptive name for the Amazon EMR Studio.

updateStudio_subnetIds :: Lens' UpdateStudio (Maybe [Text]) Source #

A list of subnet IDs to associate with the Amazon EMR Studio. The list can include new subnet IDs, but must also include all of the subnet IDs previously associated with the Studio. The list order does not matter. A Studio can have a maximum of 5 subnets. The subnets must belong to the same VPC as the Studio.

updateStudio_studioId :: Lens' UpdateStudio Text Source #

The ID of the Amazon EMR Studio to update.

Destructuring the Response

data UpdateStudioResponse Source #

See: newUpdateStudioResponse smart constructor.

Constructors

UpdateStudioResponse' 

newUpdateStudioResponse :: UpdateStudioResponse Source #

Create a value of UpdateStudioResponse with all optional fields omitted.

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