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.AppRunner.DeleteConnection
Description
Delete an App Runner connection. You must first ensure that there are no
running App Runner services that use this connection. If there are any,
the DeleteConnection
action fails.
Synopsis
- data DeleteConnection = DeleteConnection' {}
- newDeleteConnection :: Text -> DeleteConnection
- deleteConnection_connectionArn :: Lens' DeleteConnection Text
- data DeleteConnectionResponse = DeleteConnectionResponse' {}
- newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
- deleteConnectionResponse_connection :: Lens' DeleteConnectionResponse (Maybe Connection)
- deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
Creating a Request
data DeleteConnection Source #
See: newDeleteConnection
smart constructor.
Constructors
DeleteConnection' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteConnection |
Create a value of DeleteConnection
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:connectionArn:DeleteConnection'
, deleteConnection_connectionArn
- The Amazon Resource Name (ARN) of the App Runner connection that you
want to delete.
Request Lenses
deleteConnection_connectionArn :: Lens' DeleteConnection Text Source #
The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.
Destructuring the Response
data DeleteConnectionResponse Source #
See: newDeleteConnectionResponse
smart constructor.
Constructors
DeleteConnectionResponse' | |
Fields
|
Instances
newDeleteConnectionResponse Source #
Create a value of DeleteConnectionResponse
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:connection:DeleteConnectionResponse'
, deleteConnectionResponse_connection
- A description of the App Runner connection that this request just
deleted.
$sel:httpStatus:DeleteConnectionResponse'
, deleteConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectionResponse_connection :: Lens' DeleteConnectionResponse (Maybe Connection) Source #
A description of the App Runner connection that this request just deleted.
deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int Source #
The response's http status code.