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 |
Update a launch profile.
Synopsis
- data UpdateLaunchProfile = UpdateLaunchProfile' {}
- newUpdateLaunchProfile :: Text -> Text -> UpdateLaunchProfile
- updateLaunchProfile_clientToken :: Lens' UpdateLaunchProfile (Maybe Text)
- updateLaunchProfile_launchProfileProtocolVersions :: Lens' UpdateLaunchProfile (Maybe [Text])
- updateLaunchProfile_streamConfiguration :: Lens' UpdateLaunchProfile (Maybe StreamConfigurationCreate)
- updateLaunchProfile_name :: Lens' UpdateLaunchProfile (Maybe Text)
- updateLaunchProfile_description :: Lens' UpdateLaunchProfile (Maybe Text)
- updateLaunchProfile_studioComponentIds :: Lens' UpdateLaunchProfile (Maybe (NonEmpty Text))
- updateLaunchProfile_studioId :: Lens' UpdateLaunchProfile Text
- updateLaunchProfile_launchProfileId :: Lens' UpdateLaunchProfile Text
- data UpdateLaunchProfileResponse = UpdateLaunchProfileResponse' {}
- newUpdateLaunchProfileResponse :: Int -> UpdateLaunchProfileResponse
- updateLaunchProfileResponse_launchProfile :: Lens' UpdateLaunchProfileResponse (Maybe LaunchProfile)
- updateLaunchProfileResponse_httpStatus :: Lens' UpdateLaunchProfileResponse Int
Creating a Request
data UpdateLaunchProfile Source #
The launch profile ID.
See: newUpdateLaunchProfile
smart constructor.
UpdateLaunchProfile' | |
|
Instances
newUpdateLaunchProfile Source #
:: Text | |
-> Text | |
-> UpdateLaunchProfile |
Create a value of UpdateLaunchProfile
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:UpdateLaunchProfile'
, updateLaunchProfile_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:launchProfileProtocolVersions:UpdateLaunchProfile'
, updateLaunchProfile_launchProfileProtocolVersions
- The version number of the protocol that is used by the launch profile.
The only valid version is "2021-03-31".
$sel:streamConfiguration:UpdateLaunchProfile'
, updateLaunchProfile_streamConfiguration
- A configuration for a streaming session.
$sel:name:UpdateLaunchProfile'
, updateLaunchProfile_name
- The name for the launch profile.
$sel:description:UpdateLaunchProfile'
, updateLaunchProfile_description
- The description.
$sel:studioComponentIds:UpdateLaunchProfile'
, updateLaunchProfile_studioComponentIds
- Unique identifiers for a collection of studio components that can be
used with this launch profile.
$sel:studioId:UpdateLaunchProfile'
, updateLaunchProfile_studioId
- The studio ID.
$sel:launchProfileId:UpdateLaunchProfile'
, updateLaunchProfile_launchProfileId
- The launch profile ID.
Request Lenses
updateLaunchProfile_clientToken :: Lens' UpdateLaunchProfile (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.
updateLaunchProfile_launchProfileProtocolVersions :: Lens' UpdateLaunchProfile (Maybe [Text]) Source #
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
updateLaunchProfile_streamConfiguration :: Lens' UpdateLaunchProfile (Maybe StreamConfigurationCreate) Source #
A configuration for a streaming session.
updateLaunchProfile_name :: Lens' UpdateLaunchProfile (Maybe Text) Source #
The name for the launch profile.
updateLaunchProfile_description :: Lens' UpdateLaunchProfile (Maybe Text) Source #
The description.
updateLaunchProfile_studioComponentIds :: Lens' UpdateLaunchProfile (Maybe (NonEmpty Text)) Source #
Unique identifiers for a collection of studio components that can be used with this launch profile.
updateLaunchProfile_studioId :: Lens' UpdateLaunchProfile Text Source #
The studio ID.
updateLaunchProfile_launchProfileId :: Lens' UpdateLaunchProfile Text Source #
The launch profile ID.
Destructuring the Response
data UpdateLaunchProfileResponse Source #
See: newUpdateLaunchProfileResponse
smart constructor.
UpdateLaunchProfileResponse' | |
|
Instances
newUpdateLaunchProfileResponse Source #
Create a value of UpdateLaunchProfileResponse
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:UpdateLaunchProfileResponse'
, updateLaunchProfileResponse_launchProfile
- The launch profile.
$sel:httpStatus:UpdateLaunchProfileResponse'
, updateLaunchProfileResponse_httpStatus
- The response's http status code.
Response Lenses
updateLaunchProfileResponse_launchProfile :: Lens' UpdateLaunchProfileResponse (Maybe LaunchProfile) Source #
The launch profile.
updateLaunchProfileResponse_httpStatus :: Lens' UpdateLaunchProfileResponse Int Source #
The response's http status code.