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 |
Permanently delete a launch profile.
Synopsis
- data DeleteLaunchProfile = DeleteLaunchProfile' {
- clientToken :: Maybe Text
- studioId :: Text
- launchProfileId :: Text
- newDeleteLaunchProfile :: Text -> Text -> DeleteLaunchProfile
- deleteLaunchProfile_clientToken :: Lens' DeleteLaunchProfile (Maybe Text)
- deleteLaunchProfile_studioId :: Lens' DeleteLaunchProfile Text
- deleteLaunchProfile_launchProfileId :: Lens' DeleteLaunchProfile Text
- data DeleteLaunchProfileResponse = DeleteLaunchProfileResponse' {}
- newDeleteLaunchProfileResponse :: Int -> DeleteLaunchProfileResponse
- deleteLaunchProfileResponse_launchProfile :: Lens' DeleteLaunchProfileResponse (Maybe LaunchProfile)
- deleteLaunchProfileResponse_httpStatus :: Lens' DeleteLaunchProfileResponse Int
Creating a Request
data DeleteLaunchProfile Source #
See: newDeleteLaunchProfile
smart constructor.
DeleteLaunchProfile' | |
|
Instances
newDeleteLaunchProfile Source #
:: Text | |
-> Text | |
-> DeleteLaunchProfile |
Create a value of DeleteLaunchProfile
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:DeleteLaunchProfile'
, deleteLaunchProfile_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:studioId:DeleteLaunchProfile'
, deleteLaunchProfile_studioId
- The studio ID.
$sel:launchProfileId:DeleteLaunchProfile'
, deleteLaunchProfile_launchProfileId
- The launch profile ID.
Request Lenses
deleteLaunchProfile_clientToken :: Lens' DeleteLaunchProfile (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.
deleteLaunchProfile_studioId :: Lens' DeleteLaunchProfile Text Source #
The studio ID.
deleteLaunchProfile_launchProfileId :: Lens' DeleteLaunchProfile Text Source #
The launch profile ID.
Destructuring the Response
data DeleteLaunchProfileResponse Source #
See: newDeleteLaunchProfileResponse
smart constructor.
DeleteLaunchProfileResponse' | |
|
Instances
newDeleteLaunchProfileResponse Source #
Create a value of DeleteLaunchProfileResponse
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:DeleteLaunchProfileResponse'
, deleteLaunchProfileResponse_launchProfile
- The launch profile.
$sel:httpStatus:DeleteLaunchProfileResponse'
, deleteLaunchProfileResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLaunchProfileResponse_launchProfile :: Lens' DeleteLaunchProfileResponse (Maybe LaunchProfile) Source #
The launch profile.
deleteLaunchProfileResponse_httpStatus :: Lens' DeleteLaunchProfileResponse Int Source #
The response's http status code.