Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Sets the supplied tag-set to an object that already exists in a bucket
Synopsis
- putObjectTagging :: BucketName -> ObjectKey -> Tagging -> PutObjectTagging
- data PutObjectTagging
- potVersionId :: Lens' PutObjectTagging (Maybe ObjectVersionId)
- potContentMD5 :: Lens' PutObjectTagging (Maybe Text)
- potBucket :: Lens' PutObjectTagging BucketName
- potKey :: Lens' PutObjectTagging ObjectKey
- potTagging :: Lens' PutObjectTagging Tagging
- putObjectTaggingResponse :: Int -> PutObjectTaggingResponse
- data PutObjectTaggingResponse
- potrsVersionId :: Lens' PutObjectTaggingResponse (Maybe ObjectVersionId)
- potrsResponseStatus :: Lens' PutObjectTaggingResponse Int
Creating a Request
Creates a value of PutObjectTagging
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
potVersionId
- Undocumented member.potContentMD5
- Undocumented member.potBucket
- Undocumented member.potKey
- Undocumented member.potTagging
- Undocumented member.
data PutObjectTagging Source #
See: putObjectTagging
smart constructor.
Instances
Request Lenses
potVersionId :: Lens' PutObjectTagging (Maybe ObjectVersionId) Source #
Undocumented member.
potContentMD5 :: Lens' PutObjectTagging (Maybe Text) Source #
Undocumented member.
potBucket :: Lens' PutObjectTagging BucketName Source #
Undocumented member.
potTagging :: Lens' PutObjectTagging Tagging Source #
Undocumented member.
Destructuring the Response
putObjectTaggingResponse Source #
Creates a value of PutObjectTaggingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
potrsVersionId
- Undocumented member.potrsResponseStatus
- -- | The response status code.
data PutObjectTaggingResponse Source #
See: putObjectTaggingResponse
smart constructor.
Instances
Response Lenses
potrsVersionId :: Lens' PutObjectTaggingResponse (Maybe ObjectVersionId) Source #
Undocumented member.
potrsResponseStatus :: Lens' PutObjectTaggingResponse Int Source #
- - | The response status code.