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 |
Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
Synopsis
- data DeleteAutoScalingConfiguration = DeleteAutoScalingConfiguration' {}
- newDeleteAutoScalingConfiguration :: Text -> DeleteAutoScalingConfiguration
- deleteAutoScalingConfiguration_autoScalingConfigurationArn :: Lens' DeleteAutoScalingConfiguration Text
- data DeleteAutoScalingConfigurationResponse = DeleteAutoScalingConfigurationResponse' {}
- newDeleteAutoScalingConfigurationResponse :: Int -> AutoScalingConfiguration -> DeleteAutoScalingConfigurationResponse
- deleteAutoScalingConfigurationResponse_httpStatus :: Lens' DeleteAutoScalingConfigurationResponse Int
- deleteAutoScalingConfigurationResponse_autoScalingConfiguration :: Lens' DeleteAutoScalingConfigurationResponse AutoScalingConfiguration
Creating a Request
data DeleteAutoScalingConfiguration Source #
See: newDeleteAutoScalingConfiguration
smart constructor.
DeleteAutoScalingConfiguration' | |
|
Instances
newDeleteAutoScalingConfiguration Source #
:: Text |
|
-> DeleteAutoScalingConfiguration |
Create a value of DeleteAutoScalingConfiguration
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:autoScalingConfigurationArn:DeleteAutoScalingConfiguration'
, deleteAutoScalingConfiguration_autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of the App Runner auto scaling
configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN
ending with either .../name
or .../name/revision
. If a revision
isn't specified, the latest active revision is deleted.
Request Lenses
deleteAutoScalingConfiguration_autoScalingConfigurationArn :: Lens' DeleteAutoScalingConfiguration Text Source #
The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete.
The ARN can be a full auto scaling configuration ARN, or a partial ARN
ending with either .../name
or .../name/revision
. If a revision
isn't specified, the latest active revision is deleted.
Destructuring the Response
data DeleteAutoScalingConfigurationResponse Source #
See: newDeleteAutoScalingConfigurationResponse
smart constructor.
DeleteAutoScalingConfigurationResponse' | |
|
Instances
newDeleteAutoScalingConfigurationResponse Source #
:: Int | |
-> AutoScalingConfiguration |
|
-> DeleteAutoScalingConfigurationResponse |
Create a value of DeleteAutoScalingConfigurationResponse
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:httpStatus:DeleteAutoScalingConfigurationResponse'
, deleteAutoScalingConfigurationResponse_httpStatus
- The response's http status code.
$sel:autoScalingConfiguration:DeleteAutoScalingConfigurationResponse'
, deleteAutoScalingConfigurationResponse_autoScalingConfiguration
- A description of the App Runner auto scaling configuration that this
request just deleted.
Response Lenses
deleteAutoScalingConfigurationResponse_httpStatus :: Lens' DeleteAutoScalingConfigurationResponse Int Source #
The response's http status code.
deleteAutoScalingConfigurationResponse_autoScalingConfiguration :: Lens' DeleteAutoScalingConfigurationResponse AutoScalingConfiguration Source #
A description of the App Runner auto scaling configuration that this request just deleted.