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 |
Describes the specified attribute of the specified Amazon FPGA Image (AFI).
Synopsis
- data DescribeFpgaImageAttribute = DescribeFpgaImageAttribute' {}
- newDescribeFpgaImageAttribute :: Text -> FpgaImageAttributeName -> DescribeFpgaImageAttribute
- describeFpgaImageAttribute_dryRun :: Lens' DescribeFpgaImageAttribute (Maybe Bool)
- describeFpgaImageAttribute_fpgaImageId :: Lens' DescribeFpgaImageAttribute Text
- describeFpgaImageAttribute_attribute :: Lens' DescribeFpgaImageAttribute FpgaImageAttributeName
- data DescribeFpgaImageAttributeResponse = DescribeFpgaImageAttributeResponse' {}
- newDescribeFpgaImageAttributeResponse :: Int -> DescribeFpgaImageAttributeResponse
- describeFpgaImageAttributeResponse_fpgaImageAttribute :: Lens' DescribeFpgaImageAttributeResponse (Maybe FpgaImageAttribute)
- describeFpgaImageAttributeResponse_httpStatus :: Lens' DescribeFpgaImageAttributeResponse Int
Creating a Request
data DescribeFpgaImageAttribute Source #
See: newDescribeFpgaImageAttribute
smart constructor.
DescribeFpgaImageAttribute' | |
|
Instances
newDescribeFpgaImageAttribute Source #
Create a value of DescribeFpgaImageAttribute
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:dryRun:DescribeFpgaImageAttribute'
, describeFpgaImageAttribute_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
DescribeFpgaImageAttribute
, describeFpgaImageAttribute_fpgaImageId
- The ID of the AFI.
$sel:attribute:DescribeFpgaImageAttribute'
, describeFpgaImageAttribute_attribute
- The AFI attribute.
Request Lenses
describeFpgaImageAttribute_dryRun :: Lens' DescribeFpgaImageAttribute (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeFpgaImageAttribute_fpgaImageId :: Lens' DescribeFpgaImageAttribute Text Source #
The ID of the AFI.
describeFpgaImageAttribute_attribute :: Lens' DescribeFpgaImageAttribute FpgaImageAttributeName Source #
The AFI attribute.
Destructuring the Response
data DescribeFpgaImageAttributeResponse Source #
See: newDescribeFpgaImageAttributeResponse
smart constructor.
DescribeFpgaImageAttributeResponse' | |
|
Instances
Generic DescribeFpgaImageAttributeResponse Source # | |
Read DescribeFpgaImageAttributeResponse Source # | |
Show DescribeFpgaImageAttributeResponse Source # | |
NFData DescribeFpgaImageAttributeResponse Source # | |
Defined in Amazonka.EC2.DescribeFpgaImageAttribute rnf :: DescribeFpgaImageAttributeResponse -> () # | |
Eq DescribeFpgaImageAttributeResponse Source # | |
type Rep DescribeFpgaImageAttributeResponse Source # | |
Defined in Amazonka.EC2.DescribeFpgaImageAttribute type Rep DescribeFpgaImageAttributeResponse = D1 ('MetaData "DescribeFpgaImageAttributeResponse" "Amazonka.EC2.DescribeFpgaImageAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeFpgaImageAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fpgaImageAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FpgaImageAttribute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeFpgaImageAttributeResponse Source #
Create a value of DescribeFpgaImageAttributeResponse
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:fpgaImageAttribute:DescribeFpgaImageAttributeResponse'
, describeFpgaImageAttributeResponse_fpgaImageAttribute
- Information about the attribute.
$sel:httpStatus:DescribeFpgaImageAttributeResponse'
, describeFpgaImageAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
describeFpgaImageAttributeResponse_fpgaImageAttribute :: Lens' DescribeFpgaImageAttributeResponse (Maybe FpgaImageAttribute) Source #
Information about the attribute.
describeFpgaImageAttributeResponse_httpStatus :: Lens' DescribeFpgaImageAttributeResponse Int Source #
The response's http status code.