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 |
Amazonka.ApiGatewayV2.DeleteCorsConfiguration
Description
Deletes a CORS configuration.
Synopsis
- data DeleteCorsConfiguration = DeleteCorsConfiguration' {}
- newDeleteCorsConfiguration :: Text -> DeleteCorsConfiguration
- deleteCorsConfiguration_apiId :: Lens' DeleteCorsConfiguration Text
- data DeleteCorsConfigurationResponse = DeleteCorsConfigurationResponse' {
- newDeleteCorsConfigurationResponse :: DeleteCorsConfigurationResponse
Creating a Request
data DeleteCorsConfiguration Source #
See: newDeleteCorsConfiguration
smart constructor.
Constructors
DeleteCorsConfiguration' | |
Instances
newDeleteCorsConfiguration Source #
Create a value of DeleteCorsConfiguration
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:DeleteCorsConfiguration'
, deleteCorsConfiguration_apiId
- The API identifier.
Request Lenses
deleteCorsConfiguration_apiId :: Lens' DeleteCorsConfiguration Text Source #
The API identifier.
Destructuring the Response
data DeleteCorsConfigurationResponse Source #
See: newDeleteCorsConfigurationResponse
smart constructor.
Constructors
DeleteCorsConfigurationResponse' | |
Instances
Eq DeleteCorsConfigurationResponse Source # | |
Read DeleteCorsConfigurationResponse Source # | |
Show DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Methods showsPrec :: Int -> DeleteCorsConfigurationResponse -> ShowS # | |
Generic DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Associated Types type Rep DeleteCorsConfigurationResponse :: Type -> Type # | |
NFData DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Methods rnf :: DeleteCorsConfigurationResponse -> () # | |
type Rep DeleteCorsConfigurationResponse Source # | |
newDeleteCorsConfigurationResponse :: DeleteCorsConfigurationResponse Source #
Create a value of DeleteCorsConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.