Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Snowball.UpdateJob
Description
- updateJob :: Text -> UpdateJob
- data UpdateJob
- ujNotification :: Lens' UpdateJob (Maybe Notification)
- ujAddressId :: Lens' UpdateJob (Maybe Text)
- ujShippingOption :: Lens' UpdateJob (Maybe ShippingOption)
- ujResources :: Lens' UpdateJob (Maybe JobResource)
- ujDescription :: Lens' UpdateJob (Maybe Text)
- ujRoleARN :: Lens' UpdateJob (Maybe Text)
- ujSnowballCapacityPreference :: Lens' UpdateJob (Maybe SnowballCapacity)
- ujJobId :: Lens' UpdateJob Text
- updateJobResponse :: Int -> UpdateJobResponse
- data UpdateJobResponse
- ujrsResponseStatus :: Lens' UpdateJobResponse Int
Creating a Request
Creates a value of UpdateJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
See: updateJob
smart constructor.
Instances
Request Lenses
ujNotification :: Lens' UpdateJob (Maybe Notification) Source #
The new or updated Notification object.
ujShippingOption :: Lens' UpdateJob (Maybe ShippingOption) Source #
The updated shipping option value of this job's ShippingDetails object.
ujResources :: Lens' UpdateJob (Maybe JobResource) Source #
The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated JobResource object (for multiple buckets or key ranges).
ujDescription :: Lens' UpdateJob (Maybe Text) Source #
The updated description of this job's JobMetadata object.
ujRoleARN :: Lens' UpdateJob (Maybe Text) Source #
The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the CreateRole AWS Identity and Access Management (IAM) API action.
ujSnowballCapacityPreference :: Lens' UpdateJob (Maybe SnowballCapacity) Source #
The updated SnowballCapacityPreference
of this job's JobMetadata object. Note that the 50 TB Snowballs are only available in the US regions.
ujJobId :: Lens' UpdateJob Text Source #
The job ID of the job that you want to update, for example 'JID123e4567-e89b-12d3-a456-426655440000'.
Destructuring the Response
Arguments
:: Int | |
-> UpdateJobResponse |
Creates a value of UpdateJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateJobResponse Source #
See: updateJobResponse
smart constructor.
Response Lenses
ujrsResponseStatus :: Lens' UpdateJobResponse Int Source #
The response status code.