Skip to content

Commit 88b6a41

Browse files
author
awstools
committed
feat(client-cloudwatch-logs): Add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 5e8b92d commit 88b6a41

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

codegen/sdk-codegen/aws-models/cloudwatch-logs.json

+32-3
Original file line numberDiff line numberDiff line change
@@ -2325,7 +2325,20 @@
23252325
"outputToken": "nextToken",
23262326
"items": "logGroups",
23272327
"pageSize": "limit"
2328-
}
2328+
},
2329+
"smithy.test#smokeTests": [
2330+
{
2331+
"id": "DescribeLogGroupsSuccess",
2332+
"params": {},
2333+
"vendorParams": {
2334+
"region": "us-west-2"
2335+
},
2336+
"vendorParamsShape": "aws.test#AwsVendorParams",
2337+
"expect": {
2338+
"success": {}
2339+
}
2340+
}
2341+
]
23292342
}
23302343
},
23312344
"com.amazonaws.cloudwatchlogs#DescribeLogGroupsRequest": {
@@ -3946,7 +3959,23 @@
39463959
"outputToken": "nextForwardToken",
39473960
"items": "events",
39483961
"pageSize": "limit"
3949-
}
3962+
},
3963+
"smithy.test#smokeTests": [
3964+
{
3965+
"id": "GetLogEventsFailure",
3966+
"params": {
3967+
"logGroupName": "fakegroup",
3968+
"logStreamName": "fakestream"
3969+
},
3970+
"vendorParams": {
3971+
"region": "us-west-2"
3972+
},
3973+
"vendorParamsShape": "aws.test#AwsVendorParams",
3974+
"expect": {
3975+
"failure": {}
3976+
}
3977+
}
3978+
]
39503979
}
39513980
},
39523981
"com.amazonaws.cloudwatchlogs#GetLogEventsRequest": {
@@ -5328,7 +5357,7 @@
53285357
"sdkId": "CloudWatch Logs",
53295358
"arnNamespace": "logs",
53305359
"cloudFormationName": "Logs",
5331-
"cloudTrailEventSource": "cloudwatchlogs.amazonaws.com",
5360+
"cloudTrailEventSource": "logs.amazonaws.com",
53325361
"docId": "logs-2014-03-28",
53335362
"endpointPrefix": "logs"
53345363
},

0 commit comments

Comments
 (0)