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 |
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.
SubmitAttachmentStateChanges' | |
|
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.
SubmitAttachmentStateChangesResponse' | |
|
Instances
Eq SubmitAttachmentStateChangesResponse Source # | |
Read SubmitAttachmentStateChangesResponse Source # | |
Show SubmitAttachmentStateChangesResponse Source # | |
Generic SubmitAttachmentStateChangesResponse Source # | |
NFData SubmitAttachmentStateChangesResponse Source # | |
Defined in Amazonka.ECS.SubmitAttachmentStateChanges rnf :: SubmitAttachmentStateChangesResponse -> () # | |
type Rep SubmitAttachmentStateChangesResponse Source # | |
Defined in Amazonka.ECS.SubmitAttachmentStateChanges type Rep SubmitAttachmentStateChangesResponse = D1 ('MetaData "SubmitAttachmentStateChangesResponse" "Amazonka.ECS.SubmitAttachmentStateChanges" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "SubmitAttachmentStateChangesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acknowledgment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newSubmitAttachmentStateChangesResponse Source #
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.