| 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.FIS.GetTargetResourceType
Description
Gets information about the specified resource type.
Synopsis
- data GetTargetResourceType = GetTargetResourceType' {
- resourceType :: Text
- newGetTargetResourceType :: Text -> GetTargetResourceType
- getTargetResourceType_resourceType :: Lens' GetTargetResourceType Text
- data GetTargetResourceTypeResponse = GetTargetResourceTypeResponse' {}
- newGetTargetResourceTypeResponse :: Int -> GetTargetResourceTypeResponse
- getTargetResourceTypeResponse_targetResourceType :: Lens' GetTargetResourceTypeResponse (Maybe TargetResourceType)
- getTargetResourceTypeResponse_httpStatus :: Lens' GetTargetResourceTypeResponse Int
Creating a Request
data GetTargetResourceType Source #
See: newGetTargetResourceType smart constructor.
Constructors
| GetTargetResourceType' | |
Fields
| |
Instances
newGetTargetResourceType Source #
Arguments
| :: Text | |
| -> GetTargetResourceType |
Create a value of GetTargetResourceType 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:
GetTargetResourceType, getTargetResourceType_resourceType - The resource type.
Request Lenses
getTargetResourceType_resourceType :: Lens' GetTargetResourceType Text Source #
The resource type.
Destructuring the Response
data GetTargetResourceTypeResponse Source #
See: newGetTargetResourceTypeResponse smart constructor.
Constructors
| GetTargetResourceTypeResponse' | |
Fields
| |
Instances
newGetTargetResourceTypeResponse Source #
Create a value of GetTargetResourceTypeResponse 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:targetResourceType:GetTargetResourceTypeResponse', getTargetResourceTypeResponse_targetResourceType - Information about the resource type.
$sel:httpStatus:GetTargetResourceTypeResponse', getTargetResourceTypeResponse_httpStatus - The response's http status code.
Response Lenses
getTargetResourceTypeResponse_targetResourceType :: Lens' GetTargetResourceTypeResponse (Maybe TargetResourceType) Source #
Information about the resource type.
getTargetResourceTypeResponse_httpStatus :: Lens' GetTargetResourceTypeResponse Int Source #
The response's http status code.