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 |
Used by the Amazon Web Services X-Ray daemon to upload telemetry.
Synopsis
- data PutTelemetryRecords = PutTelemetryRecords' {}
- newPutTelemetryRecords :: PutTelemetryRecords
- putTelemetryRecords_hostname :: Lens' PutTelemetryRecords (Maybe Text)
- putTelemetryRecords_eC2InstanceId :: Lens' PutTelemetryRecords (Maybe Text)
- putTelemetryRecords_resourceARN :: Lens' PutTelemetryRecords (Maybe Text)
- putTelemetryRecords_telemetryRecords :: Lens' PutTelemetryRecords [TelemetryRecord]
- data PutTelemetryRecordsResponse = PutTelemetryRecordsResponse' {
- httpStatus :: Int
- newPutTelemetryRecordsResponse :: Int -> PutTelemetryRecordsResponse
- putTelemetryRecordsResponse_httpStatus :: Lens' PutTelemetryRecordsResponse Int
Creating a Request
data PutTelemetryRecords Source #
See: newPutTelemetryRecords
smart constructor.
PutTelemetryRecords' | |
|
Instances
newPutTelemetryRecords :: PutTelemetryRecords Source #
Create a value of PutTelemetryRecords
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:hostname:PutTelemetryRecords'
, putTelemetryRecords_hostname
-
$sel:eC2InstanceId:PutTelemetryRecords'
, putTelemetryRecords_eC2InstanceId
-
$sel:resourceARN:PutTelemetryRecords'
, putTelemetryRecords_resourceARN
-
$sel:telemetryRecords:PutTelemetryRecords'
, putTelemetryRecords_telemetryRecords
-
Request Lenses
Destructuring the Response
data PutTelemetryRecordsResponse Source #
See: newPutTelemetryRecordsResponse
smart constructor.
PutTelemetryRecordsResponse' | |
|
Instances
newPutTelemetryRecordsResponse Source #
Create a value of PutTelemetryRecordsResponse
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:httpStatus:PutTelemetryRecordsResponse'
, putTelemetryRecordsResponse_httpStatus
- The response's http status code.
Response Lenses
putTelemetryRecordsResponse_httpStatus :: Lens' PutTelemetryRecordsResponse Int Source #
The response's http status code.