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.CreateStudioComponent

Description

Creates a studio component resource.

Synopsis

Creating a Request

data CreateStudioComponent Source #

The studio components.

See: newCreateStudioComponent smart constructor.

Constructors

CreateStudioComponent' 

Fields

Instances

Instances details
Eq CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Read CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Show CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Generic CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Associated Types

type Rep CreateStudioComponent :: Type -> Type #

NFData CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Methods

rnf :: CreateStudioComponent -> () #

Hashable CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

ToJSON CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

AWSRequest CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Associated Types

type AWSResponse CreateStudioComponent #

ToHeaders CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

ToPath CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

ToQuery CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

type Rep CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

type Rep CreateStudioComponent = D1 ('MetaData "CreateStudioComponent" "Amazonka.Nimble.CreateStudioComponent" "libZSservicesZSamazonka-nimbleZSamazonka-nimble" 'False) (C1 ('MetaCons "CreateStudioComponent'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "initializationScripts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StudioComponentInitializationScript])) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ec2SecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "subtype") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StudioComponentSubtype)) :*: S1 ('MetaSel ('Just "scriptParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScriptParameterKeyValue]))))) :*: ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StudioComponentConfiguration)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "studioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StudioComponentType))))))
type AWSResponse CreateStudioComponent Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

newCreateStudioComponent Source #

Create a value of CreateStudioComponent 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:initializationScripts:CreateStudioComponent', createStudioComponent_initializationScripts - Initialization scripts for studio components.

$sel:clientToken:CreateStudioComponent', createStudioComponent_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:ec2SecurityGroupIds:CreateStudioComponent', createStudioComponent_ec2SecurityGroupIds - The EC2 security groups that control access to the studio component.

$sel:subtype:CreateStudioComponent', createStudioComponent_subtype - The specific subtype of a studio component.

$sel:scriptParameters:CreateStudioComponent', createStudioComponent_scriptParameters - Parameters for the studio component scripts.

$sel:configuration:CreateStudioComponent', createStudioComponent_configuration - The configuration of the studio component, based on component type.

$sel:description:CreateStudioComponent', createStudioComponent_description - The description.

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

$sel:studioId:CreateStudioComponent', createStudioComponent_studioId - The studio ID.

$sel:name:CreateStudioComponent', createStudioComponent_name - The name for the studio component.

$sel:type':CreateStudioComponent', createStudioComponent_type - The type of the studio component.

Request Lenses

createStudioComponent_clientToken :: Lens' CreateStudioComponent (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.

createStudioComponent_ec2SecurityGroupIds :: Lens' CreateStudioComponent (Maybe (NonEmpty Text)) Source #

The EC2 security groups that control access to the studio component.

createStudioComponent_configuration :: Lens' CreateStudioComponent (Maybe StudioComponentConfiguration) Source #

The configuration of the studio component, based on component type.

createStudioComponent_tags :: Lens' CreateStudioComponent (Maybe (HashMap Text Text)) Source #

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

createStudioComponent_name :: Lens' CreateStudioComponent Text Source #

The name for the studio component.

Destructuring the Response

data CreateStudioComponentResponse Source #

See: newCreateStudioComponentResponse smart constructor.

Constructors

CreateStudioComponentResponse' 

Fields

Instances

Instances details
Eq CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Read CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Show CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Generic CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

Associated Types

type Rep CreateStudioComponentResponse :: Type -> Type #

NFData CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

type Rep CreateStudioComponentResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateStudioComponent

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

newCreateStudioComponentResponse Source #

Create a value of CreateStudioComponentResponse 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:studioComponent:CreateStudioComponentResponse', createStudioComponentResponse_studioComponent - Information about the studio component.

$sel:httpStatus:CreateStudioComponentResponse', createStudioComponentResponse_httpStatus - The response's http status code.

Response Lenses