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

Description

Create a launch profile.

Synopsis

Creating a Request

data CreateLaunchProfile Source #

A collection of launch profiles.

See: newCreateLaunchProfile smart constructor.

Constructors

CreateLaunchProfile' 

Fields

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

  • description :: Maybe Text

    The description.

  • tags :: Maybe (HashMap Text Text)

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

  • ec2SubnetIds :: [Text]
     
  • studioComponentIds :: NonEmpty Text

    Unique identifiers for a collection of studio components that can be used with this launch profile.

  • studioId :: Text

    The studio ID.

  • launchProfileProtocolVersions :: [Text]

    The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

  • name :: Text

    The name for the launch profile.

  • streamConfiguration :: StreamConfigurationCreate

    A configuration for a streaming session.

Instances

Instances details
Eq CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Read CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Show CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Generic CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Associated Types

type Rep CreateLaunchProfile :: Type -> Type #

NFData CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Methods

rnf :: CreateLaunchProfile -> () #

Hashable CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

ToJSON CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

AWSRequest CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Associated Types

type AWSResponse CreateLaunchProfile #

ToHeaders CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

ToPath CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

ToQuery CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

type Rep CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

type AWSResponse CreateLaunchProfile Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

newCreateLaunchProfile Source #

Create a value of CreateLaunchProfile 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:CreateLaunchProfile', createLaunchProfile_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:description:CreateLaunchProfile', createLaunchProfile_description - The description.

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

$sel:ec2SubnetIds:CreateLaunchProfile', createLaunchProfile_ec2SubnetIds -

$sel:studioComponentIds:CreateLaunchProfile', createLaunchProfile_studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.

$sel:studioId:CreateLaunchProfile', createLaunchProfile_studioId - The studio ID.

$sel:launchProfileProtocolVersions:CreateLaunchProfile', createLaunchProfile_launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

$sel:name:CreateLaunchProfile', createLaunchProfile_name - The name for the launch profile.

$sel:streamConfiguration:CreateLaunchProfile', createLaunchProfile_streamConfiguration - A configuration for a streaming session.

Request Lenses

createLaunchProfile_clientToken :: Lens' CreateLaunchProfile (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.

createLaunchProfile_tags :: Lens' CreateLaunchProfile (Maybe (HashMap Text Text)) Source #

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

createLaunchProfile_studioComponentIds :: Lens' CreateLaunchProfile (NonEmpty Text) Source #

Unique identifiers for a collection of studio components that can be used with this launch profile.

createLaunchProfile_launchProfileProtocolVersions :: Lens' CreateLaunchProfile [Text] Source #

The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

createLaunchProfile_name :: Lens' CreateLaunchProfile Text Source #

The name for the launch profile.

Destructuring the Response

data CreateLaunchProfileResponse Source #

See: newCreateLaunchProfileResponse smart constructor.

Constructors

CreateLaunchProfileResponse' 

Fields

Instances

Instances details
Eq CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Read CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Show CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Generic CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

Associated Types

type Rep CreateLaunchProfileResponse :: Type -> Type #

NFData CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

type Rep CreateLaunchProfileResponse Source # 
Instance details

Defined in Amazonka.Nimble.CreateLaunchProfile

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

newCreateLaunchProfileResponse Source #

Create a value of CreateLaunchProfileResponse 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:launchProfile:CreateLaunchProfileResponse', createLaunchProfileResponse_launchProfile - The launch profile.

$sel:httpStatus:CreateLaunchProfileResponse', createLaunchProfileResponse_httpStatus - The response's http status code.

Response Lenses