Copyright | (c) 2013-2015 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 |
Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved instances. The Reserved instances to be modified must be identical, except for Availability Zone, network platform, and instance type.
For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide.
See: AWS API Reference for ModifyReservedInstances.
- modifyReservedInstances :: ModifyReservedInstances
- data ModifyReservedInstances
- mriClientToken :: Lens' ModifyReservedInstances (Maybe Text)
- mriReservedInstancesIds :: Lens' ModifyReservedInstances [Text]
- mriTargetConfigurations :: Lens' ModifyReservedInstances [ReservedInstancesConfiguration]
- modifyReservedInstancesResponse :: Int -> ModifyReservedInstancesResponse
- data ModifyReservedInstancesResponse
- mrirsReservedInstancesModificationId :: Lens' ModifyReservedInstancesResponse (Maybe Text)
- mrirsResponseStatus :: Lens' ModifyReservedInstancesResponse Int
Creating a Request
modifyReservedInstances :: ModifyReservedInstances Source
Creates a value of ModifyReservedInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyReservedInstances Source
See: modifyReservedInstances
smart constructor.
Request Lenses
mriClientToken :: Lens' ModifyReservedInstances (Maybe Text) Source
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
mriReservedInstancesIds :: Lens' ModifyReservedInstances [Text] Source
The IDs of the Reserved instances to modify.
mriTargetConfigurations :: Lens' ModifyReservedInstances [ReservedInstancesConfiguration] Source
The configuration settings for the Reserved instances to modify.
Destructuring the Response
modifyReservedInstancesResponse Source
Creates a value of ModifyReservedInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyReservedInstancesResponse Source
See: modifyReservedInstancesResponse
smart constructor.
Response Lenses
mrirsReservedInstancesModificationId :: Lens' ModifyReservedInstancesResponse (Maybe Text) Source
The ID for the modification.
mrirsResponseStatus :: Lens' ModifyReservedInstancesResponse Int Source
The response status code.