| 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.DeleteRouteSettings
Description
Deletes the RouteSettings for a stage.
Synopsis
- data DeleteRouteSettings = DeleteRouteSettings' {}
- newDeleteRouteSettings :: Text -> Text -> Text -> DeleteRouteSettings
- deleteRouteSettings_stageName :: Lens' DeleteRouteSettings Text
- deleteRouteSettings_routeKey :: Lens' DeleteRouteSettings Text
- deleteRouteSettings_apiId :: Lens' DeleteRouteSettings Text
- data DeleteRouteSettingsResponse = DeleteRouteSettingsResponse' {
- newDeleteRouteSettingsResponse :: DeleteRouteSettingsResponse
Creating a Request
data DeleteRouteSettings Source #
See: newDeleteRouteSettings smart constructor.
Constructors
| DeleteRouteSettings' | |
Instances
newDeleteRouteSettings Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteRouteSettings |
Create a value of DeleteRouteSettings 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:
DeleteRouteSettings, deleteRouteSettings_stageName - The stage name. Stage names can only contain alphanumeric characters,
hyphens, and underscores. Maximum length is 128 characters.
DeleteRouteSettings, deleteRouteSettings_routeKey - The route key.
DeleteRouteSettings, deleteRouteSettings_apiId - The API identifier.
Request Lenses
deleteRouteSettings_stageName :: Lens' DeleteRouteSettings Text Source #
The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
deleteRouteSettings_routeKey :: Lens' DeleteRouteSettings Text Source #
The route key.
deleteRouteSettings_apiId :: Lens' DeleteRouteSettings Text Source #
The API identifier.
Destructuring the Response
data DeleteRouteSettingsResponse Source #
See: newDeleteRouteSettingsResponse smart constructor.
Constructors
| DeleteRouteSettingsResponse' | |
Instances
newDeleteRouteSettingsResponse :: DeleteRouteSettingsResponse Source #
Create a value of DeleteRouteSettingsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.