amazonka-ec2-1.4.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeReservedInstancesModifications

Contents

Description

Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.

For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

describeReservedInstancesModifications :: DescribeReservedInstancesModifications Source

Creates a value of DescribeReservedInstancesModifications with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

drimFilters :: Lens' DescribeReservedInstancesModifications [Filter] Source

One or more filters.

  • 'client-token' - The idempotency token for the modification request.
  • 'create-date' - The time when the modification request was created.
  • 'effective-date' - The time when the modification becomes effective.
  • 'modification-result.reserved-instances-id' - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.
  • 'modification-result.target-configuration.availability-zone' - The Availability Zone for the new Reserved Instances.
  • 'modification-result.target-configuration.instance-count ' - The number of new Reserved Instances.
  • 'modification-result.target-configuration.instance-type' - The instance type of the new Reserved Instances.
  • 'modification-result.target-configuration.platform' - The network platform of the new Reserved Instances ('EC2-Classic' | 'EC2-VPC').
  • 'reserved-instances-id' - The ID of the Reserved Instances modified.
  • 'reserved-instances-modification-id' - The ID of the modification request.
  • status - The status of the Reserved Instances modification request (processing | fulfilled | failed).
  • 'status-message' - The reason for the status.
  • 'update-date' - The time when the modification request was last updated.

drimNextToken :: Lens' DescribeReservedInstancesModifications (Maybe Text) Source

The token to retrieve the next page of results.

Destructuring the Response

Response Lenses

drimrsNextToken :: Lens' DescribeReservedInstancesModificationsResponse (Maybe Text) Source

The token to use to retrieve the next page of results. This value is null when there are no more results to return.