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 |
Deletes a studio component resource.
Synopsis
- data DeleteStudioComponent = DeleteStudioComponent' {}
- newDeleteStudioComponent :: Text -> Text -> DeleteStudioComponent
- deleteStudioComponent_clientToken :: Lens' DeleteStudioComponent (Maybe Text)
- deleteStudioComponent_studioId :: Lens' DeleteStudioComponent Text
- deleteStudioComponent_studioComponentId :: Lens' DeleteStudioComponent Text
- data DeleteStudioComponentResponse = DeleteStudioComponentResponse' {}
- newDeleteStudioComponentResponse :: Int -> DeleteStudioComponentResponse
- deleteStudioComponentResponse_studioComponent :: Lens' DeleteStudioComponentResponse (Maybe StudioComponent)
- deleteStudioComponentResponse_httpStatus :: Lens' DeleteStudioComponentResponse Int
Creating a Request
data DeleteStudioComponent Source #
See: newDeleteStudioComponent
smart constructor.
DeleteStudioComponent' | |
|
Instances
newDeleteStudioComponent Source #
:: Text | |
-> Text | |
-> DeleteStudioComponent |
Create a value of DeleteStudioComponent
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:DeleteStudioComponent'
, deleteStudioComponent_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:DeleteStudioComponent'
, deleteStudioComponent_studioId
- The studio ID.
$sel:studioComponentId:DeleteStudioComponent'
, deleteStudioComponent_studioComponentId
- The studio component ID.
Request Lenses
deleteStudioComponent_clientToken :: Lens' DeleteStudioComponent (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.
deleteStudioComponent_studioId :: Lens' DeleteStudioComponent Text Source #
The studio ID.
deleteStudioComponent_studioComponentId :: Lens' DeleteStudioComponent Text Source #
The studio component ID.
Destructuring the Response
data DeleteStudioComponentResponse Source #
See: newDeleteStudioComponentResponse
smart constructor.
DeleteStudioComponentResponse' | |
|
Instances
newDeleteStudioComponentResponse Source #
Create a value of DeleteStudioComponentResponse
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:studioComponent:DeleteStudioComponentResponse'
, deleteStudioComponentResponse_studioComponent
- Information about the studio component.
$sel:httpStatus:DeleteStudioComponentResponse'
, deleteStudioComponentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteStudioComponentResponse_studioComponent :: Lens' DeleteStudioComponentResponse (Maybe StudioComponent) Source #
Information about the studio component.
deleteStudioComponentResponse_httpStatus :: Lens' DeleteStudioComponentResponse Int Source #
The response's http status code.