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 |
Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.
Synopsis
- data DescribeGatewayInformation = DescribeGatewayInformation' {
- gatewayARN :: Text
- newDescribeGatewayInformation :: Text -> DescribeGatewayInformation
- describeGatewayInformation_gatewayARN :: Lens' DescribeGatewayInformation Text
- data DescribeGatewayInformationResponse = DescribeGatewayInformationResponse' {
- gatewayState :: Maybe Text
- ec2InstanceRegion :: Maybe Text
- gatewayARN :: Maybe Text
- gatewayNetworkInterfaces :: Maybe [NetworkInterface]
- ec2InstanceId :: Maybe Text
- nextUpdateAvailabilityDate :: Maybe Text
- endpointType :: Maybe Text
- deprecationDate :: Maybe Text
- lastSoftwareUpdate :: Maybe Text
- gatewayCapacity :: Maybe GatewayCapacity
- supportedGatewayCapacities :: Maybe [GatewayCapacity]
- gatewayName :: Maybe Text
- gatewayId :: Maybe Text
- hostEnvironment :: Maybe HostEnvironment
- gatewayType :: Maybe Text
- gatewayTimezone :: Maybe Text
- softwareUpdatesEndDate :: Maybe Text
- cloudWatchLogGroupARN :: Maybe Text
- vPCEndpoint :: Maybe Text
- tags :: Maybe [Tag]
- httpStatus :: Int
- newDescribeGatewayInformationResponse :: Int -> DescribeGatewayInformationResponse
- describeGatewayInformationResponse_gatewayState :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_ec2InstanceRegion :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_gatewayARN :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_gatewayNetworkInterfaces :: Lens' DescribeGatewayInformationResponse (Maybe [NetworkInterface])
- describeGatewayInformationResponse_ec2InstanceId :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_nextUpdateAvailabilityDate :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_endpointType :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_deprecationDate :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_lastSoftwareUpdate :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_gatewayCapacity :: Lens' DescribeGatewayInformationResponse (Maybe GatewayCapacity)
- describeGatewayInformationResponse_supportedGatewayCapacities :: Lens' DescribeGatewayInformationResponse (Maybe [GatewayCapacity])
- describeGatewayInformationResponse_gatewayName :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_gatewayId :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_hostEnvironment :: Lens' DescribeGatewayInformationResponse (Maybe HostEnvironment)
- describeGatewayInformationResponse_gatewayType :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_gatewayTimezone :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_softwareUpdatesEndDate :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_cloudWatchLogGroupARN :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_vPCEndpoint :: Lens' DescribeGatewayInformationResponse (Maybe Text)
- describeGatewayInformationResponse_tags :: Lens' DescribeGatewayInformationResponse (Maybe [Tag])
- describeGatewayInformationResponse_httpStatus :: Lens' DescribeGatewayInformationResponse Int
Creating a Request
data DescribeGatewayInformation Source #
A JSON object containing the ID of the gateway.
See: newDescribeGatewayInformation
smart constructor.
Instances
newDescribeGatewayInformation Source #
Create a value of DescribeGatewayInformation
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:gatewayARN:DescribeGatewayInformation'
, describeGatewayInformation_gatewayARN
- Undocumented member.
Request Lenses
describeGatewayInformation_gatewayARN :: Lens' DescribeGatewayInformation Text Source #
Undocumented member.
Destructuring the Response
data DescribeGatewayInformationResponse Source #
A JSON object containing the following fields:
See: newDescribeGatewayInformationResponse
smart constructor.
DescribeGatewayInformationResponse' | |
|
Instances
newDescribeGatewayInformationResponse Source #
Create a value of DescribeGatewayInformationResponse
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:gatewayState:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayState
- A value that indicates the operating state of the gateway.
$sel:ec2InstanceRegion:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_ec2InstanceRegion
- The Amazon Web Services Region where the Amazon EC2 instance is located.
$sel:gatewayARN:DescribeGatewayInformation'
, describeGatewayInformationResponse_gatewayARN
- Undocumented member.
$sel:gatewayNetworkInterfaces:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayNetworkInterfaces
- A NetworkInterface array that contains descriptions of the gateway
network interfaces.
$sel:ec2InstanceId:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_ec2InstanceId
- The ID of the Amazon EC2 instance that was used to launch the gateway.
$sel:nextUpdateAvailabilityDate:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_nextUpdateAvailabilityDate
- The date on which an update to the gateway is available. This date is in
the time zone of the gateway. If the gateway is not available for an
update this field is not returned in the response.
$sel:endpointType:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_endpointType
- The type of endpoint for your gateway.
Valid Values: STANDARD
| FIPS
$sel:deprecationDate:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_deprecationDate
- Date after which this gateway will not receive software updates for new
features and bug fixes.
$sel:lastSoftwareUpdate:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_lastSoftwareUpdate
- The date on which the last software update was applied to the gateway.
If the gateway has never been updated, this field does not return a
value in the response.
$sel:gatewayCapacity:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayCapacity
- Specifies the size of the gateway's metadata cache.
$sel:supportedGatewayCapacities:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_supportedGatewayCapacities
- A list of the metadata cache sizes that the gateway can support based on
its current hardware specifications.
$sel:gatewayName:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayName
- The name you configured for your gateway.
$sel:gatewayId:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayId
- The unique identifier assigned to your gateway during activation. This
ID becomes part of the gateway Amazon Resource Name (ARN), which you use
as input for other operations.
$sel:hostEnvironment:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_hostEnvironment
- The type of hypervisor environment used by the host.
$sel:gatewayType:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayType
- The type of the gateway.
$sel:gatewayTimezone:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_gatewayTimezone
- A value that indicates the time zone configured for the gateway.
$sel:softwareUpdatesEndDate:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_softwareUpdatesEndDate
- Date after which this gateway will not receive software updates for new
features.
$sel:cloudWatchLogGroupARN:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_cloudWatchLogGroupARN
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
is used to monitor events in the gateway.
$sel:vPCEndpoint:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_vPCEndpoint
- The configuration settings for the virtual private cloud (VPC) endpoint
for your gateway.
$sel:tags:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_tags
- A list of up to 50 tags assigned to the gateway, sorted alphabetically
by key name. Each tag is a key-value pair. For a gateway with more than
10 tags assigned, you can view all tags using the ListTagsForResource
API operation.
$sel:httpStatus:DescribeGatewayInformationResponse'
, describeGatewayInformationResponse_httpStatus
- The response's http status code.
Response Lenses
describeGatewayInformationResponse_gatewayState :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
A value that indicates the operating state of the gateway.
describeGatewayInformationResponse_ec2InstanceRegion :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The Amazon Web Services Region where the Amazon EC2 instance is located.
describeGatewayInformationResponse_gatewayARN :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
Undocumented member.
describeGatewayInformationResponse_gatewayNetworkInterfaces :: Lens' DescribeGatewayInformationResponse (Maybe [NetworkInterface]) Source #
A NetworkInterface array that contains descriptions of the gateway network interfaces.
describeGatewayInformationResponse_ec2InstanceId :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The ID of the Amazon EC2 instance that was used to launch the gateway.
describeGatewayInformationResponse_nextUpdateAvailabilityDate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
describeGatewayInformationResponse_endpointType :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The type of endpoint for your gateway.
Valid Values: STANDARD
| FIPS
describeGatewayInformationResponse_deprecationDate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
Date after which this gateway will not receive software updates for new features and bug fixes.
describeGatewayInformationResponse_lastSoftwareUpdate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
describeGatewayInformationResponse_gatewayCapacity :: Lens' DescribeGatewayInformationResponse (Maybe GatewayCapacity) Source #
Specifies the size of the gateway's metadata cache.
describeGatewayInformationResponse_supportedGatewayCapacities :: Lens' DescribeGatewayInformationResponse (Maybe [GatewayCapacity]) Source #
A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.
describeGatewayInformationResponse_gatewayName :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The name you configured for your gateway.
describeGatewayInformationResponse_gatewayId :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
describeGatewayInformationResponse_hostEnvironment :: Lens' DescribeGatewayInformationResponse (Maybe HostEnvironment) Source #
The type of hypervisor environment used by the host.
describeGatewayInformationResponse_gatewayType :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The type of the gateway.
describeGatewayInformationResponse_gatewayTimezone :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
A value that indicates the time zone configured for the gateway.
describeGatewayInformationResponse_softwareUpdatesEndDate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
Date after which this gateway will not receive software updates for new features.
describeGatewayInformationResponse_cloudWatchLogGroupARN :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway.
describeGatewayInformationResponse_vPCEndpoint :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #
The configuration settings for the virtual private cloud (VPC) endpoint for your gateway.
describeGatewayInformationResponse_tags :: Lens' DescribeGatewayInformationResponse (Maybe [Tag]) Source #
A list of up to 50 tags assigned to the gateway, sorted alphabetically
by key name. Each tag is a key-value pair. For a gateway with more than
10 tags assigned, you can view all tags using the ListTagsForResource
API operation.
describeGatewayInformationResponse_httpStatus :: Lens' DescribeGatewayInformationResponse Int Source #
The response's http status code.