| 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.PrivateNetworks.GetDeviceIdentifier
Description
Gets the specified device identifier.
Synopsis
- data GetDeviceIdentifier = GetDeviceIdentifier' {}
- newGetDeviceIdentifier :: Text -> GetDeviceIdentifier
- getDeviceIdentifier_deviceIdentifierArn :: Lens' GetDeviceIdentifier Text
- data GetDeviceIdentifierResponse = GetDeviceIdentifierResponse' {
- deviceIdentifier :: Maybe DeviceIdentifier
- tags :: Maybe (Sensitive (HashMap Text Text))
- httpStatus :: Int
- newGetDeviceIdentifierResponse :: Int -> GetDeviceIdentifierResponse
- getDeviceIdentifierResponse_deviceIdentifier :: Lens' GetDeviceIdentifierResponse (Maybe DeviceIdentifier)
- getDeviceIdentifierResponse_tags :: Lens' GetDeviceIdentifierResponse (Maybe (HashMap Text Text))
- getDeviceIdentifierResponse_httpStatus :: Lens' GetDeviceIdentifierResponse Int
Creating a Request
data GetDeviceIdentifier Source #
See: newGetDeviceIdentifier smart constructor.
Constructors
| GetDeviceIdentifier' | |
Fields
| |
Instances
newGetDeviceIdentifier Source #
Arguments
| :: Text | |
| -> GetDeviceIdentifier |
Create a value of GetDeviceIdentifier 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:
GetDeviceIdentifier, getDeviceIdentifier_deviceIdentifierArn - The Amazon Resource Name (ARN) of the device identifier.
Request Lenses
getDeviceIdentifier_deviceIdentifierArn :: Lens' GetDeviceIdentifier Text Source #
The Amazon Resource Name (ARN) of the device identifier.
Destructuring the Response
data GetDeviceIdentifierResponse Source #
See: newGetDeviceIdentifierResponse smart constructor.
Constructors
| GetDeviceIdentifierResponse' | |
Fields
| |
Instances
newGetDeviceIdentifierResponse Source #
Create a value of GetDeviceIdentifierResponse 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:deviceIdentifier:GetDeviceIdentifierResponse', getDeviceIdentifierResponse_deviceIdentifier - Information about the device identifier.
GetDeviceIdentifierResponse, getDeviceIdentifierResponse_tags - The device identifier tags.
$sel:httpStatus:GetDeviceIdentifierResponse', getDeviceIdentifierResponse_httpStatus - The response's http status code.
Response Lenses
getDeviceIdentifierResponse_deviceIdentifier :: Lens' GetDeviceIdentifierResponse (Maybe DeviceIdentifier) Source #
Information about the device identifier.
getDeviceIdentifierResponse_tags :: Lens' GetDeviceIdentifierResponse (Maybe (HashMap Text Text)) Source #
The device identifier tags.
getDeviceIdentifierResponse_httpStatus :: Lens' GetDeviceIdentifierResponse Int Source #
The response's http status code.