Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data XRaySegment = XRaySegment {
- _xraySegmentName :: !Text
- _xraySegmentId :: !XRaySegmentId
- _xraySegmentTraceId :: !(Maybe XRayTraceId)
- _xraySegmentStartTime :: !POSIXTime
- _xraySegmentEndTime :: !(Maybe POSIXTime)
- _xraySegmentInProgress :: !(Maybe Bool)
- _xraySegmentParentId :: !(Maybe XRaySegmentId)
- _xraySegmentType :: !(Maybe Text)
- _xraySegmentOrigin :: !(Maybe Text)
- _xraySegmentUser :: !(Maybe Text)
- _xraySegmentNamespace :: !(Maybe Text)
- _xraySegmentService :: !(Maybe XRaySegmentService)
- _xraySegmentError :: !(Maybe Bool)
- _xraySegmentThrottle :: !(Maybe Bool)
- _xraySegmentFault :: !(Maybe Bool)
- _xraySegmentCause :: !(Maybe Value)
- _xraySegmentHttp :: !(Maybe XRaySegmentHttp)
- _xraySegmentAnnotations :: !(Maybe Object)
- _xraySegmentMetadata :: !(Maybe Object)
- _xraySegmentSubsegments :: !(Maybe [XRaySegment])
- _xraySegmentAws :: !(Maybe XRaySegmentAws)
- _xraySegmentSql :: !(Maybe XRaySegmentSql)
- xraySegment :: Text -> XRaySegmentId -> XRayTraceId -> POSIXTime -> Maybe POSIXTime -> XRaySegment
- xraySubsegment :: Text -> XRaySegmentId -> POSIXTime -> Maybe POSIXTime -> XRaySegment
- xrayIndependentSubsegment :: Text -> XRaySegmentId -> XRayTraceId -> POSIXTime -> Maybe POSIXTime -> XRaySegmentId -> XRaySegment
- xraySegmentName :: Lens' XRaySegment Text
- xraySegmentId :: Lens' XRaySegment XRaySegmentId
- xraySegmentTraceId :: Lens' XRaySegment (Maybe XRayTraceId)
- xraySegmentStartTime :: Lens' XRaySegment POSIXTime
- xraySegmentEndTime :: Lens' XRaySegment (Maybe POSIXTime)
- xraySegmentInProgress :: Lens' XRaySegment (Maybe Bool)
- xraySegmentParentId :: Lens' XRaySegment (Maybe XRaySegmentId)
- xraySegmentType :: Lens' XRaySegment (Maybe Text)
- xraySegmentOrigin :: Lens' XRaySegment (Maybe Text)
- xraySegmentUser :: Lens' XRaySegment (Maybe Text)
- xraySegmentNamespace :: Lens' XRaySegment (Maybe Text)
- xraySegmentService :: Lens' XRaySegment (Maybe XRaySegmentService)
- xraySegmentError :: Lens' XRaySegment (Maybe Bool)
- xraySegmentThrottle :: Lens' XRaySegment (Maybe Bool)
- xraySegmentFault :: Lens' XRaySegment (Maybe Bool)
- xraySegmentCause :: Lens' XRaySegment (Maybe Value)
- xraySegmentHttp :: Lens' XRaySegment (Maybe XRaySegmentHttp)
- xraySegmentAnnotations :: Lens' XRaySegment (Maybe Object)
- xraySegmentMetadata :: Lens' XRaySegment (Maybe Object)
- xraySegmentSubsegments :: Lens' XRaySegment (Maybe [XRaySegment])
- xraySegmentAws :: Lens' XRaySegment (Maybe XRaySegmentAws)
- xraySegmentSql :: Lens' XRaySegment (Maybe XRaySegmentSql)
- newtype XRaySegmentService = XRaySegmentService {}
- xraySegmentServiceVersion :: Iso' XRaySegmentService Text
- data XRaySegmentHttp = XRaySegmentHttp {}
- xraySegmentHttpDef :: XRaySegmentHttp
- xraySegmentHttpRequest :: Lens' XRaySegmentHttp (Maybe XRaySegmentHttpRequest)
- xraySegmentHttpResponse :: Lens' XRaySegmentHttp (Maybe XRaySegmentHttpResponse)
- data XRaySegmentHttpRequest = XRaySegmentHttpRequest {}
- xraySegmentHttpRequestDef :: XRaySegmentHttpRequest
- xraySegmentHttpRequestMethod :: Lens' XRaySegmentHttpRequest (Maybe Text)
- xraySegmentHttpRequestUrl :: Lens' XRaySegmentHttpRequest (Maybe Text)
- xraySegmentHttpRequestUserAgent :: Lens' XRaySegmentHttpRequest (Maybe Text)
- xraySegmentHttpRequestClientIp :: Lens' XRaySegmentHttpRequest (Maybe Text)
- xraySegmentHttpRequestXForwardedFor :: Lens' XRaySegmentHttpRequest (Maybe Bool)
- xraySegmentHttpRequestTraced :: Lens' XRaySegmentHttpRequest (Maybe Bool)
- data XRaySegmentHttpResponse = XRaySegmentHttpResponse {}
- xraySegmentHttpResponseDef :: XRaySegmentHttpResponse
- xraySegmentHttpResponseStatus :: Lens' XRaySegmentHttpResponse (Maybe Int)
- xraySegmentHttpResponseContentLength :: Lens' XRaySegmentHttpResponse (Maybe Int)
- data XRaySegmentAws = XRaySegmentAws {
- _xraySegmentAwsAccountId :: !(Maybe Text)
- _xraySegmentAwsEcs :: !(Maybe XRaySegmentAwsEcs)
- _xraySegmentAwsEc2 :: !(Maybe XRaySegmentAwsEc2)
- _xraySegmentAwsElasticBeanstalk :: !(Maybe XRaySegmentAwsElasticBeanstalk)
- _xraySegmentAwsOperation :: !(Maybe Text)
- _xraySegmentAwsRegion :: !(Maybe Text)
- _xraySegmentAwsRequestId :: !(Maybe Text)
- _xraySegmentAwsQueueUrl :: !(Maybe Text)
- _xraySegmentAwsTableName :: !(Maybe Text)
- xraySegmentAwsDef :: XRaySegmentAws
- xraySegmentAwsAccountId :: Lens' XRaySegmentAws (Maybe Text)
- xraySegmentAwsEcs :: Lens' XRaySegmentAws (Maybe XRaySegmentAwsEcs)
- xraySegmentAwsEc2 :: Lens' XRaySegmentAws (Maybe XRaySegmentAwsEc2)
- xraySegmentAwsElasticBeanstalk :: Lens' XRaySegmentAws (Maybe XRaySegmentAwsElasticBeanstalk)
- xraySegmentAwsOperation :: Lens' XRaySegmentAws (Maybe Text)
- xraySegmentAwsRegion :: Lens' XRaySegmentAws (Maybe Text)
- xraySegmentAwsRequestId :: Lens' XRaySegmentAws (Maybe Text)
- xraySegmentAwsQueueUrl :: Lens' XRaySegmentAws (Maybe Text)
- xraySegmentAwsTableName :: Lens' XRaySegmentAws (Maybe Text)
- newtype XRaySegmentAwsEcs = XRaySegmentAwsEcs {}
- xraySegmentAwsEcsDef :: XRaySegmentAwsEcs
- xraySegmentAwsEcsContainer :: Iso' XRaySegmentAwsEcs (Maybe Text)
- data XRaySegmentAwsEc2 = XRaySegmentAwsEc2 {}
- xraySegmentAwsEc2Def :: XRaySegmentAwsEc2
- xraySegmentAwsEc2InstanceId :: Lens' XRaySegmentAwsEc2 (Maybe Text)
- xraySegmentAwsEc2AvailabilityZone :: Lens' XRaySegmentAwsEc2 (Maybe Text)
- data XRaySegmentAwsElasticBeanstalk = XRaySegmentAwsElasticBeanstalk {}
- xraySegmentAwsElasticBeanstalkDef :: XRaySegmentAwsElasticBeanstalk
- xraySegmentAwsElasticBeanstalkEnvironmentName :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Text)
- xraySegmentAwsElasticBeanstalkVersionLabel :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Text)
- xraySegmentAwsElasticBeanstalkDeploymentId :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Int)
- data XRaySegmentSql = XRaySegmentSql {
- _xraySegmentSqlConnectionString :: !(Maybe Text)
- _xraySegmentSqlUrl :: !(Maybe Text)
- _xraySegmentSqlSanitizedQuery :: !(Maybe Text)
- _xraySegmentSqlDatabaseType :: !(Maybe Text)
- _xraySegmentSqlDatabaseVersion :: !(Maybe Text)
- _xraySegmentSqlDriverVersion :: !(Maybe Text)
- _xraySegmentSqlUser :: !(Maybe Text)
- _xraySegmentSqlPreparation :: !(Maybe Text)
- xraySegmentSqlDef :: XRaySegmentSql
- xraySegmentSqlConnectionString :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlUrl :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlSanitizedQuery :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlDatabaseType :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlDatabaseVersion :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlDriverVersion :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlUser :: Lens' XRaySegmentSql (Maybe Text)
- xraySegmentSqlPreparation :: Lens' XRaySegmentSql (Maybe Text)
Segment
data XRaySegment Source #
Represents an entire X-Ray Segment document. See http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-fields
XRaySegment | |
|
Instances
Eq XRaySegment Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegment -> XRaySegment -> Bool # (/=) :: XRaySegment -> XRaySegment -> Bool # | |
Show XRaySegment Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegment -> ShowS # show :: XRaySegment -> String # showList :: [XRaySegment] -> ShowS # | |
ToJSON XRaySegment Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegment -> Value # toEncoding :: XRaySegment -> Encoding # toJSONList :: [XRaySegment] -> Value # toEncodingList :: [XRaySegment] -> Encoding # | |
FromJSON XRaySegment Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegment # parseJSONList :: Value -> Parser [XRaySegment] # |
:: Text | name |
-> XRaySegmentId | id |
-> XRayTraceId | trace_id |
-> POSIXTime | start_time |
-> Maybe POSIXTime | end_time |
-> XRaySegment |
Smart constructor for XRaySegment
with all the required fields.
Note that in XRaySegment
, end_time
and in_progress
are mutually
exclusive. If your end_time
is Nothing
, then in_progress
will be set
to True
.
:: Text | name |
-> XRaySegmentId | id |
-> POSIXTime | start_time |
-> Maybe POSIXTime | end_time |
-> XRaySegment |
An XRaySegment
meant to be used as an embedded subsegment in another
XRaySegment
.
xrayIndependentSubsegment Source #
:: Text | name |
-> XRaySegmentId | id |
-> XRayTraceId | trace_id |
-> POSIXTime | start_time |
-> Maybe POSIXTime | end_time |
-> XRaySegmentId | parent_id |
-> XRaySegment |
Smart constructor for an independent subsegment. Includes additional required fields.
newtype XRaySegmentService Source #
Type for the service
field of a segment document.
XRaySegmentService | |
|
Instances
Eq XRaySegmentService Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentService -> XRaySegmentService -> Bool # (/=) :: XRaySegmentService -> XRaySegmentService -> Bool # | |
Show XRaySegmentService Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentService -> ShowS # show :: XRaySegmentService -> String # showList :: [XRaySegmentService] -> ShowS # | |
ToJSON XRaySegmentService Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentService -> Value # toEncoding :: XRaySegmentService -> Encoding # toJSONList :: [XRaySegmentService] -> Value # toEncodingList :: [XRaySegmentService] -> Encoding # | |
FromJSON XRaySegmentService Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentService # parseJSONList :: Value -> Parser [XRaySegmentService] # |
HTTP
data XRaySegmentHttp Source #
Instances
Eq XRaySegmentHttp Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentHttp -> XRaySegmentHttp -> Bool # (/=) :: XRaySegmentHttp -> XRaySegmentHttp -> Bool # | |
Show XRaySegmentHttp Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentHttp -> ShowS # show :: XRaySegmentHttp -> String # showList :: [XRaySegmentHttp] -> ShowS # | |
ToJSON XRaySegmentHttp Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentHttp -> Value # toEncoding :: XRaySegmentHttp -> Encoding # toJSONList :: [XRaySegmentHttp] -> Value # toEncodingList :: [XRaySegmentHttp] -> Encoding # | |
FromJSON XRaySegmentHttp Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentHttp # parseJSONList :: Value -> Parser [XRaySegmentHttp] # |
xraySegmentHttpDef :: XRaySegmentHttp Source #
Constructor for XRaySegmentHttp
with fields initialized to Nothing
.
data XRaySegmentHttpRequest Source #
XRaySegmentHttpRequest | |
|
Instances
Eq XRaySegmentHttpRequest Source # | |
Defined in Network.AWS.XRayClient.Segment | |
Show XRaySegmentHttpRequest Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentHttpRequest -> ShowS # show :: XRaySegmentHttpRequest -> String # showList :: [XRaySegmentHttpRequest] -> ShowS # | |
ToJSON XRaySegmentHttpRequest Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentHttpRequest -> Value # toEncoding :: XRaySegmentHttpRequest -> Encoding # toJSONList :: [XRaySegmentHttpRequest] -> Value # | |
FromJSON XRaySegmentHttpRequest Source # | |
Defined in Network.AWS.XRayClient.Segment |
xraySegmentHttpRequestDef :: XRaySegmentHttpRequest Source #
Constructor for XRaySegmentHttpRequest
with fields initialized to Nothing
.
data XRaySegmentHttpResponse Source #
XRaySegmentHttpResponse | |
|
Instances
Eq XRaySegmentHttpResponse Source # | |
Defined in Network.AWS.XRayClient.Segment | |
Show XRaySegmentHttpResponse Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentHttpResponse -> ShowS # show :: XRaySegmentHttpResponse -> String # showList :: [XRaySegmentHttpResponse] -> ShowS # | |
ToJSON XRaySegmentHttpResponse Source # | |
Defined in Network.AWS.XRayClient.Segment | |
FromJSON XRaySegmentHttpResponse Source # | |
Defined in Network.AWS.XRayClient.Segment |
xraySegmentHttpResponseDef :: XRaySegmentHttpResponse Source #
Constructor for XRaySegmentHttpResponse
with fields initialized to Nothing
.
AWS Resource Data
data XRaySegmentAws Source #
Type for the aws
field in a segment. See
http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-aws
NOTE: Please see the documentation for what fields are allowed in a segment versus a subsegment.
XRaySegmentAws | |
|
Instances
Eq XRaySegmentAws Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentAws -> XRaySegmentAws -> Bool # (/=) :: XRaySegmentAws -> XRaySegmentAws -> Bool # | |
Show XRaySegmentAws Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentAws -> ShowS # show :: XRaySegmentAws -> String # showList :: [XRaySegmentAws] -> ShowS # | |
ToJSON XRaySegmentAws Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentAws -> Value # toEncoding :: XRaySegmentAws -> Encoding # toJSONList :: [XRaySegmentAws] -> Value # toEncodingList :: [XRaySegmentAws] -> Encoding # | |
FromJSON XRaySegmentAws Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentAws # parseJSONList :: Value -> Parser [XRaySegmentAws] # |
xraySegmentAwsDef :: XRaySegmentAws Source #
Constructor for XRaySegmentAws
with fields initialized to Nothing
.
xraySegmentAwsElasticBeanstalk :: Lens' XRaySegmentAws (Maybe XRaySegmentAwsElasticBeanstalk) Source #
newtype XRaySegmentAwsEcs Source #
XRaySegmentAwsEcs | |
|
Instances
Eq XRaySegmentAwsEcs Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentAwsEcs -> XRaySegmentAwsEcs -> Bool # (/=) :: XRaySegmentAwsEcs -> XRaySegmentAwsEcs -> Bool # | |
Show XRaySegmentAwsEcs Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentAwsEcs -> ShowS # show :: XRaySegmentAwsEcs -> String # showList :: [XRaySegmentAwsEcs] -> ShowS # | |
ToJSON XRaySegmentAwsEcs Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentAwsEcs -> Value # toEncoding :: XRaySegmentAwsEcs -> Encoding # toJSONList :: [XRaySegmentAwsEcs] -> Value # toEncodingList :: [XRaySegmentAwsEcs] -> Encoding # | |
FromJSON XRaySegmentAwsEcs Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentAwsEcs # parseJSONList :: Value -> Parser [XRaySegmentAwsEcs] # |
xraySegmentAwsEcsDef :: XRaySegmentAwsEcs Source #
Constructor for XRaySegmentAwsEcs
with fields initialized to Nothing
.
data XRaySegmentAwsEc2 Source #
XRaySegmentAwsEc2 | |
|
Instances
Eq XRaySegmentAwsEc2 Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentAwsEc2 -> XRaySegmentAwsEc2 -> Bool # (/=) :: XRaySegmentAwsEc2 -> XRaySegmentAwsEc2 -> Bool # | |
Show XRaySegmentAwsEc2 Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentAwsEc2 -> ShowS # show :: XRaySegmentAwsEc2 -> String # showList :: [XRaySegmentAwsEc2] -> ShowS # | |
ToJSON XRaySegmentAwsEc2 Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentAwsEc2 -> Value # toEncoding :: XRaySegmentAwsEc2 -> Encoding # toJSONList :: [XRaySegmentAwsEc2] -> Value # toEncodingList :: [XRaySegmentAwsEc2] -> Encoding # | |
FromJSON XRaySegmentAwsEc2 Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentAwsEc2 # parseJSONList :: Value -> Parser [XRaySegmentAwsEc2] # |
xraySegmentAwsEc2Def :: XRaySegmentAwsEc2 Source #
Constructor for XRaySegmentAwsEc2
with fields initialized to Nothing
.
data XRaySegmentAwsElasticBeanstalk Source #
XRaySegmentAwsElasticBeanstalk | |
|
xraySegmentAwsElasticBeanstalkDef :: XRaySegmentAwsElasticBeanstalk Source #
Constructor for XRaySegmentAwsElasticBeanstalk
with fields initialized
to Nothing
.
xraySegmentAwsElasticBeanstalkEnvironmentName :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Text) Source #
xraySegmentAwsElasticBeanstalkVersionLabel :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Text) Source #
xraySegmentAwsElasticBeanstalkDeploymentId :: Lens' XRaySegmentAwsElasticBeanstalk (Maybe Int) Source #
SQL
data XRaySegmentSql Source #
XRaySegmentSql | |
|
Instances
Eq XRaySegmentSql Source # | |
Defined in Network.AWS.XRayClient.Segment (==) :: XRaySegmentSql -> XRaySegmentSql -> Bool # (/=) :: XRaySegmentSql -> XRaySegmentSql -> Bool # | |
Show XRaySegmentSql Source # | |
Defined in Network.AWS.XRayClient.Segment showsPrec :: Int -> XRaySegmentSql -> ShowS # show :: XRaySegmentSql -> String # showList :: [XRaySegmentSql] -> ShowS # | |
ToJSON XRaySegmentSql Source # | |
Defined in Network.AWS.XRayClient.Segment toJSON :: XRaySegmentSql -> Value # toEncoding :: XRaySegmentSql -> Encoding # toJSONList :: [XRaySegmentSql] -> Value # toEncodingList :: [XRaySegmentSql] -> Encoding # | |
FromJSON XRaySegmentSql Source # | |
Defined in Network.AWS.XRayClient.Segment parseJSON :: Value -> Parser XRaySegmentSql # parseJSONList :: Value -> Parser [XRaySegmentSql] # |
xraySegmentSqlDef :: XRaySegmentSql Source #
Constructor for XRaySegmentSql
with fields initialized to Nothing
.