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 an Api resource.
Synopsis
- data DeleteApi = DeleteApi' {}
- newDeleteApi :: Text -> DeleteApi
- deleteApi_apiId :: Lens' DeleteApi Text
- data DeleteApiResponse = DeleteApiResponse' {
- newDeleteApiResponse :: DeleteApiResponse
Creating a Request
See: newDeleteApi
smart constructor.
Instances
Eq DeleteApi Source # | |
Read DeleteApi Source # | |
Show DeleteApi Source # | |
Generic DeleteApi Source # | |
NFData DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi | |
Hashable DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi | |
AWSRequest DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi type AWSResponse DeleteApi # request :: DeleteApi -> Request DeleteApi # response :: MonadResource m => Logger -> Service -> Proxy DeleteApi -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteApi))) # | |
ToHeaders DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi | |
ToPath DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi toPath :: DeleteApi -> ByteString # | |
ToQuery DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi toQuery :: DeleteApi -> QueryString # | |
type Rep DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi | |
type AWSResponse DeleteApi Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi |
Create a value of DeleteApi
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:apiId:DeleteApi'
, deleteApi_apiId
- The API identifier.
Request Lenses
Destructuring the Response
data DeleteApiResponse Source #
See: newDeleteApiResponse
smart constructor.
Instances
Eq DeleteApiResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi (==) :: DeleteApiResponse -> DeleteApiResponse -> Bool # (/=) :: DeleteApiResponse -> DeleteApiResponse -> Bool # | |
Read DeleteApiResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi | |
Show DeleteApiResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi showsPrec :: Int -> DeleteApiResponse -> ShowS # show :: DeleteApiResponse -> String # showList :: [DeleteApiResponse] -> ShowS # | |
Generic DeleteApiResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi type Rep DeleteApiResponse :: Type -> Type # from :: DeleteApiResponse -> Rep DeleteApiResponse x # to :: Rep DeleteApiResponse x -> DeleteApiResponse # | |
NFData DeleteApiResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteApi rnf :: DeleteApiResponse -> () # | |
type Rep DeleteApiResponse Source # | |
newDeleteApiResponse :: DeleteApiResponse Source #
Create a value of DeleteApiResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.