Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Create a launch profile.
Synopsis
- data CreateLaunchProfile = CreateLaunchProfile' {}
- newCreateLaunchProfile :: NonEmpty Text -> Text -> Text -> StreamConfigurationCreate -> CreateLaunchProfile
- createLaunchProfile_clientToken :: Lens' CreateLaunchProfile (Maybe Text)
- createLaunchProfile_description :: Lens' CreateLaunchProfile (Maybe Text)
- createLaunchProfile_tags :: Lens' CreateLaunchProfile (Maybe (HashMap Text Text))
- createLaunchProfile_ec2SubnetIds :: Lens' CreateLaunchProfile [Text]
- createLaunchProfile_studioComponentIds :: Lens' CreateLaunchProfile (NonEmpty Text)
- createLaunchProfile_studioId :: Lens' CreateLaunchProfile Text
- createLaunchProfile_launchProfileProtocolVersions :: Lens' CreateLaunchProfile [Text]
- createLaunchProfile_name :: Lens' CreateLaunchProfile Text
- createLaunchProfile_streamConfiguration :: Lens' CreateLaunchProfile StreamConfigurationCreate
- data CreateLaunchProfileResponse = CreateLaunchProfileResponse' {}
- newCreateLaunchProfileResponse :: Int -> CreateLaunchProfileResponse
- createLaunchProfileResponse_launchProfile :: Lens' CreateLaunchProfileResponse (Maybe LaunchProfile)
- createLaunchProfileResponse_httpStatus :: Lens' CreateLaunchProfileResponse Int
Creating a Request
data CreateLaunchProfile Source #
A collection of launch profiles.
See: newCreateLaunchProfile
smart constructor.
CreateLaunchProfile' | |
|
Instances
newCreateLaunchProfile Source #
:: NonEmpty Text | |
-> Text | |
-> Text | |
-> StreamConfigurationCreate | |
-> CreateLaunchProfile |
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_description :: Lens' CreateLaunchProfile (Maybe Text) Source #
The description.
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_studioId :: Lens' CreateLaunchProfile Text Source #
The studio ID.
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.
createLaunchProfile_streamConfiguration :: Lens' CreateLaunchProfile StreamConfigurationCreate Source #
A configuration for a streaming session.
Destructuring the Response
data CreateLaunchProfileResponse Source #
See: newCreateLaunchProfileResponse
smart constructor.
CreateLaunchProfileResponse' | |
|
Instances
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
createLaunchProfileResponse_launchProfile :: Lens' CreateLaunchProfileResponse (Maybe LaunchProfile) Source #
The launch profile.
createLaunchProfileResponse_httpStatus :: Lens' CreateLaunchProfileResponse Int Source #
The response's http status code.