| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticInference.Types
Description
Synopsis
- defaultService :: Service
- _BadRequestException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- newtype LocationType where
- LocationType' { }
- pattern LocationType_Availability_zone :: LocationType
- pattern LocationType_Availability_zone_id :: LocationType
- pattern LocationType_Region :: LocationType
- data AcceleratorType = AcceleratorType' {}
- newAcceleratorType :: AcceleratorType
- acceleratorType_acceleratorTypeName :: Lens' AcceleratorType (Maybe Text)
- acceleratorType_memoryInfo :: Lens' AcceleratorType (Maybe MemoryInfo)
- acceleratorType_throughputInfo :: Lens' AcceleratorType (Maybe [KeyValuePair])
- data AcceleratorTypeOffering = AcceleratorTypeOffering' {}
- newAcceleratorTypeOffering :: AcceleratorTypeOffering
- acceleratorTypeOffering_acceleratorType :: Lens' AcceleratorTypeOffering (Maybe Text)
- acceleratorTypeOffering_location :: Lens' AcceleratorTypeOffering (Maybe Text)
- acceleratorTypeOffering_locationType :: Lens' AcceleratorTypeOffering (Maybe LocationType)
- data ElasticInferenceAccelerator = ElasticInferenceAccelerator' {}
- newElasticInferenceAccelerator :: ElasticInferenceAccelerator
- elasticInferenceAccelerator_acceleratorHealth :: Lens' ElasticInferenceAccelerator (Maybe ElasticInferenceAcceleratorHealth)
- elasticInferenceAccelerator_acceleratorId :: Lens' ElasticInferenceAccelerator (Maybe Text)
- elasticInferenceAccelerator_acceleratorType :: Lens' ElasticInferenceAccelerator (Maybe Text)
- elasticInferenceAccelerator_attachedResource :: Lens' ElasticInferenceAccelerator (Maybe Text)
- elasticInferenceAccelerator_availabilityZone :: Lens' ElasticInferenceAccelerator (Maybe Text)
- data ElasticInferenceAcceleratorHealth = ElasticInferenceAcceleratorHealth' {}
- newElasticInferenceAcceleratorHealth :: ElasticInferenceAcceleratorHealth
- elasticInferenceAcceleratorHealth_status :: Lens' ElasticInferenceAcceleratorHealth (Maybe Text)
- data Filter = Filter' {}
- newFilter :: Filter
- filter_name :: Lens' Filter (Maybe Text)
- filter_values :: Lens' Filter (Maybe [Text])
- data KeyValuePair = KeyValuePair' {}
- newKeyValuePair :: KeyValuePair
- keyValuePair_key :: Lens' KeyValuePair (Maybe Text)
- keyValuePair_value :: Lens' KeyValuePair (Maybe Int)
- data MemoryInfo = MemoryInfo' {}
- newMemoryInfo :: MemoryInfo
- memoryInfo_sizeInMiB :: Lens' MemoryInfo (Maybe Int)
Service Configuration
defaultService :: Service Source #
API version 2017-07-25 of the Amazon Elastic Inference SDK configuration.
Errors
_BadRequestException :: AsError a => Fold a ServiceError Source #
Raised when a malformed input has been provided to the API.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Raised when an unexpected error occurred during request processing.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Raised when the requested resource cannot be found.
LocationType
newtype LocationType Source #
Constructors
| LocationType' | |
Fields | |
Bundled Patterns
| pattern LocationType_Availability_zone :: LocationType | |
| pattern LocationType_Availability_zone_id :: LocationType | |
| pattern LocationType_Region :: LocationType |
Instances
AcceleratorType
data AcceleratorType Source #
The details of an Elastic Inference Accelerator type.
See: newAcceleratorType smart constructor.
Constructors
| AcceleratorType' | |
Fields
| |
Instances
newAcceleratorType :: AcceleratorType Source #
Create a value of AcceleratorType 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:acceleratorTypeName:AcceleratorType', acceleratorType_acceleratorTypeName - The name of the Elastic Inference Accelerator type.
$sel:memoryInfo:AcceleratorType', acceleratorType_memoryInfo - The memory information of the Elastic Inference Accelerator type.
$sel:throughputInfo:AcceleratorType', acceleratorType_throughputInfo - The throughput information of the Elastic Inference Accelerator type.
acceleratorType_acceleratorTypeName :: Lens' AcceleratorType (Maybe Text) Source #
The name of the Elastic Inference Accelerator type.
acceleratorType_memoryInfo :: Lens' AcceleratorType (Maybe MemoryInfo) Source #
The memory information of the Elastic Inference Accelerator type.
acceleratorType_throughputInfo :: Lens' AcceleratorType (Maybe [KeyValuePair]) Source #
The throughput information of the Elastic Inference Accelerator type.
AcceleratorTypeOffering
data AcceleratorTypeOffering Source #
The offering for an Elastic Inference Accelerator type.
See: newAcceleratorTypeOffering smart constructor.
Constructors
| AcceleratorTypeOffering' | |
Fields
| |
Instances
newAcceleratorTypeOffering :: AcceleratorTypeOffering Source #
Create a value of AcceleratorTypeOffering 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:acceleratorType:AcceleratorTypeOffering', acceleratorTypeOffering_acceleratorType - The name of the Elastic Inference Accelerator type.
$sel:location:AcceleratorTypeOffering', acceleratorTypeOffering_location - The location for the offering. It will return either the region,
availability zone or availability zone id for the offering depending on
the locationType value.
$sel:locationType:AcceleratorTypeOffering', acceleratorTypeOffering_locationType - The location type for the offering. It can assume the following values:
region: defines that the offering is at the regional level.
availability-zone: defines that the offering is at the availability zone
level. availability-zone-id: defines that the offering is at the
availability zone level, defined by the availability zone id.
acceleratorTypeOffering_acceleratorType :: Lens' AcceleratorTypeOffering (Maybe Text) Source #
The name of the Elastic Inference Accelerator type.
acceleratorTypeOffering_location :: Lens' AcceleratorTypeOffering (Maybe Text) Source #
The location for the offering. It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.
acceleratorTypeOffering_locationType :: Lens' AcceleratorTypeOffering (Maybe LocationType) Source #
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
ElasticInferenceAccelerator
data ElasticInferenceAccelerator Source #
The details of an Elastic Inference Accelerator.
See: newElasticInferenceAccelerator smart constructor.
Constructors
| ElasticInferenceAccelerator' | |
Fields
| |
Instances
newElasticInferenceAccelerator :: ElasticInferenceAccelerator Source #
Create a value of ElasticInferenceAccelerator 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:acceleratorHealth:ElasticInferenceAccelerator', elasticInferenceAccelerator_acceleratorHealth - The health of the Elastic Inference Accelerator.
$sel:acceleratorId:ElasticInferenceAccelerator', elasticInferenceAccelerator_acceleratorId - The ID of the Elastic Inference Accelerator.
$sel:acceleratorType:ElasticInferenceAccelerator', elasticInferenceAccelerator_acceleratorType - The type of the Elastic Inference Accelerator.
$sel:attachedResource:ElasticInferenceAccelerator', elasticInferenceAccelerator_attachedResource - The ARN of the resource that the Elastic Inference Accelerator is
attached to.
$sel:availabilityZone:ElasticInferenceAccelerator', elasticInferenceAccelerator_availabilityZone - The availability zone where the Elastic Inference Accelerator is
present.
elasticInferenceAccelerator_acceleratorHealth :: Lens' ElasticInferenceAccelerator (Maybe ElasticInferenceAcceleratorHealth) Source #
The health of the Elastic Inference Accelerator.
elasticInferenceAccelerator_acceleratorId :: Lens' ElasticInferenceAccelerator (Maybe Text) Source #
The ID of the Elastic Inference Accelerator.
elasticInferenceAccelerator_acceleratorType :: Lens' ElasticInferenceAccelerator (Maybe Text) Source #
The type of the Elastic Inference Accelerator.
elasticInferenceAccelerator_attachedResource :: Lens' ElasticInferenceAccelerator (Maybe Text) Source #
The ARN of the resource that the Elastic Inference Accelerator is attached to.
elasticInferenceAccelerator_availabilityZone :: Lens' ElasticInferenceAccelerator (Maybe Text) Source #
The availability zone where the Elastic Inference Accelerator is present.
ElasticInferenceAcceleratorHealth
data ElasticInferenceAcceleratorHealth Source #
The health details of an Elastic Inference Accelerator.
See: newElasticInferenceAcceleratorHealth smart constructor.
Constructors
| ElasticInferenceAcceleratorHealth' | |
Instances
newElasticInferenceAcceleratorHealth :: ElasticInferenceAcceleratorHealth Source #
Create a value of ElasticInferenceAcceleratorHealth 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:status:ElasticInferenceAcceleratorHealth', elasticInferenceAcceleratorHealth_status - The health status of the Elastic Inference Accelerator.
elasticInferenceAcceleratorHealth_status :: Lens' ElasticInferenceAcceleratorHealth (Maybe Text) Source #
The health status of the Elastic Inference Accelerator.
Filter
A filter expression for the Elastic Inference Accelerator list.
See: newFilter smart constructor.
Constructors
| Filter' | |
Fields
| |
Instances
| ToJSON Filter Source # | |
Defined in Amazonka.ElasticInference.Types.Filter | |
| Generic Filter Source # | |
| Read Filter Source # | |
| Show Filter Source # | |
| NFData Filter Source # | |
Defined in Amazonka.ElasticInference.Types.Filter | |
| Eq Filter Source # | |
| Hashable Filter Source # | |
Defined in Amazonka.ElasticInference.Types.Filter | |
| type Rep Filter Source # | |
Defined in Amazonka.ElasticInference.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.ElasticInference.Types.Filter" "amazonka-elastic-inference-2.0-EVwiTwsUv1aItx1WMiarH5" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) | |
Create a value of Filter 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:name:Filter', filter_name - The filter name for the Elastic Inference Accelerator list. It can
assume the following values: accelerator-type: the type of Elastic
Inference Accelerator to filter for. instance-id: an EC2 instance id to
filter for.
$sel:values:Filter', filter_values - The values for the filter of the Elastic Inference Accelerator list.
filter_name :: Lens' Filter (Maybe Text) Source #
The filter name for the Elastic Inference Accelerator list. It can assume the following values: accelerator-type: the type of Elastic Inference Accelerator to filter for. instance-id: an EC2 instance id to filter for.
filter_values :: Lens' Filter (Maybe [Text]) Source #
The values for the filter of the Elastic Inference Accelerator list.
KeyValuePair
data KeyValuePair Source #
A throughput entry for an Elastic Inference Accelerator type.
See: newKeyValuePair smart constructor.
Constructors
| KeyValuePair' | |
Fields
| |
Instances
newKeyValuePair :: KeyValuePair Source #
Create a value of KeyValuePair 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:key:KeyValuePair', keyValuePair_key - The throughput value of the Elastic Inference Accelerator type. It can
assume the following values: TFLOPS16bit: the throughput expressed in
16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit
TeraFLOPS.
$sel:value:KeyValuePair', keyValuePair_value - The throughput value of the Elastic Inference Accelerator type.
keyValuePair_key :: Lens' KeyValuePair (Maybe Text) Source #
The throughput value of the Elastic Inference Accelerator type. It can assume the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS. TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
keyValuePair_value :: Lens' KeyValuePair (Maybe Int) Source #
The throughput value of the Elastic Inference Accelerator type.
MemoryInfo
data MemoryInfo Source #
The memory information of an Elastic Inference Accelerator type.
See: newMemoryInfo smart constructor.
Constructors
| MemoryInfo' | |
Instances
newMemoryInfo :: MemoryInfo Source #
Create a value of MemoryInfo 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:sizeInMiB:MemoryInfo', memoryInfo_sizeInMiB - The size in mebibytes of the Elastic Inference Accelerator type.
memoryInfo_sizeInMiB :: Lens' MemoryInfo (Maybe Int) Source #
The size in mebibytes of the Elastic Inference Accelerator type.