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 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.
Instances
newDeleteRouteSettings Source #
:: 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:
$sel:stageName:DeleteRouteSettings'
, deleteRouteSettings_stageName
- The stage name. Stage names can only contain alphanumeric characters,
hyphens, and underscores. Maximum length is 128 characters.
$sel:routeKey:DeleteRouteSettings'
, deleteRouteSettings_routeKey
- The route key.
$sel:apiId: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.
Instances
newDeleteRouteSettingsResponse :: DeleteRouteSettingsResponse Source #
Create a value of DeleteRouteSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.