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.ECS.SubmitAttachmentStateChanges
Description
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Sent to acknowledge that an attachment changed states.
Synopsis
- data SubmitAttachmentStateChanges = SubmitAttachmentStateChanges' {}
- newSubmitAttachmentStateChanges :: SubmitAttachmentStateChanges
- submitAttachmentStateChanges_cluster :: Lens' SubmitAttachmentStateChanges (Maybe Text)
- submitAttachmentStateChanges_attachments :: Lens' SubmitAttachmentStateChanges [AttachmentStateChange]
- data SubmitAttachmentStateChangesResponse = SubmitAttachmentStateChangesResponse' {
- acknowledgment :: Maybe Text
- httpStatus :: Int
- newSubmitAttachmentStateChangesResponse :: Int -> SubmitAttachmentStateChangesResponse
- submitAttachmentStateChangesResponse_acknowledgment :: Lens' SubmitAttachmentStateChangesResponse (Maybe Text)
- submitAttachmentStateChangesResponse_httpStatus :: Lens' SubmitAttachmentStateChangesResponse Int
Creating a Request
data SubmitAttachmentStateChanges Source #
See: newSubmitAttachmentStateChanges
smart constructor.
Constructors
SubmitAttachmentStateChanges' | |
Fields
|
Instances
newSubmitAttachmentStateChanges :: SubmitAttachmentStateChanges Source #
Create a value of SubmitAttachmentStateChanges
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:cluster:SubmitAttachmentStateChanges'
, submitAttachmentStateChanges_cluster
- The short name or full ARN of the cluster that hosts the container
instance the attachment belongs to.
$sel:attachments:SubmitAttachmentStateChanges'
, submitAttachmentStateChanges_attachments
- Any attachments associated with the state change request.
Request Lenses
submitAttachmentStateChanges_cluster :: Lens' SubmitAttachmentStateChanges (Maybe Text) Source #
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
submitAttachmentStateChanges_attachments :: Lens' SubmitAttachmentStateChanges [AttachmentStateChange] Source #
Any attachments associated with the state change request.
Destructuring the Response
data SubmitAttachmentStateChangesResponse Source #
See: newSubmitAttachmentStateChangesResponse
smart constructor.
Constructors
SubmitAttachmentStateChangesResponse' | |
Fields
|
Instances
newSubmitAttachmentStateChangesResponse Source #
Arguments
:: Int | |
-> SubmitAttachmentStateChangesResponse |
Create a value of SubmitAttachmentStateChangesResponse
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:acknowledgment:SubmitAttachmentStateChangesResponse'
, submitAttachmentStateChangesResponse_acknowledgment
- Acknowledgement of the state change.
$sel:httpStatus:SubmitAttachmentStateChangesResponse'
, submitAttachmentStateChangesResponse_httpStatus
- The response's http status code.
Response Lenses
submitAttachmentStateChangesResponse_acknowledgment :: Lens' SubmitAttachmentStateChangesResponse (Maybe Text) Source #
Acknowledgement of the state change.
submitAttachmentStateChangesResponse_httpStatus :: Lens' SubmitAttachmentStateChangesResponse Int Source #
The response's http status code.