cdk-stepfunctions-patterns
Version:
A set of Step Functions high-level patterns.
1,315 lines • 31.7 kB
JSON
{
"version": "2.0",
"metadata": {
"apiVersion": "2016-04-12",
"endpointPrefix": "xray",
"protocol": "rest-json",
"serviceFullName": "AWS X-Ray",
"serviceId": "XRay",
"signatureVersion": "v4",
"uid": "xray-2016-04-12"
},
"operations": {
"BatchGetTraces": {
"http": {
"requestUri": "/Traces"
},
"input": {
"type": "structure",
"required": [
"TraceIds"
],
"members": {
"TraceIds": {
"shape": "S2"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"Traces": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Id": {},
"Duration": {
"type": "double"
},
"Segments": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Id": {},
"Document": {}
}
}
}
}
}
},
"UnprocessedTraceIds": {
"type": "list",
"member": {}
},
"NextToken": {}
}
}
},
"CreateGroup": {
"http": {
"requestUri": "/CreateGroup"
},
"input": {
"type": "structure",
"required": [
"GroupName"
],
"members": {
"GroupName": {},
"FilterExpression": {},
"Tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"members": {
"Group": {
"shape": "Sm"
}
}
}
},
"CreateSamplingRule": {
"http": {
"requestUri": "/CreateSamplingRule"
},
"input": {
"type": "structure",
"required": [
"SamplingRule"
],
"members": {
"SamplingRule": {
"shape": "So"
},
"Tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"members": {
"SamplingRuleRecord": {
"shape": "S14"
}
}
}
},
"DeleteGroup": {
"http": {
"requestUri": "/DeleteGroup"
},
"input": {
"type": "structure",
"members": {
"GroupName": {},
"GroupARN": {}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"DeleteSamplingRule": {
"http": {
"requestUri": "/DeleteSamplingRule"
},
"input": {
"type": "structure",
"members": {
"RuleName": {},
"RuleARN": {}
}
},
"output": {
"type": "structure",
"members": {
"SamplingRuleRecord": {
"shape": "S14"
}
}
}
},
"GetEncryptionConfig": {
"http": {
"requestUri": "/EncryptionConfig"
},
"input": {
"type": "structure",
"members": {}
},
"output": {
"type": "structure",
"members": {
"EncryptionConfig": {
"shape": "S1d"
}
}
}
},
"GetGroup": {
"http": {
"requestUri": "/GetGroup"
},
"input": {
"type": "structure",
"members": {
"GroupName": {},
"GroupARN": {}
}
},
"output": {
"type": "structure",
"members": {
"Group": {
"shape": "Sm"
}
}
}
},
"GetGroups": {
"http": {
"requestUri": "/Groups"
},
"input": {
"type": "structure",
"members": {
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"Groups": {
"type": "list",
"member": {
"type": "structure",
"members": {
"GroupName": {},
"GroupARN": {},
"FilterExpression": {}
}
}
},
"NextToken": {}
}
}
},
"GetSamplingRules": {
"http": {
"requestUri": "/GetSamplingRules"
},
"input": {
"type": "structure",
"members": {
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"SamplingRuleRecords": {
"type": "list",
"member": {
"shape": "S14"
}
},
"NextToken": {}
}
}
},
"GetSamplingStatisticSummaries": {
"http": {
"requestUri": "/SamplingStatisticSummaries"
},
"input": {
"type": "structure",
"members": {
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"SamplingStatisticSummaries": {
"type": "list",
"member": {
"type": "structure",
"members": {
"RuleName": {},
"Timestamp": {
"type": "timestamp"
},
"RequestCount": {
"type": "integer"
},
"BorrowCount": {
"type": "integer"
},
"SampledCount": {
"type": "integer"
}
}
}
},
"NextToken": {}
}
}
},
"GetSamplingTargets": {
"http": {
"requestUri": "/SamplingTargets"
},
"input": {
"type": "structure",
"required": [
"SamplingStatisticsDocuments"
],
"members": {
"SamplingStatisticsDocuments": {
"type": "list",
"member": {
"type": "structure",
"required": [
"RuleName",
"ClientID",
"Timestamp",
"RequestCount",
"SampledCount"
],
"members": {
"RuleName": {},
"ClientID": {},
"Timestamp": {
"type": "timestamp"
},
"RequestCount": {
"type": "integer"
},
"SampledCount": {
"type": "integer"
},
"BorrowCount": {
"type": "integer"
}
}
}
}
}
},
"output": {
"type": "structure",
"members": {
"SamplingTargetDocuments": {
"type": "list",
"member": {
"type": "structure",
"members": {
"RuleName": {},
"FixedRate": {
"type": "double"
},
"ReservoirQuota": {
"type": "integer"
},
"ReservoirQuotaTTL": {
"type": "timestamp"
},
"Interval": {
"type": "integer"
}
}
}
},
"LastRuleModification": {
"type": "timestamp"
},
"UnprocessedStatistics": {
"type": "list",
"member": {
"type": "structure",
"members": {
"RuleName": {},
"ErrorCode": {},
"Message": {}
}
}
}
}
}
},
"GetServiceGraph": {
"http": {
"requestUri": "/ServiceGraph"
},
"input": {
"type": "structure",
"required": [
"StartTime",
"EndTime"
],
"members": {
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"GroupName": {},
"GroupARN": {},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"Services": {
"shape": "S2b"
},
"ContainsOldGroupVersions": {
"type": "boolean"
},
"NextToken": {}
}
}
},
"GetTimeSeriesServiceStatistics": {
"http": {
"requestUri": "/TimeSeriesServiceStatistics"
},
"input": {
"type": "structure",
"required": [
"StartTime",
"EndTime"
],
"members": {
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"GroupName": {},
"GroupARN": {},
"EntitySelectorExpression": {},
"Period": {
"type": "integer"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"TimeSeriesServiceStatistics": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Timestamp": {
"type": "timestamp"
},
"EdgeSummaryStatistics": {
"shape": "S2h"
},
"ServiceSummaryStatistics": {
"shape": "S2q"
},
"ResponseTimeHistogram": {
"shape": "S2l"
}
}
}
},
"ContainsOldGroupVersions": {
"type": "boolean"
},
"NextToken": {}
}
}
},
"GetTraceGraph": {
"http": {
"requestUri": "/TraceGraph"
},
"input": {
"type": "structure",
"required": [
"TraceIds"
],
"members": {
"TraceIds": {
"shape": "S2"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"Services": {
"shape": "S2b"
},
"NextToken": {}
}
}
},
"GetTraceSummaries": {
"http": {
"requestUri": "/TraceSummaries"
},
"input": {
"type": "structure",
"required": [
"StartTime",
"EndTime"
],
"members": {
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"TimeRangeType": {},
"Sampling": {
"type": "boolean"
},
"SamplingStrategy": {
"type": "structure",
"members": {
"Name": {},
"Value": {
"type": "double"
}
}
},
"FilterExpression": {},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"TraceSummaries": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Id": {},
"Duration": {
"type": "double"
},
"ResponseTime": {
"type": "double"
},
"HasFault": {
"type": "boolean"
},
"HasError": {
"type": "boolean"
},
"HasThrottle": {
"type": "boolean"
},
"IsPartial": {
"type": "boolean"
},
"Http": {
"type": "structure",
"members": {
"HttpURL": {},
"HttpStatus": {
"type": "integer"
},
"HttpMethod": {},
"UserAgent": {},
"ClientIp": {}
}
},
"Annotations": {
"type": "map",
"key": {},
"value": {
"type": "list",
"member": {
"type": "structure",
"members": {
"AnnotationValue": {
"type": "structure",
"members": {
"NumberValue": {
"type": "double"
},
"BooleanValue": {
"type": "boolean"
},
"StringValue": {}
}
},
"ServiceIds": {
"shape": "S3c"
}
}
}
}
},
"Users": {
"type": "list",
"member": {
"type": "structure",
"members": {
"UserName": {},
"ServiceIds": {
"shape": "S3c"
}
}
}
},
"ServiceIds": {
"shape": "S3c"
},
"ResourceARNs": {
"type": "list",
"member": {
"type": "structure",
"members": {
"ARN": {}
}
}
},
"InstanceIds": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Id": {}
}
}
},
"AvailabilityZones": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {}
}
}
},
"EntryPoint": {
"shape": "S3d"
},
"FaultRootCauses": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Services": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Names": {
"shape": "S2d"
},
"Type": {},
"AccountId": {},
"EntityPath": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Exceptions": {
"shape": "S3s"
},
"Remote": {
"type": "boolean"
}
}
}
},
"Inferred": {
"type": "boolean"
}
}
}
},
"ClientImpacting": {
"type": "boolean"
}
}
}
},
"ErrorRootCauses": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Services": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Names": {
"shape": "S2d"
},
"Type": {},
"AccountId": {},
"EntityPath": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Exceptions": {
"shape": "S3s"
},
"Remote": {
"type": "boolean"
}
}
}
},
"Inferred": {
"type": "boolean"
}
}
}
},
"ClientImpacting": {
"type": "boolean"
}
}
}
},
"ResponseTimeRootCauses": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Services": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Names": {
"shape": "S2d"
},
"Type": {},
"AccountId": {},
"EntityPath": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Coverage": {
"type": "double"
},
"Remote": {
"type": "boolean"
}
}
}
},
"Inferred": {
"type": "boolean"
}
}
}
},
"ClientImpacting": {
"type": "boolean"
}
}
}
},
"Revision": {
"type": "integer"
},
"MatchedEventTime": {
"type": "timestamp"
}
}
}
},
"ApproximateTime": {
"type": "timestamp"
},
"TracesProcessedCount": {
"type": "long"
},
"NextToken": {}
}
}
},
"ListTagsForResource": {
"http": {
"requestUri": "/ListTagsForResource"
},
"input": {
"type": "structure",
"required": [
"ResourceARN"
],
"members": {
"ResourceARN": {},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"Tags": {
"shape": "Sh"
},
"NextToken": {}
}
}
},
"PutEncryptionConfig": {
"http": {
"requestUri": "/PutEncryptionConfig"
},
"input": {
"type": "structure",
"required": [
"Type"
],
"members": {
"KeyId": {},
"Type": {}
}
},
"output": {
"type": "structure",
"members": {
"EncryptionConfig": {
"shape": "S1d"
}
}
}
},
"PutTelemetryRecords": {
"http": {
"requestUri": "/TelemetryRecords"
},
"input": {
"type": "structure",
"required": [
"TelemetryRecords"
],
"members": {
"TelemetryRecords": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Timestamp"
],
"members": {
"Timestamp": {
"type": "timestamp"
},
"SegmentsReceivedCount": {
"type": "integer"
},
"SegmentsSentCount": {
"type": "integer"
},
"SegmentsSpilloverCount": {
"type": "integer"
},
"SegmentsRejectedCount": {
"type": "integer"
},
"BackendConnectionErrors": {
"type": "structure",
"members": {
"TimeoutCount": {
"type": "integer"
},
"ConnectionRefusedCount": {
"type": "integer"
},
"HTTPCode4XXCount": {
"type": "integer"
},
"HTTPCode5XXCount": {
"type": "integer"
},
"UnknownHostCount": {
"type": "integer"
},
"OtherCount": {
"type": "integer"
}
}
}
}
}
},
"EC2InstanceId": {},
"Hostname": {},
"ResourceARN": {}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"PutTraceSegments": {
"http": {
"requestUri": "/TraceSegments"
},
"input": {
"type": "structure",
"required": [
"TraceSegmentDocuments"
],
"members": {
"TraceSegmentDocuments": {
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {
"UnprocessedTraceSegments": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Id": {},
"ErrorCode": {},
"Message": {}
}
}
}
}
}
},
"TagResource": {
"http": {
"requestUri": "/TagResource"
},
"input": {
"type": "structure",
"required": [
"ResourceARN",
"Tags"
],
"members": {
"ResourceARN": {},
"Tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UntagResource": {
"http": {
"requestUri": "/UntagResource"
},
"input": {
"type": "structure",
"required": [
"ResourceARN",
"TagKeys"
],
"members": {
"ResourceARN": {},
"TagKeys": {
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UpdateGroup": {
"http": {
"requestUri": "/UpdateGroup"
},
"input": {
"type": "structure",
"members": {
"GroupName": {},
"GroupARN": {},
"FilterExpression": {}
}
},
"output": {
"type": "structure",
"members": {
"Group": {
"shape": "Sm"
}
}
}
},
"UpdateSamplingRule": {
"http": {
"requestUri": "/UpdateSamplingRule"
},
"input": {
"type": "structure",
"required": [
"SamplingRuleUpdate"
],
"members": {
"SamplingRuleUpdate": {
"type": "structure",
"members": {
"RuleName": {},
"RuleARN": {},
"ResourceARN": {},
"Priority": {
"type": "integer"
},
"FixedRate": {
"type": "double"
},
"ReservoirSize": {
"type": "integer"
},
"Host": {},
"ServiceName": {},
"ServiceType": {},
"HTTPMethod": {},
"URLPath": {},
"Attributes": {
"shape": "S10"
}
}
}
}
},
"output": {
"type": "structure",
"members": {
"SamplingRuleRecord": {
"shape": "S14"
}
}
}
}
},
"shapes": {
"S2": {
"type": "list",
"member": {}
},
"Sh": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Key",
"Value"
],
"members": {
"Key": {},
"Value": {}
}
}
},
"Sm": {
"type": "structure",
"members": {
"GroupName": {},
"GroupARN": {},
"FilterExpression": {}
}
},
"So": {
"type": "structure",
"required": [
"ResourceARN",
"Priority",
"FixedRate",
"ReservoirSize",
"ServiceName",
"ServiceType",
"Host",
"HTTPMethod",
"URLPath",
"Version"
],
"members": {
"RuleName": {},
"RuleARN": {},
"ResourceARN": {},
"Priority": {
"type": "integer"
},
"FixedRate": {
"type": "double"
},
"ReservoirSize": {
"type": "integer"
},
"ServiceName": {},
"ServiceType": {},
"Host": {},
"HTTPMethod": {},
"URLPath": {},
"Version": {
"type": "integer"
},
"Attributes": {
"shape": "S10"
}
}
},
"S10": {
"type": "map",
"key": {},
"value": {}
},
"S14": {
"type": "structure",
"members": {
"SamplingRule": {
"shape": "So"
},
"CreatedAt": {
"type": "timestamp"
},
"ModifiedAt": {
"type": "timestamp"
}
}
},
"S1d": {
"type": "structure",
"members": {
"KeyId": {},
"Status": {},
"Type": {}
}
},
"S2b": {
"type": "list",
"member": {
"type": "structure",
"members": {
"ReferenceId": {
"type": "integer"
},
"Name": {},
"Names": {
"shape": "S2d"
},
"Root": {
"type": "boolean"
},
"AccountId": {},
"Type": {},
"State": {},
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"Edges": {
"type": "list",
"member": {
"type": "structure",
"members": {
"ReferenceId": {
"type": "integer"
},
"StartTime": {
"type": "timestamp"
},
"EndTime": {
"type": "timestamp"
},
"SummaryStatistics": {
"shape": "S2h"
},
"ResponseTimeHistogram": {
"shape": "S2l"
},
"Aliases": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Names": {
"type": "list",
"member": {}
},
"Type": {}
}
}
}
}
}
},
"SummaryStatistics": {
"shape": "S2q"
},
"DurationHistogram": {
"shape": "S2l"
},
"ResponseTimeHistogram": {
"shape": "S2l"
}
}
}
},
"S2d": {
"type": "list",
"member": {}
},
"S2h": {
"type": "structure",
"members": {
"OkCount": {
"type": "long"
},
"ErrorStatistics": {
"shape": "S2j"
},
"FaultStatistics": {
"shape": "S2k"
},
"TotalCount": {
"type": "long"
},
"TotalResponseTime": {
"type": "double"
}
}
},
"S2j": {
"type": "structure",
"members": {
"ThrottleCount": {
"type": "long"
},
"OtherCount": {
"type": "long"
},
"TotalCount": {
"type": "long"
}
}
},
"S2k": {
"type": "structure",
"members": {
"OtherCount": {
"type": "long"
},
"TotalCount": {
"type": "long"
}
}
},
"S2l": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Value": {
"type": "double"
},
"Count": {
"type": "integer"
}
}
}
},
"S2q": {
"type": "structure",
"members": {
"OkCount": {
"type": "long"
},
"ErrorStatistics": {
"shape": "S2j"
},
"FaultStatistics": {
"shape": "S2k"
},
"TotalCount": {
"type": "long"
},
"TotalResponseTime": {
"type": "double"
}
}
},
"S3c": {
"type": "list",
"member": {
"shape": "S3d"
}
},
"S3d": {
"type": "structure",
"members": {
"Name": {},
"Names": {
"shape": "S2d"
},
"AccountId": {},
"Type": {}
}
},
"S3s": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"Message": {}
}
}
}
}
}