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 |
Delete a studio resource.
Synopsis
- data DeleteStudio = DeleteStudio' {
- clientToken :: Maybe Text
- studioId :: Text
- newDeleteStudio :: Text -> DeleteStudio
- deleteStudio_clientToken :: Lens' DeleteStudio (Maybe Text)
- deleteStudio_studioId :: Lens' DeleteStudio Text
- data DeleteStudioResponse = DeleteStudioResponse' {
- httpStatus :: Int
- studio :: Studio
- newDeleteStudioResponse :: Int -> Studio -> DeleteStudioResponse
- deleteStudioResponse_httpStatus :: Lens' DeleteStudioResponse Int
- deleteStudioResponse_studio :: Lens' DeleteStudioResponse Studio
Creating a Request
data DeleteStudio Source #
See: newDeleteStudio
smart constructor.
DeleteStudio' | |
|
Instances
Create a value of DeleteStudio
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:DeleteStudio'
, deleteStudio_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.
DeleteStudio
, deleteStudio_studioId
- The studio ID.
Request Lenses
deleteStudio_clientToken :: Lens' DeleteStudio (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.
deleteStudio_studioId :: Lens' DeleteStudio Text Source #
The studio ID.
Destructuring the Response
data DeleteStudioResponse Source #
See: newDeleteStudioResponse
smart constructor.
DeleteStudioResponse' | |
|
Instances
newDeleteStudioResponse Source #
:: Int | |
-> Studio | |
-> DeleteStudioResponse |
Create a value of DeleteStudioResponse
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:httpStatus:DeleteStudioResponse'
, deleteStudioResponse_httpStatus
- The response's http status code.
$sel:studio:DeleteStudioResponse'
, deleteStudioResponse_studio
- Information about a studio.
Response Lenses
deleteStudioResponse_httpStatus :: Lens' DeleteStudioResponse Int Source #
The response's http status code.
deleteStudioResponse_studio :: Lens' DeleteStudioResponse Studio Source #
Information about a studio.