// Generated with smithy-dart 0.3.1. DO NOT MODIFY. // ignore_for_file: avoid_unused_constructor_parameters,deprecated_member_use_from_same_package,non_constant_identifier_names,require_trailing_commas // ignore_for_file: unused_element library aws_query_v1.query_protocol.test.endpoint_operation_test_test; // ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:aws_query_v1/src/query_protocol/operation/endpoint_operation.dart' as _i3; import 'package:smithy/smithy.dart' as _i4; import 'package:smithy_test/smithy_test.dart' as _i2; import 'package:test/test.dart' as _i1; void main() { _i1.test( 'AwsQueryEndpointTrait (request)', () async { await _i2.httpRequestTest( operation: _i3.EndpointOperation( region: 'us-east-1', baseUri: Uri.parse('https://example.com'), ), testCase: const _i2.HttpRequestTestCase( id: 'AwsQueryEndpointTrait', documentation: 'Operations can prepend to the given host if they define the\nendpoint trait.', protocol: _i4.ShapeId( namespace: 'aws.protocols', shape: 'awsQuery', ), authScheme: null, body: 'Action=EndpointOperation&Version=2020-01-08', bodyMediaType: 'application/x-www-form-urlencoded', params: {}, vendorParamsShape: null, vendorParams: {}, headers: {'Content-Type': 'application/x-www-form-urlencoded'}, forbidHeaders: [], requireHeaders: [], tags: [], appliesTo: null, method: 'POST', uri: '/', host: 'example.com', resolvedHost: 'foo.example.com', queryParams: [], forbidQueryParams: [], requireQueryParams: [], ), inputSerializers: const [], ); }, ); }