| 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 |
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 #
Arguments
| :: Text | |
| -> DeleteCorsConfiguration |
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:
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
| Generic DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Associated Types type Rep DeleteCorsConfigurationResponse :: Type -> Type # | |
| Read DeleteCorsConfigurationResponse Source # | |
| Show DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Methods showsPrec :: Int -> DeleteCorsConfigurationResponse -> ShowS # | |
| NFData DeleteCorsConfigurationResponse Source # | |
Defined in Amazonka.ApiGatewayV2.DeleteCorsConfiguration Methods rnf :: DeleteCorsConfigurationResponse -> () # | |
| Eq DeleteCorsConfigurationResponse Source # | |
| 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.