Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Create a launch profile.
Synopsis
- data CreateLaunchProfile = CreateLaunchProfile' {}
- newCreateLaunchProfile :: Text -> StreamConfigurationCreate -> NonEmpty Text -> Text -> 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_launchProfileProtocolVersions :: Lens' CreateLaunchProfile [Text]
- createLaunchProfile_name :: Lens' CreateLaunchProfile Text
- createLaunchProfile_streamConfiguration :: Lens' CreateLaunchProfile StreamConfigurationCreate
- createLaunchProfile_studioComponentIds :: Lens' CreateLaunchProfile (NonEmpty Text)
- createLaunchProfile_studioId :: Lens' CreateLaunchProfile Text
- data CreateLaunchProfileResponse = CreateLaunchProfileResponse' {}
- newCreateLaunchProfileResponse :: Int -> CreateLaunchProfileResponse
- createLaunchProfileResponse_launchProfile :: Lens' CreateLaunchProfileResponse (Maybe LaunchProfile)
- createLaunchProfileResponse_httpStatus :: Lens' CreateLaunchProfileResponse Int
Creating a Request
data CreateLaunchProfile Source #
See: newCreateLaunchProfile
smart constructor.
CreateLaunchProfile' | |
|
Instances
newCreateLaunchProfile Source #
:: Text | |
-> StreamConfigurationCreate | |
-> NonEmpty Text | |
-> Text | |
-> 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
- 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.
CreateLaunchProfile
, createLaunchProfile_description
- The description.
CreateLaunchProfile
, createLaunchProfile_tags
- A collection of labels, in the form of key-value pairs, that apply to
this resource.
CreateLaunchProfile
, createLaunchProfile_ec2SubnetIds
- Specifies the IDs of the EC2 subnets where streaming sessions will be
accessible from. These subnets must support the specified instance
types.
CreateLaunchProfile
, createLaunchProfile_launchProfileProtocolVersions
- The version number of the protocol that is used by the launch profile.
The only valid version is "2021-03-31".
CreateLaunchProfile
, createLaunchProfile_name
- The name for the launch profile.
CreateLaunchProfile
, createLaunchProfile_streamConfiguration
- A configuration for a streaming session.
CreateLaunchProfile
, createLaunchProfile_studioComponentIds
- Unique identifiers for a collection of studio components that can be
used with this launch profile.
CreateLaunchProfile
, createLaunchProfile_studioId
- The studio ID.
Request Lenses
createLaunchProfile_clientToken :: Lens' CreateLaunchProfile (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.
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_ec2SubnetIds :: Lens' CreateLaunchProfile [Text] Source #
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
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.
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.
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.