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