diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 645eb709cd..57d7b2b604 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -69,6 +69,9 @@ updates: drift: patterns: - "drift" + drift_dev: + patterns: + - "drift_dev" ffigen: patterns: - "ffigen" @@ -126,6 +129,20 @@ updates: test: patterns: - "test" + - package-ecosystem: "pub" + directory: "infra" + schedule: + interval: "daily" + ignore: + # Ignore patch version bumps + - dependency-name: "*" + update-types: + - "version-update:semver-patch" + # Ignore all repo packages + - dependency-name: "amplify_core" + - dependency-name: "aws_common" + - dependency-name: "amplify_lints" + - dependency-name: "aws_signature_v4" - package-ecosystem: "pub" directory: "actions" schedule: @@ -190,20 +207,6 @@ updates: - dependency-name: "amplify_datastore_plugin_interface" - dependency-name: "amplify_storage_s3" - dependency-name: "amplify_storage_s3_dart" - - package-ecosystem: "pub" - directory: "infra" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - # Ignore all repo packages - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - package-ecosystem: "pub" directory: "packages/aft" schedule: @@ -811,6 +814,9 @@ updates: built_value_generator: patterns: - "built_value_generator" + drift_dev: + patterns: + - "drift_dev" test: patterns: - "test" @@ -1633,6 +1639,9 @@ updates: drift: patterns: - "drift" + drift_dev: + patterns: + - "drift_dev" build_runner: patterns: - "build_runner" @@ -1657,6 +1666,9 @@ updates: drift: patterns: - "drift" + drift_dev: + patterns: + - "drift_dev" build_runner: patterns: - "build_runner" @@ -1691,6 +1703,9 @@ updates: build_web_compilers: patterns: - "build_web_compilers" + drift_dev: + patterns: + - "drift_dev" test: patterns: - "test" @@ -1721,6 +1736,9 @@ updates: build_web_compilers: patterns: - "build_web_compilers" + drift_dev: + patterns: + - "drift_dev" - package-ecosystem: "pub" directory: "packages/common/amplify_db_common_dart/example" schedule: @@ -1748,6 +1766,9 @@ updates: build_web_compilers: patterns: - "build_web_compilers" + drift_dev: + patterns: + - "drift_dev" - package-ecosystem: "pub" directory: "packages/example_common" schedule: @@ -3003,6 +3024,9 @@ updates: built_value_generator: patterns: - "built_value_generator" + drift_dev: + patterns: + - "drift_dev" json_serializable: patterns: - "json_serializable" @@ -3199,6 +3223,9 @@ updates: build_runner: patterns: - "build_runner" + drift_dev: + patterns: + - "drift_dev" json_serializable: patterns: - "json_serializable" diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart index 56bdb63949..11ed641289 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson10Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart index 91cce4fd90..63eb3e0fd8 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson10Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart index 054baefb16..0cabe57070 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.json10', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsJson10Serializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart index d724bd359e..df0cb5afa8 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsJson10Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart index 5ac05b6123..9a251b0753 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart index b1907e6903..f5ecacbfad 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart index ea9b9e9111..4e83a7e1f9 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart @@ -52,8 +52,10 @@ abstract class EndpointWithHostLabelOperationInput @override EndpointWithHostLabelOperationInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = @@ -76,6 +78,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i1 EndpointWithHostLabelOperationInput, _$EndpointWithHostLabelOperationInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i1 shape: 'awsJson1_0', ) ]; + @override EndpointWithHostLabelOperationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart index eb63ea1008..6a8f4b8be2 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson10Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart index be6d1c4ce3..bddb71db7f 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson10Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart index fa22644602..6895f32bd6 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart @@ -46,10 +46,13 @@ abstract class FooError namespace: 'aws.protocoltests.json10', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +61,10 @@ abstract class FooError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -76,6 +81,7 @@ class FooErrorAwsJson10Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -83,6 +89,7 @@ class FooErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart index 8be57f1e2d..a890b6d3a7 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsJson10Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart index 481546e20e..67a99f169a 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart @@ -38,8 +38,10 @@ abstract class GreetingWithErrorsInput String? get greeting; @override GreetingWithErrorsInput getPayload() => this; + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsInput') @@ -61,6 +63,7 @@ class GreetingWithErrorsInputAwsJson10Serializer GreetingWithErrorsInput, _$GreetingWithErrorsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class GreetingWithErrorsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart index adb053dfff..c239a8c9ca 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart index 821c4df3ba..26d5e1bcc4 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.json10', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsJson10Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart index 3f30386420..8ac18859f2 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart @@ -38,8 +38,10 @@ abstract class JsonUnionsInput MyUnion? get contents; @override JsonUnionsInput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonUnionsInput') @@ -60,6 +62,7 @@ class JsonUnionsInputAwsJson10Serializer JsonUnionsInput, _$JsonUnionsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class JsonUnionsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart index 2a3dccb079..927559e4c2 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart @@ -38,6 +38,7 @@ abstract class JsonUnionsOutput MyUnion? get contents; @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonUnionsOutput') @@ -58,6 +59,7 @@ class JsonUnionsOutputAwsJson10Serializer JsonUnionsOutput, _$JsonUnionsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class JsonUnionsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart index 11c9f5d055..d8c91f20f7 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart @@ -48,15 +48,25 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + int? get intEnumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -68,6 +78,7 @@ sealed class MyUnion extends _i1.SmithyUnion { listValue ?? mapValue ?? structureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -271,6 +282,7 @@ class MyUnionAwsJson10Serializer MyUnionMapValue$, MyUnionStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -278,6 +290,7 @@ class MyUnionAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart index 8cbfa52d9c..deb7cc94b6 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputAwsJson10Serializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart index 4519999697..8927a8b8ba 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson10Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart index eb3512d65d..4393f4a59c 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsJson10Serializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart index 3c4fad122a..a3ad03e3e2 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson10Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart index 5a1c82e009..0aff279d98 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson10Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart index 35ee6e23c5..9635b24fad 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson10Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart index 2f8c1c9818..27bd9e9622 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart @@ -46,11 +46,13 @@ abstract class SimpleScalarPropertiesInput double? get doubleValue; @override SimpleScalarPropertiesInput getPayload() => this; + @override List get props => [ floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleScalarPropertiesInput') @@ -76,6 +78,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer SimpleScalarPropertiesInput, _$SimpleScalarPropertiesInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart index 3bb0cd27d5..54308c6789 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart @@ -49,6 +49,7 @@ abstract class SimpleScalarPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleScalarPropertiesOutput') @@ -74,6 +75,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer SimpleScalarPropertiesOutput, _$SimpleScalarPropertiesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -81,6 +83,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart index a5360e6c97..3242fd35d3 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart @@ -75,8 +75,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -86,16 +88,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart index 9e1406af1c..e12d1e3737 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart @@ -64,24 +64,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart index 956ae658ab..d016acc41e 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart @@ -74,24 +74,32 @@ class EndpointWithHostLabelOperation extends _i1.HttpOperation< b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( EndpointWithHostLabelOperationInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart index fb2e6b07e1..16ebfebc92 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart @@ -76,8 +76,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -87,6 +89,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -117,14 +120,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GreetingWithErrorsInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart index cb1320e2ea..6e739776a5 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart @@ -63,24 +63,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart index 1beec5ebc1..b4a9f3322e 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart @@ -69,8 +69,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override JsonUnionsOutput buildOutput( JsonUnionsOutput payload, @@ -80,16 +82,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonUnionsInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart index a3d47c8cbb..73616a24bc 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart @@ -65,24 +65,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart index f0619d7af1..16421526cc 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart @@ -67,8 +67,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -78,16 +80,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart index 17286916b2..c2bd654890 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart @@ -75,24 +75,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart index b570e8a672..ecbf6592a5 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart @@ -74,8 +74,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarPropertiesOutput? output]) => 200; + @override SimpleScalarPropertiesOutput buildOutput( SimpleScalarPropertiesOutput payload, @@ -85,16 +87,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_0/pubspec.yaml b/packages/smithy/goldens/lib/awsJson1_0/pubspec.yaml index 6ddca7a54c..bab3ba27a4 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/pubspec.yaml +++ b/packages/smithy/goldens/lib/awsJson1_0/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 shelf_router: ^1.1.0 shelf: ^1.4.0 @@ -39,6 +39,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart index ca115d0d3d..25c2d16f50 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart @@ -101,6 +101,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -134,6 +136,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -141,6 +144,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart index acc9dd3393..1ab5731eeb 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart @@ -62,6 +62,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i3 @override Iterable get types => const [EndpointWithHostLabelOperationInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i3 shape: 'awsJson1_0', ) ]; + @override EndpointWithHostLabelOperationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart index 1c0cd5fb4a..9723a32ff1 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart @@ -497,6 +497,7 @@ class GreetingWithErrorsInputAwsJson10Serializer @override Iterable get types => const [GreetingWithErrorsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -504,6 +505,7 @@ class GreetingWithErrorsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsInput deserialize( Serializers serializers, @@ -548,6 +550,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -555,6 +558,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -598,6 +602,7 @@ class ComplexErrorAwsJson10Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -605,6 +610,7 @@ class ComplexErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -654,6 +660,7 @@ class ComplexNestedErrorDataAwsJson10Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -661,6 +668,7 @@ class ComplexNestedErrorDataAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -704,6 +712,7 @@ class FooErrorAwsJson10Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -711,6 +720,7 @@ class FooErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FooError deserialize( Serializers serializers, @@ -736,6 +746,7 @@ class InvalidGreetingAwsJson10Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -743,6 +754,7 @@ class InvalidGreetingAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart index ce42688717..2cdc5e8225 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart @@ -824,6 +824,7 @@ class JsonUnionsInputAwsJson10Serializer @override Iterable get types => const [JsonUnionsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -831,6 +832,7 @@ class JsonUnionsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsInput deserialize( Serializers serializers, @@ -874,6 +876,7 @@ class JsonUnionsOutputAwsJson10Serializer @override Iterable get types => const [JsonUnionsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -881,6 +884,7 @@ class JsonUnionsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart index 49792c9dd2..adbd239608 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart @@ -96,6 +96,7 @@ class NoInputAndOutputOutputAwsJson10Serializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class NoInputAndOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart index f5e29e4238..53deafdf08 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart @@ -105,6 +105,7 @@ class PutWithContentEncodingInputAwsJson10Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +113,7 @@ class PutWithContentEncodingInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart index ecaee3ae14..fa0523ff80 100644 --- a/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart @@ -275,6 +275,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer @override Iterable get types => const [SimpleScalarPropertiesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -282,6 +283,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesInput deserialize( Serializers serializers, @@ -331,6 +333,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer @override Iterable get types => const [SimpleScalarPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -338,6 +341,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/aws_config.dart index 27933314f4..c26bf2130c 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson11Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/client_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/client_config.dart index e4ce8486e1..d85b24d4eb 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson11Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_error.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_error.dart index dc23b7ca07..af8bc2efbd 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.json', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsJson11Serializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart index 358cdf227a..2b33d41a30 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsJson11Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart index 4ef9b28ea3..9df2c26a7c 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart index 08869167e2..0e4bd9aac4 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart @@ -28,6 +28,7 @@ abstract class EmptyStruct @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyStruct'); @@ -44,6 +45,7 @@ class EmptyStructAwsJson11Serializer EmptyStruct, _$EmptyStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -51,6 +53,7 @@ class EmptyStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EmptyStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/environment_config.dart index 0d5f751369..716f72f856 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson11Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart index 45efea6bf4..00d442ca71 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart @@ -71,8 +71,10 @@ abstract class ErrorWithMembers namespace: 'aws.protocoltests.json', shape: 'ErrorWithMembers', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -81,6 +83,7 @@ abstract class ErrorWithMembers Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ code, @@ -91,6 +94,7 @@ abstract class ErrorWithMembers message, stringField, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ErrorWithMembers') @@ -135,6 +139,7 @@ class ErrorWithMembersAwsJson11Serializer ErrorWithMembers, _$ErrorWithMembers, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -142,6 +147,7 @@ class ErrorWithMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart index 76ab754eb1..e58f94bb75 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart @@ -45,10 +45,13 @@ abstract class ErrorWithoutMembers namespace: 'aws.protocoltests.json', shape: 'ErrorWithoutMembers', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -57,8 +60,10 @@ abstract class ErrorWithoutMembers Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ErrorWithoutMembers'); @@ -75,6 +80,7 @@ class ErrorWithoutMembersAwsJson11Serializer ErrorWithoutMembers, _$ErrorWithoutMembers, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +88,7 @@ class ErrorWithoutMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithoutMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart index 5a1d871818..8b85f16508 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson11Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/foo_error.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/foo_error.dart index 66ad2cc939..09f33e3545 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/foo_error.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/foo_error.dart @@ -46,10 +46,13 @@ abstract class FooError namespace: 'aws.protocoltests.json', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +61,10 @@ abstract class FooError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -76,6 +81,7 @@ class FooErrorAwsJson11Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -83,6 +89,7 @@ class FooErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart index 786bbb9b3b..5364224893 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputAwsJson11Serializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart index 1c7ce34894..6c595e192b 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsJson11Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart index c56bb078c7..d34b1c772f 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart index 6740c16969..15d42b5e39 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputAwsJson11Serializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart index 418926b90d..cd587496a2 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.json', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsJson11Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart index 435c31cbce..f09575a3d3 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class JsonEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override JsonEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class JsonEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonEnumsInputOutput') @@ -117,6 +119,7 @@ class JsonEnumsInputOutputAwsJson11Serializer JsonEnumsInputOutput, _$JsonEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -124,6 +127,7 @@ class JsonEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart index 01ccb1aa0d..f4ecbc0339 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart @@ -65,6 +65,7 @@ abstract class JsonIntEnumsInputOutput _i3.BuiltMap? get intEnumMap; @override JsonIntEnumsInputOutput getPayload() => this; + @override List get props => [ intEnum1, @@ -74,6 +75,7 @@ abstract class JsonIntEnumsInputOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonIntEnumsInputOutput') @@ -115,6 +117,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer JsonIntEnumsInputOutput, _$JsonIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -122,6 +125,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart index 25efefe1c3..55fa684dfc 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart @@ -148,6 +148,7 @@ abstract class KitchenSink DateTime? get unixTimestamp; @override KitchenSink getPayload() => this; + @override List get props => [ blob, @@ -177,6 +178,7 @@ abstract class KitchenSink timestamp, unixTimestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('KitchenSink') @@ -297,6 +299,7 @@ class KitchenSinkAwsJson11Serializer KitchenSink, _$KitchenSink, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -304,6 +307,7 @@ class KitchenSinkAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override KitchenSink deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/my_union.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/my_union.dart index 2a6565c5a5..1458fa635e 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/my_union.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/my_union.dart @@ -46,14 +46,23 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -64,6 +73,7 @@ sealed class MyUnion extends _i1.SmithyUnion { listValue ?? mapValue ?? structureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -250,6 +260,7 @@ class MyUnionAwsJson11Serializer MyUnionMapValue$, MyUnionStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -257,6 +268,7 @@ class MyUnionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart index 60e4bceafd..8f87d6cc9d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart @@ -59,12 +59,14 @@ abstract class NullOperationInputOutput _i3.BuiltMap? get sparseStringMap; @override NullOperationInputOutput getPayload() => this; + @override List get props => [ string, sparseStringList, sparseStringMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullOperationInputOutput') @@ -94,6 +96,7 @@ class NullOperationInputOutputAwsJson11Serializer NullOperationInputOutput, _$NullOperationInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -101,6 +104,7 @@ class NullOperationInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override NullOperationInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_config.dart index d334e9228c..0aea65fa9a 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson11Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart index c816a8627e..ba1e53c002 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart @@ -42,8 +42,10 @@ abstract class OperationWithOptionalInputOutputInput String? get value; @override OperationWithOptionalInputOutputInput getPayload() => this; + @override List get props => [value]; + @override String toString() { final helper = @@ -66,6 +68,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i1 OperationWithOptionalInputOutputInput, _$OperationWithOptionalInputOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -73,6 +76,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i1 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart index 7c7baa19dd..b13ad994da 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart @@ -42,6 +42,7 @@ abstract class OperationWithOptionalInputOutputOutput String? get value; @override List get props => [value]; + @override String toString() { final helper = @@ -64,6 +65,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i2 OperationWithOptionalInputOutputOutput, _$OperationWithOptionalInputOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i2 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart index b082511fba..052527188d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart @@ -50,8 +50,10 @@ abstract class PutAndGetInlineDocumentsInputOutput _i3.JsonObject? get inlineDocument; @override PutAndGetInlineDocumentsInputOutput getPayload() => this; + @override List get props => [inlineDocument]; + @override String toString() { final helper = @@ -74,6 +76,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i1 PutAndGetInlineDocumentsInputOutput, _$PutAndGetInlineDocumentsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -81,6 +84,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i1 shape: 'awsJson1_1', ) ]; + @override PutAndGetInlineDocumentsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart index 1006537b6e..e723410b02 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsJson11Serializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/retry_config.dart index 0cc50d68f7..3ff7073072 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson11Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/s3_config.dart index b73bb29906..b31cf4e8df 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson11Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart index 2df3bc8826..db059c27d9 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson11Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart index d987d8c5bc..c2cd741abd 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart @@ -54,11 +54,13 @@ abstract class SimpleScalarPropertiesInputOutput double? get doubleValue; @override SimpleScalarPropertiesInputOutput getPayload() => this; + @override List get props => [ floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -85,6 +87,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer SimpleScalarPropertiesInputOutput, _$SimpleScalarPropertiesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -92,6 +95,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart index c5fd5af5c8..23582e2891 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart @@ -29,6 +29,7 @@ abstract class SimpleStruct String? get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleStruct') @@ -49,6 +50,7 @@ class SimpleStructAwsJson11Serializer SimpleStruct, _$SimpleStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class SimpleStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart index 7522cd867b..4739552cdf 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart @@ -30,6 +30,7 @@ abstract class StructWithJsonName String? get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructWithJsonName') @@ -50,6 +51,7 @@ class StructWithJsonNameAwsJson11Serializer StructWithJsonName, _$StructWithJsonName, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class StructWithJsonNameAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override StructWithJsonName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart index d082285c77..ce5cb8411d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart @@ -48,8 +48,10 @@ abstract class UnionInputOutput MyUnion? get contents; @override UnionInputOutput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnionInputOutput') @@ -70,6 +72,7 @@ class UnionInputOutputAwsJson11Serializer UnionInputOutput, _$UnionInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class UnionInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart index 14f0377edb..64cce5dcc2 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart @@ -76,8 +76,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -87,16 +89,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart index 54dc86b8cd..a36c43e05d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart @@ -74,24 +74,32 @@ class EmptyOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart index 1b38b6e2c9..f9689f3237 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart @@ -75,24 +75,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart index 52c5ca9592..1612aa5f5c 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart @@ -78,24 +78,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart index a83b9ab288..c904ff2b2f 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart @@ -76,8 +76,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -87,16 +89,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart index f95715da45..cc7fd5dfc4 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart @@ -81,8 +81,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -92,6 +94,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -122,14 +125,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart index 64b0b36941..677f568908 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart @@ -74,24 +74,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart index e1eafe4570..9a24b05806 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart @@ -80,8 +80,10 @@ class JsonEnumsOperation extends _i1.HttpOperation 200; + @override JsonEnumsInputOutput buildOutput( JsonEnumsInputOutput payload, @@ -91,16 +93,22 @@ class JsonEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonEnums'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart index 10c70ec623..b3b0471053 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart @@ -80,8 +80,10 @@ class JsonIntEnumsOperation extends _i1.HttpOperation 200; + @override JsonIntEnumsInputOutput buildOutput( JsonIntEnumsInputOutput payload, @@ -91,16 +93,22 @@ class JsonIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonIntEnums'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart index 56fa88ca43..af74850efe 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart @@ -79,8 +79,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override UnionInputOutput buildOutput( UnionInputOutput payload, @@ -90,16 +92,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UnionInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart index 32363ddbb5..7fc1609e9e 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart @@ -79,8 +79,10 @@ class KitchenSinkOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([KitchenSink? output]) => 200; + @override KitchenSink buildOutput( KitchenSink payload, @@ -90,6 +92,7 @@ class KitchenSinkOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -111,14 +114,19 @@ class KitchenSinkOperation extends _i1 builder: ErrorWithoutMembers.fromResponse, ), ]; + @override String get runtimeTypeName => 'KitchenSinkOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( KitchenSink input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart index ee32c0fb73..2f239d4332 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart @@ -81,8 +81,10 @@ class NullOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NullOperationInputOutput? output]) => 200; + @override NullOperationInputOutput buildOutput( NullOperationInputOutput payload, @@ -92,16 +94,22 @@ class NullOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullOperationInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart index 2db742657e..8bb1d8c2ea 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart @@ -85,8 +85,10 @@ class OperationWithOptionalInputOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([OperationWithOptionalInputOutputOutput? output]) => 200; + @override OperationWithOptionalInputOutputOutput buildOutput( OperationWithOptionalInputOutputOutput payload, @@ -96,16 +98,22 @@ class OperationWithOptionalInputOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OperationWithOptionalInputOutput'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( OperationWithOptionalInputOutputInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart index a9aa5f7d51..6cbabef456 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart @@ -86,8 +86,10 @@ class PutAndGetInlineDocumentsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([PutAndGetInlineDocumentsInputOutput? output]) => 200; + @override PutAndGetInlineDocumentsInputOutput buildOutput( PutAndGetInlineDocumentsInputOutput payload, @@ -97,16 +99,22 @@ class PutAndGetInlineDocumentsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutAndGetInlineDocuments'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PutAndGetInlineDocumentsInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart index 582543f56d..f9dc2fc163 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart @@ -86,24 +86,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart index 502a195b64..237499a60f 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart @@ -84,8 +84,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutput payload, @@ -95,16 +97,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/aws_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/aws_config.dart index daa7c377cd..30cc84ce62 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/aws_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson11Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/client_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/client_config.dart index 05a3aaea3a..54bd3bf240 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/client_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson11Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/environment_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/environment_config.dart index 03c7a0707f..3bfd28feb0 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/environment_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson11Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart index 0b9f82a1ce..4a1967b1a1 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson11Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart index 4119691a98..741c316b51 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart @@ -51,21 +51,26 @@ abstract class InternalServerException namespace: 'com.amazonaws.machinelearning', shape: 'InternalServerException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InternalServerException') @@ -91,6 +96,7 @@ class InternalServerExceptionAwsJson11Serializer InternalServerException, _$InternalServerException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class InternalServerExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InternalServerException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart index ea936540a0..996e1107ba 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart @@ -52,21 +52,26 @@ abstract class InvalidInputException namespace: 'com.amazonaws.machinelearning', shape: 'InvalidInputException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidInputException') @@ -92,6 +97,7 @@ class InvalidInputExceptionAwsJson11Serializer InvalidInputException, _$InvalidInputException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -99,6 +105,7 @@ class InvalidInputExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidInputException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart index c48bc6bfe0..844d2184bb 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart @@ -51,21 +51,26 @@ abstract class LimitExceededException namespace: 'com.amazonaws.machinelearning', shape: 'LimitExceededException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 417; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('LimitExceededException') @@ -91,6 +96,7 @@ class LimitExceededExceptionAwsJson11Serializer LimitExceededException, _$LimitExceededException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class LimitExceededExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override LimitExceededException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/operation_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/operation_config.dart index 7a5da24bba..fe5e87909e 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/operation_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson11Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_input.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_input.dart index c3c8997ecb..83165ed081 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_input.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_input.dart @@ -47,12 +47,14 @@ abstract class PredictInput String get predictEndpoint; @override PredictInput getPayload() => this; + @override List get props => [ mlModelId, record, predictEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictInput') @@ -81,6 +83,7 @@ class PredictInputAwsJson11Serializer PredictInput, _$PredictInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -88,6 +91,7 @@ class PredictInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_output.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_output.dart index 432cf26282..c6678e4d65 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_output.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predict_output.dart @@ -37,6 +37,7 @@ abstract class PredictOutput Prediction? get prediction; @override List get props => [prediction]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictOutput') @@ -57,6 +58,7 @@ class PredictOutputAwsJson11Serializer PredictOutput, _$PredictOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class PredictOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/prediction.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/prediction.dart index 319377db07..5a2a8bac20 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/prediction.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/prediction.dart @@ -50,6 +50,7 @@ abstract class Prediction predictedScores, details, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('Prediction') @@ -82,6 +83,7 @@ class PredictionAwsJson11Serializer Prediction, _$Prediction, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -89,6 +91,7 @@ class PredictionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override Prediction deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart index 26590edfd6..b23652972d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart @@ -46,18 +46,23 @@ abstract class PredictorNotMountedException namespace: 'com.amazonaws.machinelearning', shape: 'PredictorNotMountedException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictorNotMountedException') @@ -79,6 +84,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer PredictorNotMountedException, _$PredictorNotMountedException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictorNotMountedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart index a01fc0821d..891b4c2a1e 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart @@ -51,21 +51,26 @@ abstract class ResourceNotFoundException namespace: 'com.amazonaws.machinelearning', shape: 'ResourceNotFoundException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 404; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResourceNotFoundException') @@ -91,6 +96,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer ResourceNotFoundException, _$ResourceNotFoundException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/retry_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/retry_config.dart index 78472e6eba..c11c2f491f 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/retry_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson11Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/s3_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/s3_config.dart index 11145909ba..772e956d77 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/s3_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson11Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart index 1072156123..713d5650bb 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson11Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart index 90a61f7225..874826ac90 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart @@ -83,8 +83,10 @@ class PredictOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([PredictOutput? output]) => 200; + @override PredictOutput buildOutput( PredictOutput payload, @@ -94,6 +96,7 @@ class PredictOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -148,14 +151,19 @@ class PredictOperation extends _i1 builder: ResourceNotFoundException.fromResponse, ), ]; + @override String get runtimeTypeName => 'Predict'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PredictInput input, { diff --git a/packages/smithy/goldens/lib/awsJson1_1/pubspec.yaml b/packages/smithy/goldens/lib/awsJson1_1/pubspec.yaml index cd4e4146ce..b6ffb036da 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/pubspec.yaml +++ b/packages/smithy/goldens/lib/awsJson1_1/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 shelf_router: ^1.1.0 @@ -42,6 +42,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart index 6be2bde7cc..a90fa3abe2 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart @@ -100,6 +100,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -107,6 +108,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart index 3d1418f5b6..d57ca5383b 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart @@ -68,6 +68,7 @@ class HostLabelInputAwsJson11Serializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -75,6 +76,7 @@ class HostLabelInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart index 245ada05dc..06bd7a7753 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart @@ -61,6 +61,7 @@ class FractionalSecondsOutputAwsJson11Serializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -68,6 +69,7 @@ class FractionalSecondsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart index 7172bc9b09..81274f5660 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart @@ -508,6 +508,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -515,6 +516,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -558,6 +560,7 @@ class ComplexErrorAwsJson11Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -565,6 +568,7 @@ class ComplexErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -614,6 +618,7 @@ class ComplexNestedErrorDataAwsJson11Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -621,6 +626,7 @@ class ComplexNestedErrorDataAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -664,6 +670,7 @@ class FooErrorAwsJson11Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -671,6 +678,7 @@ class FooErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FooError deserialize( Serializers serializers, @@ -696,6 +704,7 @@ class InvalidGreetingAwsJson11Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -703,6 +712,7 @@ class InvalidGreetingAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_enums_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_enums_operation_test.dart index 8ba08d711a..af7d0cdafc 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_enums_operation_test.dart @@ -141,6 +141,7 @@ class JsonEnumsInputOutputAwsJson11Serializer @override Iterable get types => const [JsonEnumsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -148,6 +149,7 @@ class JsonEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart index f1b5d7bea2..2d1e28951d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart @@ -143,6 +143,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer @override Iterable get types => const [JsonIntEnumsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -150,6 +151,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_unions_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_unions_operation_test.dart index d07f3a374d..6ce335b0fd 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/json_unions_operation_test.dart @@ -837,6 +837,7 @@ class UnionInputOutputAwsJson11Serializer @override Iterable get types => const [UnionInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -844,6 +845,7 @@ class UnionInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart index e7593a9e14..6f2483b029 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart @@ -2619,6 +2619,7 @@ class KitchenSinkAwsJson11Serializer @override Iterable get types => const [KitchenSink]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2626,6 +2627,7 @@ class KitchenSinkAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override KitchenSink deserialize( Serializers serializers, @@ -2861,6 +2863,7 @@ class EmptyStructAwsJson11Serializer @override Iterable get types => const [EmptyStruct]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2868,6 +2871,7 @@ class EmptyStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EmptyStruct deserialize( Serializers serializers, @@ -2893,6 +2897,7 @@ class SimpleStructAwsJson11Serializer @override Iterable get types => const [SimpleStruct]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2900,6 +2905,7 @@ class SimpleStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleStruct deserialize( Serializers serializers, @@ -2943,6 +2949,7 @@ class StructWithJsonNameAwsJson11Serializer @override Iterable get types => const [StructWithJsonName]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2950,6 +2957,7 @@ class StructWithJsonNameAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override StructWithJsonName deserialize( Serializers serializers, @@ -2993,6 +3001,7 @@ class ErrorWithMembersAwsJson11Serializer @override Iterable get types => const [ErrorWithMembers]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -3000,6 +3009,7 @@ class ErrorWithMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithMembers deserialize( Serializers serializers, @@ -3082,6 +3092,7 @@ class ErrorWithoutMembersAwsJson11Serializer @override Iterable get types => const [ErrorWithoutMembers]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -3089,6 +3100,7 @@ class ErrorWithoutMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithoutMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/null_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/null_operation_test.dart index d7df64488c..47e04637cf 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/null_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/null_operation_test.dart @@ -286,6 +286,7 @@ class NullOperationInputOutputAwsJson11Serializer @override Iterable get types => const [NullOperationInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -293,6 +294,7 @@ class NullOperationInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override NullOperationInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart index 95570fce0a..cd6a9c527d 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart @@ -119,6 +119,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i4 @override Iterable get types => const [OperationWithOptionalInputOutputInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -126,6 +127,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputInput deserialize( Serializers serializers, @@ -170,6 +172,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i4 @override Iterable get types => const [OperationWithOptionalInputOutputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -177,6 +180,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart index 93a51b474a..fa3a04449a 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart @@ -114,6 +114,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i4 @override Iterable get types => const [PutAndGetInlineDocumentsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -121,6 +122,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override PutAndGetInlineDocumentsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart index 4404aef28f..ee9c1e95a1 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart @@ -116,6 +116,7 @@ class PutWithContentEncodingInputAwsJson11Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -123,6 +124,7 @@ class PutWithContentEncodingInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart index d85c126cad..cd170bf467 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart @@ -305,6 +305,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -312,6 +313,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsJson1_1/test/machine_learning/predict_operation_test.dart b/packages/smithy/goldens/lib/awsJson1_1/test/machine_learning/predict_operation_test.dart index 8635d05a5d..9f366d1f7f 100644 --- a/packages/smithy/goldens/lib/awsJson1_1/test/machine_learning/predict_operation_test.dart +++ b/packages/smithy/goldens/lib/awsJson1_1/test/machine_learning/predict_operation_test.dart @@ -76,6 +76,7 @@ class PredictInputAwsJson11Serializer @override Iterable get types => const [PredictInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -83,6 +84,7 @@ class PredictInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictInput deserialize( Serializers serializers, @@ -142,6 +144,7 @@ class PredictOutputAwsJson11Serializer @override Iterable get types => const [PredictOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -149,6 +152,7 @@ class PredictOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictOutput deserialize( Serializers serializers, @@ -192,6 +196,7 @@ class PredictionAwsJson11Serializer @override Iterable get types => const [Prediction]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -199,6 +204,7 @@ class PredictionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override Prediction deserialize( Serializers serializers, @@ -270,6 +276,7 @@ class InternalServerExceptionAwsJson11Serializer @override Iterable get types => const [InternalServerException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -277,6 +284,7 @@ class InternalServerExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InternalServerException deserialize( Serializers serializers, @@ -326,6 +334,7 @@ class InvalidInputExceptionAwsJson11Serializer @override Iterable get types => const [InvalidInputException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -333,6 +342,7 @@ class InvalidInputExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidInputException deserialize( Serializers serializers, @@ -382,6 +392,7 @@ class LimitExceededExceptionAwsJson11Serializer @override Iterable get types => const [LimitExceededException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -389,6 +400,7 @@ class LimitExceededExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override LimitExceededException deserialize( Serializers serializers, @@ -438,6 +450,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer @override Iterable get types => const [PredictorNotMountedException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -445,6 +458,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictorNotMountedException deserialize( Serializers serializers, @@ -489,6 +503,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -496,6 +511,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/aws_config.dart index 495546b1fe..a20dd7983c 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsQuerySerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -132,7 +135,7 @@ class AwsConfigAwsQuerySerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/client_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/client_config.dart index f9262093cb..464ee8b3e6 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsQuerySerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_error.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_error.dart index 6358d7c390..d60d09c3d8 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.query', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsQuerySerializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart index babee8326b..9117f07abc 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsQuerySerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/custom_code_error.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/custom_code_error.dart index f815e57a56..3d0da5088e 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/custom_code_error.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/custom_code_error.dart @@ -45,8 +45,10 @@ abstract class CustomCodeError namespace: 'aws.protocoltests.query', shape: 'CustomCodeError', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -55,8 +57,10 @@ abstract class CustomCodeError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('CustomCodeError') @@ -77,6 +81,7 @@ class CustomCodeErrorAwsQuerySerializer CustomCodeError, _$CustomCodeError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -84,6 +89,7 @@ class CustomCodeErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override CustomCodeError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart index b61fc6982a..20cb2bdf7e 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart index 3623c79f34..3e30ddb1e0 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart index 1ecc5d97f2..6f60a4750e 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/environment_config.dart index 5b39fbadc7..e02d6cfdc9 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsQuerySerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -217,7 +220,7 @@ class EnvironmentConfigAwsQuerySerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSessionToken != null) { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/file_config_settings.dart index 57e79c0a58..c3167db988 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsQuerySerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -251,7 +254,7 @@ class FileConfigSettingsAwsQuerySerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -259,7 +262,7 @@ class FileConfigSettingsAwsQuerySerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart index 1a40c06eb0..a9c5a43c6f 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart @@ -40,6 +40,7 @@ abstract class FlattenedXmlMapOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('FlattenedXmlMapOutput') @@ -61,6 +62,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer FlattenedXmlMapOutput, _$FlattenedXmlMapOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +70,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapOutput deserialize( Serializers serializers, @@ -136,7 +139,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart index b782add10e..493eb4b657 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNameOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer FlattenedXmlMapWithXmlNameOutput, _$FlattenedXmlMapWithXmlNameOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNameOutput deserialize( Serializers serializers, @@ -142,7 +145,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart index b18dbda315..aa7080baa1 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNamespaceOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 FlattenedXmlMapWithXmlNamespaceOutput, _$FlattenedXmlMapWithXmlNamespaceOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, @@ -142,7 +145,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart index aeb00feee6..a599415c21 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputAwsQuerySerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_struct.dart index 725b1ee67b..41f847612f 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsQuerySerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart index 52403ab195..65131cc582 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/host_label_input.dart index 1fc65fc631..3df3a65f7c 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputAwsQuerySerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart index 07bbe8e261..c9d6b6cee9 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart @@ -39,6 +39,7 @@ abstract class IgnoresWrappingXmlNameOutput String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('IgnoresWrappingXmlNameOutput') @@ -60,6 +61,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer IgnoresWrappingXmlNameOutput, _$IgnoresWrappingXmlNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -67,6 +69,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart index 27d097ee7f..40afca3995 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.query', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsQuerySerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsQuerySerializer shape: 'awsQuery', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart index 74b3395c55..41b2bfac97 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithList _i2.BuiltList? get listArg; @override List get props => [listArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithList') @@ -53,6 +54,7 @@ class NestedStructWithListAwsQuerySerializer NestedStructWithList, _$NestedStructWithList, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +62,7 @@ class NestedStructWithListAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, @@ -122,7 +125,7 @@ class NestedStructWithListAwsQuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart index 239aa6fd0a..47b50981bf 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithMap _i2.BuiltMap? get mapArg; @override List get props => [mapArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithMap') @@ -52,6 +53,7 @@ class NestedStructWithMapAwsQuerySerializer NestedStructWithMap, _$NestedStructWithMap, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -59,6 +61,7 @@ class NestedStructWithMapAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithMap deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class NestedStructWithMapAwsQuerySerializer .serialize( serializers, mapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart index bcb996c833..52180b646d 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart @@ -40,8 +40,10 @@ abstract class NestedStructuresInput StructArg? get nested; @override NestedStructuresInput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructuresInput') @@ -63,6 +65,7 @@ class NestedStructuresInputAwsQuerySerializer NestedStructuresInput, _$NestedStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class NestedStructuresInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart index 585a7a4780..f75b6c8e73 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart @@ -40,8 +40,10 @@ abstract class NoInputAndOutputInput @override NoInputAndOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputInput'); @@ -59,6 +61,7 @@ class NoInputAndOutputInputAwsQuerySerializer NoInputAndOutputInput, _$NoInputAndOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class NoInputAndOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart index 9814f5760c..93e14ede44 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputAwsQuerySerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/operation_config.dart index 8ac6a95d35..35afbb2894 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsQuerySerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart index 38662cb55a..cf1d41f323 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsQuerySerializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart index 39f25b5bc2..a05015633f 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -47,8 +47,10 @@ abstract class QueryIdempotencyTokenAutoFillInput String? get token; @override QueryIdempotencyTokenAutoFillInput getPayload() => this; + @override List get props => [token]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer QueryIdempotencyTokenAutoFillInput, _$QueryIdempotencyTokenAutoFillInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_lists_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_lists_input.dart index a4f6e45010..b20defaa6d 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_lists_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_lists_input.dart @@ -64,6 +64,7 @@ abstract class QueryListsInput NestedStructWithList? get nestedWithList; @override QueryListsInput getPayload() => this; + @override List get props => [ listArg, @@ -73,6 +74,7 @@ abstract class QueryListsInput flattenedListArgWithXmlName, nestedWithList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryListsInput') @@ -113,6 +115,7 @@ class QueryListsInputAwsQuerySerializer QueryListsInput, _$QueryListsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -120,6 +123,7 @@ class QueryListsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -228,7 +232,7 @@ class QueryListsInputAwsQuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -242,7 +246,7 @@ class QueryListsInputAwsQuerySerializer .serialize( serializers, complexListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(GreetingStruct)], ), @@ -255,7 +259,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, flattenedListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -270,7 +274,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, listArgWithXmlNameMember, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -283,7 +287,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, flattenedListArgWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_maps_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_maps_input.dart index b5fc7a1dc2..98109e6b61 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_maps_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_maps_input.dart @@ -68,6 +68,7 @@ abstract class QueryMapsInput NestedStructWithMap? get nestedStructWithMap; @override QueryMapsInput getPayload() => this; + @override List get props => [ mapArg, @@ -79,6 +80,7 @@ abstract class QueryMapsInput mapOfLists, nestedStructWithMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryMapsInput') @@ -127,6 +129,7 @@ class QueryMapsInputAwsQuerySerializer QueryMapsInput, _$QueryMapsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -134,6 +137,7 @@ class QueryMapsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryMapsInput deserialize( Serializers serializers, @@ -309,7 +313,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, mapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -326,7 +330,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, renamedMapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -343,7 +347,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, complexMapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -362,7 +366,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, mapWithXmlMemberName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -378,7 +382,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, flattenedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -396,7 +400,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, flattenedMapWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -413,7 +417,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, mapOfLists, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltListMultimap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart index daebab1c1c..7ff6306b98 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart @@ -49,12 +49,14 @@ abstract class QueryTimestampsInput DateTime? get epochTarget; @override QueryTimestampsInput getPayload() => this; + @override List get props => [ normalFormat, epochMember, epochTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryTimestampsInput') @@ -84,6 +86,7 @@ class QueryTimestampsInputAwsQuerySerializer QueryTimestampsInput, _$QueryTimestampsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class QueryTimestampsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, @@ -155,7 +159,7 @@ class QueryTimestampsInputAwsQuerySerializer ..add(const _i1.XmlElementName('normalFormat')) ..add(serializers.serialize( normalFormat, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (epochMember != null) { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart index 91a54b430a..7c063f38e0 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart @@ -38,6 +38,7 @@ abstract class RecursiveXmlShapesOutput RecursiveXmlShapesOutputNested1? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveXmlShapesOutput') @@ -59,6 +60,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer RecursiveXmlShapesOutput, _$RecursiveXmlShapesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart index 501997d453..459ef251d3 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer RecursiveXmlShapesOutputNested1, _$RecursiveXmlShapesOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart index 24fe2649dd..4869ecbde5 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer RecursiveXmlShapesOutputNested2, _$RecursiveXmlShapesOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/retry_config.dart index fbe8fab2d5..8825f5e1e4 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsQuerySerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -133,7 +136,7 @@ class RetryConfigAwsQuerySerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -141,7 +144,7 @@ class RetryConfigAwsQuerySerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/s3_config.dart index ee47161860..9aaa8ede72 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsQuerySerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -149,7 +152,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -165,7 +168,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/scoped_config.dart index 426f64dbca..e1bbea430d 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsQuerySerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -220,7 +223,7 @@ class ScopedConfigAwsQuerySerializer .serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -237,7 +240,7 @@ class ScopedConfigAwsQuerySerializer .serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart index f8f9784a8a..0e6dc19dd7 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart @@ -69,6 +69,7 @@ abstract class SimpleInputParamsInput int? get integerEnum; @override SimpleInputParamsInput getPayload() => this; + @override List get props => [ foo, @@ -81,6 +82,7 @@ abstract class SimpleInputParamsInput fooEnum, integerEnum, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleInputParamsInput') @@ -134,6 +136,7 @@ class SimpleInputParamsInputAwsQuerySerializer SimpleInputParamsInput, _$SimpleInputParamsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -141,6 +144,7 @@ class SimpleInputParamsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, @@ -260,7 +264,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Baz')) ..add(serializers.serialize( baz, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (bam != null) { @@ -268,7 +272,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Bam')) ..add(serializers.serialize( bam, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (floatValue != null) { @@ -276,7 +280,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (boo != null) { @@ -284,7 +288,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Boo')) ..add(serializers.serialize( boo, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (qux != null) { @@ -292,7 +296,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Qux')) ..add(serializers.serialize( qux, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } if (fooEnum != null) { @@ -300,7 +304,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('FooEnum')) ..add(serializers.serialize( fooEnum, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (integerEnum != null) { @@ -308,7 +312,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('IntegerEnum')) ..add(serializers.serialize( integerEnum, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart index fc6da07831..3d00426242 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart @@ -82,6 +82,7 @@ abstract class SimpleScalarXmlPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -140,6 +141,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer SimpleScalarXmlPropertiesOutput, _$SimpleScalarXmlPropertiesOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -147,6 +149,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, @@ -272,7 +275,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (falseBooleanValue != null) { @@ -280,7 +283,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -288,7 +291,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (shortValue != null) { @@ -296,7 +299,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (integerValue != null) { @@ -304,7 +307,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -312,7 +315,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (floatValue != null) { @@ -320,7 +323,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (doubleValue != null) { @@ -328,7 +331,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/struct_arg.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/struct_arg.dart index eff85a0cbe..041389adfd 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/struct_arg.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/struct_arg.dart @@ -43,6 +43,7 @@ abstract class StructArg otherArg, recursiveArg, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructArg') @@ -71,6 +72,7 @@ class StructArgAwsQuerySerializer StructArg, _$StructArg, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class StructArgAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructArg deserialize( Serializers serializers, @@ -149,7 +152,7 @@ class StructArgAwsQuerySerializer ..add(const _i2.XmlElementName('OtherArg')) ..add(serializers.serialize( otherArg, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (recursiveArg != null) { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/structure_list_member.dart index 7cde1a6175..30825613f6 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberAwsQuerySerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart index 3cfa0ae874..f8bea607d2 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart @@ -38,6 +38,7 @@ abstract class XmlBlobsOutput _i2.Uint8List? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsOutput') @@ -58,6 +59,7 @@ class XmlBlobsOutputAwsQuerySerializer XmlBlobsOutput, _$XmlBlobsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, @@ -118,7 +121,7 @@ class XmlBlobsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i2.Uint8List), + specifiedType: const FullType(_i2.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart index 1d66a0ffe7..e8c78c9007 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlEnumsOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsOutput') @@ -104,6 +105,7 @@ class XmlEnumsOutputAwsQuerySerializer XmlEnumsOutput, _$XmlEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, @@ -217,7 +220,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -225,7 +228,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -233,7 +236,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -244,7 +247,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -258,7 +261,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(FooEnum)], ), @@ -272,7 +275,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart index 8f14891350..32cce67115 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart @@ -63,6 +63,7 @@ abstract class XmlIntEnumsOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsOutput') @@ -103,6 +104,7 @@ class XmlIntEnumsOutputAwsQuerySerializer XmlIntEnumsOutput, _$XmlIntEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -110,6 +112,7 @@ class XmlIntEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, @@ -216,7 +219,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum2 != null) { @@ -224,7 +227,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum3 != null) { @@ -232,7 +235,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnumList != null) { @@ -243,7 +246,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -257,7 +260,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(int)], ), @@ -271,7 +274,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart index e9112d30dc..856c73f10f 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart @@ -110,6 +110,7 @@ abstract class XmlListsOutput flattenedListWithNamespace, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsOutput') @@ -182,6 +183,7 @@ class XmlListsOutputAwsQuerySerializer XmlListsOutput, _$XmlListsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +191,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -392,7 +395,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -406,7 +409,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(String)], ), @@ -420,7 +423,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -434,7 +437,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(bool)], ), @@ -448,7 +451,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(DateTime)], ), @@ -462,7 +465,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -476,7 +479,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -490,7 +493,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [ FullType( @@ -510,7 +513,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -523,7 +526,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -536,7 +539,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -550,7 +553,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -563,7 +566,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -578,7 +581,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(StructureListMember)], ), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart index 156b0d384c..a703503ac6 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart @@ -38,6 +38,7 @@ abstract class XmlMapsOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsOutput') @@ -58,6 +59,7 @@ class XmlMapsOutputAwsQuerySerializer XmlMapsOutput, _$XmlMapsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -130,7 +133,7 @@ class XmlMapsOutputAwsQuerySerializer .serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart index bea0173e80..00ecf91b6f 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart @@ -40,6 +40,7 @@ abstract class XmlMapsXmlNameOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsXmlNameOutput') @@ -61,6 +62,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer XmlMapsXmlNameOutput, _$XmlMapsXmlNameOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +70,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsXmlNameOutput deserialize( Serializers serializers, @@ -137,7 +140,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart index 39ac0f6581..a14e7374ad 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedAwsQuerySerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -158,7 +161,7 @@ class XmlNamespaceNestedAwsQuerySerializer ).serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart index c27e86586a..0c6432eb3d 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart @@ -38,6 +38,7 @@ abstract class XmlNamespacesOutput XmlNamespaceNested? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesOutput') @@ -58,6 +59,7 @@ class XmlNamespacesOutputAwsQuerySerializer XmlNamespacesOutput, _$XmlNamespacesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class XmlNamespacesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart index 5a061dc6c3..00576b2fe6 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart @@ -67,6 +67,7 @@ abstract class XmlTimestampsOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsOutput') @@ -111,6 +112,7 @@ class XmlTimestampsOutputAwsQuerySerializer XmlTimestampsOutput, _$XmlTimestampsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -118,6 +120,7 @@ class XmlTimestampsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, @@ -213,7 +216,7 @@ class XmlTimestampsOutputAwsQuerySerializer ..add(const _i2.XmlElementName('normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (dateTime != null) { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart index 65fc62a22e..24826aff20 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart index 8d65449833..0a286d4b5c 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart index 0a65af1d89..4d56656603 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart index 331ea4cbfb..b635022ee7 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart @@ -65,24 +65,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart index 5beb228672..8fc34e8586 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart @@ -65,8 +65,10 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapOutput? output]) => 200; + @override FlattenedXmlMapOutput buildOutput( FlattenedXmlMapOutput payload, @@ -76,16 +78,22 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart index ffbe7e085e..81034c7df9 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart @@ -68,8 +68,10 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapWithXmlNameOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNameOutput buildOutput( FlattenedXmlMapWithXmlNameOutput payload, @@ -79,16 +81,22 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart index f7431cde8b..2e9f69328a 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart @@ -71,8 +71,10 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapWithXmlNamespaceOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNamespaceOutput buildOutput( FlattenedXmlMapWithXmlNamespaceOutput payload, @@ -82,16 +84,22 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart index cf7dd04b6d..f7522cf665 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart index b44b033bee..94aa60ecf1 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart @@ -75,8 +75,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -86,6 +88,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -116,14 +119,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart index e8ab278d04..9fcd6ba426 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart index edd9b8a45b..665d4d766c 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart @@ -65,8 +65,10 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([IgnoresWrappingXmlNameOutput? output]) => 200; + @override IgnoresWrappingXmlNameOutput buildOutput( IgnoresWrappingXmlNameOutput payload, @@ -76,16 +78,22 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoresWrappingXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart index ba23488d5e..b333ae47af 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart @@ -67,24 +67,32 @@ class NestedStructuresOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( NestedStructuresInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart index 4f5dbfc553..73a1911bfe 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart @@ -63,24 +63,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart index 5855023e21..de10eaf790 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart @@ -67,8 +67,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -78,16 +80,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NoInputAndOutputInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart index 1f4ea7fd43..93e4b6bdd2 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart @@ -73,24 +73,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 84fc091185..3ba13b72c4 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -70,24 +70,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart index b09fc78bfc..2a01c1f9cd 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart @@ -67,24 +67,32 @@ class QueryListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryListsInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart index 1286b7b3a4..9454f248d1 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart @@ -66,24 +66,32 @@ class QueryMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryMapsInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart index 64c09d93d4..3cacd96792 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart @@ -67,24 +67,32 @@ class QueryTimestampsOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryTimestampsInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart index 7f23abb615..75e97a4378 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart @@ -65,8 +65,10 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([RecursiveXmlShapesOutput? output]) => 200; + @override RecursiveXmlShapesOutput buildOutput( RecursiveXmlShapesOutput payload, @@ -76,16 +78,22 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveXmlShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart index 4ef992c971..ed94050c99 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart @@ -67,24 +67,32 @@ class SimpleInputParamsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleInputParams'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SimpleInputParamsInput input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart index e3502b4b3e..0250f4b5e2 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart @@ -66,8 +66,10 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarXmlPropertiesOutput? output]) => 200; + @override SimpleScalarXmlPropertiesOutput buildOutput( SimpleScalarXmlPropertiesOutput payload, @@ -77,16 +79,22 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarXmlProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart index fb0c26644a..80a69fea2b 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart @@ -65,8 +65,10 @@ class XmlBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -76,16 +78,22 @@ class XmlBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart index bda6427f28..ff71306090 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart index 2c14c421c7..9e3fbaecf8 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart index 414af367c8..728b5c1408 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsOutput? output]) => 200; + @override XmlMapsOutput buildOutput( XmlMapsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyMapsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart index 73923d479b..f8cd977a09 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart @@ -65,8 +65,10 @@ class XmlEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlEnumsOutput? output]) => 200; + @override XmlEnumsOutput buildOutput( XmlEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart index b5890c88ea..f6f5427f2a 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart @@ -65,8 +65,10 @@ class XmlIntEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlIntEnumsOutput? output]) => 200; + @override XmlIntEnumsOutput buildOutput( XmlIntEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlIntEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart index f151040629..db1e029fca 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart @@ -65,8 +65,10 @@ class XmlListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -76,16 +78,22 @@ class XmlListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart index e6e48e0bae..a711094683 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart @@ -65,8 +65,10 @@ class XmlMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsOutput? output]) => 200; + @override XmlMapsOutput buildOutput( XmlMapsOutput payload, @@ -76,16 +78,22 @@ class XmlMapsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart index da87bd04fe..9087565104 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart @@ -63,8 +63,10 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsXmlNameOutput? output]) => 200; + @override XmlMapsXmlNameOutput buildOutput( XmlMapsXmlNameOutput payload, @@ -74,16 +76,22 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMapsXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart index 902524beb3..c537006042 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart @@ -63,8 +63,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlNamespacesOutput? output]) => 200; + @override XmlNamespacesOutput buildOutput( XmlNamespacesOutput payload, @@ -74,16 +76,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart index 91344598bf..9f24bf92af 100644 --- a/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart @@ -65,8 +65,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlTimestampsOutput? output]) => 200; + @override XmlTimestampsOutput buildOutput( XmlTimestampsOutput payload, @@ -76,16 +78,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/awsQuery/pubspec.yaml b/packages/smithy/goldens/lib/awsQuery/pubspec.yaml index e44b1a8125..75c4dae444 100644 --- a/packages/smithy/goldens/lib/awsQuery/pubspec.yaml +++ b/packages/smithy/goldens/lib/awsQuery/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 meta: ^1.7.0 @@ -38,6 +38,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart index fb0846c95e..560aee969d 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart index 03821cbf30..ca72573a84 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart @@ -96,6 +96,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +139,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart index 3b9b4714f2..21d542105c 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart @@ -60,6 +60,7 @@ class HostLabelInputAwsQuerySerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -67,6 +68,7 @@ class HostLabelInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart index fc575ee3d2..4db381ee30 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart @@ -61,6 +61,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer @override Iterable get types => const [FlattenedXmlMapOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +69,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart index c25a4b6558..3710da016d 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer @override Iterable get types => const [FlattenedXmlMapWithXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart index 321d5d7063..52c8368413 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNamespaceOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart index 96820c2f6e..6e23f5e5f4 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputAwsQuerySerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart index fe4f3e5eb1..de5c145cc7 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart @@ -167,6 +167,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +175,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -217,6 +219,7 @@ class ComplexErrorAwsQuerySerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -224,6 +227,7 @@ class ComplexErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -273,6 +277,7 @@ class ComplexNestedErrorDataAwsQuerySerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -280,6 +285,7 @@ class ComplexNestedErrorDataAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -323,6 +329,7 @@ class CustomCodeErrorAwsQuerySerializer @override Iterable get types => const [CustomCodeError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -330,6 +337,7 @@ class CustomCodeErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override CustomCodeError deserialize( Serializers serializers, @@ -373,6 +381,7 @@ class InvalidGreetingAwsQuerySerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -380,6 +389,7 @@ class InvalidGreetingAwsQuerySerializer shape: 'awsQuery', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart index a6468b027f..afcdc0db1b 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart @@ -57,6 +57,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer @override Iterable get types => const [IgnoresWrappingXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/nested_structures_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/nested_structures_operation_test.dart index a2202142b0..ef9320883d 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/nested_structures_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/nested_structures_operation_test.dart @@ -70,6 +70,7 @@ class NestedStructuresInputAwsQuerySerializer @override Iterable get types => const [NestedStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class NestedStructuresInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class StructArgAwsQuerySerializer @override Iterable get types => const [StructArg]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class StructArgAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructArg deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart index f15d3ddc0c..883e8e2810 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart @@ -92,6 +92,7 @@ class NoInputAndOutputInputAwsQuerySerializer @override Iterable get types => const [NoInputAndOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -99,6 +100,7 @@ class NoInputAndOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputInput deserialize( Serializers serializers, @@ -125,6 +127,7 @@ class NoInputAndOutputOutputAwsQuerySerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +135,7 @@ class NoInputAndOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart index 0f271754dd..c31dd8b77e 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart @@ -101,6 +101,7 @@ class PutWithContentEncodingInputAwsQuerySerializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class PutWithContentEncodingInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart index 555da4c3f0..2fc5f69987 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -100,6 +100,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -107,6 +108,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_lists_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_lists_operation_test.dart index c378afc4ae..cf1b301fd1 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_lists_operation_test.dart @@ -310,6 +310,7 @@ class QueryListsInputAwsQuerySerializer @override Iterable get types => const [QueryListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -317,6 +318,7 @@ class QueryListsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -400,6 +402,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -407,6 +410,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -451,6 +455,7 @@ class NestedStructWithListAwsQuerySerializer @override Iterable get types => const [NestedStructWithList]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -458,6 +463,7 @@ class NestedStructWithListAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_maps_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_maps_operation_test.dart index ed7bf56408..c9658ad40a 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_maps_operation_test.dart @@ -455,6 +455,7 @@ class QueryMapsInputAwsQuerySerializer @override Iterable get types => const [QueryMapsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -462,6 +463,7 @@ class QueryMapsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryMapsInput deserialize( Serializers serializers, @@ -582,6 +584,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -589,6 +592,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -632,6 +636,7 @@ class NestedStructWithMapAwsQuerySerializer @override Iterable get types => const [NestedStructWithMap]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -639,6 +644,7 @@ class NestedStructWithMapAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithMap deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_timestamps_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_timestamps_operation_test.dart index c8cc4e40e1..94800d1ef4 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/query_timestamps_operation_test.dart @@ -64,6 +64,7 @@ class QueryTimestampsInputAwsQuerySerializer @override Iterable get types => const [QueryTimestampsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class QueryTimestampsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart index 2a819b1c9f..645a9bb51c 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart @@ -71,6 +71,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, @@ -122,6 +124,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +132,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, @@ -178,6 +182,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -185,6 +190,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_input_params_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_input_params_operation_test.dart index 1c32abb9fa..b311b47f2e 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_input_params_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_input_params_operation_test.dart @@ -460,6 +460,7 @@ class SimpleInputParamsInputAwsQuerySerializer @override Iterable get types => const [SimpleInputParamsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -467,6 +468,7 @@ class SimpleInputParamsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart index adba219ffb..718ede8cff 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart @@ -182,6 +182,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer @override Iterable get types => const [SimpleScalarXmlPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +190,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_blobs_operation_test.dart index b1ce03f313..2149e12acd 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_blobs_operation_test.dart @@ -55,6 +55,7 @@ class XmlBlobsOutputAwsQuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart index 4935b09a00..bb2c674b37 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart @@ -89,6 +89,7 @@ class XmlBlobsOutputAwsQuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart index ed9c0e657b..4cdb57c2a8 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart @@ -62,6 +62,7 @@ class XmlListsOutputAwsQuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -225,6 +227,7 @@ class StructureListMemberAwsQuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -232,6 +235,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart index 85d2836ef1..84d956b3cd 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart @@ -94,6 +94,7 @@ class XmlMapsOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -150,6 +152,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +160,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_enums_operation_test.dart index 22cd282f2b..13b0ed94a3 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlEnumsOutputAwsQuerySerializer @override Iterable get types => const [XmlEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart index a4cedf9431..cd9aac27b9 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart @@ -70,6 +70,7 @@ class XmlIntEnumsOutputAwsQuerySerializer @override Iterable get types => const [XmlIntEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class XmlIntEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_lists_operation_test.dart index e0b4245015..b0c7353df9 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_lists_operation_test.dart @@ -128,6 +128,7 @@ class XmlListsOutputAwsQuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -135,6 +136,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -291,6 +293,7 @@ class StructureListMemberAwsQuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -298,6 +301,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_operation_test.dart index 071104806c..5a329ba062 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_operation_test.dart @@ -63,6 +63,7 @@ class XmlMapsOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -119,6 +121,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -126,6 +129,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart index fb27182910..d56a334f5a 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart @@ -64,6 +64,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsXmlNameOutput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart index 4432b0b872..2e2438b387 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart @@ -66,6 +66,7 @@ class XmlNamespacesOutputAwsQuerySerializer @override Iterable get types => const [XmlNamespacesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -73,6 +74,7 @@ class XmlNamespacesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, @@ -116,6 +118,7 @@ class XmlNamespaceNestedAwsQuerySerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -123,6 +126,7 @@ class XmlNamespaceNestedAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart index eba7aaecc2..358e38aa9d 100644 --- a/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart @@ -256,6 +256,7 @@ class XmlTimestampsOutputAwsQuerySerializer @override Iterable get types => const [XmlTimestampsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -263,6 +264,7 @@ class XmlTimestampsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/aws_config.dart index cba8c36028..a1e049f222 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigEc2QuerySerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigEc2QuerySerializer ..add(const _i2.XmlElementName('ClockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/client_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/client_config.dart index 35205bfe0c..9c841fec3a 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigEc2QuerySerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_error.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_error.dart index bfb06b0e9b..3f39040b5b 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.ec2', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorEc2QuerySerializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart index ee3e6df8c7..23c7524d7c 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataEc2QuerySerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart index adcf5f64ab..76a800f56b 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart index 675f338311..3afb8996c1 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart index af568c23f3..038971667a 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/environment_config.dart index 000e17863f..123a211ceb 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigEc2QuerySerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigEc2QuerySerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSessionToken != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart index 92f59dc67d..4be3041174 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsEc2QuerySerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -243,7 +246,7 @@ class FileConfigSettingsEc2QuerySerializer ..add(const _i2.XmlElementName('Retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -251,7 +254,7 @@ class FileConfigSettingsEc2QuerySerializer ..add(const _i2.XmlElementName('Max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart index 2f98466637..13a549531e 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart @@ -46,6 +46,7 @@ abstract class FractionalSecondsOutput datetime, httpdate, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -71,6 +72,7 @@ class FractionalSecondsOutputEc2QuerySerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class FractionalSecondsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart index 2c79616c19..e58ae25f94 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructEc2QuerySerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart index 39f83d4807..b206573b2f 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart index a1dde09002..7d0e3cee70 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputEc2QuerySerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart index 3f80b9548d..d9a4832962 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart @@ -39,6 +39,7 @@ abstract class IgnoresWrappingXmlNameOutput String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('IgnoresWrappingXmlNameOutput') @@ -60,6 +61,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer IgnoresWrappingXmlNameOutput, _$IgnoresWrappingXmlNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -67,6 +69,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart index ffc0db0295..a0311e1e74 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.ec2', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingEc2QuerySerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingEc2QuerySerializer shape: 'ec2Query', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart index 798bb9cc36..c6a5ed15e8 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithList _i2.BuiltList? get listArg; @override List get props => [listArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithList') @@ -53,6 +54,7 @@ class NestedStructWithListEc2QuerySerializer NestedStructWithList, _$NestedStructWithList, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +62,7 @@ class NestedStructWithListEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, @@ -114,7 +117,7 @@ class NestedStructWithListEc2QuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart index bd333af71b..b9a517ce8f 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart @@ -40,8 +40,10 @@ abstract class NestedStructuresInput StructArg? get nested; @override NestedStructuresInput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructuresInput') @@ -63,6 +65,7 @@ class NestedStructuresInputEc2QuerySerializer NestedStructuresInput, _$NestedStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class NestedStructuresInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart index 78ddc65e86..7385cc7ca0 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputEc2QuerySerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/operation_config.dart index 6a26165410..92580cdd62 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigEc2QuerySerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart index 48e8b9ca90..d93ed5b9e0 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -47,8 +47,10 @@ abstract class QueryIdempotencyTokenAutoFillInput String? get token; @override QueryIdempotencyTokenAutoFillInput getPayload() => this; + @override List get props => [token]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer QueryIdempotencyTokenAutoFillInput, _$QueryIdempotencyTokenAutoFillInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart index fe8898231e..c073834794 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart @@ -59,6 +59,7 @@ abstract class QueryListsInput NestedStructWithList? get nestedWithList; @override QueryListsInput getPayload() => this; + @override List get props => [ listArg, @@ -67,6 +68,7 @@ abstract class QueryListsInput listArgWithXmlName, nestedWithList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryListsInput') @@ -103,6 +105,7 @@ class QueryListsInputEc2QuerySerializer QueryListsInput, _$QueryListsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +113,7 @@ class QueryListsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -211,7 +215,7 @@ class QueryListsInputEc2QuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -225,7 +229,7 @@ class QueryListsInputEc2QuerySerializer .serialize( serializers, complexListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(GreetingStruct)], ), @@ -240,7 +244,7 @@ class QueryListsInputEc2QuerySerializer ).serialize( serializers, listArgWithXmlNameMember, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -255,7 +259,7 @@ class QueryListsInputEc2QuerySerializer ).serialize( serializers, listArgWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart index 441040c1fc..43e0490c7a 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart @@ -49,12 +49,14 @@ abstract class QueryTimestampsInput DateTime? get epochTarget; @override QueryTimestampsInput getPayload() => this; + @override List get props => [ normalFormat, epochMember, epochTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryTimestampsInput') @@ -84,6 +86,7 @@ class QueryTimestampsInputEc2QuerySerializer QueryTimestampsInput, _$QueryTimestampsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class QueryTimestampsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, @@ -147,7 +151,7 @@ class QueryTimestampsInputEc2QuerySerializer ..add(const _i1.XmlElementName('NormalFormat')) ..add(serializers.serialize( normalFormat, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (epochMember != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart index 6957ac3df0..c853e4e4c7 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart @@ -38,6 +38,7 @@ abstract class RecursiveXmlShapesOutput RecursiveXmlShapesOutputNested1? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveXmlShapesOutput') @@ -59,6 +60,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer RecursiveXmlShapesOutput, _$RecursiveXmlShapesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart index b37dd8ddb8..051261696b 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer RecursiveXmlShapesOutputNested1, _$RecursiveXmlShapesOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart index 57285b57bb..a54629fc71 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer RecursiveXmlShapesOutputNested2, _$RecursiveXmlShapesOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/retry_config.dart index db6c4b4c99..4d4cd3c156 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigEc2QuerySerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -133,7 +136,7 @@ class RetryConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/s3_config.dart index 86cbd4b9aa..bea874942d 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigEc2QuerySerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart index ac70fe6e95..fbf8d888b6 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigEc2QuerySerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart index 0d88de3834..9efbc5a5cf 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart @@ -75,6 +75,7 @@ abstract class SimpleInputParamsInput String? get usesXmlName; @override SimpleInputParamsInput getPayload() => this; + @override List get props => [ foo, @@ -89,6 +90,7 @@ abstract class SimpleInputParamsInput hasQueryAndXmlName, usesXmlName, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleInputParamsInput') @@ -150,6 +152,7 @@ class SimpleInputParamsInputEc2QuerySerializer SimpleInputParamsInput, _$SimpleInputParamsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +160,7 @@ class SimpleInputParamsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, @@ -280,7 +284,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Baz')) ..add(serializers.serialize( baz, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (bam != null) { @@ -288,7 +292,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Bam')) ..add(serializers.serialize( bam, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (floatValue != null) { @@ -296,7 +300,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (boo != null) { @@ -304,7 +308,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Boo')) ..add(serializers.serialize( boo, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (qux != null) { @@ -312,7 +316,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Qux')) ..add(serializers.serialize( qux, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } if (fooEnum != null) { @@ -320,7 +324,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('FooEnum')) ..add(serializers.serialize( fooEnum, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (hasQueryName != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart index 9689cfb112..538e8e840e 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart @@ -82,6 +82,7 @@ abstract class SimpleScalarXmlPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -140,6 +141,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer SimpleScalarXmlPropertiesOutput, _$SimpleScalarXmlPropertiesOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -147,6 +149,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, @@ -264,7 +267,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('TrueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (falseBooleanValue != null) { @@ -272,7 +275,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FalseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -280,7 +283,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('ByteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (shortValue != null) { @@ -288,7 +291,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('ShortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (integerValue != null) { @@ -296,7 +299,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntegerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -304,7 +307,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('LongValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (floatValue != null) { @@ -312,7 +315,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (doubleValue != null) { @@ -320,7 +323,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } return result$; diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart index 04b24cd726..63c94eeb1b 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart @@ -43,6 +43,7 @@ abstract class StructArg otherArg, recursiveArg, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructArg') @@ -71,6 +72,7 @@ class StructArgEc2QuerySerializer StructArg, _$StructArg, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class StructArgEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructArg deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class StructArgEc2QuerySerializer ..add(const _i2.XmlElementName('OtherArg')) ..add(serializers.serialize( otherArg, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (recursiveArg != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart index 98bd67d9bd..1fdfe24fd7 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberEc2QuerySerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart index c292077d41..eb9b6e1c51 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart @@ -38,6 +38,7 @@ abstract class XmlBlobsOutput _i2.Uint8List? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsOutput') @@ -58,6 +59,7 @@ class XmlBlobsOutputEc2QuerySerializer XmlBlobsOutput, _$XmlBlobsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, @@ -110,7 +113,7 @@ class XmlBlobsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('Data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i2.Uint8List), + specifiedType: const FullType(_i2.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart index e523f5405d..9d56939a49 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlEnumsOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsOutput') @@ -104,6 +105,7 @@ class XmlEnumsOutputEc2QuerySerializer XmlEnumsOutput, _$XmlEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -216,7 +219,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -224,7 +227,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -235,7 +238,7 @@ class XmlEnumsOutputEc2QuerySerializer .serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -249,7 +252,7 @@ class XmlEnumsOutputEc2QuerySerializer .serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(FooEnum)], ), @@ -261,7 +264,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart index cca1516c02..a0d4f024dd 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart @@ -63,6 +63,7 @@ abstract class XmlIntEnumsOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsOutput') @@ -103,6 +104,7 @@ class XmlIntEnumsOutputEc2QuerySerializer XmlIntEnumsOutput, _$XmlIntEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -110,6 +112,7 @@ class XmlIntEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, @@ -207,7 +210,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum2 != null) { @@ -215,7 +218,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum3 != null) { @@ -223,7 +226,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnumList != null) { @@ -234,7 +237,7 @@ class XmlIntEnumsOutputEc2QuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -248,7 +251,7 @@ class XmlIntEnumsOutputEc2QuerySerializer .serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(int)], ), @@ -260,7 +263,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart index 1683c07f69..bfa1a9b98d 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart @@ -110,6 +110,7 @@ abstract class XmlListsOutput flattenedListWithNamespace, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsOutput') @@ -182,6 +183,7 @@ class XmlListsOutputEc2QuerySerializer XmlListsOutput, _$XmlListsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +191,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -384,7 +387,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -398,7 +401,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(String)], ), @@ -412,7 +415,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -426,7 +429,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(bool)], ), @@ -440,7 +443,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(DateTime)], ), @@ -454,7 +457,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -468,7 +471,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -482,7 +485,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [ FullType( @@ -502,7 +505,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -515,7 +518,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -528,7 +531,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -542,7 +545,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -555,7 +558,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -570,7 +573,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(StructureListMember)], ), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart index 4c9b44c382..2dacf1070e 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedEc2QuerySerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -150,7 +153,7 @@ class XmlNamespaceNestedEc2QuerySerializer ).serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart index 792fa3d180..0e1852d3f2 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart @@ -38,6 +38,7 @@ abstract class XmlNamespacesOutput XmlNamespaceNested? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesOutput') @@ -58,6 +59,7 @@ class XmlNamespacesOutputEc2QuerySerializer XmlNamespacesOutput, _$XmlNamespacesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class XmlNamespacesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart index 810ab035e2..e2d8b78a09 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart @@ -67,6 +67,7 @@ abstract class XmlTimestampsOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsOutput') @@ -111,6 +112,7 @@ class XmlTimestampsOutputEc2QuerySerializer XmlTimestampsOutput, _$XmlTimestampsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -118,6 +120,7 @@ class XmlTimestampsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, @@ -205,7 +208,7 @@ class XmlTimestampsOutputEc2QuerySerializer ..add(const _i2.XmlElementName('Normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (dateTime != null) { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart index 4b97c52059..707e2941d1 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart index 3d019078c6..a98e8f46dd 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart index ab586df3ee..52733f4a87 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart index 828c13bf95..d7dac779b9 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart @@ -65,24 +65,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart index 637b2b2508..41174d2921 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart index 0e39a7ea5a..7ba811f3ef 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart @@ -67,8 +67,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -78,6 +80,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -99,14 +102,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart index f63c8a6e0f..803cf6491b 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart index 7737c2a9f0..532b0ccd7e 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart @@ -65,8 +65,10 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([IgnoresWrappingXmlNameOutput? output]) => 200; + @override IgnoresWrappingXmlNameOutput buildOutput( IgnoresWrappingXmlNameOutput payload, @@ -76,16 +78,22 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoresWrappingXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart index 8f072b38db..0fa6448a38 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart @@ -67,24 +67,32 @@ class NestedStructuresOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( NestedStructuresInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart index e9917cccc7..13a5a76c5e 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart @@ -65,8 +65,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -76,16 +78,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart index daf234d192..f44e2aac65 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -70,24 +70,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart index bc15604865..bd65e0572d 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart @@ -67,24 +67,32 @@ class QueryListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryListsInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart index 4d5ec54ee9..8c0106bc38 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart @@ -67,24 +67,32 @@ class QueryTimestampsOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryTimestampsInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart index 66df1241bf..ad09b94b59 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart @@ -65,8 +65,10 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([RecursiveXmlShapesOutput? output]) => 200; + @override RecursiveXmlShapesOutput buildOutput( RecursiveXmlShapesOutput payload, @@ -76,16 +78,22 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveXmlShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart index 486a8a85bd..3786f91b9c 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart @@ -67,24 +67,32 @@ class SimpleInputParamsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleInputParams'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SimpleInputParamsInput input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart index 266f7bb156..ad7b6c903d 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart @@ -66,8 +66,10 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarXmlPropertiesOutput? output]) => 200; + @override SimpleScalarXmlPropertiesOutput buildOutput( SimpleScalarXmlPropertiesOutput payload, @@ -77,16 +79,22 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarXmlProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart index 08d2ac0ce3..e6ccc56ac3 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart @@ -65,8 +65,10 @@ class XmlBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -76,16 +78,22 @@ class XmlBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart index aa7eedd4cc..3ccdb47ff0 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart index 9fd22ed013..5708fce132 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart index de19b77eaf..11fdcb1543 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart @@ -65,8 +65,10 @@ class XmlEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlEnumsOutput? output]) => 200; + @override XmlEnumsOutput buildOutput( XmlEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart index 5c77a6351f..a768aed630 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart @@ -65,8 +65,10 @@ class XmlIntEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlIntEnumsOutput? output]) => 200; + @override XmlIntEnumsOutput buildOutput( XmlIntEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlIntEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart index a3a839fc86..019a31fdba 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart @@ -65,8 +65,10 @@ class XmlListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -76,16 +78,22 @@ class XmlListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart index 6faa01dd16..c901dc1f4d 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart @@ -63,8 +63,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlNamespacesOutput? output]) => 200; + @override XmlNamespacesOutput buildOutput( XmlNamespacesOutput payload, @@ -74,16 +76,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart index 93ed3b7cd9..35c08427c2 100644 --- a/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart @@ -65,8 +65,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlTimestampsOutput? output]) => 200; + @override XmlTimestampsOutput buildOutput( XmlTimestampsOutput payload, @@ -76,16 +78,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/ec2Query/pubspec.yaml b/packages/smithy/goldens/lib/ec2Query/pubspec.yaml index f8f8928daa..3a7ea01d3a 100644 --- a/packages/smithy/goldens/lib/ec2Query/pubspec.yaml +++ b/packages/smithy/goldens/lib/ec2Query/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 meta: ^1.7.0 @@ -38,6 +38,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart index 93f0964a56..d8f2540390 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart index d2c53f06a3..7dfdeb439f 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart @@ -97,6 +97,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -104,6 +105,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -130,6 +132,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -137,6 +140,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart index e7e30b9a4e..b354674813 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart @@ -60,6 +60,7 @@ class HostLabelInputEc2QuerySerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -67,6 +68,7 @@ class HostLabelInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart index 3b340978c9..f1e6fa9644 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart @@ -89,6 +89,7 @@ class FractionalSecondsOutputEc2QuerySerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class FractionalSecondsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart index 6c2879dcb9..0673b527f0 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart @@ -132,6 +132,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -139,6 +140,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -182,6 +184,7 @@ class ComplexErrorEc2QuerySerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +192,7 @@ class ComplexErrorEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -238,6 +242,7 @@ class ComplexNestedErrorDataEc2QuerySerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -245,6 +250,7 @@ class ComplexNestedErrorDataEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -288,6 +294,7 @@ class InvalidGreetingEc2QuerySerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -295,6 +302,7 @@ class InvalidGreetingEc2QuerySerializer shape: 'ec2Query', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart index 8327cb4fed..787046acc4 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart @@ -57,6 +57,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer @override Iterable get types => const [IgnoresWrappingXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart index bdd2db5333..8c583e32ac 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart @@ -70,6 +70,7 @@ class NestedStructuresInputEc2QuerySerializer @override Iterable get types => const [NestedStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class NestedStructuresInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class StructArgEc2QuerySerializer @override Iterable get types => const [StructArg]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class StructArgEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructArg deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart index 7641b151a8..082e8edbec 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart @@ -92,6 +92,7 @@ class NoInputAndOutputOutputEc2QuerySerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -99,6 +100,7 @@ class NoInputAndOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart index 834d9e0c75..2fa008ff0c 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -97,6 +97,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -104,6 +105,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_lists_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_lists_operation_test.dart index f8d51ba85b..17c12f3bc6 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_lists_operation_test.dart @@ -261,6 +261,7 @@ class QueryListsInputEc2QuerySerializer @override Iterable get types => const [QueryListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -268,6 +269,7 @@ class QueryListsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -343,6 +345,7 @@ class GreetingStructEc2QuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -350,6 +353,7 @@ class GreetingStructEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -394,6 +398,7 @@ class NestedStructWithListEc2QuerySerializer @override Iterable get types => const [NestedStructWithList]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -401,6 +406,7 @@ class NestedStructWithListEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart index 337ae923ce..a9a0836d31 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart @@ -64,6 +64,7 @@ class QueryTimestampsInputEc2QuerySerializer @override Iterable get types => const [QueryTimestampsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class QueryTimestampsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart index d0b88a34f6..a76eee7a62 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart @@ -71,6 +71,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, @@ -122,6 +124,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +132,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, @@ -178,6 +182,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -185,6 +190,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart index be61d33c30..258a42c566 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart @@ -537,6 +537,7 @@ class SimpleInputParamsInputEc2QuerySerializer @override Iterable get types => const [SimpleInputParamsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -544,6 +545,7 @@ class SimpleInputParamsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart index 9c42e0789e..e59364f8c8 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart @@ -182,6 +182,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer @override Iterable get types => const [SimpleScalarXmlPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +190,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart index 033d8a81c9..8b811c6c3f 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart @@ -55,6 +55,7 @@ class XmlBlobsOutputEc2QuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart index f25d6c7789..ef637308fa 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart @@ -89,6 +89,7 @@ class XmlBlobsOutputEc2QuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart index c4cd0ca43a..36c015a1df 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart @@ -62,6 +62,7 @@ class XmlListsOutputEc2QuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -225,6 +227,7 @@ class StructureListMemberEc2QuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -232,6 +235,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart index aa7a3bd756..3879af5303 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlEnumsOutputEc2QuerySerializer @override Iterable get types => const [XmlEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart index a572ea0b26..5689e62311 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart @@ -70,6 +70,7 @@ class XmlIntEnumsOutputEc2QuerySerializer @override Iterable get types => const [XmlIntEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class XmlIntEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart index 8b5392f45c..ba0f2df1f7 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart @@ -128,6 +128,7 @@ class XmlListsOutputEc2QuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -135,6 +136,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -291,6 +293,7 @@ class StructureListMemberEc2QuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -298,6 +301,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart index 2ca299c93d..20075a5f1f 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart @@ -66,6 +66,7 @@ class XmlNamespacesOutputEc2QuerySerializer @override Iterable get types => const [XmlNamespacesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -73,6 +74,7 @@ class XmlNamespacesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, @@ -116,6 +118,7 @@ class XmlNamespaceNestedEc2QuerySerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -123,6 +126,7 @@ class XmlNamespaceNestedEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart index c177855c28..e1bb0d5172 100644 --- a/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart @@ -256,6 +256,7 @@ class XmlTimestampsOutputEc2QuerySerializer @override Iterable get types => const [XmlTimestampsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -263,6 +264,7 @@ class XmlTimestampsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/aws_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/aws_config.dart index 75c82f834f..4fb9a58971 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/bad_request_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/bad_request_exception.dart index 9ca95cd1d3..bee2b7a6ce 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/bad_request_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/bad_request_exception.dart @@ -45,18 +45,23 @@ abstract class BadRequestException namespace: 'com.amazonaws.apigateway', shape: 'BadRequestException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('BadRequestException') @@ -77,6 +82,7 @@ class BadRequestExceptionRestJson1Serializer BadRequestException, _$BadRequestException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -84,6 +90,7 @@ class BadRequestExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override BadRequestException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/client_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/client_config.dart index 995006573b..df44bb36f8 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/client_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart index 320ecb7967..3bbd5b65ba 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart @@ -43,6 +43,7 @@ abstract class EndpointConfiguration types, vpcEndpointIds, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EndpointConfiguration') @@ -68,6 +69,7 @@ class EndpointConfigurationRestJson1Serializer EndpointConfiguration, _$EndpointConfiguration, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -75,6 +77,7 @@ class EndpointConfigurationRestJson1Serializer shape: 'restJson1', ) ]; + @override EndpointConfiguration deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/environment_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/environment_config.dart index 7b1641cfcc..8c36c15395 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/file_config_settings.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/file_config_settings.dart index c5c35b4847..37a431a391 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart index 5e491ef9b0..ffa3b8694d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart @@ -56,11 +56,13 @@ abstract class GetRestApisRequest int? get limit; @override GetRestApisRequestPayload getPayload() => GetRestApisRequestPayload(); + @override List get props => [ position, limit, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetRestApisRequest') @@ -90,6 +92,7 @@ abstract class GetRestApisRequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('GetRestApisRequestPayload'); @@ -108,6 +111,7 @@ class GetRestApisRequestRestJson1Serializer GetRestApisRequestPayload, _$GetRestApisRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class GetRestApisRequestRestJson1Serializer shape: 'restJson1', ) ]; + @override GetRestApisRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/operation_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/operation_config.dart index ae4b0bae47..839b567b25 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_api.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_api.dart index 1545c440fb..a0f39427c0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_api.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_api.dart @@ -86,6 +86,7 @@ abstract class RestApi tags, disableExecuteApiEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RestApi') @@ -154,6 +155,7 @@ class RestApiRestJson1Serializer RestApi, _$RestApi, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +163,7 @@ class RestApiRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApi deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_apis.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_apis.dart index e1c9dd3af2..80179ded66 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_apis.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/rest_apis.dart @@ -47,6 +47,7 @@ abstract class RestApis items, position, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RestApis') @@ -71,6 +72,7 @@ class RestApisRestJson1Serializer RestApis, _$RestApis, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +80,7 @@ class RestApisRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApis deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/retry_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/retry_config.dart index 87b18ae7fa..4ae7b65caf 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/s3_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/s3_config.dart index 22520fc3f0..5c0e5d3dcd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/scoped_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/scoped_config.dart index ef33acd63a..4285ebb3b5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart index 7404732d6c..f40908cbfd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart @@ -57,26 +57,32 @@ abstract class TooManyRequestsException TooManyRequestsExceptionPayload((b) { b.message = message; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'com.amazonaws.apigateway', shape: 'TooManyRequestsException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 429; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ retryAfterSeconds, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TooManyRequestsException') @@ -108,6 +114,7 @@ abstract class TooManyRequestsExceptionPayload String? get message; @override List get props => [message]; + @override String toString() { final helper = @@ -132,6 +139,7 @@ class TooManyRequestsExceptionRestJson1Serializer TooManyRequestsExceptionPayload, _$TooManyRequestsExceptionPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -139,6 +147,7 @@ class TooManyRequestsExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override TooManyRequestsExceptionPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart index 9977a2fc42..4d0c5513a2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart @@ -45,18 +45,23 @@ abstract class UnauthorizedException namespace: 'com.amazonaws.apigateway', shape: 'UnauthorizedException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 401; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnauthorizedException') @@ -78,6 +83,7 @@ class UnauthorizedExceptionRestJson1Serializer UnauthorizedException, _$UnauthorizedException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -85,6 +91,7 @@ class UnauthorizedExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override UnauthorizedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart index af953b7bf2..74cf83bec8 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart @@ -103,8 +103,10 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< ); } }); + @override int successCode([RestApis? output]) => 200; + @override RestApis buildOutput( RestApis payload, @@ -114,6 +116,7 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -148,14 +151,19 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< builder: UnauthorizedException.fromResponse, ), ]; + @override String get runtimeTypeName => 'GetRestApis'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GetRestApisRequest input, { @@ -177,9 +185,11 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< @override String? getToken(RestApis output) => output.position; + @override _i2.BuiltList getItems(RestApis output) => output.items ?? _i2.BuiltList(); + @override GetRestApisRequest rebuildInput( GetRestApisRequest input, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/archive_creation_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/archive_creation_output.dart index 5d54485f5f..c568997a99 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/archive_creation_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/archive_creation_output.dart @@ -60,12 +60,14 @@ abstract class ArchiveCreationOutput String? get archiveId; @override ArchiveCreationOutputPayload getPayload() => ArchiveCreationOutputPayload(); + @override List get props => [ location, checksum, archiveId, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ArchiveCreationOutput') @@ -101,6 +103,7 @@ abstract class ArchiveCreationOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ArchiveCreationOutputPayload'); @@ -120,6 +123,7 @@ class ArchiveCreationOutputRestJson1Serializer ArchiveCreationOutputPayload, _$ArchiveCreationOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -127,6 +131,7 @@ class ArchiveCreationOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ArchiveCreationOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/aws_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/aws_config.dart index 08fdb5aab9..9b87d7762c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/client_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/client_config.dart index 2a91177ffb..ee4104b297 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/client_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/environment_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/environment_config.dart index 6f4ae72cb8..e6b086d05e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/file_config_settings.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/file_config_settings.dart index 70968bc63f..3b9565c214 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart index d2d9c71c2f..db630d5e73 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart @@ -56,22 +56,27 @@ abstract class InvalidParameterValueException namespace: 'com.amazonaws.glacier', shape: 'InvalidParameterValueException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidParameterValueException') @@ -101,6 +106,7 @@ class InvalidParameterValueExceptionRestJson1Serializer InvalidParameterValueException, _$InvalidParameterValueException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +114,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart index e1b1173faa..b96a6b710f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart @@ -56,22 +56,27 @@ abstract class MissingParameterValueException namespace: 'com.amazonaws.glacier', shape: 'MissingParameterValueException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MissingParameterValueException') @@ -101,6 +106,7 @@ class MissingParameterValueExceptionRestJson1Serializer MissingParameterValueException, _$MissingParameterValueException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +114,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/operation_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/operation_config.dart index 39f53eaf8a..00a17e32c4 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/request_timeout_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/request_timeout_exception.dart index e7622af45e..6c64187dfd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/request_timeout_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/request_timeout_exception.dart @@ -54,22 +54,27 @@ abstract class RequestTimeoutException namespace: 'com.amazonaws.glacier', shape: 'RequestTimeoutException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 408; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RequestTimeoutException') @@ -99,6 +104,7 @@ class RequestTimeoutExceptionRestJson1Serializer RequestTimeoutException, _$RequestTimeoutException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/resource_not_found_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/resource_not_found_exception.dart index 593673bf59..800fa485d9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/resource_not_found_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/resource_not_found_exception.dart @@ -54,22 +54,27 @@ abstract class ResourceNotFoundException namespace: 'com.amazonaws.glacier', shape: 'ResourceNotFoundException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 404; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResourceNotFoundException') @@ -99,6 +104,7 @@ class ResourceNotFoundExceptionRestJson1Serializer ResourceNotFoundException, _$ResourceNotFoundException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/retry_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/retry_config.dart index e770e032b7..9407ba6d33 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/s3_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/s3_config.dart index 755b7cafe2..b99ddc4d9b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/scoped_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/scoped_config.dart index d6bddf689d..7ceab1d2f2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/service_unavailable_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/service_unavailable_exception.dart index d6dfb48532..dd6e4dbb63 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/service_unavailable_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/service_unavailable_exception.dart @@ -54,22 +54,27 @@ abstract class ServiceUnavailableException namespace: 'com.amazonaws.glacier', shape: 'ServiceUnavailableException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ServiceUnavailableException') @@ -99,6 +104,7 @@ class ServiceUnavailableExceptionRestJson1Serializer ServiceUnavailableException, _$ServiceUnavailableException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_archive_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_archive_input.dart index 39d689ca58..f3a09cb249 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_archive_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_archive_input.dart @@ -86,6 +86,7 @@ abstract class UploadArchiveInput @override _i2.Stream>? getPayload() => body; + @override List get props => [ vaultName, @@ -94,6 +95,7 @@ abstract class UploadArchiveInput checksum, body, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadArchiveInput') @@ -130,6 +132,7 @@ class UploadArchiveInputRestJson1Serializer UploadArchiveInput, _$UploadArchiveInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +140,7 @@ class UploadArchiveInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart index d77f6a9218..19a35ea76b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart @@ -94,6 +94,7 @@ abstract class UploadMultipartPartInput @override _i2.Stream>? getPayload() => body; + @override List get props => [ accountId, @@ -103,6 +104,7 @@ abstract class UploadMultipartPartInput range, body, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadMultipartPartInput') @@ -144,6 +146,7 @@ class UploadMultipartPartInputRestJson1Serializer UploadMultipartPartInput, _$UploadMultipartPartInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -151,6 +154,7 @@ class UploadMultipartPartInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart index 90d5e42ae6..c432e63173 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart @@ -45,8 +45,10 @@ abstract class UploadMultipartPartOutput @override UploadMultipartPartOutputPayload getPayload() => UploadMultipartPartOutputPayload(); + @override List get props => [checksum]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadMultipartPartOutput') @@ -74,6 +76,7 @@ abstract class UploadMultipartPartOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class UploadMultipartPartOutputRestJson1Serializer UploadMultipartPartOutputPayload, _$UploadMultipartPartOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class UploadMultipartPartOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_archive_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_archive_operation.dart index db66d7f234..919ab84faf 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_archive_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_archive_operation.dart @@ -89,8 +89,10 @@ class UploadArchiveOperation extends _i1.HttpOperation<_i2.Stream>, } } }); + @override int successCode([ArchiveCreationOutput? output]) => 201; + @override ArchiveCreationOutput buildOutput( ArchiveCreationOutputPayload payload, @@ -100,6 +102,7 @@ class UploadArchiveOperation extends _i1.HttpOperation<_i2.Stream>, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError>, builder: ServiceUnavailableException.fromResponse, ), ]; + @override String get runtimeTypeName => 'UploadArchive'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UploadArchiveInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart index eb86f504ae..ea09c4c4ea 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart @@ -96,8 +96,10 @@ class UploadMultipartPartOperation extends _i1.HttpOperation< } } }); + @override int successCode([UploadMultipartPartOutput? output]) => 204; + @override UploadMultipartPartOutput buildOutput( UploadMultipartPartOutputPayload payload, @@ -107,6 +109,7 @@ class UploadMultipartPartOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError 'UploadMultipartPart'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UploadMultipartPartInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart index 0db26d983e..0d93b0e12d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart @@ -212,6 +212,7 @@ abstract class AllQueryStringTypesInput @override AllQueryStringTypesInputPayload getPayload() => AllQueryStringTypesInputPayload(); + @override List get props => [ queryString, @@ -236,6 +237,7 @@ abstract class AllQueryStringTypesInput queryIntegerEnumList, queryParamsMapOfStringList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AllQueryStringTypesInput') @@ -343,6 +345,7 @@ abstract class AllQueryStringTypesInputPayload @override List get props => []; + @override String toString() { final helper = @@ -363,6 +366,7 @@ class AllQueryStringTypesInputRestJson1Serializer AllQueryStringTypesInputPayload, _$AllQueryStringTypesInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -370,6 +374,7 @@ class AllQueryStringTypesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override AllQueryStringTypesInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/aws_config.dart index 6b549de282..1483f38f67 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/client_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/client_config.dart index 794bdefb51..49f3044ffa 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_error.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_error.dart index db35fb70c8..d3a2a9d5e6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_error.dart @@ -68,29 +68,36 @@ abstract class ComplexError } b.topLevel = topLevel; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'aws.protocoltests.restjson', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 403; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ header, topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -127,6 +134,7 @@ abstract class ComplexErrorPayload nested, topLevel, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexErrorPayload') @@ -153,6 +161,7 @@ class ComplexErrorRestJson1Serializer ComplexErrorPayload, _$ComplexErrorPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -160,6 +169,7 @@ class ComplexErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexErrorPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart index 27c38d4791..1bfc75674a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataRestJson1Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart index cc0d386b60..f3f8ceb9f4 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart @@ -59,11 +59,13 @@ abstract class ConstantAndVariableQueryStringInput @override ConstantAndVariableQueryStringInputPayload getPayload() => ConstantAndVariableQueryStringInputPayload(); + @override List get props => [ baz, maybeSet, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class ConstantAndVariableQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i1 ConstantAndVariableQueryStringInputPayload, _$ConstantAndVariableQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override ConstantAndVariableQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart index fd071087d0..4c33d2a175 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart @@ -59,8 +59,10 @@ abstract class ConstantQueryStringInput @override ConstantQueryStringInputPayload getPayload() => ConstantQueryStringInputPayload(); + @override List get props => [hello]; + @override String toString() { final helper = newBuiltValueToStringHelper('ConstantQueryStringInput') @@ -88,6 +90,7 @@ abstract class ConstantQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class ConstantQueryStringInputRestJson1Serializer ConstantQueryStringInputPayload, _$ConstantQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class ConstantQueryStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override ConstantQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart index 6f9c29f375..1c0e3c9999 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputRestJson1Serializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart index 6a630132a0..173388bc16 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart @@ -56,8 +56,10 @@ abstract class DocumentTypeAsPayloadInputOutput _i2.JsonObject? get documentValue; @override _i2.JsonObject? getPayload() => documentValue; + @override List get props => [documentValue]; + @override String toString() { final helper = @@ -80,6 +82,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer DocumentTypeAsPayloadInputOutput, _$DocumentTypeAsPayloadInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -87,6 +90,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.JsonObject deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart index ee932c8114..a30f1a4d0c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart @@ -54,11 +54,13 @@ abstract class DocumentTypeInputOutput _i3.JsonObject? get documentValue; @override DocumentTypeInputOutput getPayload() => this; + @override List get props => [ stringValue, documentValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DocumentTypeInputOutput') @@ -84,6 +86,7 @@ class DocumentTypeInputOutputRestJson1Serializer DocumentTypeInputOutput, _$DocumentTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class DocumentTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart index 71f56dcc9b..cb07f0b69c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart index f9616303e3..bf123b8272 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart index aec9349a27..4e83a62e82 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart @@ -50,8 +50,10 @@ abstract class EnumPayloadInput StringEnum? get payload; @override StringEnum? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnumPayloadInput') @@ -72,6 +74,7 @@ class EnumPayloadInputRestJson1Serializer EnumPayloadInput, _$EnumPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class EnumPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StringEnum deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/environment_config.dart index 3c933a654a..e1ae340df4 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart index 2e657edb00..b98da85b0d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/foo_error.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/foo_error.dart index f15145590d..115689855a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/foo_error.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/foo_error.dart @@ -45,20 +45,26 @@ abstract class FooError namespace: 'aws.protocoltests.restjson', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -75,6 +81,7 @@ class FooErrorRestJson1Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +89,7 @@ class FooErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart index 94e965ecdc..fb9413735e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputRestJson1Serializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart index 17fef6301d..90c8f2f942 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart @@ -43,8 +43,10 @@ abstract class GreetingStruct String? get hi; @override GreetingStruct getPayload() => this; + @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -65,6 +67,7 @@ class GreetingStructRestJson1Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -72,6 +75,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart index 49afd5e6d0..56975538a3 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart @@ -45,8 +45,10 @@ abstract class GreetingWithErrorsOutput @override GreetingWithErrorsOutputPayload getPayload() => GreetingWithErrorsOutputPayload(); + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -74,6 +76,7 @@ abstract class GreetingWithErrorsOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class GreetingWithErrorsOutputRestJson1Serializer GreetingWithErrorsOutputPayload, _$GreetingWithErrorsOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class GreetingWithErrorsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingWithErrorsOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart index 07db58aff6..de156b11ff 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputRestJson1Serializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart index 06839da123..8f398bbee7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart @@ -47,8 +47,10 @@ abstract class HttpChecksumRequiredInputOutput String? get foo; @override HttpChecksumRequiredInputOutput getPayload() => this; + @override List get props => [foo]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer HttpChecksumRequiredInputOutput, _$HttpChecksumRequiredInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumRequiredInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart index 26f9943bf0..5cd6bce257 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPayloadTraitsInputOutput') @@ -98,6 +100,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer HttpPayloadTraitsInputOutput, _$HttpPayloadTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -105,6 +108,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart index 02f356bc00..1b04a65b43 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsWithMediaTypeInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -99,6 +101,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer HttpPayloadTraitsWithMediaTypeInputOutput, _$HttpPayloadTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +109,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart index 65f721c771..934e5974f2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithStructureInputOutput NestedPayload? get nested; @override NestedPayload? getPayload() => nested ?? NestedPayload(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer HttpPayloadWithStructureInputOutput, _$HttpPayloadWithStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart index ce32329c8e..c84254430b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart @@ -40,8 +40,10 @@ abstract class HttpPrefixHeadersInResponseInput @override HttpPrefixHeadersInResponseInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = @@ -60,6 +62,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer HttpPrefixHeadersInResponseInput, _$HttpPrefixHeadersInResponseInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart index 0f271a4d67..3ff77967d0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart @@ -50,8 +50,10 @@ abstract class HttpPrefixHeadersInResponseOutput @override HttpPrefixHeadersInResponseOutputPayload getPayload() => HttpPrefixHeadersInResponseOutputPayload(); + @override List get props => [prefixHeaders]; + @override String toString() { final helper = @@ -80,6 +82,7 @@ abstract class HttpPrefixHeadersInResponseOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -100,6 +103,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer extends _i2 HttpPrefixHeadersInResponseOutputPayload, _$HttpPrefixHeadersInResponseOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -107,6 +111,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer extends _i2 shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart index c82302a0a5..9d9dcffbdd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart @@ -63,11 +63,13 @@ abstract class HttpPrefixHeadersInput _i3.BuiltMap? get fooMap; @override HttpPrefixHeadersInputPayload getPayload() => HttpPrefixHeadersInputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInput') @@ -99,6 +101,7 @@ abstract class HttpPrefixHeadersInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInputPayload'); @@ -118,6 +121,7 @@ class HttpPrefixHeadersInputRestJson1Serializer HttpPrefixHeadersInputPayload, _$HttpPrefixHeadersInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -125,6 +129,7 @@ class HttpPrefixHeadersInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart index 1f05ccb2fa..2ad8b6b2d0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart @@ -62,11 +62,13 @@ abstract class HttpPrefixHeadersOutput @override HttpPrefixHeadersOutputPayload getPayload() => HttpPrefixHeadersOutputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersOutput') @@ -98,6 +100,7 @@ abstract class HttpPrefixHeadersOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -118,6 +121,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer HttpPrefixHeadersOutputPayload, _$HttpPrefixHeadersOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -125,6 +129,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart index 7c96faa5ee..53c6571da0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithFloatLabelsInput @override HttpRequestWithFloatLabelsInputPayload getPayload() => HttpRequestWithFloatLabelsInputPayload(); + @override List get props => [ float, double_, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithFloatLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -130,6 +133,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer extends _i1 HttpRequestWithFloatLabelsInputPayload, _$HttpRequestWithFloatLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithFloatLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart index 30bac25445..38fb24c770 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart @@ -75,11 +75,13 @@ abstract class HttpRequestWithGreedyLabelInPathInput @override HttpRequestWithGreedyLabelInPathInputPayload getPayload() => HttpRequestWithGreedyLabelInPathInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = @@ -112,6 +114,7 @@ abstract class HttpRequestWithGreedyLabelInPathInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -132,6 +135,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i1 HttpRequestWithGreedyLabelInPathInputPayload, _$HttpRequestWithGreedyLabelInPathInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -139,6 +143,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithGreedyLabelInPathInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index b9c6914fa7..e5881870f0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -150,6 +150,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput @override HttpRequestWithLabelsAndTimestampFormatInputPayload getPayload() => HttpRequestWithLabelsAndTimestampFormatInputPayload(); + @override List get props => [ memberEpochSeconds, @@ -160,6 +161,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -212,6 +214,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -233,6 +236,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer HttpRequestWithLabelsAndTimestampFormatInputPayload, _$HttpRequestWithLabelsAndTimestampFormatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -240,6 +244,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart index 2f2b4bf403..cc2e260baa 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart @@ -129,6 +129,7 @@ abstract class HttpRequestWithLabelsInput @override HttpRequestWithLabelsInputPayload getPayload() => HttpRequestWithLabelsInputPayload(); + @override List get props => [ string, @@ -140,6 +141,7 @@ abstract class HttpRequestWithLabelsInput boolean, timestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpRequestWithLabelsInput') @@ -195,6 +197,7 @@ abstract class HttpRequestWithLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -215,6 +218,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer HttpRequestWithLabelsInputPayload, _$HttpRequestWithLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -222,6 +226,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart index 207ec4a9a6..a274cf40f6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart @@ -61,8 +61,10 @@ abstract class HttpRequestWithRegexLiteralInput @override HttpRequestWithRegexLiteralInputPayload getPayload() => HttpRequestWithRegexLiteralInputPayload(); + @override List get props => [str]; + @override String toString() { final helper = @@ -91,6 +93,7 @@ abstract class HttpRequestWithRegexLiteralInputPayload @override List get props => []; + @override String toString() { final helper = @@ -111,6 +114,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer extends _i1 HttpRequestWithRegexLiteralInputPayload, _$HttpRequestWithRegexLiteralInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -118,6 +122,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithRegexLiteralInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart index 985ed89b0a..e68851d96e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart @@ -42,8 +42,10 @@ abstract class HttpResponseCodeOutput int? get status; @override HttpResponseCodeOutputPayload getPayload() => HttpResponseCodeOutputPayload(); + @override List get props => [status]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutput') @@ -71,6 +73,7 @@ abstract class HttpResponseCodeOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutputPayload'); @@ -90,6 +93,7 @@ class HttpResponseCodeOutputRestJson1Serializer HttpResponseCodeOutputPayload, _$HttpResponseCodeOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -97,6 +101,7 @@ class HttpResponseCodeOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpResponseCodeOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart index 467ee7af6c..743ecdbcab 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart @@ -39,6 +39,7 @@ abstract class IgnoreQueryParamsInResponseOutput String? get baz; @override List get props => [baz]; + @override String toString() { final helper = @@ -61,6 +62,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer IgnoreQueryParamsInResponseOutput, _$IgnoreQueryParamsInResponseOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart index 49c78b6bbd..820a058a8f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart @@ -267,6 +267,7 @@ abstract class InputAndOutputWithHeadersIo @override InputAndOutputWithHeadersIoPayload getPayload() => InputAndOutputWithHeadersIoPayload(); + @override List get props => [ headerString, @@ -288,6 +289,7 @@ abstract class InputAndOutputWithHeadersIo headerIntegerEnum, headerIntegerEnumList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InputAndOutputWithHeadersIo') @@ -383,6 +385,7 @@ abstract class InputAndOutputWithHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -403,6 +406,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer InputAndOutputWithHeadersIoPayload, _$InputAndOutputWithHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -410,6 +414,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override InputAndOutputWithHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart index 70800161e6..438862b523 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart @@ -47,18 +47,23 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.restjson', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -79,6 +84,7 @@ class InvalidGreetingRestJson1Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class InvalidGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart index 832a100e84..9bbac9b721 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart @@ -48,8 +48,10 @@ abstract class JsonBlobsInputOutput _i3.Uint8List? get data; @override JsonBlobsInputOutput getPayload() => this; + @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonBlobsInputOutput') @@ -71,6 +73,7 @@ class JsonBlobsInputOutputRestJson1Serializer JsonBlobsInputOutput, _$JsonBlobsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class JsonBlobsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart index 9b702de87c..090ef9db6d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class JsonEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override JsonEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class JsonEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonEnumsInputOutput') @@ -117,6 +119,7 @@ class JsonEnumsInputOutputRestJson1Serializer JsonEnumsInputOutput, _$JsonEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -124,6 +127,7 @@ class JsonEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart index 8c81f67a52..73c78cf0ab 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart @@ -68,6 +68,7 @@ abstract class JsonIntEnumsInputOutput _i3.BuiltMap? get integerEnumMap; @override JsonIntEnumsInputOutput getPayload() => this; + @override List get props => [ integerEnum1, @@ -77,6 +78,7 @@ abstract class JsonIntEnumsInputOutput integerEnumSet, integerEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonIntEnumsInputOutput') @@ -118,6 +120,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer JsonIntEnumsInputOutput, _$JsonIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -125,6 +128,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart index d94230e552..3cea4fe2f1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart @@ -87,6 +87,7 @@ abstract class JsonListsInputOutput _i3.BuiltList? get structureList; @override JsonListsInputOutput getPayload() => this; + @override List get props => [ stringList, @@ -100,6 +101,7 @@ abstract class JsonListsInputOutput nestedStringList, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonListsInputOutput') @@ -157,6 +159,7 @@ class JsonListsInputOutputRestJson1Serializer JsonListsInputOutput, _$JsonListsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -164,6 +167,7 @@ class JsonListsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonListsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart index d7779cb184..8dfb115a6b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart @@ -89,6 +89,7 @@ abstract class JsonMapsInputOutput _i3.BuiltSetMultimap? get sparseSetMap; @override JsonMapsInputOutput getPayload() => this; + @override List get props => [ denseStructMap, @@ -102,6 +103,7 @@ abstract class JsonMapsInputOutput denseSetMap, sparseSetMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonMapsInputOutput') @@ -158,6 +160,7 @@ class JsonMapsInputOutputRestJson1Serializer JsonMapsInputOutput, _$JsonMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -165,6 +168,7 @@ class JsonMapsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonMapsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart index 1494b92c42..78a621d93c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart @@ -68,6 +68,7 @@ abstract class JsonTimestampsInputOutput DateTime? get httpDateOnTarget; @override JsonTimestampsInputOutput getPayload() => this; + @override List get props => [ normal, @@ -78,6 +79,7 @@ abstract class JsonTimestampsInputOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonTimestampsInputOutput') @@ -123,6 +125,7 @@ class JsonTimestampsInputOutputRestJson1Serializer JsonTimestampsInputOutput, _$JsonTimestampsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -130,6 +133,7 @@ class JsonTimestampsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart index 288da9ae2d..a1bcc685a2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart @@ -43,8 +43,10 @@ abstract class MalformedAcceptWithGenericStringOutput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -67,6 +69,7 @@ class MalformedAcceptWithGenericStringOutputRestJson1Serializer MalformedAcceptWithGenericStringOutput, _$MalformedAcceptWithGenericStringOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +77,7 @@ class MalformedAcceptWithGenericStringOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart index 39ea66f021..eb3ecdc47f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart @@ -45,8 +45,10 @@ abstract class MalformedAcceptWithPayloadOutput _i3.Uint8List? get payload; @override _i3.Uint8List? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -69,6 +71,7 @@ class MalformedAcceptWithPayloadOutputRestJson1Serializer MalformedAcceptWithPayloadOutput, _$MalformedAcceptWithPayloadOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +79,7 @@ class MalformedAcceptWithPayloadOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i3.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart index 348758a253..36d6470c8d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart @@ -39,8 +39,10 @@ abstract class MalformedBlobInput _i3.Uint8List? get blob; @override MalformedBlobInput getPayload() => this; + @override List get props => [blob]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBlobInput') @@ -61,6 +63,7 @@ class MalformedBlobInputRestJson1Serializer MalformedBlobInput, _$MalformedBlobInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class MalformedBlobInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedBlobInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart index 70b7d723f2..6d769233c7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart @@ -81,6 +81,7 @@ abstract class MalformedBooleanInput MalformedBooleanInputPayload((b) { b.booleanInBody = booleanInBody; }); + @override List get props => [ booleanInBody, @@ -88,6 +89,7 @@ abstract class MalformedBooleanInput booleanInQuery, booleanInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBooleanInput') @@ -127,6 +129,7 @@ abstract class MalformedBooleanInputPayload bool? get booleanInBody; @override List get props => [booleanInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBooleanInputPayload') @@ -150,6 +153,7 @@ class MalformedBooleanInputRestJson1Serializer MalformedBooleanInputPayload, _$MalformedBooleanInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class MalformedBooleanInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedBooleanInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart index 1b8c094dac..a427a9a24d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart @@ -79,6 +79,7 @@ abstract class MalformedByteInput MalformedByteInputPayload getPayload() => MalformedByteInputPayload((b) { b.byteInBody = byteInBody; }); + @override List get props => [ byteInBody, @@ -86,6 +87,7 @@ abstract class MalformedByteInput byteInQuery, byteInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedByteInput') @@ -123,6 +125,7 @@ abstract class MalformedByteInputPayload int? get byteInBody; @override List get props => [byteInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedByteInputPayload') @@ -145,6 +148,7 @@ class MalformedByteInputRestJson1Serializer MalformedByteInputPayload, _$MalformedByteInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -152,6 +156,7 @@ class MalformedByteInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedByteInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart index 9d1feccafc..4ed829efbc 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart @@ -44,8 +44,10 @@ abstract class MalformedContentTypeWithGenericStringInput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -68,6 +70,7 @@ class MalformedContentTypeWithGenericStringInputRestJson1Serializer MalformedContentTypeWithGenericStringInput, _$MalformedContentTypeWithGenericStringInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -75,6 +78,7 @@ class MalformedContentTypeWithGenericStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart index c099c68351..734d9c37f3 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart @@ -46,8 +46,10 @@ abstract class MalformedContentTypeWithPayloadInput _i2.Uint8List? get payload; @override _i2.Uint8List? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -70,6 +72,7 @@ class MalformedContentTypeWithPayloadInputRestJson1Serializer MalformedContentTypeWithPayloadInput, _$MalformedContentTypeWithPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class MalformedContentTypeWithPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart index f4d2de3417..aa82d4febc 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart @@ -52,8 +52,10 @@ abstract class MalformedContentTypeWithoutBodyEmptyInputInput @override MalformedContentTypeWithoutBodyEmptyInputInputPayload getPayload() => MalformedContentTypeWithoutBodyEmptyInputInputPayload(); + @override List get props => [header]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -83,6 +85,7 @@ abstract class MalformedContentTypeWithoutBodyEmptyInputInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -104,6 +107,7 @@ class MalformedContentTypeWithoutBodyEmptyInputInputRestJson1Serializer MalformedContentTypeWithoutBodyEmptyInputInputPayload, _$MalformedContentTypeWithoutBodyEmptyInputInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -111,6 +115,7 @@ class MalformedContentTypeWithoutBodyEmptyInputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedContentTypeWithoutBodyEmptyInputInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart index cafe7155a0..09a13698df 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart @@ -80,6 +80,7 @@ abstract class MalformedDoubleInput MalformedDoubleInputPayload getPayload() => MalformedDoubleInputPayload((b) { b.doubleInBody = doubleInBody; }); + @override List get props => [ doubleInBody, @@ -87,6 +88,7 @@ abstract class MalformedDoubleInput doubleInQuery, doubleInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedDoubleInput') @@ -124,6 +126,7 @@ abstract class MalformedDoubleInputPayload double? get doubleInBody; @override List get props => [doubleInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedDoubleInputPayload') @@ -147,6 +150,7 @@ class MalformedDoubleInputRestJson1Serializer MalformedDoubleInputPayload, _$MalformedDoubleInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -154,6 +158,7 @@ class MalformedDoubleInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedDoubleInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart index 5da96b7bc2..fd62e262c6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart @@ -80,6 +80,7 @@ abstract class MalformedFloatInput MalformedFloatInputPayload getPayload() => MalformedFloatInputPayload((b) { b.floatInBody = floatInBody; }); + @override List get props => [ floatInBody, @@ -87,6 +88,7 @@ abstract class MalformedFloatInput floatInQuery, floatInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedFloatInput') @@ -124,6 +126,7 @@ abstract class MalformedFloatInputPayload double? get floatInBody; @override List get props => [floatInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedFloatInputPayload') @@ -146,6 +149,7 @@ class MalformedFloatInputRestJson1Serializer MalformedFloatInputPayload, _$MalformedFloatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -153,6 +157,7 @@ class MalformedFloatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedFloatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart index 9bd27fbbf6..f5e61a4b27 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart @@ -81,6 +81,7 @@ abstract class MalformedIntegerInput MalformedIntegerInputPayload((b) { b.integerInBody = integerInBody; }); + @override List get props => [ integerInBody, @@ -88,6 +89,7 @@ abstract class MalformedIntegerInput integerInQuery, integerInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedIntegerInput') @@ -127,6 +129,7 @@ abstract class MalformedIntegerInputPayload int? get integerInBody; @override List get props => [integerInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedIntegerInputPayload') @@ -150,6 +153,7 @@ class MalformedIntegerInputRestJson1Serializer MalformedIntegerInputPayload, _$MalformedIntegerInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class MalformedIntegerInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedIntegerInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart index 64162c0b1e..8b994b5e2b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart @@ -39,8 +39,10 @@ abstract class MalformedListInput _i3.BuiltList? get bodyList; @override MalformedListInput getPayload() => this; + @override List get props => [bodyList]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedListInput') @@ -61,6 +63,7 @@ class MalformedListInputRestJson1Serializer MalformedListInput, _$MalformedListInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class MalformedListInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedListInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart index cad689af66..333d3625f1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart @@ -81,6 +81,7 @@ abstract class MalformedLongInput MalformedLongInputPayload getPayload() => MalformedLongInputPayload((b) { b.longInBody = longInBody; }); + @override List get props => [ longInBody, @@ -88,6 +89,7 @@ abstract class MalformedLongInput longInQuery, longInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLongInput') @@ -125,6 +127,7 @@ abstract class MalformedLongInputPayload _i3.Int64? get longInBody; @override List get props => [longInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLongInputPayload') @@ -147,6 +150,7 @@ class MalformedLongInputRestJson1Serializer MalformedLongInputPayload, _$MalformedLongInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -154,6 +158,7 @@ class MalformedLongInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLongInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart index 2a6d283988..d7a11f831e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart @@ -38,8 +38,10 @@ abstract class MalformedMapInput _i3.BuiltMap? get bodyMap; @override MalformedMapInput getPayload() => this; + @override List get props => [bodyMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedMapInput') @@ -60,6 +62,7 @@ class MalformedMapInputRestJson1Serializer MalformedMapInput, _$MalformedMapInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class MalformedMapInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart index de0d1ee451..f02ee50f17 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart @@ -46,11 +46,13 @@ abstract class MalformedRequestBodyInput double? get float; @override MalformedRequestBodyInput getPayload() => this; + @override List get props => [ int_, float, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequestBodyInput') @@ -76,6 +78,7 @@ class MalformedRequestBodyInputRestJson1Serializer MalformedRequestBodyInput, _$MalformedRequestBodyInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class MalformedRequestBodyInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRequestBodyInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart index b982da8116..e829ebcf68 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart @@ -79,6 +79,7 @@ abstract class MalformedShortInput MalformedShortInputPayload getPayload() => MalformedShortInputPayload((b) { b.shortInBody = shortInBody; }); + @override List get props => [ shortInBody, @@ -86,6 +87,7 @@ abstract class MalformedShortInput shortInQuery, shortInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedShortInput') @@ -123,6 +125,7 @@ abstract class MalformedShortInputPayload int? get shortInBody; @override List get props => [shortInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedShortInputPayload') @@ -145,6 +148,7 @@ class MalformedShortInputRestJson1Serializer MalformedShortInputPayload, _$MalformedShortInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -152,6 +156,7 @@ class MalformedShortInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedShortInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart index af1161a917..8c649b306d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart @@ -51,8 +51,10 @@ abstract class MalformedStringInput _i3.JsonObject? get blob; @override MalformedStringInputPayload getPayload() => MalformedStringInputPayload(); + @override List get props => [blob]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedStringInput') @@ -78,6 +80,7 @@ abstract class MalformedStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedStringInputPayload'); @@ -97,6 +100,7 @@ class MalformedStringInputRestJson1Serializer MalformedStringInputPayload, _$MalformedStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +108,7 @@ class MalformedStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart index f19cae7ce2..a9404ec176 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyDateTimeInput DateTime get timestamp; @override MalformedTimestampBodyDateTimeInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyDateTimeInputRestJson1Serializer extends _i1 MalformedTimestampBodyDateTimeInput, _$MalformedTimestampBodyDateTimeInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyDateTimeInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampBodyDateTimeInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart index 1a1bdd2a9a..03be088d8a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyDefaultInput DateTime get timestamp; @override MalformedTimestampBodyDefaultInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyDefaultInputRestJson1Serializer MalformedTimestampBodyDefaultInput, _$MalformedTimestampBodyDefaultInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyDefaultInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedTimestampBodyDefaultInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart index 5dbcb246cf..50db492ec7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyHttpDateInput DateTime get timestamp; @override MalformedTimestampBodyHttpDateInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampBodyHttpDateInput, _$MalformedTimestampBodyHttpDateInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampBodyHttpDateInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart index f516a1140d..77fc028afb 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart @@ -54,8 +54,10 @@ abstract class MalformedTimestampHeaderDateTimeInput @override MalformedTimestampHeaderDateTimeInputPayload getPayload() => MalformedTimestampHeaderDateTimeInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -84,6 +86,7 @@ abstract class MalformedTimestampHeaderDateTimeInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -104,6 +107,7 @@ class MalformedTimestampHeaderDateTimeInputRestJson1Serializer extends _i1 MalformedTimestampHeaderDateTimeInputPayload, _$MalformedTimestampHeaderDateTimeInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -111,6 +115,7 @@ class MalformedTimestampHeaderDateTimeInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderDateTimeInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart index 670ada80f0..6f8efeb032 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampHeaderDefaultInput @override MalformedTimestampHeaderDefaultInputPayload getPayload() => MalformedTimestampHeaderDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampHeaderDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampHeaderDefaultInputRestJson1Serializer extends _i1 MalformedTimestampHeaderDefaultInputPayload, _$MalformedTimestampHeaderDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampHeaderDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart index a2ee174868..d2378ed363 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampHeaderEpochInput @override MalformedTimestampHeaderEpochInputPayload getPayload() => MalformedTimestampHeaderEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampHeaderEpochInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampHeaderEpochInputRestJson1Serializer extends _i1 MalformedTimestampHeaderEpochInputPayload, _$MalformedTimestampHeaderEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampHeaderEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart index cd222f318b..cae3f34c25 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathDefaultInput @override MalformedTimestampPathDefaultInputPayload getPayload() => MalformedTimestampPathDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class MalformedTimestampPathDefaultInputRestJson1Serializer extends _i1 MalformedTimestampPathDefaultInputPayload, _$MalformedTimestampPathDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart index ad97c7c5a1..e5fc11df46 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathEpochInput @override MalformedTimestampPathEpochInputPayload getPayload() => MalformedTimestampPathEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathEpochInputPayload @override List get props => []; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class MalformedTimestampPathEpochInputRestJson1Serializer extends _i1 MalformedTimestampPathEpochInputPayload, _$MalformedTimestampPathEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart index 15b4b4a5e3..6db2d13971 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathHttpDateInput @override MalformedTimestampPathHttpDateInputPayload getPayload() => MalformedTimestampPathHttpDateInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathHttpDateInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class MalformedTimestampPathHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampPathHttpDateInputPayload, _$MalformedTimestampPathHttpDateInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathHttpDateInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart index ec0ea627bc..0aa38269ff 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryDefaultInput @override MalformedTimestampQueryDefaultInputPayload getPayload() => MalformedTimestampQueryDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampQueryDefaultInputRestJson1Serializer extends _i1 MalformedTimestampQueryDefaultInputPayload, _$MalformedTimestampQueryDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart index 86d087954c..e0cc4894c9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryEpochInput @override MalformedTimestampQueryEpochInputPayload getPayload() => MalformedTimestampQueryEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryEpochInputPayload @override List get props => []; + @override String toString() { final helper = @@ -102,6 +105,7 @@ class MalformedTimestampQueryEpochInputRestJson1Serializer extends _i1 MalformedTimestampQueryEpochInputPayload, _$MalformedTimestampQueryEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart index d462a41bd5..3ef03de88b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryHttpDateInput @override MalformedTimestampQueryHttpDateInputPayload getPayload() => MalformedTimestampQueryHttpDateInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryHttpDateInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampQueryHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampQueryHttpDateInputPayload, _$MalformedTimestampQueryHttpDateInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryHttpDateInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart index a273c41d0c..186355b78a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart @@ -40,8 +40,10 @@ abstract class MalformedUnionInput SimpleUnion? get union; @override MalformedUnionInput getPayload() => this; + @override List get props => [union]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedUnionInput') @@ -62,6 +64,7 @@ class MalformedUnionInputRestJson1Serializer MalformedUnionInput, _$MalformedUnionInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -69,6 +72,7 @@ class MalformedUnionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedUnionInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart index 8340c189d8..dbf914b80c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart @@ -51,8 +51,10 @@ abstract class MediaTypeHeaderInput _i3.JsonObject? get json; @override MediaTypeHeaderInputPayload getPayload() => MediaTypeHeaderInputPayload(); + @override List get props => [json]; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderInput') @@ -78,6 +80,7 @@ abstract class MediaTypeHeaderInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderInputPayload'); @@ -97,6 +100,7 @@ class MediaTypeHeaderInputRestJson1Serializer MediaTypeHeaderInputPayload, _$MediaTypeHeaderInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +108,7 @@ class MediaTypeHeaderInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart index 61f7b2f64d..dfd03f3d62 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart @@ -49,8 +49,10 @@ abstract class MediaTypeHeaderOutput _i3.JsonObject? get json; @override MediaTypeHeaderOutputPayload getPayload() => MediaTypeHeaderOutputPayload(); + @override List get props => [json]; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderOutput') @@ -78,6 +80,7 @@ abstract class MediaTypeHeaderOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderOutputPayload'); @@ -97,6 +100,7 @@ class MediaTypeHeaderOutputRestJson1Serializer MediaTypeHeaderOutputPayload, _$MediaTypeHeaderOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -104,6 +108,7 @@ class MediaTypeHeaderOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/my_union.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/my_union.dart index 4b3b01142d..2d9fd00171 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/my_union.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/my_union.dart @@ -50,15 +50,25 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + RenamedGreeting? get renamedStructureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -70,6 +80,7 @@ sealed class MyUnion extends _i1.SmithyUnion { mapValue ?? structureValue ?? renamedStructureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -273,6 +284,7 @@ class MyUnionRestJson1Serializer MyUnionStructureValue$, MyUnionRenamedStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -280,6 +292,7 @@ class MyUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart index 6d1f62c290..feeaa789b6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart @@ -39,6 +39,7 @@ abstract class NestedPayload greeting, name, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedPayload') @@ -63,6 +64,7 @@ class NestedPayloadRestJson1Serializer NestedPayload, _$NestedPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -70,6 +72,7 @@ class NestedPayloadRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart index d606e6b7fd..90eab9f62b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputRestJson1Serializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart index 9a97fbaa4d..2550007cdd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart @@ -82,12 +82,14 @@ abstract class NullAndEmptyHeadersIo _i3.BuiltList? get c; @override NullAndEmptyHeadersIoPayload getPayload() => NullAndEmptyHeadersIoPayload(); + @override List get props => [ a, b, c, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIo') @@ -123,6 +125,7 @@ abstract class NullAndEmptyHeadersIoPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIoPayload'); @@ -142,6 +145,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer NullAndEmptyHeadersIoPayload, _$NullAndEmptyHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -149,6 +153,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override NullAndEmptyHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart index c2b9e0193b..514c1b414b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart @@ -59,11 +59,13 @@ abstract class OmitsNullSerializesEmptyStringInput @override OmitsNullSerializesEmptyStringInputPayload getPayload() => OmitsNullSerializesEmptyStringInputPayload(); + @override List get props => [ nullValue, emptyString, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class OmitsNullSerializesEmptyStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i1 OmitsNullSerializesEmptyStringInputPayload, _$OmitsNullSerializesEmptyStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override OmitsNullSerializesEmptyStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart index 209820684b..8b7f90ec42 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart @@ -119,6 +119,7 @@ abstract class OmitsSerializingEmptyListsInput @override OmitsSerializingEmptyListsInputPayload getPayload() => OmitsSerializingEmptyListsInputPayload(); + @override List get props => [ queryStringList, @@ -129,6 +130,7 @@ abstract class OmitsSerializingEmptyListsInput queryEnumList, queryIntegerEnumList, ]; + @override String toString() { final helper = @@ -181,6 +183,7 @@ abstract class OmitsSerializingEmptyListsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -201,6 +204,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer extends _i1 OmitsSerializingEmptyListsInputPayload, _$OmitsSerializingEmptyListsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -208,6 +212,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override OmitsSerializingEmptyListsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/operation_config.dart index f3261e1d54..6ddad48d2c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/payload_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/payload_config.dart index 10a14a6b06..0baaeec0ac 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/payload_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/payload_config.dart @@ -29,6 +29,7 @@ abstract class PayloadConfig int? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadConfig') @@ -49,6 +50,7 @@ class PayloadConfigRestJson1Serializer PayloadConfig, _$PayloadConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class PayloadConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/player_action.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/player_action.dart index 75c5cbb86d..911b3fba17 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/player_action.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/player_action.dart @@ -23,8 +23,10 @@ sealed class PlayerAction extends _i1.SmithyUnion { /// Quit the game. _i1.Unit? get quit => null; + @override Object get value => (quit)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PlayerAction'); @@ -43,6 +45,7 @@ final class PlayerActionQuit$ extends PlayerAction { @override String get name => 'quit'; + @override _i1.Unit get quit => const _i1.Unit(); } @@ -69,6 +72,7 @@ class PlayerActionRestJson1Serializer PlayerAction, PlayerActionQuit$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +80,7 @@ class PlayerActionRestJson1Serializer shape: 'restJson1', ) ]; + @override PlayerAction deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart index f1aec144ce..e9da854017 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart @@ -40,8 +40,10 @@ abstract class PostPlayerActionInput PlayerAction? get action; @override PostPlayerActionInput getPayload() => this; + @override List get props => [action]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostPlayerActionInput') @@ -63,6 +65,7 @@ class PostPlayerActionInputRestJson1Serializer PostPlayerActionInput, _$PostPlayerActionInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class PostPlayerActionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart index 9a06af81f6..dc9e412773 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart @@ -37,6 +37,7 @@ abstract class PostPlayerActionOutput PlayerAction get action; @override List get props => [action]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostPlayerActionOutput') @@ -58,6 +59,7 @@ class PostPlayerActionOutputRestJson1Serializer PostPlayerActionOutput, _$PostPlayerActionOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class PostPlayerActionOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart index f46d5ef3dd..7df5272bf5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart @@ -40,8 +40,10 @@ abstract class PostUnionWithJsonNameInput UnionWithJsonName? get value; @override PostUnionWithJsonNameInput getPayload() => this; + @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostUnionWithJsonNameInput') @@ -63,6 +65,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer PostUnionWithJsonNameInput, _$PostUnionWithJsonNameInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart index d13d8afd58..d88f5f526e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart @@ -38,6 +38,7 @@ abstract class PostUnionWithJsonNameOutput UnionWithJsonName get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostUnionWithJsonNameOutput') @@ -59,6 +60,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer PostUnionWithJsonNameOutput, _$PostUnionWithJsonNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart index 8d369a8310..806f757669 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart @@ -56,11 +56,13 @@ abstract class PutWithContentEncodingInput PutWithContentEncodingInputPayload((b) { b.data = data; }); + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -92,6 +94,7 @@ abstract class PutWithContentEncodingInputPayload String? get data; @override List get props => [data]; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class PutWithContentEncodingInputRestJson1Serializer PutWithContentEncodingInputPayload, _$PutWithContentEncodingInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class PutWithContentEncodingInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PutWithContentEncodingInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart index 54cfb0267d..b947ec1cc4 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -56,8 +56,10 @@ abstract class QueryIdempotencyTokenAutoFillInput @override QueryIdempotencyTokenAutoFillInputPayload getPayload() => QueryIdempotencyTokenAutoFillInputPayload(); + @override List get props => [token]; + @override String toString() { final helper = @@ -86,6 +88,7 @@ abstract class QueryIdempotencyTokenAutoFillInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -106,6 +109,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer extends _i1 QueryIdempotencyTokenAutoFillInputPayload, _$QueryIdempotencyTokenAutoFillInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override QueryIdempotencyTokenAutoFillInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart index 9d609c0547..f8db41f695 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart @@ -57,11 +57,13 @@ abstract class QueryParamsAsStringListMapInput @override QueryParamsAsStringListMapInputPayload getPayload() => QueryParamsAsStringListMapInputPayload(); + @override List get props => [ qux, foo, ]; + @override String toString() { final helper = @@ -94,6 +96,7 @@ abstract class QueryParamsAsStringListMapInputPayload @override List get props => []; + @override String toString() { final helper = @@ -114,6 +117,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer extends _i1 QueryParamsAsStringListMapInputPayload, _$QueryParamsAsStringListMapInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -121,6 +125,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override QueryParamsAsStringListMapInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart index 625c03b316..6803f02c3c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart @@ -54,11 +54,13 @@ abstract class QueryPrecedenceInput _i3.BuiltMap? get baz; @override QueryPrecedenceInputPayload getPayload() => QueryPrecedenceInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInput') @@ -88,6 +90,7 @@ abstract class QueryPrecedenceInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInputPayload'); @@ -107,6 +110,7 @@ class QueryPrecedenceInputRestJson1Serializer QueryPrecedenceInputPayload, _$QueryPrecedenceInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -114,6 +118,7 @@ class QueryPrecedenceInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryPrecedenceInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart index 311b7bece5..dfd088347c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart @@ -48,8 +48,10 @@ abstract class RecursiveShapesInputOutput RecursiveShapesInputOutputNested1? get nested; @override RecursiveShapesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveShapesInputOutput') @@ -71,6 +73,7 @@ class RecursiveShapesInputOutputRestJson1Serializer RecursiveShapesInputOutput, _$RecursiveShapesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class RecursiveShapesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart index f16a1734aa..b23233c9b5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer RecursiveShapesInputOutputNested1, _$RecursiveShapesInputOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart index 70806484e3..428e41ae71 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer RecursiveShapesInputOutputNested2, _$RecursiveShapesInputOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart index ccc3e95524..75a4daf954 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart @@ -29,6 +29,7 @@ abstract class RenamedGreeting String? get salutation; @override List get props => [salutation]; + @override String toString() { final helper = newBuiltValueToStringHelper('RenamedGreeting') @@ -49,6 +50,7 @@ class RenamedGreetingRestJson1Serializer RenamedGreeting, _$RenamedGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class RenamedGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override RenamedGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart index b4b3ad1d20..c624225ffc 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart @@ -47,8 +47,10 @@ abstract class ResponseCodeHttpFallbackInputOutput @override ResponseCodeHttpFallbackInputOutput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = @@ -67,6 +69,7 @@ class ResponseCodeHttpFallbackInputOutputRestJson1Serializer extends _i1 ResponseCodeHttpFallbackInputOutput, _$ResponseCodeHttpFallbackInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -74,6 +77,7 @@ class ResponseCodeHttpFallbackInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override ResponseCodeHttpFallbackInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart index da640e3121..1f8a4187a1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart @@ -43,8 +43,10 @@ abstract class ResponseCodeRequiredOutput @override ResponseCodeRequiredOutputPayload getPayload() => ResponseCodeRequiredOutputPayload(); + @override List get props => [responseCode]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResponseCodeRequiredOutput') @@ -72,6 +74,7 @@ abstract class ResponseCodeRequiredOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -92,6 +95,7 @@ class ResponseCodeRequiredOutputRestJson1Serializer ResponseCodeRequiredOutputPayload, _$ResponseCodeRequiredOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -99,6 +103,7 @@ class ResponseCodeRequiredOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ResponseCodeRequiredOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/retry_config.dart index b2cb7fd73e..147553b423 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/s3_config.dart index e7ca2be2d1..59390ad679 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart index 15d694d54c..482498668b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart index 90566f3c77..47ad8ea828 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart @@ -119,6 +119,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -132,6 +133,7 @@ abstract class SimpleScalarPropertiesInputOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -214,6 +216,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -270,6 +273,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -277,6 +281,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_union.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_union.dart index 4e616b470d..1551f7f9a6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_union.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/simple_union.dart @@ -24,9 +24,12 @@ sealed class SimpleUnion extends _i1.SmithyUnion { ]; int? get int$ => null; + String? get string => null; + @override Object get value => (int$ ?? string)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'SimpleUnion'); @@ -89,6 +92,7 @@ class SimpleUnionRestJson1Serializer SimpleUnionInt$, SimpleUnionString$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class SimpleUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override SimpleUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart index 276ad73cf2..df58fe0ec0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart @@ -66,11 +66,13 @@ abstract class StreamingTraitsInputOutput _i2.Stream>? get blob; @override _i2.Stream>? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StreamingTraitsInputOutput') @@ -96,6 +98,7 @@ class StreamingTraitsInputOutputRestJson1Serializer StreamingTraitsInputOutput, _$StreamingTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -103,6 +106,7 @@ class StreamingTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart index c9786f11d7..d4b8bd4a90 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart @@ -55,11 +55,13 @@ abstract class StreamingTraitsRequireLengthInput _i2.Stream>? get blob; @override _i2.Stream>? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -86,6 +88,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer StreamingTraitsRequireLengthInput, _$StreamingTraitsRequireLengthInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -93,6 +96,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart index 687905e120..1f87263f9d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart @@ -67,11 +67,13 @@ abstract class StreamingTraitsWithMediaTypeInputOutput _i2.Stream>? get blob; @override _i2.Stream>? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -98,6 +100,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer StreamingTraitsWithMediaTypeInputOutput, _$StreamingTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -105,6 +108,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart index 39638e8409..2e5e90ae7a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart @@ -50,8 +50,10 @@ abstract class StringPayloadInput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper('StringPayloadInput') @@ -72,6 +74,7 @@ class StringPayloadInputRestJson1Serializer StringPayloadInput, _$StringPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class StringPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart index 1d5abc4a13..29fca8261f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberRestJson1Serializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberRestJson1Serializer shape: 'restJson1', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart index b62f1231fe..ae9cae7c0f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart @@ -76,11 +76,13 @@ abstract class TestBodyStructureInputOutput b.testConfig.replace(testConfig!); } }); + @override List get props => [ testId, testConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestBodyStructureInputOutput') @@ -112,6 +114,7 @@ abstract class TestBodyStructureInputOutputPayload TestConfig? get testConfig; @override List get props => [testConfig]; + @override String toString() { final helper = @@ -136,6 +139,7 @@ class TestBodyStructureInputOutputRestJson1Serializer extends _i1 TestBodyStructureInputOutputPayload, _$TestBodyStructureInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -143,6 +147,7 @@ class TestBodyStructureInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override TestBodyStructureInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_config.dart index e386174494..3f09930467 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_config.dart @@ -29,6 +29,7 @@ abstract class TestConfig int? get timeout; @override List get props => [timeout]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestConfig') @@ -49,6 +50,7 @@ class TestConfigRestJson1Serializer TestConfig, _$TestConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class TestConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override TestConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart index 4ef2ee9513..f98ab8c66a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart @@ -58,8 +58,10 @@ abstract class TestNoPayloadInputOutput @override TestNoPayloadInputOutputPayload getPayload() => TestNoPayloadInputOutputPayload(); + @override List get props => [testId]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestNoPayloadInputOutput') @@ -87,6 +89,7 @@ abstract class TestNoPayloadInputOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -107,6 +110,7 @@ class TestNoPayloadInputOutputRestJson1Serializer TestNoPayloadInputOutputPayload, _$TestNoPayloadInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -114,6 +118,7 @@ class TestNoPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestNoPayloadInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart index 110a8cbff1..bcfb9c8a52 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart @@ -67,11 +67,13 @@ abstract class TestPayloadBlobInputOutput _i2.Uint8List? get data; @override _i2.Uint8List? getPayload() => data; + @override List get props => [ contentType, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestPayloadBlobInputOutput') @@ -97,6 +99,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer TestPayloadBlobInputOutput, _$TestPayloadBlobInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +107,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart index 1062705673..67cb5023ae 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart @@ -71,11 +71,13 @@ abstract class TestPayloadStructureInputOutput PayloadConfig? get payloadConfig; @override PayloadConfig? getPayload() => payloadConfig ?? PayloadConfig(); + @override List get props => [ testId, payloadConfig, ]; + @override String toString() { final helper = @@ -102,6 +104,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer TestPayloadStructureInputOutput, _$TestPayloadStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +112,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart index 97fe649048..5220e45812 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart @@ -158,6 +158,7 @@ abstract class TimestampFormatHeadersIo @override TimestampFormatHeadersIoPayload getPayload() => TimestampFormatHeadersIoPayload(); + @override List get props => [ memberEpochSeconds, @@ -168,6 +169,7 @@ abstract class TimestampFormatHeadersIo targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TimestampFormatHeadersIo') @@ -219,6 +221,7 @@ abstract class TimestampFormatHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -239,6 +242,7 @@ class TimestampFormatHeadersIoRestJson1Serializer TimestampFormatHeadersIoPayload, _$TimestampFormatHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -246,6 +250,7 @@ class TimestampFormatHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override TimestampFormatHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart index e81d26f153..083f246d28 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart @@ -48,8 +48,10 @@ abstract class UnionInputOutput MyUnion? get contents; @override UnionInputOutput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnionInputOutput') @@ -70,6 +72,7 @@ class UnionInputOutputRestJson1Serializer UnionInputOutput, _$UnionInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class UnionInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart index 9624e97343..764b1d9df9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart @@ -26,10 +26,14 @@ sealed class UnionWithJsonName extends _i1.SmithyUnion { ]; String? get foo => null; + String? get bar => null; + String? get baz => null; + @override Object get value => (foo ?? bar ?? baz)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'UnionWithJsonName'); @@ -109,6 +113,7 @@ class UnionWithJsonNameRestJson1Serializer UnionWithJsonNameBar$, UnionWithJsonNameBaz$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -116,6 +121,7 @@ class UnionWithJsonNameRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionWithJsonName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart index 5aca3b851a..d6fbf45220 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart @@ -221,24 +221,32 @@ class AllQueryStringTypesOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'AllQueryStringTypes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( AllQueryStringTypesInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart index d85820320d..1f70f148c2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart @@ -84,24 +84,32 @@ class ConstantAndVariableQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantAndVariableQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantAndVariableQueryStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart index 66b663c0c9..fa3b9fdc2f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart @@ -69,24 +69,32 @@ class ConstantQueryStringOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ConstantQueryString/{hello}?foo=bar&hello'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantQueryStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart index bea6a27e13..0362200403 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/DatetimeOffsets'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart index 2e4ace9a81..4a761bc516 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart @@ -69,8 +69,10 @@ class DocumentTypeAsPayloadOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/DocumentTypeAsPayload'; }); + @override int successCode([DocumentTypeAsPayloadInputOutput? output]) => 200; + @override DocumentTypeAsPayloadInputOutput buildOutput( _i2.JsonObject? payload, @@ -80,16 +82,22 @@ class DocumentTypeAsPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DocumentTypeAsPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DocumentTypeAsPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart index 2a0d8e305c..56c6e7a51a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart @@ -65,8 +65,10 @@ class DocumentTypeOperation extends _i1.HttpOperation 200; + @override DocumentTypeInputOutput buildOutput( DocumentTypeInputOutput payload, @@ -76,16 +78,22 @@ class DocumentTypeOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'DocumentType'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DocumentTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart index dc41276e0d..85b45915ac 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/EmptyInputAndEmptyOutput'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart index 02733d58f5..eaf72e0123 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/EndpointOperation'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart index 13d69c008b..0f5b0e4a71 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart @@ -63,24 +63,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/EndpointWithHostLabelOperation'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart index 85b7cd4964..fe0a935e74 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/FractionalSeconds'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart index 5568ed37eb..d43fdef0f2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart @@ -68,8 +68,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/GreetingWithErrors'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutputPayload payload, @@ -79,6 +81,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -112,14 +115,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart index 5bf384f154..8e910c4918 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'GET'; b.path = r'/HostWithPathOperation'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart index e2e0069b8e..45d16035d3 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart @@ -74,8 +74,10 @@ class HttpChecksumRequiredOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/HttpChecksumRequired'; }); + @override int successCode([HttpChecksumRequiredInputOutput? output]) => 200; + @override HttpChecksumRequiredInputOutput buildOutput( HttpChecksumRequiredInputOutput payload, @@ -85,16 +87,22 @@ class HttpChecksumRequiredOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpChecksumRequiredInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart index c0fc36d48b..c503ac13a9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart @@ -63,8 +63,10 @@ class HttpEnumPayloadOperation extends _i1 b.method = 'POST'; b.path = r'/EnumPayload'; }); + @override int successCode([EnumPayloadInput? output]) => 200; + @override EnumPayloadInput buildOutput( StringEnum? payload, @@ -74,16 +76,22 @@ class HttpEnumPayloadOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpEnumPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EnumPayloadInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart index 39d08c81dc..2fc0ecb0fe 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart @@ -71,8 +71,10 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([HttpPayloadTraitsInputOutput? output]) => 200; + @override HttpPayloadTraitsInputOutput buildOutput( _i2.Uint8List? payload, @@ -82,16 +84,22 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart index e47989da10..ee59b8e466 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart @@ -79,8 +79,10 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPayloadTraitsWithMediaTypeInputOutput? output]) => 200; + @override HttpPayloadTraitsWithMediaTypeInputOutput buildOutput( _i2.Uint8List? payload, @@ -90,16 +92,22 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart index d00a189478..438b7ed963 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart @@ -69,8 +69,10 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithStructure'; }); + @override int successCode([HttpPayloadWithStructureInputOutput? output]) => 200; + @override HttpPayloadWithStructureInputOutput buildOutput( NestedPayload? payload, @@ -80,16 +82,22 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart index aac336a736..f6911276b0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart @@ -73,8 +73,10 @@ class HttpPrefixHeadersInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpPrefixHeadersResponse'; }); + @override int successCode([HttpPrefixHeadersInResponseOutput? output]) => 200; + @override HttpPrefixHeadersInResponseOutput buildOutput( HttpPrefixHeadersInResponseOutputPayload payload, @@ -84,16 +86,22 @@ class HttpPrefixHeadersInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeadersInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInResponseInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart index da95296728..6fa2aa4fd1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart @@ -91,8 +91,10 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPrefixHeadersOutput? output]) => 200; + @override HttpPrefixHeadersOutput buildOutput( HttpPrefixHeadersOutputPayload payload, @@ -102,16 +104,22 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart index be3a8b1d73..164e7b2696 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart @@ -67,24 +67,32 @@ class HttpRequestWithFloatLabelsOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/FloatHttpLabels/{float}/{double}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithFloatLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithFloatLabelsInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart index c209b05769..23b86ccbe0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart @@ -70,24 +70,32 @@ class HttpRequestWithGreedyLabelInPathOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithGreedyLabelInPath'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithGreedyLabelInPathInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 9ce1d3f6d9..2b35a3d7f0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,12 +13,9 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation - extends _i1.HttpOperation< - HttpRequestWithLabelsAndTimestampFormatInputPayload, - HttpRequestWithLabelsAndTimestampFormatInput, - _i1.Unit, - _i1.Unit> { +class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 + .HttpOperation { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, @@ -75,24 +72,32 @@ class HttpRequestWithLabelsAndTimestampFormatOperation b.path = r'/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabelsAndTimestampFormat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsAndTimestampFormatInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart index 991d6d9e63..668645ced7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart @@ -70,24 +70,32 @@ class HttpRequestWithLabelsOperation extends _i1.HttpOperation< b.path = r'/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart index 99a0226430..73230f46f9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart @@ -67,24 +67,32 @@ class HttpRequestWithRegexLiteralOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ReDosLiteral/{str}/(a+)+'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithRegexLiteral'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithRegexLiteralInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart index cdaf9bcbf5..0ef480066b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart @@ -63,8 +63,10 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/HttpResponseCode'; }); + @override int successCode([HttpResponseCodeOutput? output]) => output?.status ?? 200; + @override HttpResponseCodeOutput buildOutput( HttpResponseCodeOutputPayload payload, @@ -74,16 +76,22 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpResponseCode'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart index f54bffe292..8bb2425dce 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart @@ -64,8 +64,10 @@ class HttpStringPayloadOperation extends _i1 b.method = 'POST'; b.path = r'/StringPayload'; }); + @override int successCode([StringPayloadInput? output]) => 200; + @override StringPayloadInput buildOutput( String? payload, @@ -75,16 +77,22 @@ class HttpStringPayloadOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpStringPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StringPayloadInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart index 36fc55838b..ff32cbae14 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart @@ -68,8 +68,10 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/IgnoreQueryParamsInResponse'; }); + @override int successCode([IgnoreQueryParamsInResponseOutput? output]) => 200; + @override IgnoreQueryParamsInResponseOutput buildOutput( IgnoreQueryParamsInResponseOutput payload, @@ -79,16 +81,22 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoreQueryParamsInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart index 3ff17c4ba8..53391afebd 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart @@ -166,8 +166,10 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([InputAndOutputWithHeadersIo? output]) => 200; + @override InputAndOutputWithHeadersIo buildOutput( InputAndOutputWithHeadersIoPayload payload, @@ -177,16 +179,22 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'InputAndOutputWithHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( InputAndOutputWithHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart index e36be099a3..ea92ee54fa 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart @@ -65,8 +65,10 @@ class JsonBlobsOperation extends _i1.HttpOperation 200; + @override JsonBlobsInputOutput buildOutput( JsonBlobsInputOutput payload, @@ -76,16 +78,22 @@ class JsonBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart index 595e1642c7..438812ac8f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart @@ -65,8 +65,10 @@ class JsonEnumsOperation extends _i1.HttpOperation 200; + @override JsonEnumsInputOutput buildOutput( JsonEnumsInputOutput payload, @@ -76,16 +78,22 @@ class JsonEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart index 3144aca861..bba52c3a30 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart @@ -65,8 +65,10 @@ class JsonIntEnumsOperation extends _i1.HttpOperation 200; + @override JsonIntEnumsInputOutput buildOutput( JsonIntEnumsInputOutput payload, @@ -76,16 +78,22 @@ class JsonIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart index 65a8dc21ae..d25cd3795b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart @@ -65,8 +65,10 @@ class JsonListsOperation extends _i1.HttpOperation 200; + @override JsonListsInputOutput buildOutput( JsonListsInputOutput payload, @@ -76,16 +78,22 @@ class JsonListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonListsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart index f97770e89a..231ec8e0c1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart @@ -65,8 +65,10 @@ class JsonMapsOperation extends _i1.HttpOperation 200; + @override JsonMapsInputOutput buildOutput( JsonMapsInputOutput payload, @@ -76,16 +78,22 @@ class JsonMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart index e97e004ffc..73aad6af6a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart @@ -68,8 +68,10 @@ class JsonTimestampsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/JsonTimestamps'; }); + @override int successCode([JsonTimestampsInputOutput? output]) => 200; + @override JsonTimestampsInputOutput buildOutput( JsonTimestampsInputOutput payload, @@ -79,16 +81,22 @@ class JsonTimestampsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'JsonTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonTimestampsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart index 1533594636..eb66bc39ad 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart @@ -64,8 +64,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override UnionInputOutput buildOutput( UnionInputOutput payload, @@ -75,16 +77,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UnionInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart index c861a3b939..299b025896 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart @@ -63,8 +63,10 @@ class MalformedAcceptWithBodyOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedAcceptWithBody'; }); + @override int successCode([GreetingStruct? output]) => 200; + @override GreetingStruct buildOutput( GreetingStruct payload, @@ -74,16 +76,22 @@ class MalformedAcceptWithBodyOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart index b6e9b4687b..f3393f51a5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart @@ -63,8 +63,10 @@ class MalformedAcceptWithGenericStringOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedAcceptWithGenericString'; }); + @override int successCode([MalformedAcceptWithGenericStringOutput? output]) => 200; + @override MalformedAcceptWithGenericStringOutput buildOutput( String? payload, @@ -74,16 +76,22 @@ class MalformedAcceptWithGenericStringOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithGenericString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart index dcd228f7ef..98d0dcb36f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart @@ -64,8 +64,10 @@ class MalformedAcceptWithPayloadOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/MalformedAcceptWithPayload'; }); + @override int successCode([MalformedAcceptWithPayloadOutput? output]) => 200; + @override MalformedAcceptWithPayloadOutput buildOutput( _i2.Uint8List? payload, @@ -75,16 +77,22 @@ class MalformedAcceptWithPayloadOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart index 85d298c081..e282c67aa2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart @@ -63,24 +63,32 @@ class MalformedBlobOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedBlob'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedBlob'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedBlobInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart index 70ae7ba3c0..fba64ead28 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart @@ -72,24 +72,32 @@ class MalformedBooleanOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedBoolean'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedBooleanInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart index 3bc8c40d2e..9698e7f114 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart @@ -72,24 +72,32 @@ class MalformedByteOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedByte'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedByteInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart index 74e64493bc..1e97f73796 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart @@ -62,24 +62,32 @@ class MalformedContentTypeWithBodyOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedContentTypeWithBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( GreetingStruct input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart index 61f5566e63..d50e5de8e2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart @@ -64,24 +64,32 @@ class MalformedContentTypeWithGenericStringOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedContentTypeWithGenericString'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithGenericString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithGenericStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart index 7f6af29c7a..fc8a5e8079 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart @@ -65,24 +65,32 @@ class MalformedContentTypeWithPayloadOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedContentTypeWithPayload'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithPayloadInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index 4d9e18c370..ab5930f525 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,12 +12,9 @@ import 'package:rest_json1_v1/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation - extends _i1.HttpOperation< - MalformedContentTypeWithoutBodyEmptyInputInputPayload, - MalformedContentTypeWithoutBodyEmptyInputInput, - _i1.Unit, - _i1.Unit> { +class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 + .HttpOperation { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, @@ -77,24 +74,32 @@ class MalformedContentTypeWithoutBodyEmptyInputOperation } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithoutBodyEmptyInput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithoutBodyEmptyInputInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart index 7fec6165d1..224ca43a16 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart @@ -61,24 +61,32 @@ class MalformedContentTypeWithoutBodyOperation b.method = 'POST'; b.path = r'/MalformedContentTypeWithoutBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithoutBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart index ee665dfde0..ea4bbdf685 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart @@ -72,24 +72,32 @@ class MalformedDoubleOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedDouble'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedDoubleInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart index fc860cc5a5..1c6d127302 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart @@ -72,24 +72,32 @@ class MalformedFloatOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedFloat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedFloatInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart index a204e8483c..2c09ece7e2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart @@ -72,24 +72,32 @@ class MalformedIntegerOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedInteger'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedIntegerInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart index 990adc39b3..14ae17ce49 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart @@ -63,24 +63,32 @@ class MalformedListOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedList'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedList'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedListInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart index 9c9bc7dde3..92747d100a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart @@ -72,24 +72,32 @@ class MalformedLongOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedLong'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLongInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart index d052bb5508..4d549a8d9f 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart @@ -62,24 +62,32 @@ class MalformedMapOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedMap'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedMapInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart index 4e5393b652..53217af464 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart @@ -63,24 +63,32 @@ class MalformedRequestBodyOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedRequestBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedRequestBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRequestBodyInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart index 9cbff0fe4d..43cd82e757 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart @@ -72,24 +72,32 @@ class MalformedShortOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedShort'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedShortInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart index e1a3cf99c3..9caa64edec 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart @@ -69,24 +69,32 @@ class MalformedStringOperation extends _i1.HttpOperation< .base64Encode(_i3.utf8.encode(_i3.jsonEncode(input.blob!.value))); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart index 2a37572fbe..3638df3de1 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart @@ -69,24 +69,32 @@ class MalformedTimestampBodyDateTimeOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyDateTime'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyDateTime'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyDateTimeInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart index b804ed6aba..a2fdd439f3 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart @@ -66,24 +66,32 @@ class MalformedTimestampBodyDefaultOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyDefault'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyDefaultInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart index a80a437dae..197a9f68d5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart @@ -69,24 +69,32 @@ class MalformedTimestampBodyHttpDateOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyHttpDate'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyHttpDateInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart index 5d876080e8..6d9830541b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampHeaderDateTimeOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.dateTime) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderDateTime'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderDateTimeInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart index beca92f95b..f9f4ab1752 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampHeaderDefaultOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.httpDate) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderDefaultInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart index 01396af911..75c0492680 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart @@ -70,24 +70,32 @@ class MalformedTimestampHeaderEpochOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.epochSeconds) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderEpochInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart index 3473596d76..c914b9ada5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart @@ -67,24 +67,32 @@ class MalformedTimestampPathDefaultOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathDefault/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathDefaultInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart index e04109b757..0c19eeadd7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart @@ -67,24 +67,32 @@ class MalformedTimestampPathEpochOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathEpoch/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathEpochInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart index 360a67a180..b8f9274dd8 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart @@ -70,24 +70,32 @@ class MalformedTimestampPathHttpDateOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathHttpDate/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathHttpDateInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart index b1c4eb10a5..8d22d71c6e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart @@ -76,24 +76,32 @@ class MalformedTimestampQueryDefaultOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryDefaultInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart index 616e87755c..2f83f78695 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampQueryEpochOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryEpochInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart index 58abb3150c..8948a76c76 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart @@ -76,24 +76,32 @@ class MalformedTimestampQueryHttpDateOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryHttpDateInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart index f950e24755..31707ef62c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart @@ -63,24 +63,32 @@ class MalformedUnionOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedUnion'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedUnionInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart index f3f460c7b3..a67bb4ec58 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart @@ -75,8 +75,10 @@ class MediaTypeHeaderOperation extends _i1.HttpOperation< .base64Encode(_i3.utf8.encode(_i3.jsonEncode(input.json!.value))); } }); + @override int successCode([MediaTypeHeaderOutput? output]) => 200; + @override MediaTypeHeaderOutput buildOutput( MediaTypeHeaderOutputPayload payload, @@ -86,16 +88,22 @@ class MediaTypeHeaderOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MediaTypeHeader'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( MediaTypeHeaderInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart index 5d0a5b073c..781ddec546 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart @@ -63,24 +63,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/NoInputAndNoOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart index 028cb02665..f94aafd3da 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart @@ -65,8 +65,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/NoInputAndOutputOutput'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -76,16 +78,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart index e208621696..d201292cce 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart @@ -85,8 +85,10 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -96,16 +98,22 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersClient'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart index 6223f4ba7b..b7fe5fea96 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart @@ -85,8 +85,10 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -96,16 +98,22 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersServer'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart index 7bb47ad231..0e9e9973bc 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart @@ -84,24 +84,32 @@ class OmitsNullSerializesEmptyStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsNullSerializesEmptyString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsNullSerializesEmptyStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart index 6a79f3bab4..d49662286a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart @@ -127,24 +127,32 @@ class OmitsSerializingEmptyListsOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsSerializingEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsSerializingEmptyListsInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart index d916e2247e..e398ec6431 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart @@ -66,8 +66,10 @@ class PostPlayerActionOperation extends _i1.HttpOperation 200; + @override PostPlayerActionOutput buildOutput( PostPlayerActionOutput payload, @@ -77,16 +79,22 @@ class PostPlayerActionOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'PostPlayerAction'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PostPlayerActionInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart index 3c4e1f91be..1cfe80bd37 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart @@ -72,8 +72,10 @@ class PostUnionWithJsonNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/PostUnionWithJsonName'; }); + @override int successCode([PostUnionWithJsonNameOutput? output]) => 200; + @override PostUnionWithJsonNameOutput buildOutput( PostUnionWithJsonNameOutput payload, @@ -83,16 +85,22 @@ class PostUnionWithJsonNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PostUnionWithJsonName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PostUnionWithJsonNameInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart index 2aed6c9c57..e01655368b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart @@ -71,24 +71,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 178da8e10a..f41cf73814 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -75,24 +75,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart index 7f973c4b69..92f46b6f8a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart @@ -83,24 +83,32 @@ class QueryParamsAsStringListMapOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryParamsAsStringListMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryParamsAsStringListMapInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart index 09cdcf3ed3..1fe3c7ffd4 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart @@ -78,24 +78,32 @@ class QueryPrecedenceOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryPrecedence'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryPrecedenceInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart index fef633c429..119d7af925 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart @@ -68,8 +68,10 @@ class RecursiveShapesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/RecursiveShapes'; }); + @override int successCode([RecursiveShapesInputOutput? output]) => 200; + @override RecursiveShapesInputOutput buildOutput( RecursiveShapesInputOutput payload, @@ -79,16 +81,22 @@ class RecursiveShapesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( RecursiveShapesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart index 8e87ff49de..3ff2a0d36b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart @@ -70,8 +70,10 @@ class ResponseCodeHttpFallbackOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/responseCodeHttpFallback'; }); + @override int successCode([ResponseCodeHttpFallbackInputOutput? output]) => 201; + @override ResponseCodeHttpFallbackInputOutput buildOutput( ResponseCodeHttpFallbackInputOutput payload, @@ -81,16 +83,22 @@ class ResponseCodeHttpFallbackOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ResponseCodeHttpFallback'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( ResponseCodeHttpFallbackInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart index 12fb1b353a..e7fd2d8719 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart @@ -63,9 +63,11 @@ class ResponseCodeRequiredOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'GET'; b.path = r'/responseCodeRequired'; }); + @override int successCode([ResponseCodeRequiredOutput? output]) => output?.responseCode ?? 200; + @override ResponseCodeRequiredOutput buildOutput( ResponseCodeRequiredOutputPayload payload, @@ -75,16 +77,22 @@ class ResponseCodeRequiredOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ResponseCodeRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart index 57a0466a8a..a6aa01d74b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart @@ -74,8 +74,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -85,16 +87,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart index fb84b2a54e..56841c17d9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart @@ -72,8 +72,10 @@ class StreamingTraitsOperation extends _i1.HttpOperation< } } }); + @override int successCode([StreamingTraitsInputOutput? output]) => 200; + @override StreamingTraitsInputOutput buildOutput( _i2.Stream>? payload, @@ -83,16 +85,22 @@ class StreamingTraitsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StreamingTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart index e89108b785..a8fe15526c 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart @@ -73,24 +73,32 @@ class StreamingTraitsRequireLengthOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraitsRequireLength'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( StreamingTraitsRequireLengthInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart index 434a0ca1eb..3b37ea0db5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart @@ -76,8 +76,10 @@ class StreamingTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([StreamingTraitsWithMediaTypeInputOutput? output]) => 200; + @override StreamingTraitsWithMediaTypeInputOutput buildOutput( _i2.Stream>? payload, @@ -87,16 +89,22 @@ class StreamingTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StreamingTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart index ff6fd8bae4..b4cc7b6548 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart @@ -76,8 +76,10 @@ class TestBodyStructureOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestBodyStructureInputOutput? output]) => 200; + @override TestBodyStructureInputOutput buildOutput( TestBodyStructureInputOutputPayload payload, @@ -87,16 +89,22 @@ class TestBodyStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestBodyStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestBodyStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart index f45772a87c..5a94f32961 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart @@ -77,8 +77,10 @@ class TestNoPayloadOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestNoPayloadInputOutput? output]) => 200; + @override TestNoPayloadInputOutput buildOutput( TestNoPayloadInputOutputPayload payload, @@ -88,16 +90,22 @@ class TestNoPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestNoPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestNoPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart index 1761f97f2c..177366e6c3 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart @@ -71,8 +71,10 @@ class TestPayloadBlobOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([TestPayloadBlobInputOutput? output]) => 200; + @override TestPayloadBlobInputOutput buildOutput( _i2.Uint8List? payload, @@ -82,16 +84,22 @@ class TestPayloadBlobOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestPayloadBlob'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestPayloadBlobInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart index dab000fb83..2c07af37b2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart @@ -74,8 +74,10 @@ class TestPayloadStructureOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestPayloadStructureInputOutput? output]) => 200; + @override TestPayloadStructureInputOutput buildOutput( PayloadConfig? payload, @@ -85,16 +87,22 @@ class TestPayloadStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestPayloadStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestPayloadStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart index c95d332ad9..bca3ce3bec 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart @@ -109,8 +109,10 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< .toString(); } }); + @override int successCode([TimestampFormatHeadersIo? output]) => 200; + @override TimestampFormatHeadersIo buildOutput( TimestampFormatHeadersIoPayload payload, @@ -120,16 +122,22 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TimestampFormatHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TimestampFormatHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart index d97b253c3a..a358e5eab9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart @@ -63,24 +63,32 @@ class UnitInputAndOutputOperation b.method = 'POST'; b.path = r'/UnitInputAndOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'UnitInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart index 90d56ec73b..2efe29f773 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart index 3872e9ccb8..54cf6fb718 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart index ed07d63f04..8fed9a3317 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart @@ -25,9 +25,12 @@ sealed class EnumUnion extends _i1.SmithyUnion { ]; EnumString? get first => null; + EnumString? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'EnumUnion'); @@ -90,6 +93,7 @@ class EnumUnionRestJson1Serializer EnumUnionFirst$, EnumUnionSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -97,6 +101,7 @@ class EnumUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override EnumUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart index 42c64739b6..b9118a1a30 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart index b530d45f15..b7b7a3ed53 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart index 99696e3390..a5574c1e0e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart @@ -24,9 +24,12 @@ sealed class FooUnion extends _i1.SmithyUnion { ]; String? get string => null; + int? get integer => null; + @override Object get value => (string ?? integer)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'FooUnion'); @@ -89,6 +92,7 @@ class FooUnionRestJson1Serializer FooUnionString$, FooUnionInteger$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class FooUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override FooUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart index c87445e62e..6364cfe154 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart @@ -43,8 +43,10 @@ abstract class GreetingStruct String? get hi; @override GreetingStruct getPayload() => this; + @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -65,6 +67,7 @@ class GreetingStructRestJson1Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -72,6 +75,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart index c7a5726dd4..c6a9bdb625 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart @@ -57,6 +57,7 @@ abstract class MalformedEnumInput EnumUnion? get union; @override MalformedEnumInput getPayload() => this; + @override List get props => [ string, @@ -65,6 +66,7 @@ abstract class MalformedEnumInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedEnumInput') @@ -101,6 +103,7 @@ class MalformedEnumInputRestJson1Serializer MalformedEnumInput, _$MalformedEnumInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -108,6 +111,7 @@ class MalformedEnumInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedEnumInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart index 08193ec394..4b9b9fd600 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart @@ -61,6 +61,7 @@ abstract class MalformedLengthInput _i4.BuiltListMultimap? get map; @override MalformedLengthInput getPayload() => this; + @override List get props => [ blob, @@ -70,6 +71,7 @@ abstract class MalformedLengthInput list, map, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLengthInput') @@ -111,6 +113,7 @@ class MalformedLengthInputRestJson1Serializer MalformedLengthInput, _$MalformedLengthInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -118,6 +121,7 @@ class MalformedLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLengthInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart index a33a0b85d3..e8b880753a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart @@ -62,6 +62,7 @@ abstract class MalformedLengthOverrideInput _i4.BuiltListMultimap? get map; @override MalformedLengthOverrideInput getPayload() => this; + @override List get props => [ blob, @@ -71,6 +72,7 @@ abstract class MalformedLengthOverrideInput list, map, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLengthOverrideInput') @@ -112,6 +114,7 @@ class MalformedLengthOverrideInputRestJson1Serializer MalformedLengthOverrideInput, _$MalformedLengthOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -119,6 +122,7 @@ class MalformedLengthOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLengthOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart index 4c73ab23a5..48d1e3597e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart @@ -49,8 +49,10 @@ abstract class MalformedLengthQueryStringInput @override MalformedLengthQueryStringInputPayload getPayload() => MalformedLengthQueryStringInputPayload(); + @override List get props => [string]; + @override String toString() { final helper = @@ -79,6 +81,7 @@ abstract class MalformedLengthQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -99,6 +102,7 @@ class MalformedLengthQueryStringInputRestJson1Serializer extends _i1 MalformedLengthQueryStringInputPayload, _$MalformedLengthQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +110,7 @@ class MalformedLengthQueryStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedLengthQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart index 4166d7a1e7..f9fbc5fc41 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart @@ -57,6 +57,7 @@ abstract class MalformedPatternInput PatternUnion? get union; @override MalformedPatternInput getPayload() => this; + @override List get props => [ string, @@ -65,6 +66,7 @@ abstract class MalformedPatternInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedPatternInput') @@ -102,6 +104,7 @@ class MalformedPatternInputRestJson1Serializer MalformedPatternInput, _$MalformedPatternInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +112,7 @@ class MalformedPatternInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedPatternInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart index 2e0e4f06e6..cb712ab3bf 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart @@ -55,6 +55,7 @@ abstract class MalformedPatternOverrideInput PatternUnionOverride? get union; @override MalformedPatternOverrideInput getPayload() => this; + @override List get props => [ string, @@ -62,6 +63,7 @@ abstract class MalformedPatternOverrideInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedPatternOverrideInput') @@ -95,6 +97,7 @@ class MalformedPatternOverrideInputRestJson1Serializer MalformedPatternOverrideInput, _$MalformedPatternOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -102,6 +105,7 @@ class MalformedPatternOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedPatternOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart index 2ac9e7181d..808effb7cc 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart @@ -86,6 +86,7 @@ abstract class MalformedRangeInput double? get maxFloat; @override MalformedRangeInput getPayload() => this; + @override List get props => [ byte, @@ -104,6 +105,7 @@ abstract class MalformedRangeInput minFloat, maxFloat, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRangeInput') @@ -180,6 +182,7 @@ class MalformedRangeInputRestJson1Serializer MalformedRangeInput, _$MalformedRangeInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -187,6 +190,7 @@ class MalformedRangeInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRangeInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart index acc4c62f3f..4219c7dd7a 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart @@ -86,6 +86,7 @@ abstract class MalformedRangeOverrideInput double? get maxFloat; @override MalformedRangeOverrideInput getPayload() => this; + @override List get props => [ byte, @@ -104,6 +105,7 @@ abstract class MalformedRangeOverrideInput minFloat, maxFloat, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRangeOverrideInput') @@ -181,6 +183,7 @@ class MalformedRangeOverrideInputRestJson1Serializer MalformedRangeOverrideInput, _$MalformedRangeOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -188,6 +191,7 @@ class MalformedRangeOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRangeOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart index d830782bbf..3e96d40a61 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart @@ -62,12 +62,14 @@ abstract class MalformedRequiredInput MalformedRequiredInputPayload((b) { b.string = string; }); + @override List get props => [ string, stringInQuery, stringInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequiredInput') @@ -103,6 +105,7 @@ abstract class MalformedRequiredInputPayload String get string; @override List get props => [string]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequiredInputPayload') @@ -126,6 +129,7 @@ class MalformedRequiredInputRestJson1Serializer MalformedRequiredInputPayload, _$MalformedRequiredInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -133,6 +137,7 @@ class MalformedRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRequiredInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart index 648070b8e5..d1a670d95d 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart @@ -100,6 +100,7 @@ abstract class MalformedUniqueItemsInput _i5.BuiltSet? get unionList; @override MalformedUniqueItemsInput getPayload() => this; + @override List get props => [ blobList, @@ -119,6 +120,7 @@ abstract class MalformedUniqueItemsInput structureListWithNoKey, unionList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedUniqueItemsInput') @@ -200,6 +202,7 @@ class MalformedUniqueItemsInputRestJson1Serializer MalformedUniqueItemsInput, _$MalformedUniqueItemsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -207,6 +210,7 @@ class MalformedUniqueItemsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedUniqueItemsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart index cd9b4d2c85..8ff4e595e5 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart @@ -30,6 +30,7 @@ abstract class MissingKeyStructure String get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('MissingKeyStructure') @@ -50,6 +51,7 @@ class MissingKeyStructureRestJson1Serializer MissingKeyStructure, _$MissingKeyStructure, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class MissingKeyStructureRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingKeyStructure deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart index 4ce5f4e254..fc5e62cc12 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart index 1f9210511e..5e80e0b97e 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart @@ -24,9 +24,12 @@ sealed class PatternUnion extends _i1.SmithyUnion { ]; String? get first => null; + String? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PatternUnion'); @@ -89,6 +92,7 @@ class PatternUnionRestJson1Serializer PatternUnionFirst$, PatternUnionSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class PatternUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override PatternUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart index f99059d123..24ec111f95 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart @@ -27,9 +27,12 @@ sealed class PatternUnionOverride ]; String? get first => null; + String? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PatternUnionOverride'); @@ -93,6 +96,7 @@ class PatternUnionOverrideRestJson1Serializer PatternUnionOverrideFirst$, PatternUnionOverrideSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class PatternUnionOverrideRestJson1Serializer shape: 'restJson1', ) ]; + @override PatternUnionOverride deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart index 2072575355..f5325648d0 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart @@ -40,8 +40,10 @@ abstract class RecursiveStructuresInput RecursiveUnionOne? get union; @override RecursiveStructuresInput getPayload() => this; + @override List get props => [union]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveStructuresInput') @@ -63,6 +65,7 @@ class RecursiveStructuresInputRestJson1Serializer RecursiveStructuresInput, _$RecursiveStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class RecursiveStructuresInputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart index 486a3dd29e..52ae9c73cf 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart @@ -28,9 +28,12 @@ sealed class RecursiveUnionOne extends _i1.SmithyUnion { ]; RecursiveEnumString? get string => null; + RecursiveUnionTwo? get union => null; + @override Object get value => (string ?? union)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'RecursiveUnionOne'); @@ -93,6 +96,7 @@ class RecursiveUnionOneRestJson1Serializer RecursiveUnionOneString$, RecursiveUnionOneUnion$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class RecursiveUnionOneRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveUnionOne deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart index 377d419497..2bbcbb4181 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart @@ -28,9 +28,12 @@ sealed class RecursiveUnionTwo extends _i1.SmithyUnion { ]; RecursiveEnumString? get string => null; + RecursiveUnionOne? get union => null; + @override Object get value => (string ?? union)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'RecursiveUnionTwo'); @@ -93,6 +96,7 @@ class RecursiveUnionTwoRestJson1Serializer RecursiveUnionTwoString$, RecursiveUnionTwoUnion$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class RecursiveUnionTwoRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveUnionTwo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart index bb90a93e92..12349ec078 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart index efd1096959..8022da559b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart index 3e2081ed0a..43393cc165 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart index 3891da6121..e9ccadba80 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart @@ -39,8 +39,10 @@ abstract class SensitiveValidationInput String? get string; @override SensitiveValidationInput getPayload() => this; + @override List get props => [string]; + @override String toString() { final helper = newBuiltValueToStringHelper('SensitiveValidationInput') @@ -62,6 +64,7 @@ class SensitiveValidationInputRestJson1Serializer SensitiveValidationInput, _$SensitiveValidationInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -69,6 +72,7 @@ class SensitiveValidationInputRestJson1Serializer shape: 'restJson1', ) ]; + @override SensitiveValidationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart index 2581c7c0e3..f8aa6ee227 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart @@ -61,8 +61,10 @@ abstract class ValidationException namespace: 'smithy.framework', shape: 'ValidationException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -71,11 +73,13 @@ abstract class ValidationException Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, fieldList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ValidationException') @@ -100,6 +104,7 @@ class ValidationExceptionRestJson1Serializer ValidationException, _$ValidationException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -107,6 +112,7 @@ class ValidationExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart index ffd43fa4ad..9c7c161dff 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart @@ -46,6 +46,7 @@ abstract class ValidationExceptionField path, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ValidationExceptionField') @@ -71,6 +72,7 @@ class ValidationExceptionFieldRestJson1Serializer ValidationExceptionField, _$ValidationExceptionField, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class ValidationExceptionFieldRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationExceptionField deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart index 033a095741..f1258036d2 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart @@ -64,14 +64,17 @@ class MalformedEnumOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedEnum'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedEnumOperation extends _i1 builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedEnum'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedEnumInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart index f32b43f3f3..caca5b9695 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart @@ -64,14 +64,17 @@ class MalformedLengthOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedLengthOperation extends _i1.HttpOperation 'MalformedLength'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart index 55ff4930c4..cd23ac0712 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart @@ -67,14 +67,17 @@ class MalformedLengthOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedLengthOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedLengthOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedLengthOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthOverrideInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart index b2231e4b0c..7385d51f86 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart @@ -74,14 +74,17 @@ class MalformedLengthQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -94,14 +97,19 @@ class MalformedLengthQueryStringOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedLengthQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthQueryStringInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart index d08abb1f54..fb9413e4fb 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart @@ -64,14 +64,17 @@ class MalformedPatternOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedPatternOperation extends _i1.HttpOperation 'MalformedPattern'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedPatternInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart index 4f347d97f0..4d856ed2a9 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart @@ -67,14 +67,17 @@ class MalformedPatternOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedPatternOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedPatternOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedPatternOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedPatternOverrideInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart index 70747bee28..841ec2f987 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart @@ -64,14 +64,17 @@ class MalformedRangeOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedRangeOperation extends _i1.HttpOperation 'MalformedRange'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRangeInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart index 7bab02b3e8..6f6aff63ef 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart @@ -67,14 +67,17 @@ class MalformedRangeOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedRangeOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedRangeOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedRangeOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRangeOverrideInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart index 748b9dece9..946310a64b 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart @@ -71,14 +71,17 @@ class MalformedRequiredOperation extends _i1.HttpOperation< input.stringInQuery, ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -91,14 +94,19 @@ class MalformedRequiredOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRequiredInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart index 1489f1569c..baa6f247a7 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart @@ -64,14 +64,17 @@ class MalformedUniqueItemsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedUniqueItems'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedUniqueItemsOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedUniqueItems'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedUniqueItemsInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart index 8d9a5b3f31..8686ef4ab6 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart @@ -64,14 +64,17 @@ class RecursiveStructuresOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/RecursiveStructures'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class RecursiveStructuresOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'RecursiveStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( RecursiveStructuresInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart index 5664121fff..c3af966470 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart @@ -64,14 +64,17 @@ class SensitiveValidationOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/SensitiveValidation'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class SensitiveValidationOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'SensitiveValidation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SensitiveValidationInput input, { diff --git a/packages/smithy/goldens/lib/restJson1/pubspec.yaml b/packages/smithy/goldens/lib/restJson1/pubspec.yaml index fc09c11c37..b18d06c2ac 100644 --- a/packages/smithy/goldens/lib/restJson1/pubspec.yaml +++ b/packages/smithy/goldens/lib/restJson1/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" fixnum: ^1.0.0 built_collection: ^5.0.0 meta: ^1.7.0 @@ -42,6 +42,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/restJson1/test/api_gateway/get_rest_apis_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/api_gateway/get_rest_apis_operation_test.dart index 97b4d9b191..90ce35d76f 100644 --- a/packages/smithy/goldens/lib/restJson1/test/api_gateway/get_rest_apis_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/api_gateway/get_rest_apis_operation_test.dart @@ -74,6 +74,7 @@ class GetRestApisRequestRestJson1Serializer @override Iterable get types => const [GetRestApisRequest]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -81,6 +82,7 @@ class GetRestApisRequestRestJson1Serializer shape: 'restJson1', ) ]; + @override GetRestApisRequest deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class RestApisRestJson1Serializer @override Iterable get types => const [RestApis]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -136,6 +139,7 @@ class RestApisRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApis deserialize( Serializers serializers, @@ -187,6 +191,7 @@ class RestApiRestJson1Serializer @override Iterable get types => const [RestApi]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -194,6 +199,7 @@ class RestApiRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApi deserialize( Serializers serializers, @@ -310,6 +316,7 @@ class EndpointConfigurationRestJson1Serializer @override Iterable get types => const [EndpointConfiguration]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -317,6 +324,7 @@ class EndpointConfigurationRestJson1Serializer shape: 'restJson1', ) ]; + @override EndpointConfiguration deserialize( Serializers serializers, @@ -371,6 +379,7 @@ class BadRequestExceptionRestJson1Serializer @override Iterable get types => const [BadRequestException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -378,6 +387,7 @@ class BadRequestExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override BadRequestException deserialize( Serializers serializers, @@ -422,6 +432,7 @@ class TooManyRequestsExceptionRestJson1Serializer @override Iterable get types => const [TooManyRequestsException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -429,6 +440,7 @@ class TooManyRequestsExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override TooManyRequestsException deserialize( Serializers serializers, @@ -478,6 +490,7 @@ class UnauthorizedExceptionRestJson1Serializer @override Iterable get types => const [UnauthorizedException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -485,6 +498,7 @@ class UnauthorizedExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override UnauthorizedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/glacier/upload_archive_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/glacier/upload_archive_operation_test.dart index 9c167b5cc5..ad322362f3 100644 --- a/packages/smithy/goldens/lib/restJson1/test/glacier/upload_archive_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/glacier/upload_archive_operation_test.dart @@ -168,6 +168,7 @@ class UploadArchiveInputRestJson1Serializer @override Iterable get types => const [UploadArchiveInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -175,6 +176,7 @@ class UploadArchiveInputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadArchiveInput deserialize( Serializers serializers, @@ -248,6 +250,7 @@ class ArchiveCreationOutputRestJson1Serializer @override Iterable get types => const [ArchiveCreationOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -255,6 +258,7 @@ class ArchiveCreationOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ArchiveCreationOutput deserialize( Serializers serializers, @@ -309,6 +313,7 @@ class InvalidParameterValueExceptionRestJson1Serializer @override Iterable get types => const [InvalidParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -316,6 +321,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, @@ -370,6 +376,7 @@ class MissingParameterValueExceptionRestJson1Serializer @override Iterable get types => const [MissingParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -377,6 +384,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, @@ -431,6 +439,7 @@ class RequestTimeoutExceptionRestJson1Serializer @override Iterable get types => const [RequestTimeoutException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -438,6 +447,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, @@ -492,6 +502,7 @@ class ResourceNotFoundExceptionRestJson1Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -499,6 +510,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, @@ -553,6 +565,7 @@ class ServiceUnavailableExceptionRestJson1Serializer @override Iterable get types => const [ServiceUnavailableException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -560,6 +573,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/glacier/upload_multipart_part_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/glacier/upload_multipart_part_operation_test.dart index 5548366362..4d3a424d93 100644 --- a/packages/smithy/goldens/lib/restJson1/test/glacier/upload_multipart_part_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/glacier/upload_multipart_part_operation_test.dart @@ -82,6 +82,7 @@ class UploadMultipartPartInputRestJson1Serializer @override Iterable get types => const [UploadMultipartPartInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -89,6 +90,7 @@ class UploadMultipartPartInputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartInput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class UploadMultipartPartOutputRestJson1Serializer @override Iterable get types => const [UploadMultipartPartOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -174,6 +177,7 @@ class UploadMultipartPartOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartOutput deserialize( Serializers serializers, @@ -218,6 +222,7 @@ class InvalidParameterValueExceptionRestJson1Serializer @override Iterable get types => const [InvalidParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -225,6 +230,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, @@ -279,6 +285,7 @@ class MissingParameterValueExceptionRestJson1Serializer @override Iterable get types => const [MissingParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -286,6 +293,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, @@ -340,6 +348,7 @@ class RequestTimeoutExceptionRestJson1Serializer @override Iterable get types => const [RequestTimeoutException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -347,6 +356,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, @@ -401,6 +411,7 @@ class ResourceNotFoundExceptionRestJson1Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -408,6 +419,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, @@ -462,6 +474,7 @@ class ServiceUnavailableExceptionRestJson1Serializer @override Iterable get types => const [ServiceUnavailableException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -469,6 +482,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart index db9ff7fc03..bcdf6f2a56 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart @@ -453,6 +453,7 @@ class AllQueryStringTypesInputRestJson1Serializer @override Iterable get types => const [AllQueryStringTypesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -460,6 +461,7 @@ class AllQueryStringTypesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override AllQueryStringTypesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart index af66532682..6eaafd3736 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart @@ -111,6 +111,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i3 @override Iterable get types => const [ConstantAndVariableQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override ConstantAndVariableQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart index 4a1fa696ed..e66f54efa1 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart @@ -62,6 +62,7 @@ class ConstantQueryStringInputRestJson1Serializer @override Iterable get types => const [ConstantQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class ConstantQueryStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override ConstantQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart index 4cd5ebe8d0..c6d8f6e927 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputRestJson1Serializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart index eca6b8f1ed..29874c5e75 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart @@ -177,6 +177,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer @override Iterable get types => const [DocumentTypeAsPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -184,6 +185,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeAsPayloadInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_operation_test.dart index d773316aee..7d1897eee5 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/document_type_operation_test.dart @@ -429,6 +429,7 @@ class DocumentTypeInputOutputRestJson1Serializer @override Iterable get types => const [DocumentTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -436,6 +437,7 @@ class DocumentTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart index 50c7337ed8..42632d88b6 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart @@ -133,6 +133,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -140,6 +141,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -166,6 +168,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -173,6 +176,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart index f936ceb415..a1a5912022 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelInputRestJson1Serializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart index bfbf265371..d9ec560b0f 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputRestJson1Serializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart index 949d8e16e7..680981bbfc 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart @@ -540,6 +540,7 @@ class GreetingWithErrorsOutputRestJson1Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -547,6 +548,7 @@ class GreetingWithErrorsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -590,6 +592,7 @@ class ComplexErrorRestJson1Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -597,6 +600,7 @@ class ComplexErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -651,6 +655,7 @@ class ComplexNestedErrorDataRestJson1Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -658,6 +663,7 @@ class ComplexNestedErrorDataRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -701,6 +707,7 @@ class FooErrorRestJson1Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -708,6 +715,7 @@ class FooErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override FooError deserialize( Serializers serializers, @@ -733,6 +741,7 @@ class InvalidGreetingRestJson1Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -740,6 +749,7 @@ class InvalidGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart index 259a9eab80..f1b395de58 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart @@ -64,6 +64,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer @override Iterable get types => const [HttpChecksumRequiredInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumRequiredInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart index a360481fd2..9993f6560f 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart @@ -91,6 +91,7 @@ class EnumPayloadInputRestJson1Serializer @override Iterable get types => const [EnumPayloadInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class EnumPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EnumPayloadInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart index b5a1512b12..cf5c25560d 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart @@ -180,6 +180,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer @override Iterable get types => const [HttpPayloadTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -187,6 +188,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPayloadTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart index 0e6905123b..ca57227533 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpPayloadTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpPayloadTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart index c706f60d8a..e3d9136572 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart @@ -108,6 +108,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpPayloadWithStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -115,6 +116,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpPayloadWithStructureInputOutput deserialize( Serializers serializers, @@ -158,6 +160,7 @@ class NestedPayloadRestJson1Serializer @override Iterable get types => const [NestedPayload]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -165,6 +168,7 @@ class NestedPayloadRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart index 552224d50c..b49e04107d 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart @@ -65,6 +65,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInResponseInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +73,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseInput deserialize( Serializers serializers, @@ -98,6 +100,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +108,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart index 5470064b7a..577f3ceb65 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart @@ -155,6 +155,7 @@ class HttpPrefixHeadersInputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -162,6 +163,7 @@ class HttpPrefixHeadersInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInput deserialize( Serializers serializers, @@ -217,6 +219,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -224,6 +227,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart index d69f429bde..7b385e7d9e 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart @@ -150,6 +150,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithFloatLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +158,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithFloatLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart index ed37140596..cab56c13c2 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart @@ -65,6 +65,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpRequestWithGreedyLabelInPathInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +73,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpRequestWithGreedyLabelInPathInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart index bf1a6db76a..4edf42ebe1 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart @@ -72,6 +72,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithLabelsAndTimestampFormatInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -79,6 +80,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart index 44c4d92c15..df487c4138 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart @@ -122,6 +122,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +130,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart index f901a7fede..0360490665 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart @@ -62,6 +62,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithRegexLiteralInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithRegexLiteralInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart index 4051476d1a..0c345222e8 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart @@ -87,6 +87,7 @@ class HttpResponseCodeOutputRestJson1Serializer @override Iterable get types => const [HttpResponseCodeOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -94,6 +95,7 @@ class HttpResponseCodeOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpResponseCodeOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart index aca50166c5..a8d03ed1de 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart @@ -90,6 +90,7 @@ class StringPayloadInputRestJson1Serializer @override Iterable get types => const [StringPayloadInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -97,6 +98,7 @@ class StringPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StringPayloadInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart index 93f7dc9a86..474bd1e012 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart @@ -91,6 +91,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer @override Iterable get types => const [IgnoreQueryParamsInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart index f4ae6d70c5..504b4edfd3 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart @@ -966,6 +966,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer @override Iterable get types => const [InputAndOutputWithHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -973,6 +974,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override InputAndOutputWithHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart index f5330eca48..0fa5b93069 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart @@ -93,6 +93,7 @@ class JsonBlobsInputOutputRestJson1Serializer @override Iterable get types => const [JsonBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -100,6 +101,7 @@ class JsonBlobsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_enums_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_enums_operation_test.dart index f19dddcd08..f958a377bb 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_enums_operation_test.dart @@ -127,6 +127,7 @@ class JsonEnumsInputOutputRestJson1Serializer @override Iterable get types => const [JsonEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -134,6 +135,7 @@ class JsonEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart index b846d827c5..82177a39aa 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart @@ -128,6 +128,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer @override Iterable get types => const [JsonIntEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -135,6 +136,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_lists_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_lists_operation_test.dart index 84ae7192f7..5576dcbe87 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_lists_operation_test.dart @@ -364,6 +364,7 @@ class JsonListsInputOutputRestJson1Serializer @override Iterable get types => const [JsonListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -371,6 +372,7 @@ class JsonListsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonListsInputOutput deserialize( Serializers serializers, @@ -494,6 +496,7 @@ class StructureListMemberRestJson1Serializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -501,6 +504,7 @@ class StructureListMemberRestJson1Serializer shape: 'restJson1', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_maps_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_maps_operation_test.dart index 17cb9163e0..e7b2ad6633 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_maps_operation_test.dart @@ -616,6 +616,7 @@ class JsonMapsInputOutputRestJson1Serializer @override Iterable get types => const [JsonMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -623,6 +624,7 @@ class JsonMapsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonMapsInputOutput deserialize( Serializers serializers, @@ -771,6 +773,7 @@ class GreetingStructRestJson1Serializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -778,6 +781,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart index e79d8807b0..9fe6ce42dd 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart @@ -549,6 +549,7 @@ class JsonTimestampsInputOutputRestJson1Serializer @override Iterable get types => const [JsonTimestampsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -556,6 +557,7 @@ class JsonTimestampsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_unions_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_unions_operation_test.dart index ef81643ed1..915eb70641 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/json_unions_operation_test.dart @@ -762,6 +762,7 @@ class UnionInputOutputRestJson1Serializer @override Iterable get types => const [UnionInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -769,6 +770,7 @@ class UnionInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart index 0ad4b7c5a4..58e1ce2d2a 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart @@ -94,6 +94,7 @@ class MediaTypeHeaderInputRestJson1Serializer @override Iterable get types => const [MediaTypeHeaderInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class MediaTypeHeaderInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderInput deserialize( Serializers serializers, @@ -145,6 +147,7 @@ class MediaTypeHeaderOutputRestJson1Serializer @override Iterable get types => const [MediaTypeHeaderOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -152,6 +155,7 @@ class MediaTypeHeaderOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart index e0cba2c611..ce561b00af 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart @@ -126,6 +126,7 @@ class NoInputAndOutputOutputRestJson1Serializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -133,6 +134,7 @@ class NoInputAndOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart index 0e56b11c1e..3eeb273c5c 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart @@ -69,6 +69,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer @override Iterable get types => const [NullAndEmptyHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override NullAndEmptyHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart index e846e47eaf..ba328a6fa8 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart @@ -101,6 +101,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i3 @override Iterable get types => const [OmitsNullSerializesEmptyStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override OmitsNullSerializesEmptyStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart index 0a880772c8..523af29ff8 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart @@ -71,6 +71,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer @override Iterable get types => const [OmitsSerializingEmptyListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override OmitsSerializingEmptyListsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart index 841a395e6c..2e49a350d2 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart @@ -99,6 +99,7 @@ class PostPlayerActionInputRestJson1Serializer @override Iterable get types => const [PostPlayerActionInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -106,6 +107,7 @@ class PostPlayerActionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionInput deserialize( Serializers serializers, @@ -150,6 +152,7 @@ class PostPlayerActionOutputRestJson1Serializer @override Iterable get types => const [PostPlayerActionOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +160,7 @@ class PostPlayerActionOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart index fa837cdc31..5c245fd6c5 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart @@ -257,6 +257,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer @override Iterable get types => const [PostUnionWithJsonNameInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -264,6 +265,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameInput deserialize( Serializers serializers, @@ -308,6 +310,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer @override Iterable get types => const [PostUnionWithJsonNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -315,6 +318,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart index 26d915d48c..ba5d7357fe 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart @@ -105,6 +105,7 @@ class PutWithContentEncodingInputRestJson1Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +113,7 @@ class PutWithContentEncodingInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart index 13d354aaf7..1f11394c79 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -98,6 +98,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +106,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart index a8872aa748..48d3a60184 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart @@ -74,6 +74,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer @override Iterable get types => const [QueryParamsAsStringListMapInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -81,6 +82,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryParamsAsStringListMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart index 0d4113f137..0d059cc909 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart @@ -69,6 +69,7 @@ class QueryPrecedenceInputRestJson1Serializer @override Iterable get types => const [QueryPrecedenceInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class QueryPrecedenceInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryPrecedenceInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart index a2229954c3..64f68ecb18 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart @@ -125,6 +125,7 @@ class RecursiveShapesInputOutputRestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class RecursiveShapesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, @@ -176,6 +178,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -183,6 +186,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, @@ -232,6 +236,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -239,6 +244,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart index c273f4f3cf..326a03157b 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart @@ -445,6 +445,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -452,6 +453,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart index 7e1618666a..75a9dace1f 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart @@ -183,6 +183,7 @@ class StreamingTraitsInputOutputRestJson1Serializer @override Iterable get types => const [StreamingTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -190,6 +191,7 @@ class StreamingTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override StreamingTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart index a5dbbd3193..5806907ac1 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart @@ -110,6 +110,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer @override Iterable get types => const [StreamingTraitsRequireLengthInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StreamingTraitsRequireLengthInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart index 4c60493612..92a7d40c7c 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [StreamingTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override StreamingTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart index d8f85cedcd..78d22ce917 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart @@ -106,6 +106,7 @@ class TestBodyStructureInputOutputRestJson1Serializer @override Iterable get types => const [TestBodyStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class TestBodyStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestBodyStructureInputOutput deserialize( Serializers serializers, @@ -161,6 +163,7 @@ class TestConfigRestJson1Serializer @override Iterable get types => const [TestConfig]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -168,6 +171,7 @@ class TestConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override TestConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart index 2f3820360e..cb969fe8b0 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart @@ -104,6 +104,7 @@ class TestNoPayloadInputOutputRestJson1Serializer @override Iterable get types => const [TestNoPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class TestNoPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestNoPayloadInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart index 732b486071..c8c5528048 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart @@ -106,6 +106,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer @override Iterable get types => const [TestPayloadBlobInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestPayloadBlobInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart index 3d65835b52..d37d844ea5 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart @@ -151,6 +151,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer @override Iterable get types => const [TestPayloadStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -158,6 +159,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestPayloadStructureInputOutput deserialize( Serializers serializers, @@ -206,6 +208,7 @@ class PayloadConfigRestJson1Serializer @override Iterable get types => const [PayloadConfig]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -213,6 +216,7 @@ class PayloadConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart index f8691ba71e..af8a3a67f7 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart @@ -125,6 +125,7 @@ class TimestampFormatHeadersIoRestJson1Serializer @override Iterable get types => const [TimestampFormatHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class TimestampFormatHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override TimestampFormatHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart b/packages/smithy/goldens/lib/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart index f5ad24ccb7..a27bf4e4d3 100644 --- a/packages/smithy/goldens/lib/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart +++ b/packages/smithy/goldens/lib/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart @@ -70,6 +70,7 @@ class RecursiveStructuresInputRestJson1Serializer @override Iterable get types => const [RecursiveStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class RecursiveStructuresInputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class ValidationExceptionRestJson1Serializer @override Iterable get types => const [ValidationException]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class ValidationExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationException deserialize( Serializers serializers, @@ -179,6 +183,7 @@ class ValidationExceptionFieldRestJson1Serializer @override Iterable get types => const [ValidationExceptionField]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -186,6 +191,7 @@ class ValidationExceptionFieldRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationExceptionField deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart index 41ea27c531..860899a1b8 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart @@ -212,6 +212,7 @@ abstract class AllQueryStringTypesInput @override AllQueryStringTypesInputPayload getPayload() => AllQueryStringTypesInputPayload(); + @override List get props => [ queryString, @@ -236,6 +237,7 @@ abstract class AllQueryStringTypesInput queryIntegerEnumList, queryParamsMapOfStrings, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AllQueryStringTypesInput') @@ -343,6 +345,7 @@ abstract class AllQueryStringTypesInputPayload @override List get props => []; + @override String toString() { final helper = @@ -363,6 +366,7 @@ class AllQueryStringTypesInputRestXmlSerializer AllQueryStringTypesInputPayload, _$AllQueryStringTypesInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -370,6 +374,7 @@ class AllQueryStringTypesInputRestXmlSerializer shape: 'restXml', ) ]; + @override AllQueryStringTypesInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/aws_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/aws_config.dart index c7e09eb85f..ac5026f0cf 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -119,7 +122,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart index a0b80a5b61..15bc50f153 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart @@ -47,8 +47,10 @@ abstract class BodyWithXmlNameInputOutput PayloadWithXmlName? get nested; @override BodyWithXmlNameInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('BodyWithXmlNameInputOutput') @@ -70,6 +72,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer BodyWithXmlNameInputOutput, _$BodyWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BodyWithXmlNameInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/client_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/client_config.dart index e0fab334a9..f23eac670c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_error.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_error.dart index fceed96761..ab14bcaa92 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_error.dart @@ -68,29 +68,36 @@ abstract class ComplexError } b.topLevel = topLevel; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'aws.protocoltests.restxml', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 403; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ header, topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -127,6 +134,7 @@ abstract class ComplexErrorPayload nested, topLevel, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexErrorPayload') @@ -153,6 +161,7 @@ class ComplexErrorRestXmlSerializer ComplexErrorPayload, _$ComplexErrorPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -160,6 +169,7 @@ class ComplexErrorRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexErrorPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart index 5f762ea13e..2ac18846ec 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataRestXmlSerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart index 51cccbf855..6057eb1c82 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart @@ -59,11 +59,13 @@ abstract class ConstantAndVariableQueryStringInput @override ConstantAndVariableQueryStringInputPayload getPayload() => ConstantAndVariableQueryStringInputPayload(); + @override List get props => [ baz, maybeSet, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class ConstantAndVariableQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i1 ConstantAndVariableQueryStringInputPayload, _$ConstantAndVariableQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override ConstantAndVariableQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart index 6e591ec052..3d31be7332 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart @@ -59,8 +59,10 @@ abstract class ConstantQueryStringInput @override ConstantQueryStringInputPayload getPayload() => ConstantQueryStringInputPayload(); + @override List get props => [hello]; + @override String toString() { final helper = newBuiltValueToStringHelper('ConstantQueryStringInput') @@ -88,6 +90,7 @@ abstract class ConstantQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class ConstantQueryStringInputRestXmlSerializer ConstantQueryStringInputPayload, _$ConstantQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class ConstantQueryStringInputRestXmlSerializer shape: 'restXml', ) ]; + @override ConstantQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart index b21b48116e..95b5dbc091 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputRestXmlSerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart index 579c38ba91..acdb081eb7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart index 9c741a4c43..aaf3017357 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/environment_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/environment_config.dart index 844ab60be7..77398fec49 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -204,7 +207,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart index 4a38f8c78f..898e7414bc 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -222,7 +225,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -238,7 +241,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart index 02b2504cd3..6419811d40 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart @@ -49,8 +49,10 @@ abstract class FlattenedXmlMapInputOutput _i3.BuiltMap? get myMap; @override FlattenedXmlMapInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('FlattenedXmlMapInputOutput') @@ -72,6 +74,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer FlattenedXmlMapInputOutput, _$FlattenedXmlMapInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FlattenedXmlMapInputOutput deserialize( Serializers serializers, @@ -132,7 +136,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer const _i1.XmlBuiltMapSerializer(flattenedKey: 'myMap').serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart index 76ea20c540..9290f93681 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart @@ -49,8 +49,10 @@ abstract class FlattenedXmlMapWithXmlNameInputOutput _i3.BuiltMap? get myMap; @override FlattenedXmlMapWithXmlNameInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = @@ -73,6 +75,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 FlattenedXmlMapWithXmlNameInputOutput, _$FlattenedXmlMapWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -80,6 +83,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNameInputOutput deserialize( Serializers serializers, @@ -139,7 +143,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart index de6264bba3..2b2a51bd58 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNamespaceOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 FlattenedXmlMapWithXmlNamespaceOutput, _$FlattenedXmlMapWithXmlNamespaceOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, @@ -129,7 +132,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart index 5109cb1e3f..e5d85775e2 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputRestXmlSerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart index ecbf3905d3..962609b6f4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructRestXmlSerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart index 72fd344a98..4851a71c3f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart @@ -45,8 +45,10 @@ abstract class GreetingWithErrorsOutput @override GreetingWithErrorsOutputPayload getPayload() => GreetingWithErrorsOutputPayload(); + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -74,6 +76,7 @@ abstract class GreetingWithErrorsOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class GreetingWithErrorsOutputRestXmlSerializer GreetingWithErrorsOutputPayload, _$GreetingWithErrorsOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class GreetingWithErrorsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingWithErrorsOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart index a1320108f0..8299218e1f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart @@ -58,8 +58,10 @@ abstract class HostLabelHeaderInput @override HostLabelHeaderInputPayload getPayload() => HostLabelHeaderInputPayload(); + @override List get props => [accountId]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelHeaderInput') @@ -85,6 +87,7 @@ abstract class HostLabelHeaderInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelHeaderInputPayload'); @@ -103,6 +106,7 @@ class HostLabelHeaderInputRestXmlSerializer HostLabelHeaderInputPayload, _$HostLabelHeaderInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +114,7 @@ class HostLabelHeaderInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelHeaderInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart index 5495325e99..205bf14437 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputRestXmlSerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart index dacfd672d9..6c54c6dd1d 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPayloadTraitsInputOutput') @@ -98,6 +100,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer HttpPayloadTraitsInputOutput, _$HttpPayloadTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -105,6 +108,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart index c44044cef0..2548325ecf 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsWithMediaTypeInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -99,6 +101,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer HttpPayloadTraitsWithMediaTypeInputOutput, _$HttpPayloadTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +109,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart index a3da3f1de9..041c265b55 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart @@ -59,8 +59,10 @@ abstract class HttpPayloadWithMemberXmlNameInputOutput PayloadWithXmlName? get nested; @override PayloadWithXmlName? getPayload() => nested ?? PayloadWithXmlName(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -83,6 +85,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer HttpPayloadWithMemberXmlNameInputOutput, _$HttpPayloadWithMemberXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -90,6 +93,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart index 4ed1190bd5..3d42394273 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithStructureInputOutput NestedPayload? get nested; @override NestedPayload? getPayload() => nested ?? NestedPayload(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer HttpPayloadWithStructureInputOutput, _$HttpPayloadWithStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart index 7cd748d66d..85b9722c90 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithXmlNameInputOutput PayloadWithXmlName? get nested; @override PayloadWithXmlName? getPayload() => nested ?? PayloadWithXmlName(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer HttpPayloadWithXmlNameInputOutput, _$HttpPayloadWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart index 0eb653d6c9..dd9436c638 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart @@ -61,8 +61,10 @@ abstract class HttpPayloadWithXmlNamespaceAndPrefixInputOutput @override PayloadWithXmlNamespaceAndPrefix? getPayload() => nested ?? PayloadWithXmlNamespaceAndPrefix(); + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -85,6 +87,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer HttpPayloadWithXmlNamespaceAndPrefixInputOutput, _$HttpPayloadWithXmlNamespaceAndPrefixInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -92,6 +95,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart index bdeed9541a..72ea4d2c29 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithXmlNamespaceInputOutput PayloadWithXmlNamespace? get nested; @override PayloadWithXmlNamespace? getPayload() => nested ?? PayloadWithXmlNamespace(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer HttpPayloadWithXmlNamespaceInputOutput, _$HttpPayloadWithXmlNamespaceInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart index 5b60151d4b..7c1263fdac 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart @@ -85,11 +85,13 @@ abstract class HttpPrefixHeadersInputOutput @override HttpPrefixHeadersInputOutputPayload getPayload() => HttpPrefixHeadersInputOutputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInputOutput') @@ -121,6 +123,7 @@ abstract class HttpPrefixHeadersInputOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -141,6 +144,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer extends _i1 HttpPrefixHeadersInputOutputPayload, _$HttpPrefixHeadersInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -148,6 +152,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpPrefixHeadersInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart index 537058e21d..e65ba220b3 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithFloatLabelsInput @override HttpRequestWithFloatLabelsInputPayload getPayload() => HttpRequestWithFloatLabelsInputPayload(); + @override List get props => [ float, double_, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithFloatLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -130,6 +133,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer extends _i1 HttpRequestWithFloatLabelsInputPayload, _$HttpRequestWithFloatLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpRequestWithFloatLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart index bd3c0b030a..eda364a2e4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithGreedyLabelInPathInput @override HttpRequestWithGreedyLabelInPathInputPayload getPayload() => HttpRequestWithGreedyLabelInPathInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithGreedyLabelInPathInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -130,6 +133,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i1 HttpRequestWithGreedyLabelInPathInputPayload, _$HttpRequestWithGreedyLabelInPathInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpRequestWithGreedyLabelInPathInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 19c8b6fed4..22f7c0f730 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -150,6 +150,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput @override HttpRequestWithLabelsAndTimestampFormatInputPayload getPayload() => HttpRequestWithLabelsAndTimestampFormatInputPayload(); + @override List get props => [ memberEpochSeconds, @@ -160,6 +161,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -212,6 +214,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -220,8 +223,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer - extends _i1.StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 + .StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); @@ -233,6 +236,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer HttpRequestWithLabelsAndTimestampFormatInputPayload, _$HttpRequestWithLabelsAndTimestampFormatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -240,6 +244,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart index af96d45324..eacfadf140 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart @@ -129,6 +129,7 @@ abstract class HttpRequestWithLabelsInput @override HttpRequestWithLabelsInputPayload getPayload() => HttpRequestWithLabelsInputPayload(); + @override List get props => [ string, @@ -140,6 +141,7 @@ abstract class HttpRequestWithLabelsInput boolean, timestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpRequestWithLabelsInput') @@ -195,6 +197,7 @@ abstract class HttpRequestWithLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -215,6 +218,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer HttpRequestWithLabelsInputPayload, _$HttpRequestWithLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -222,6 +226,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart index 9e8b9e2be2..e4a2549e56 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart @@ -42,8 +42,10 @@ abstract class HttpResponseCodeOutput int? get status; @override HttpResponseCodeOutputPayload getPayload() => HttpResponseCodeOutputPayload(); + @override List get props => [status]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutput') @@ -71,6 +73,7 @@ abstract class HttpResponseCodeOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutputPayload'); @@ -90,6 +93,7 @@ class HttpResponseCodeOutputRestXmlSerializer HttpResponseCodeOutputPayload, _$HttpResponseCodeOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -97,6 +101,7 @@ class HttpResponseCodeOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpResponseCodeOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart index 596b120be6..084782b2ed 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart @@ -39,6 +39,7 @@ abstract class IgnoreQueryParamsInResponseOutput String? get baz; @override List get props => [baz]; + @override String toString() { final helper = @@ -61,6 +62,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer IgnoreQueryParamsInResponseOutput, _$IgnoreQueryParamsInResponseOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer shape: 'restXml', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart index 549b3e4478..f6efea1e29 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart @@ -243,6 +243,7 @@ abstract class InputAndOutputWithHeadersIo @override InputAndOutputWithHeadersIoPayload getPayload() => InputAndOutputWithHeadersIoPayload(); + @override List get props => [ headerString, @@ -262,6 +263,7 @@ abstract class InputAndOutputWithHeadersIo headerEnum, headerEnumList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InputAndOutputWithHeadersIo') @@ -349,6 +351,7 @@ abstract class InputAndOutputWithHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -369,6 +372,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer InputAndOutputWithHeadersIoPayload, _$InputAndOutputWithHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -376,6 +380,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override InputAndOutputWithHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart index 1c87fe726a..f432c3fd75 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart @@ -47,18 +47,23 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.restxml', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -79,6 +84,7 @@ class InvalidGreetingRestXmlSerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class InvalidGreetingRestXmlSerializer shape: 'restXml', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart index 08b8f8a136..b7d493e542 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart @@ -39,6 +39,7 @@ abstract class NestedPayload greeting, name, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedPayload') @@ -63,6 +64,7 @@ class NestedPayloadRestXmlSerializer NestedPayload, _$NestedPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -70,6 +72,7 @@ class NestedPayloadRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart index f5f92289e5..dde36fa947 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart @@ -73,11 +73,13 @@ abstract class NestedXmlMapsInputOutput _i3.BuiltMap>? get flatNestedMap; @override NestedXmlMapsInputOutput getPayload() => this; + @override List get props => [ nestedMap, flatNestedMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedXmlMapsInputOutput') @@ -103,6 +105,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer NestedXmlMapsInputOutput, _$NestedXmlMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +113,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedXmlMapsInputOutput deserialize( Serializers serializers, @@ -189,7 +193,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer .serialize( serializers, flatNestedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -210,7 +214,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, nestedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart index 2105a088ba..70f660b1a9 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputRestXmlSerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart index e8bb520ed9..7858cd02b7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart @@ -82,12 +82,14 @@ abstract class NullAndEmptyHeadersIo _i3.BuiltList? get c; @override NullAndEmptyHeadersIoPayload getPayload() => NullAndEmptyHeadersIoPayload(); + @override List get props => [ a, b, c, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIo') @@ -123,6 +125,7 @@ abstract class NullAndEmptyHeadersIoPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIoPayload'); @@ -142,6 +145,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer NullAndEmptyHeadersIoPayload, _$NullAndEmptyHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -149,6 +153,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override NullAndEmptyHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart index cdf79655d0..0c53df97c0 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart @@ -59,11 +59,13 @@ abstract class OmitsNullSerializesEmptyStringInput @override OmitsNullSerializesEmptyStringInputPayload getPayload() => OmitsNullSerializesEmptyStringInputPayload(); + @override List get props => [ nullValue, emptyString, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class OmitsNullSerializesEmptyStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i1 OmitsNullSerializesEmptyStringInputPayload, _$OmitsNullSerializesEmptyStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override OmitsNullSerializesEmptyStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/operation_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/operation_config.dart index 42f2e7ee79..9570854bf7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart index 46ac21e1ab..4af6860916 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart @@ -30,6 +30,7 @@ abstract class PayloadWithXmlName String? get name; @override List get props => [name]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadWithXmlName') @@ -50,6 +51,7 @@ class PayloadWithXmlNameRestXmlSerializer PayloadWithXmlName, _$PayloadWithXmlName, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart index 37de5b0033..c8630fe5f4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart @@ -29,6 +29,7 @@ abstract class PayloadWithXmlNamespace String? get name; @override List get props => [name]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadWithXmlNamespace') @@ -50,6 +51,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer PayloadWithXmlNamespace, _$PayloadWithXmlNamespace, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart index b4a792f2bf..cc094b78f4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart @@ -32,6 +32,7 @@ abstract class PayloadWithXmlNamespaceAndPrefix String? get name; @override List get props => [name]; + @override String toString() { final helper = @@ -54,6 +55,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer PayloadWithXmlNamespaceAndPrefix, _$PayloadWithXmlNamespaceAndPrefix, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart index f36bab90e2..a3fd64b6ec 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart @@ -56,11 +56,13 @@ abstract class PutWithContentEncodingInput PutWithContentEncodingInputPayload((b) { b.data = data; }); + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -92,6 +94,7 @@ abstract class PutWithContentEncodingInputPayload String? get data; @override List get props => [data]; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class PutWithContentEncodingInputRestXmlSerializer PutWithContentEncodingInputPayload, _$PutWithContentEncodingInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class PutWithContentEncodingInputRestXmlSerializer shape: 'restXml', ) ]; + @override PutWithContentEncodingInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart index 4fbebd3f78..3f287e6cf8 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -56,8 +56,10 @@ abstract class QueryIdempotencyTokenAutoFillInput @override QueryIdempotencyTokenAutoFillInputPayload getPayload() => QueryIdempotencyTokenAutoFillInputPayload(); + @override List get props => [token]; + @override String toString() { final helper = @@ -86,6 +88,7 @@ abstract class QueryIdempotencyTokenAutoFillInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -106,6 +109,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer extends _i1 QueryIdempotencyTokenAutoFillInputPayload, _$QueryIdempotencyTokenAutoFillInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override QueryIdempotencyTokenAutoFillInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart index 7104ddcbdd..64b3ba280c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart @@ -57,11 +57,13 @@ abstract class QueryParamsAsStringListMapInput @override QueryParamsAsStringListMapInputPayload getPayload() => QueryParamsAsStringListMapInputPayload(); + @override List get props => [ qux, foo, ]; + @override String toString() { final helper = @@ -94,6 +96,7 @@ abstract class QueryParamsAsStringListMapInputPayload @override List get props => []; + @override String toString() { final helper = @@ -114,6 +117,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer extends _i1 QueryParamsAsStringListMapInputPayload, _$QueryParamsAsStringListMapInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -121,6 +125,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override QueryParamsAsStringListMapInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart index eb22e4cd56..bc08286f2f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart @@ -54,11 +54,13 @@ abstract class QueryPrecedenceInput _i3.BuiltMap? get baz; @override QueryPrecedenceInputPayload getPayload() => QueryPrecedenceInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInput') @@ -88,6 +90,7 @@ abstract class QueryPrecedenceInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInputPayload'); @@ -106,6 +109,7 @@ class QueryPrecedenceInputRestXmlSerializer QueryPrecedenceInputPayload, _$QueryPrecedenceInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryPrecedenceInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryPrecedenceInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart index bbdb2e91a6..19000d655a 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart @@ -48,8 +48,10 @@ abstract class RecursiveShapesInputOutput RecursiveShapesInputOutputNested1? get nested; @override RecursiveShapesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveShapesInputOutput') @@ -71,6 +73,7 @@ class RecursiveShapesInputOutputRestXmlSerializer RecursiveShapesInputOutput, _$RecursiveShapesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class RecursiveShapesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart index 4ebee5243e..2e27d171b2 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer RecursiveShapesInputOutputNested1, _$RecursiveShapesInputOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart index ce5d617d45..ef56c44203 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer RecursiveShapesInputOutputNested2, _$RecursiveShapesInputOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/retry_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/retry_config.dart index 4ac4e4c645..c619ccffd3 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -120,7 +123,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -128,7 +131,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/s3_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/s3_config.dart index cf4f8c8d4e..3aefd485d1 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -136,7 +139,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -144,7 +147,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -152,7 +155,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart index 930ecb797b..77494cbeaf 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -203,7 +206,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -218,7 +221,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart index 188422b324..351686d429 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart @@ -119,6 +119,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -132,6 +133,7 @@ abstract class SimpleScalarPropertiesInputOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -214,6 +216,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -270,6 +273,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -277,6 +281,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, @@ -369,7 +374,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -377,7 +382,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (falseBooleanValue != null) { @@ -385,7 +390,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (floatValue != null) { @@ -393,7 +398,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -401,7 +406,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -409,7 +414,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i3.Int64), + specifiedType: const FullType(_i3.Int64), )); } if (shortValue != null) { @@ -417,7 +422,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { @@ -433,7 +438,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart index a7f1f58337..e58443dd4c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberRestXmlSerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart index 09c4fb621f..8ab3780016 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart @@ -158,6 +158,7 @@ abstract class TimestampFormatHeadersIo @override TimestampFormatHeadersIoPayload getPayload() => TimestampFormatHeadersIoPayload(); + @override List get props => [ memberEpochSeconds, @@ -168,6 +169,7 @@ abstract class TimestampFormatHeadersIo targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TimestampFormatHeadersIo') @@ -219,6 +221,7 @@ abstract class TimestampFormatHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -239,6 +242,7 @@ class TimestampFormatHeadersIoRestXmlSerializer TimestampFormatHeadersIoPayload, _$TimestampFormatHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -246,6 +250,7 @@ class TimestampFormatHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override TimestampFormatHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart index c62dce45e6..2954093a2c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart @@ -54,11 +54,13 @@ abstract class XmlAttributesInputOutput String? get attr; @override XmlAttributesInputOutput getPayload() => this; + @override List get props => [ foo, attr, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlAttributesInputOutput') @@ -84,6 +86,7 @@ class XmlAttributesInputOutputRestXmlSerializer XmlAttributesInputOutput, _$XmlAttributesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart index 94afe67080..329f6704a0 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart @@ -60,8 +60,10 @@ abstract class XmlAttributesOnPayloadInputOutput @override XmlAttributesInputOutput? getPayload() => payload ?? XmlAttributesInputOutput(); + @override List get props => [payload]; + @override String toString() { final helper = @@ -84,6 +86,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer XmlAttributesOnPayloadInputOutput, _$XmlAttributesOnPayloadInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart index 752d60ad82..9c23cff5c1 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart @@ -48,8 +48,10 @@ abstract class XmlBlobsInputOutput _i3.Uint8List? get data; @override XmlBlobsInputOutput getPayload() => this; + @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsInputOutput') @@ -70,6 +72,7 @@ class XmlBlobsInputOutputRestXmlSerializer XmlBlobsInputOutput, _$XmlBlobsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, @@ -117,7 +121,7 @@ class XmlBlobsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart index 7699969e88..95c4889f3a 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart @@ -46,8 +46,10 @@ abstract class XmlEmptyStringsInputOutput String? get emptyString; @override XmlEmptyStringsInputOutput getPayload() => this; + @override List get props => [emptyString]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEmptyStringsInputOutput') @@ -69,6 +71,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer XmlEmptyStringsInputOutput, _$XmlEmptyStringsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEmptyStringsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart index 00c1a59219..15ea93e67e 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class XmlEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override XmlEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class XmlEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsInputOutput') @@ -116,6 +118,7 @@ class XmlEnumsInputOutputRestXmlSerializer XmlEnumsInputOutput, _$XmlEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +126,7 @@ class XmlEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEnumsInputOutput deserialize( Serializers serializers, @@ -213,7 +217,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -221,7 +225,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -229,7 +233,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -238,7 +242,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(FooEnum)], ), @@ -250,7 +254,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -265,7 +269,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(FooEnum)], ), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart index dfb82848c3..120ed1641e 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart @@ -65,6 +65,7 @@ abstract class XmlIntEnumsInputOutput _i3.BuiltMap? get intEnumMap; @override XmlIntEnumsInputOutput getPayload() => this; + @override List get props => [ intEnum1, @@ -74,6 +75,7 @@ abstract class XmlIntEnumsInputOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsInputOutput') @@ -115,6 +117,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer XmlIntEnumsInputOutput, _$XmlIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -122,6 +125,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlIntEnumsInputOutput deserialize( Serializers serializers, @@ -214,7 +218,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum2 != null) { @@ -222,7 +226,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnum3 != null) { @@ -230,7 +234,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (intEnumList != null) { @@ -239,7 +243,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(int)], ), @@ -251,7 +255,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -266,7 +270,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(int)], ), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart index 08d8d1cf66..050a13fe37 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart @@ -110,6 +110,7 @@ abstract class XmlListsInputOutput _i3.BuiltList? get flattenedStructureList; @override XmlListsInputOutput getPayload() => this; + @override List get props => [ stringList, @@ -128,6 +129,7 @@ abstract class XmlListsInputOutput structureList, flattenedStructureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsInputOutput') @@ -204,6 +206,7 @@ class XmlListsInputOutputRestXmlSerializer XmlListsInputOutput, _$XmlListsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -211,6 +214,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -393,7 +397,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(bool)], ), @@ -405,7 +409,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(FooEnum)], ), @@ -417,7 +421,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -428,7 +432,7 @@ class XmlListsInputOutputRestXmlSerializer const _i1.XmlBuiltListSerializer(memberName: 'customName').serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -441,7 +445,7 @@ class XmlListsInputOutputRestXmlSerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -453,7 +457,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -465,7 +469,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedStructureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(StructureListMember)], ), @@ -477,7 +481,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(int)], ), @@ -489,7 +493,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(int)], ), @@ -501,7 +505,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [ FullType( @@ -518,7 +522,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer(memberName: 'item').serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -530,7 +534,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -542,7 +546,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(String)], ), @@ -554,7 +558,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer(memberName: 'item').serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(StructureListMember)], ), @@ -566,7 +570,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(DateTime)], ), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart index 640ff0bd05..de199bf84b 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlMapsInputOutput _i3.BuiltMap? get myMap; @override XmlMapsInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsInputOutput') @@ -69,6 +71,7 @@ class XmlMapsInputOutputRestXmlSerializer XmlMapsInputOutput, _$XmlMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -124,7 +128,7 @@ class XmlMapsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart index 3c4091f158..5cfae7868b 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart @@ -49,8 +49,10 @@ abstract class XmlMapsXmlNameInputOutput _i3.BuiltMap? get myMap; @override XmlMapsXmlNameInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsXmlNameInputOutput') @@ -72,6 +74,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer XmlMapsXmlNameInputOutput, _$XmlMapsXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsXmlNameInputOutput deserialize( Serializers serializers, @@ -135,7 +139,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart index b9ee20a236..8d9d2fbdb3 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedRestXmlSerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -148,7 +151,7 @@ class XmlNamespaceNestedRestXmlSerializer .serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart index 9343fecc52..d2805de623 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlNamespacesInputOutput XmlNamespaceNested? get nested; @override XmlNamespacesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesInputOutput') @@ -70,6 +72,7 @@ class XmlNamespacesInputOutputRestXmlSerializer XmlNamespacesInputOutput, _$XmlNamespacesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class XmlNamespacesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespacesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart index 495b6b5090..f5e62befe3 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart @@ -65,6 +65,7 @@ abstract class XmlNestedUnionStruct floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNestedUnionStruct') @@ -113,6 +114,7 @@ class XmlNestedUnionStructRestXmlSerializer XmlNestedUnionStruct, _$XmlNestedUnionStruct, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -120,6 +122,7 @@ class XmlNestedUnionStructRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNestedUnionStruct deserialize( Serializers serializers, @@ -204,7 +207,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('booleanValue')) ..add(serializers.serialize( booleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -212,7 +215,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -220,7 +223,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('doubleValue')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (floatValue != null) { @@ -228,7 +231,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -236,7 +239,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -244,7 +247,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (shortValue != null) { @@ -252,7 +255,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart index 909a36a5db..c04ff9b9af 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart @@ -68,6 +68,7 @@ abstract class XmlTimestampsInputOutput DateTime? get httpDateOnTarget; @override XmlTimestampsInputOutput getPayload() => this; + @override List get props => [ normal, @@ -78,6 +79,7 @@ abstract class XmlTimestampsInputOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsInputOutput') @@ -123,6 +125,7 @@ class XmlTimestampsInputOutputRestXmlSerializer XmlTimestampsInputOutput, _$XmlTimestampsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -130,6 +133,7 @@ class XmlTimestampsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlTimestampsInputOutput deserialize( Serializers serializers, @@ -262,7 +266,7 @@ class XmlTimestampsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart index 01eafdf461..d7b36be154 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart @@ -70,15 +70,25 @@ sealed class XmlUnionShape extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get byteValue => null; + int? get shortValue => null; + int? get integerValue => null; + _i2.Int64? get longValue => null; + double? get floatValue => null; + double? get doubleValue => null; + XmlUnionShape? get unionValue => null; + XmlNestedUnionStruct? get structValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -90,6 +100,7 @@ sealed class XmlUnionShape extends _i1.SmithyUnion { doubleValue ?? unionValue ?? structValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'XmlUnionShape'); @@ -288,6 +299,7 @@ class XmlUnionShapeRestXmlSerializer XmlUnionShapeUnionValue$, XmlUnionShapeStructValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -295,6 +307,7 @@ class XmlUnionShapeRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionShape deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart index c123718f6e..3d45dabb4f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlUnionsInputOutput XmlUnionShape? get unionValue; @override XmlUnionsInputOutput getPayload() => this; + @override List get props => [unionValue]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlUnionsInputOutput') @@ -69,6 +71,7 @@ class XmlUnionsInputOutputRestXmlSerializer XmlUnionsInputOutput, _$XmlUnionsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlUnionsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart index 9f1e92ca37..42339836b6 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart @@ -218,24 +218,32 @@ class AllQueryStringTypesOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'AllQueryStringTypes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( AllQueryStringTypesInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart index a5839fa297..c335c271fa 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart @@ -69,8 +69,10 @@ class BodyWithXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/BodyWithXmlName'; }); + @override int successCode([BodyWithXmlNameInputOutput? output]) => 200; + @override BodyWithXmlNameInputOutput buildOutput( BodyWithXmlNameInputOutput payload, @@ -80,16 +82,22 @@ class BodyWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'BodyWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( BodyWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart index 02ed4c361c..25321adfbd 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart @@ -83,24 +83,32 @@ class ConstantAndVariableQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantAndVariableQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantAndVariableQueryStringInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart index 9f019d7aac..9901f820b0 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart @@ -68,24 +68,32 @@ class ConstantQueryStringOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ConstantQueryString/{hello}?foo=bar&hello'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantQueryStringInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart index 727a4997ec..63d7636ecc 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart @@ -62,8 +62,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/DatetimeOffsets'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -73,16 +75,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart index 5c402a6743..ad90851f44 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart @@ -72,8 +72,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/EmptyInputAndEmptyOutput'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -83,16 +85,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart index 7c6c5601a0..a333b172f9 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart @@ -61,24 +61,32 @@ class EndpointOperation b.path = r'/EndpointOperation'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart index 59f261992a..bfaa20176d 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart @@ -67,24 +67,32 @@ class EndpointWithHostLabelHeaderOperation extends _i1.HttpOperation< b.headers['X-Amz-Account-Id'] = input.accountId; } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelHeaderOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelHeaderInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart index aac5e8c90c..0cc4b822de 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart @@ -64,24 +64,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/EndpointWithHostLabelOperation'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart index 8a54e70dc7..5a14d77353 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart @@ -69,8 +69,10 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMap'; }); + @override int successCode([FlattenedXmlMapInputOutput? output]) => 200; + @override FlattenedXmlMapInputOutput buildOutput( FlattenedXmlMapInputOutput payload, @@ -80,16 +82,22 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( FlattenedXmlMapInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart index 01f4db2812..4183c5dcf3 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart @@ -72,8 +72,10 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMapWithXmlName'; }); + @override int successCode([FlattenedXmlMapWithXmlNameInputOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNameInputOutput buildOutput( FlattenedXmlMapWithXmlNameInputOutput payload, @@ -83,16 +85,22 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( FlattenedXmlMapWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart index 55161d5270..1b74e37283 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart @@ -70,8 +70,10 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMapWithXmlNamespace'; }); + @override int successCode([FlattenedXmlMapWithXmlNamespaceOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNamespaceOutput buildOutput( FlattenedXmlMapWithXmlNamespaceOutput payload, @@ -81,16 +83,22 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart index 6efdbbe85f..52924e7b67 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart @@ -62,8 +62,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/FractionalSeconds'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -73,16 +75,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart index c4c2f93cbc..237277f5a7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart @@ -66,8 +66,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/GreetingWithErrors'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutputPayload payload, @@ -77,6 +79,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -100,14 +103,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart index 6d90a18660..559a523aa1 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart @@ -72,8 +72,10 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([HttpPayloadTraitsInputOutput? output]) => 200; + @override HttpPayloadTraitsInputOutput buildOutput( _i2.Uint8List? payload, @@ -83,16 +85,22 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart index 127d5f88cf..e47f377b83 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart @@ -80,8 +80,10 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPayloadTraitsWithMediaTypeInputOutput? output]) => 200; + @override HttpPayloadTraitsWithMediaTypeInputOutput buildOutput( _i2.Uint8List? payload, @@ -91,16 +93,22 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart index cf5d2d9d98..a66f01e351 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart @@ -73,8 +73,10 @@ class HttpPayloadWithMemberXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithMemberXmlName'; }); + @override int successCode([HttpPayloadWithMemberXmlNameInputOutput? output]) => 200; + @override HttpPayloadWithMemberXmlNameInputOutput buildOutput( PayloadWithXmlName? payload, @@ -84,16 +86,22 @@ class HttpPayloadWithMemberXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithMemberXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithMemberXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart index 16857590ca..37e5330f45 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart @@ -70,8 +70,10 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithStructure'; }); + @override int successCode([HttpPayloadWithStructureInputOutput? output]) => 200; + @override HttpPayloadWithStructureInputOutput buildOutput( NestedPayload? payload, @@ -81,16 +83,22 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart index 918c79b4ec..0c55e30cb4 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart @@ -70,8 +70,10 @@ class HttpPayloadWithXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlName'; }); + @override int successCode([HttpPayloadWithXmlNameInputOutput? output]) => 200; + @override HttpPayloadWithXmlNameInputOutput buildOutput( PayloadWithXmlName? payload, @@ -81,16 +83,22 @@ class HttpPayloadWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart index f5ec6d5463..8f458e4209 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart @@ -74,9 +74,11 @@ class HttpPayloadWithXmlNamespaceAndPrefixOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlNamespaceAndPrefix'; }); + @override int successCode([HttpPayloadWithXmlNamespaceAndPrefixInputOutput? output]) => 200; + @override HttpPayloadWithXmlNamespaceAndPrefixInputOutput buildOutput( PayloadWithXmlNamespaceAndPrefix? payload, @@ -86,16 +88,22 @@ class HttpPayloadWithXmlNamespaceAndPrefixOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlNamespaceAndPrefix'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNamespaceAndPrefixInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart index aecdf4eef7..e60dae1fb1 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart @@ -73,8 +73,10 @@ class HttpPayloadWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlNamespace'; }); + @override int successCode([HttpPayloadWithXmlNamespaceInputOutput? output]) => 200; + @override HttpPayloadWithXmlNamespaceInputOutput buildOutput( PayloadWithXmlNamespace? payload, @@ -84,16 +86,22 @@ class HttpPayloadWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNamespaceInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart index 3a165801d3..b3f8686f07 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart @@ -89,8 +89,10 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPrefixHeadersInputOutput? output]) => 200; + @override HttpPrefixHeadersInputOutput buildOutput( HttpPrefixHeadersInputOutputPayload payload, @@ -100,16 +102,22 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart index 0964843fe1..e21b6e1339 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart @@ -66,24 +66,32 @@ class HttpRequestWithFloatLabelsOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/FloatHttpLabels/{float}/{double}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithFloatLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithFloatLabelsInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart index c80dd30493..1136a47cfe 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart @@ -69,24 +69,32 @@ class HttpRequestWithGreedyLabelInPathOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithGreedyLabelInPath'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithGreedyLabelInPathInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 98f83e1713..1cd2f9a3d7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,12 +13,9 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation - extends _i1.HttpOperation< - HttpRequestWithLabelsAndTimestampFormatInputPayload, - HttpRequestWithLabelsAndTimestampFormatInput, - _i1.Unit, - _i1.Unit> { +class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 + .HttpOperation { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, @@ -74,24 +71,32 @@ class HttpRequestWithLabelsAndTimestampFormatOperation b.path = r'/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabelsAndTimestampFormat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsAndTimestampFormatInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart index 6ac54d9c68..0aa89b92f5 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart @@ -69,24 +69,32 @@ class HttpRequestWithLabelsOperation extends _i1.HttpOperation< b.path = r'/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart index 9677189dea..ca8f1312aa 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart @@ -62,8 +62,10 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/HttpResponseCode'; }); + @override int successCode([HttpResponseCodeOutput? output]) => output?.status ?? 200; + @override HttpResponseCodeOutput buildOutput( HttpResponseCodeOutputPayload payload, @@ -73,16 +75,22 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpResponseCode'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart index b92a31c1f2..7f758cbb0d 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart @@ -67,8 +67,10 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/IgnoreQueryParamsInResponse'; }); + @override int successCode([IgnoreQueryParamsInResponseOutput? output]) => 200; + @override IgnoreQueryParamsInResponseOutput buildOutput( IgnoreQueryParamsInResponseOutput payload, @@ -78,16 +80,22 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoreQueryParamsInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart index 65a1cb0e66..7dd199b0cf 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart @@ -154,8 +154,10 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([InputAndOutputWithHeadersIo? output]) => 200; + @override InputAndOutputWithHeadersIo buildOutput( InputAndOutputWithHeadersIoPayload payload, @@ -165,16 +167,22 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'InputAndOutputWithHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( InputAndOutputWithHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart index 5a075da53e..c8fc59dc08 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart @@ -67,8 +67,10 @@ class NestedXmlMapsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/NestedXmlMaps'; }); + @override int successCode([NestedXmlMapsInputOutput? output]) => 200; + @override NestedXmlMapsInputOutput buildOutput( NestedXmlMapsInputOutput payload, @@ -78,16 +80,22 @@ class NestedXmlMapsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedXmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NestedXmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart index 7c63ebc9df..1a3c7acea2 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart @@ -62,24 +62,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/NoInputAndNoOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart index 1fa6377dcd..3187ea34ab 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart @@ -64,8 +64,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/NoInputAndOutputOutput'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -75,16 +77,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart index 6cfc537750..9f0652d389 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart @@ -84,8 +84,10 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -95,16 +97,22 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersClient'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart index c627c0efc7..13a1130b9f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart @@ -84,8 +84,10 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -95,16 +97,22 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersServer'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart index 02d3b4b041..38ff1be480 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart @@ -83,24 +83,32 @@ class OmitsNullSerializesEmptyStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsNullSerializesEmptyString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsNullSerializesEmptyStringInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart index 74a82e02af..16bf6972eb 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart @@ -72,24 +72,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 9e7f223140..6a98199744 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -74,24 +74,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart index 4e8e4b29ff..4d78de73a5 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart @@ -82,24 +82,32 @@ class QueryParamsAsStringListMapOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryParamsAsStringListMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryParamsAsStringListMapInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart index a1a464cb56..d520d3e762 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart @@ -77,24 +77,32 @@ class QueryPrecedenceOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryPrecedence'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryPrecedenceInput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart index a6e12323d7..d0a6439e09 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart @@ -69,8 +69,10 @@ class RecursiveShapesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/RecursiveShapes'; }); + @override int successCode([RecursiveShapesInputOutput? output]) => 200; + @override RecursiveShapesInputOutput buildOutput( RecursiveShapesInputOutput payload, @@ -80,16 +82,22 @@ class RecursiveShapesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( RecursiveShapesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart index 25bcbc2652..092932f8c7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart @@ -75,8 +75,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -86,16 +88,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart index ccebdc7c79..347fa33417 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart @@ -108,8 +108,10 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< .toString(); } }); + @override int successCode([TimestampFormatHeadersIo? output]) => 200; + @override TimestampFormatHeadersIo buildOutput( TimestampFormatHeadersIoPayload payload, @@ -119,16 +121,22 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TimestampFormatHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TimestampFormatHeadersIo input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart index f4bc9c06cd..6a37b6d897 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart @@ -73,8 +73,10 @@ class XmlAttributesOnPayloadOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlAttributesOnPayload'; }); + @override int successCode([XmlAttributesOnPayloadInputOutput? output]) => 200; + @override XmlAttributesOnPayloadInputOutput buildOutput( XmlAttributesInputOutput? payload, @@ -84,16 +86,22 @@ class XmlAttributesOnPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlAttributesOnPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlAttributesOnPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart index 725f93e3c0..a70a6243ca 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart @@ -69,8 +69,10 @@ class XmlAttributesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlAttributes'; }); + @override int successCode([XmlAttributesInputOutput? output]) => 200; + @override XmlAttributesInputOutput buildOutput( XmlAttributesInputOutput payload, @@ -80,16 +82,22 @@ class XmlAttributesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlAttributes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlAttributesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart index baafa21788..05cfad4376 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart @@ -66,8 +66,10 @@ class XmlBlobsOperation extends _i1.HttpOperation 200; + @override XmlBlobsInputOutput buildOutput( XmlBlobsInputOutput payload, @@ -77,16 +79,22 @@ class XmlBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart index 36b3be2bc1..4956f9b1ed 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart @@ -66,8 +66,10 @@ class XmlEmptyBlobsOperation extends _i1.HttpOperation 200; + @override XmlBlobsInputOutput buildOutput( XmlBlobsInputOutput payload, @@ -77,16 +79,22 @@ class XmlEmptyBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart index 3e81bacc1c..98bedcb0ed 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart @@ -64,8 +64,10 @@ class XmlEmptyListsOperation extends _i1.HttpOperation 200; + @override XmlListsInputOutput buildOutput( XmlListsInputOutput payload, @@ -75,16 +77,22 @@ class XmlEmptyListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlListsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart index d56e1f1921..24b3b51195 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart @@ -64,8 +64,10 @@ class XmlEmptyMapsOperation extends _i1.HttpOperation 200; + @override XmlMapsInputOutput buildOutput( XmlMapsInputOutput payload, @@ -75,16 +77,22 @@ class XmlEmptyMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart index dc5b9bfc07..57b72d0255 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart @@ -67,8 +67,10 @@ class XmlEmptyStringsOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlEmptyStrings'; }); + @override int successCode([XmlEmptyStringsInputOutput? output]) => 200; + @override XmlEmptyStringsInputOutput buildOutput( XmlEmptyStringsInputOutput payload, @@ -78,16 +80,22 @@ class XmlEmptyStringsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyStrings'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlEmptyStringsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart index a96c44bce6..73e3117eda 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart @@ -66,8 +66,10 @@ class XmlEnumsOperation extends _i1.HttpOperation 200; + @override XmlEnumsInputOutput buildOutput( XmlEnumsInputOutput payload, @@ -77,16 +79,22 @@ class XmlEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart index 0f0df3b60b..e78ab77b20 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart @@ -66,8 +66,10 @@ class XmlIntEnumsOperation extends _i1.HttpOperation 200; + @override XmlIntEnumsInputOutput buildOutput( XmlIntEnumsInputOutput payload, @@ -77,16 +79,22 @@ class XmlIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart index f48bd93276..8d4b16ca83 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart @@ -66,8 +66,10 @@ class XmlListsOperation extends _i1.HttpOperation 200; + @override XmlListsInputOutput buildOutput( XmlListsInputOutput payload, @@ -77,16 +79,22 @@ class XmlListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlListsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart index 041f8b42e8..1fc383737c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart @@ -66,8 +66,10 @@ class XmlMapsOperation extends _i1.HttpOperation 200; + @override XmlMapsInputOutput buildOutput( XmlMapsInputOutput payload, @@ -77,16 +79,22 @@ class XmlMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart index 31f211d6d4..f7d46fa7ec 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart @@ -67,8 +67,10 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlMapsXmlName'; }); + @override int successCode([XmlMapsXmlNameInputOutput? output]) => 200; + @override XmlMapsXmlNameInputOutput buildOutput( XmlMapsXmlNameInputOutput payload, @@ -78,16 +80,22 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMapsXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart index ca6ffa496a..59629b9330 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart @@ -67,8 +67,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlNamespaces'; }); + @override int successCode([XmlNamespacesInputOutput? output]) => 200; + @override XmlNamespacesInputOutput buildOutput( XmlNamespacesInputOutput payload, @@ -78,16 +80,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlNamespacesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart index 969d3c672e..0d8fa062b5 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart @@ -69,8 +69,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlTimestamps'; }); + @override int successCode([XmlTimestampsInputOutput? output]) => 200; + @override XmlTimestampsInputOutput buildOutput( XmlTimestampsInputOutput payload, @@ -80,16 +82,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlTimestampsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart index 14cb7529db..b0c3a3f8f2 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart @@ -64,8 +64,10 @@ class XmlUnionsOperation extends _i1.HttpOperation 200; + @override XmlUnionsInputOutput buildOutput( XmlUnionsInputOutput payload, @@ -75,16 +77,22 @@ class XmlUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlUnionsInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/aws_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/aws_config.dart index 21257311f4..874dfc39fa 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/client_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/client_config.dart index 8b2200a3ea..e7b6915707 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/client_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/common_prefix.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/common_prefix.dart index 1ebd81926d..55ffd0a795 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/common_prefix.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/common_prefix.dart @@ -29,6 +29,7 @@ abstract class CommonPrefix String? get prefix; @override List get props => [prefix]; + @override String toString() { final helper = newBuiltValueToStringHelper('CommonPrefix') @@ -49,6 +50,7 @@ class CommonPrefixRestXmlSerializer CommonPrefix, _$CommonPrefix, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class CommonPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override CommonPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_output.dart index d2df320e0f..71dfe1bd42 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_output.dart @@ -45,8 +45,10 @@ abstract class DeleteObjectTaggingOutput @override DeleteObjectTaggingOutputPayload getPayload() => DeleteObjectTaggingOutputPayload(); + @override List get props => [versionId]; + @override String toString() { final helper = newBuiltValueToStringHelper('DeleteObjectTaggingOutput') @@ -74,6 +76,7 @@ abstract class DeleteObjectTaggingOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer DeleteObjectTaggingOutputPayload, _$DeleteObjectTaggingOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_request.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_request.dart index 8730547dc0..6aab7a88e0 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_request.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/delete_object_tagging_request.dart @@ -84,6 +84,7 @@ abstract class DeleteObjectTaggingRequest @override DeleteObjectTaggingRequestPayload getPayload() => DeleteObjectTaggingRequestPayload(); + @override List get props => [ bucket, @@ -91,6 +92,7 @@ abstract class DeleteObjectTaggingRequest versionId, expectedBucketOwner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DeleteObjectTaggingRequest') @@ -130,6 +132,7 @@ abstract class DeleteObjectTaggingRequestPayload @override List get props => []; + @override String toString() { final helper = @@ -150,6 +153,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer DeleteObjectTaggingRequestPayload, _$DeleteObjectTaggingRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/environment_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/environment_config.dart index 14f540d408..934d3b8845 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/file_config_settings.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/file_config_settings.dart index fd89ab0876..d297a0cd92 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -227,7 +230,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -243,7 +246,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_output.dart index cef028d839..a3c1f5c9f6 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_output.dart @@ -42,8 +42,10 @@ abstract class GetBucketLocationOutput BucketLocationConstraint? get locationConstraint; @override BucketLocationConstraint? getPayload() => locationConstraint; + @override List get props => [locationConstraint]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetBucketLocationOutput') @@ -65,6 +67,7 @@ class GetBucketLocationOutputRestXmlSerializer GetBucketLocationOutput, _$GetBucketLocationOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -72,6 +75,7 @@ class GetBucketLocationOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BucketLocationConstraint deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_request.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_request.dart index c960c86002..6a353fa224 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_request.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/get_bucket_location_request.dart @@ -59,8 +59,10 @@ abstract class GetBucketLocationRequest @override GetBucketLocationRequestPayload getPayload() => GetBucketLocationRequestPayload(); + @override List get props => [bucket]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetBucketLocationRequest') @@ -88,6 +90,7 @@ abstract class GetBucketLocationRequestPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class GetBucketLocationRequestRestXmlSerializer GetBucketLocationRequestPayload, _$GetBucketLocationRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class GetBucketLocationRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_output.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_output.dart index 992ffaa846..0642c0cca9 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_output.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_output.dart @@ -92,6 +92,7 @@ abstract class ListObjectsV2Output nextContinuationToken, startAfter, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2Output') @@ -156,6 +157,7 @@ class ListObjectsV2OutputRestXmlSerializer ListObjectsV2Output, _$ListObjectsV2Output, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -163,6 +165,7 @@ class ListObjectsV2OutputRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Output deserialize( Serializers serializers, @@ -277,7 +280,7 @@ class ListObjectsV2OutputRestXmlSerializer .serialize( serializers, commonPrefixes, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(CommonPrefix)], ), @@ -288,7 +291,7 @@ class ListObjectsV2OutputRestXmlSerializer const _i3.XmlBuiltListSerializer(memberName: 'Contents').serialize( serializers, contents, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(S3Object)], ), @@ -315,7 +318,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('EncodingType')) ..add(serializers.serialize( encodingType, - specifiedType: const FullType.nullable(EncodingType), + specifiedType: const FullType(EncodingType), )); } if (isTruncated != null) { @@ -323,7 +326,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('IsTruncated')) ..add(serializers.serialize( isTruncated, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (keyCount != null) { @@ -331,7 +334,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('KeyCount')) ..add(serializers.serialize( keyCount, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (maxKeys != null) { @@ -339,7 +342,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('MaxKeys')) ..add(serializers.serialize( maxKeys, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (name != null) { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_request.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_request.dart index 53ea6c262a..380d8fe43d 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_request.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/list_objects_v2_request.dart @@ -121,6 +121,7 @@ abstract class ListObjectsV2Request @override ListObjectsV2RequestPayload getPayload() => ListObjectsV2RequestPayload(); + @override List get props => [ bucket, @@ -134,6 +135,7 @@ abstract class ListObjectsV2Request requestPayer, expectedBucketOwner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2Request') @@ -195,6 +197,7 @@ abstract class ListObjectsV2RequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2RequestPayload'); @@ -213,6 +216,7 @@ class ListObjectsV2RequestRestXmlSerializer ListObjectsV2RequestPayload, _$ListObjectsV2RequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -220,6 +224,7 @@ class ListObjectsV2RequestRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2RequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/no_such_bucket.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/no_such_bucket.dart index efc3644446..7f64b381fc 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/no_such_bucket.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/no_such_bucket.dart @@ -44,10 +44,13 @@ abstract class NoSuchBucket namespace: 'com.amazonaws.s3', shape: 'NoSuchBucket', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -56,8 +59,10 @@ abstract class NoSuchBucket Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoSuchBucket'); @@ -74,6 +79,7 @@ class NoSuchBucketRestXmlSerializer NoSuchBucket, _$NoSuchBucket, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -81,6 +87,7 @@ class NoSuchBucketRestXmlSerializer shape: 'restXml', ) ]; + @override NoSuchBucket deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/object.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/object.dart index 378c286050..3d0b4a0d72 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/object.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/object.dart @@ -56,6 +56,7 @@ abstract class S3Object storageClass, owner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Object') @@ -95,6 +96,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { S3Object, _$S3Object, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -102,6 +104,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override S3Object deserialize( Serializers serializers, @@ -189,7 +192,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('LastModified')) ..add(serializers.serialize( lastModified, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (owner != null) { @@ -205,7 +208,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('Size')) ..add(serializers.serialize( size, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (storageClass != null) { @@ -213,7 +216,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('StorageClass')) ..add(serializers.serialize( storageClass, - specifiedType: const FullType.nullable(ObjectStorageClass), + specifiedType: const FullType(ObjectStorageClass), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/operation_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/operation_config.dart index 13c4d32335..9bfc442cee 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/owner.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/owner.dart index cda2cf00ee..729827d468 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/owner.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/owner.dart @@ -38,6 +38,7 @@ abstract class Owner displayName, id, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('Owner') @@ -61,6 +62,7 @@ class OwnerRestXmlSerializer extends _i2.StructuredSmithySerializer { Owner, _$Owner, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class OwnerRestXmlSerializer extends _i2.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override Owner deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/retry_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/retry_config.dart index 83a7f91c2c..287ee0b941 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -133,7 +136,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/s3_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/s3_config.dart index 6c9560df19..b10a00b732 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/scoped_config.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/scoped_config.dart index e0b9a2e308..e1fd5fa6c7 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart index 8c4de25ac5..43b8a13847 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart @@ -102,8 +102,10 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< ); } }); + @override int successCode([DeleteObjectTaggingOutput? output]) => 204; + @override DeleteObjectTaggingOutput buildOutput( DeleteObjectTaggingOutputPayload payload, @@ -113,12 +115,16 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DeleteObjectTagging'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -139,6 +145,7 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DeleteObjectTaggingRequest input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/get_bucket_location_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/get_bucket_location_operation.dart index b6c1517675..8feada9a25 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/get_bucket_location_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/get_bucket_location_operation.dart @@ -91,8 +91,10 @@ class GetBucketLocationOperation extends _i1.HttpOperation< : r'/?location'; b.hostPrefix = _s3ClientConfig.usePathStyle ? null : '{Bucket}.'; }); + @override int successCode([GetBucketLocationOutput? output]) => 200; + @override GetBucketLocationOutput buildOutput( BucketLocationConstraint? payload, @@ -102,12 +104,16 @@ class GetBucketLocationOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'GetBucketLocation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -128,6 +134,7 @@ class GetBucketLocationOperation extends _i1.HttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GetBucketLocationRequest input, { diff --git a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/list_objects_v2_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/list_objects_v2_operation.dart index 2e06ae8ec8..87949a938c 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/list_objects_v2_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/s3/operation/list_objects_v2_operation.dart @@ -142,8 +142,10 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< ); } }); + @override int successCode([ListObjectsV2Output? output]) => 200; + @override ListObjectsV2Output buildOutput( ListObjectsV2Output payload, @@ -153,6 +155,7 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -165,10 +168,13 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< builder: NoSuchBucket.fromResponse, ) ]; + @override String get runtimeTypeName => 'ListObjectsV2'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -189,6 +195,7 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( ListObjectsV2Request input, { @@ -210,8 +217,10 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< @override String? getToken(ListObjectsV2Output output) => output.nextContinuationToken; + @override ListObjectsV2Output getItems(ListObjectsV2Output output) => output; + @override ListObjectsV2Request rebuildInput( ListObjectsV2Request input, diff --git a/packages/smithy/goldens/lib/restXml/pubspec.yaml b/packages/smithy/goldens/lib/restXml/pubspec.yaml index 276cfbfe26..f457a8cd7b 100644 --- a/packages/smithy/goldens/lib/restXml/pubspec.yaml +++ b/packages/smithy/goldens/lib/restXml/pubspec.yaml @@ -13,11 +13,11 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" fixnum: ^1.0.0 built_collection: ^5.0.0 meta: ^1.7.0 - xml: ">=6.3.0 <=6.5.0" + xml: 6.3.0 shelf_router: ^1.1.0 shelf: ^1.4.0 aws_signature_v4: @@ -43,6 +43,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart index 5cf0db5d88..0de2f00232 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart @@ -376,6 +376,7 @@ class AllQueryStringTypesInputRestXmlSerializer @override Iterable get types => const [AllQueryStringTypesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -383,6 +384,7 @@ class AllQueryStringTypesInputRestXmlSerializer shape: 'restXml', ) ]; + @override AllQueryStringTypesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart index bdc102cf96..5d399ed305 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [BodyWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BodyWithXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart index 286c8f89f8..08193410bc 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart @@ -111,6 +111,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i3 @override Iterable get types => const [ConstantAndVariableQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override ConstantAndVariableQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart index 1e856bb359..ae4a0fbf89 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart @@ -62,6 +62,7 @@ class ConstantQueryStringInputRestXmlSerializer @override Iterable get types => const [ConstantQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class ConstantQueryStringInputRestXmlSerializer shape: 'restXml', ) ]; + @override ConstantQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart index 82453da62d..ed08b44a59 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputRestXmlSerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart index 1af5427dfe..8d7e72b418 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart @@ -96,6 +96,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +139,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart index 9a81f9502c..0ee4bebe46 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelHeaderInputRestXmlSerializer @override Iterable get types => const [HostLabelHeaderInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelHeaderInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelHeaderInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart index 976f7527d0..dbe4f102c0 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelInputRestXmlSerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart index 2ca3bf6f37..2629b8681f 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart @@ -107,6 +107,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer @override Iterable get types => const [FlattenedXmlMapInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -114,6 +115,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FlattenedXmlMapInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart index 769d122693..05c3260d24 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart @@ -110,6 +110,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNameInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart index 20b8f2b7bc..081851ae6d 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNamespaceOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart index 543231b230..d05ce8042d 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputRestXmlSerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart index c67297a3b7..13c99e0d72 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart @@ -143,6 +143,7 @@ class GreetingWithErrorsOutputRestXmlSerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -150,6 +151,7 @@ class GreetingWithErrorsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -193,6 +195,7 @@ class ComplexErrorRestXmlSerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -200,6 +203,7 @@ class ComplexErrorRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -254,6 +258,7 @@ class ComplexNestedErrorDataRestXmlSerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -261,6 +266,7 @@ class ComplexNestedErrorDataRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -304,6 +310,7 @@ class InvalidGreetingRestXmlSerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -311,6 +318,7 @@ class InvalidGreetingRestXmlSerializer shape: 'restXml', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart index a85a1621a8..e3ac4fa1cd 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart @@ -177,6 +177,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -184,6 +185,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart index 9e6a685c71..8fb3924997 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart index 7b01e41e06..9589f48eca 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithMemberXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithMemberXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart index dcfa765e27..b2e77e2e0e 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart @@ -110,6 +110,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithStructureInputOutput deserialize( Serializers serializers, @@ -160,6 +162,7 @@ class NestedPayloadRestXmlSerializer @override Iterable get types => const [NestedPayload]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -167,6 +170,7 @@ class NestedPayloadRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart index a098996e46..9bac0ca035 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart index 5f53b175a4..4de38af5b0 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart @@ -108,6 +108,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadWithXmlNamespaceAndPrefixInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -115,6 +116,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNamespaceAndPrefixInputOutput deserialize( Serializers serializers, @@ -159,6 +161,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer @override Iterable get types => const [PayloadWithXmlNamespaceAndPrefix]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -166,6 +169,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart index 04d2751a40..3c7d3096fe 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart @@ -106,6 +106,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithXmlNamespaceInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNamespaceInputOutput deserialize( Serializers serializers, @@ -157,6 +159,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer @override Iterable get types => const [PayloadWithXmlNamespace]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -164,6 +167,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart index 945b9a92aa..2bef41f971 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart @@ -198,6 +198,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer @override Iterable get types => const [HttpPrefixHeadersInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -205,6 +206,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPrefixHeadersInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart index 9a21ac41a1..2b418b2ca8 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart @@ -150,6 +150,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer @override Iterable get types => const [HttpRequestWithFloatLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +158,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithFloatLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart index 79ac8e6eac..bc9a30e1b4 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart @@ -64,6 +64,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpRequestWithGreedyLabelInPathInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpRequestWithGreedyLabelInPathInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart index 988cc37dec..5d493b727f 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart @@ -71,6 +71,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpRequestWithLabelsAndTimestampFormatInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart index f172b30cf7..a4b9346f33 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart @@ -118,6 +118,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer @override Iterable get types => const [HttpRequestWithLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -125,6 +126,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart index bcf559b0d1..0ef9ec40ff 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart @@ -53,6 +53,7 @@ class HttpResponseCodeOutputRestXmlSerializer @override Iterable get types => const [HttpResponseCodeOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +61,7 @@ class HttpResponseCodeOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpResponseCodeOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart index cbdf48cc25..521648a09b 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart @@ -57,6 +57,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer @override Iterable get types => const [IgnoreQueryParamsInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer shape: 'restXml', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart index c89f0420b6..20e9107dc7 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart @@ -784,6 +784,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer @override Iterable get types => const [InputAndOutputWithHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -791,6 +792,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override InputAndOutputWithHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart index 70fe6ea1c2..f2102c281d 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart @@ -185,6 +185,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [NestedXmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -192,6 +193,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedXmlMapsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart index 35ef77d1fc..a4339e33bd 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart @@ -91,6 +91,7 @@ class NoInputAndOutputOutputRestXmlSerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class NoInputAndOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart index b579c702d0..4b600e42c1 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart @@ -69,6 +69,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer @override Iterable get types => const [NullAndEmptyHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override NullAndEmptyHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart index 993c9e136e..7290894b7f 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart @@ -101,6 +101,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i3 @override Iterable get types => const [OmitsNullSerializesEmptyStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override OmitsNullSerializesEmptyStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart index dfad5dfd42..6dbd41284e 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart @@ -100,6 +100,7 @@ class PutWithContentEncodingInputRestXmlSerializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -107,6 +108,7 @@ class PutWithContentEncodingInputRestXmlSerializer shape: 'restXml', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart index 7607035d5f..27039e31cc 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -98,6 +98,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +106,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart index 67e99fe434..4e50f2f3fc 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart @@ -74,6 +74,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer @override Iterable get types => const [QueryParamsAsStringListMapInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -81,6 +82,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryParamsAsStringListMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart index 7b27d49260..76ba3e72b7 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart @@ -68,6 +68,7 @@ class QueryPrecedenceInputRestXmlSerializer @override Iterable get types => const [QueryPrecedenceInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -75,6 +76,7 @@ class QueryPrecedenceInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryPrecedenceInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart index f3c6fa7b48..7822c7be26 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart @@ -125,6 +125,7 @@ class RecursiveShapesInputOutputRestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class RecursiveShapesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, @@ -176,6 +178,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -183,6 +186,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, @@ -232,6 +236,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -239,6 +244,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart index ae2e9c501b..0f238ad739 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart @@ -720,6 +720,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -727,6 +728,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart index eebb7df1ac..bb3897a565 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart @@ -123,6 +123,7 @@ class TimestampFormatHeadersIoRestXmlSerializer @override Iterable get types => const [TimestampFormatHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -130,6 +131,7 @@ class TimestampFormatHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override TimestampFormatHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart index d9e83dae19..8e20f7ec33 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart @@ -111,6 +111,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesOnPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesOnPayloadInputOutput deserialize( Serializers serializers, @@ -162,6 +164,7 @@ class XmlAttributesInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -169,6 +172,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart index 31db0b2d66..678cf21a9f 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart @@ -143,6 +143,7 @@ class XmlAttributesInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -150,6 +151,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart index 84417e7f92..f474349391 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart @@ -94,6 +94,7 @@ class XmlBlobsInputOutputRestXmlSerializer @override Iterable get types => const [XmlBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart index 6cd090b9eb..a4a3420db4 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart @@ -88,6 +88,7 @@ class XmlBlobsInputOutputRestXmlSerializer @override Iterable get types => const [XmlBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -95,6 +96,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart index 0bb35ce976..678d359017 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart @@ -107,6 +107,7 @@ class XmlListsInputOutputRestXmlSerializer @override Iterable get types => const [XmlListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -114,6 +115,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -278,6 +280,7 @@ class StructureListMemberRestXmlSerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -285,6 +288,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart index bff92d455c..6ad3c1463b 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart @@ -135,6 +135,7 @@ class XmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -142,6 +143,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -191,6 +193,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -198,6 +201,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart index 1a43849a10..07437d6df1 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart @@ -131,6 +131,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer @override Iterable get types => const [XmlEmptyStringsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -138,6 +139,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEmptyStringsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart index 5527258d36..154db8324f 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart @@ -126,6 +126,7 @@ class XmlEnumsInputOutputRestXmlSerializer @override Iterable get types => const [XmlEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -133,6 +134,7 @@ class XmlEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart index 206ec81e0d..878ddbb592 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart @@ -126,6 +126,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer @override Iterable get types => const [XmlIntEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -133,6 +134,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart index 4bded6622a..9f67eb08a1 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart @@ -251,6 +251,7 @@ class XmlListsInputOutputRestXmlSerializer @override Iterable get types => const [XmlListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -258,6 +259,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -422,6 +424,7 @@ class StructureListMemberRestXmlSerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -429,6 +432,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart index 48fb9ba730..fa26fe7352 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart @@ -110,6 +110,7 @@ class XmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -166,6 +168,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -173,6 +176,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart index 0635782e98..2a030dd149 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart @@ -111,6 +111,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsXmlNameInputOutput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +177,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart index f59c67e233..772179d683 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart @@ -117,6 +117,7 @@ class XmlNamespacesInputOutputRestXmlSerializer @override Iterable get types => const [XmlNamespacesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -124,6 +125,7 @@ class XmlNamespacesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespacesInputOutput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class XmlNamespaceNestedRestXmlSerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +177,7 @@ class XmlNamespaceNestedRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart index fa76062fd4..5a8b2e7b26 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart @@ -535,6 +535,7 @@ class XmlTimestampsInputOutputRestXmlSerializer @override Iterable get types => const [XmlTimestampsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -542,6 +543,7 @@ class XmlTimestampsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart index 07d73048cf..ba3f9ee3da 100644 --- a/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart @@ -351,6 +351,7 @@ class XmlUnionsInputOutputRestXmlSerializer @override Iterable get types => const [XmlUnionsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -358,6 +359,7 @@ class XmlUnionsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/s3/delete_object_tagging_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/s3/delete_object_tagging_operation_test.dart index c69a3e824c..d1f07a5dfb 100644 --- a/packages/smithy/goldens/lib/restXml/test/s3/delete_object_tagging_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/s3/delete_object_tagging_operation_test.dart @@ -210,6 +210,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer @override Iterable get types => const [DeleteObjectTaggingRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -217,6 +218,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingRequest deserialize( Serializers serializers, @@ -276,6 +278,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer @override Iterable get types => const [DeleteObjectTaggingOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -283,6 +286,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingOutput deserialize( Serializers serializers, @@ -325,6 +329,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [AwsConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -332,6 +337,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -380,6 +386,7 @@ class ScopedConfigSerializer @override Iterable get types => const [ScopedConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -387,6 +394,7 @@ class ScopedConfigSerializer shape: 'genericProtocol', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -462,6 +470,7 @@ class EnvironmentConfigSerializer @override Iterable get types => const [EnvironmentConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -469,6 +478,7 @@ class EnvironmentConfigSerializer shape: 'genericProtocol', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -537,6 +547,7 @@ class FileConfigSettingsSerializer @override Iterable get types => const [FileConfigSettings]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -544,6 +555,7 @@ class FileConfigSettingsSerializer shape: 'genericProtocol', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -616,6 +628,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Config]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -623,6 +636,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -676,6 +690,7 @@ class ClientConfigSerializer @override Iterable get types => const [ClientConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -683,6 +698,7 @@ class ClientConfigSerializer shape: 'genericProtocol', ) ]; + @override ClientConfig deserialize( Serializers serializers, @@ -756,6 +772,7 @@ class RetryConfigSerializer @override Iterable get types => const [RetryConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -763,6 +780,7 @@ class RetryConfigSerializer shape: 'genericProtocol', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -811,6 +829,7 @@ class OperationConfigSerializer @override Iterable get types => const [OperationConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -818,6 +837,7 @@ class OperationConfigSerializer shape: 'genericProtocol', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/s3/get_bucket_location_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/s3/get_bucket_location_operation_test.dart index 6997f641ee..6b1326f6c4 100644 --- a/packages/smithy/goldens/lib/restXml/test/s3/get_bucket_location_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/s3/get_bucket_location_operation_test.dart @@ -66,6 +66,7 @@ class GetBucketLocationRequestRestXmlSerializer @override Iterable get types => const [GetBucketLocationRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -73,6 +74,7 @@ class GetBucketLocationRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationRequest deserialize( Serializers serializers, @@ -117,6 +119,7 @@ class GetBucketLocationOutputRestXmlSerializer @override Iterable get types => const [GetBucketLocationOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -124,6 +127,7 @@ class GetBucketLocationOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXml/test/s3/list_objects_v2_operation_test.dart b/packages/smithy/goldens/lib/restXml/test/s3/list_objects_v2_operation_test.dart index 108709779a..44b99cc57e 100644 --- a/packages/smithy/goldens/lib/restXml/test/s3/list_objects_v2_operation_test.dart +++ b/packages/smithy/goldens/lib/restXml/test/s3/list_objects_v2_operation_test.dart @@ -660,6 +660,7 @@ class ListObjectsV2RequestRestXmlSerializer @override Iterable get types => const [ListObjectsV2Request]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -667,6 +668,7 @@ class ListObjectsV2RequestRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Request deserialize( Serializers serializers, @@ -755,6 +757,7 @@ class ListObjectsV2OutputRestXmlSerializer @override Iterable get types => const [ListObjectsV2Output]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -762,6 +765,7 @@ class ListObjectsV2OutputRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Output deserialize( Serializers serializers, @@ -865,6 +869,7 @@ class ObjectRestXmlSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Object]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -872,6 +877,7 @@ class ObjectRestXmlSerializer extends _i5.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override S3Object deserialize( Serializers serializers, @@ -940,6 +946,7 @@ class OwnerRestXmlSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [Owner]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -947,6 +954,7 @@ class OwnerRestXmlSerializer extends _i5.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override Owner deserialize( Serializers serializers, @@ -995,6 +1003,7 @@ class CommonPrefixRestXmlSerializer @override Iterable get types => const [CommonPrefix]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1002,6 +1011,7 @@ class CommonPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override CommonPrefix deserialize( Serializers serializers, @@ -1045,6 +1055,7 @@ class NoSuchBucketRestXmlSerializer @override Iterable get types => const [NoSuchBucket]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1052,6 +1063,7 @@ class NoSuchBucketRestXmlSerializer shape: 'restXml', ) ]; + @override NoSuchBucket deserialize( Serializers serializers, @@ -1076,6 +1088,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [AwsConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1083,6 +1096,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -1131,6 +1145,7 @@ class ScopedConfigSerializer @override Iterable get types => const [ScopedConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1138,6 +1153,7 @@ class ScopedConfigSerializer shape: 'genericProtocol', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -1213,6 +1229,7 @@ class EnvironmentConfigSerializer @override Iterable get types => const [EnvironmentConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1220,6 +1237,7 @@ class EnvironmentConfigSerializer shape: 'genericProtocol', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -1288,6 +1306,7 @@ class FileConfigSettingsSerializer @override Iterable get types => const [FileConfigSettings]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1295,6 +1314,7 @@ class FileConfigSettingsSerializer shape: 'genericProtocol', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -1367,6 +1387,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Config]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1374,6 +1395,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -1427,6 +1449,7 @@ class ClientConfigSerializer @override Iterable get types => const [ClientConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1434,6 +1457,7 @@ class ClientConfigSerializer shape: 'genericProtocol', ) ]; + @override ClientConfig deserialize( Serializers serializers, @@ -1507,6 +1531,7 @@ class RetryConfigSerializer @override Iterable get types => const [RetryConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1514,6 +1539,7 @@ class RetryConfigSerializer shape: 'genericProtocol', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -1562,6 +1588,7 @@ class OperationConfigSerializer @override Iterable get types => const [OperationConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1569,6 +1596,7 @@ class OperationConfigSerializer shape: 'genericProtocol', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart index 1c879114ad..5325ced859 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart index 19fa530044..e0abc631b0 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart index 83432d296a..9a6ab6d451 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart index 5e4172e331..c97b0fef96 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -227,7 +230,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -243,7 +246,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart index 3c8ba1cab5..e402c47d9f 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart @@ -31,6 +31,7 @@ abstract class NestedWithNamespace String? get attrField; @override List get props => [attrField]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedWithNamespace') @@ -51,6 +52,7 @@ class NestedWithNamespaceRestXmlSerializer NestedWithNamespace, _$NestedWithNamespace, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -58,6 +60,7 @@ class NestedWithNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override NestedWithNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart index d32154b3da..d22c7c18db 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart index 8811fa8a11..fad223c625 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -133,7 +136,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart index 10dcde39d2..8de557f9c5 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart index 66d3e3ef64..175473713c 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart index 48c64d45fa..8df74b21e3 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart @@ -132,6 +132,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -146,6 +147,7 @@ abstract class SimpleScalarPropertiesInputOutput nested, doubleValue, ]; + @override String toString() { final helper = @@ -234,6 +236,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -294,6 +297,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -301,6 +305,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, @@ -402,7 +407,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -410,7 +415,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (falseBooleanValue != null) { @@ -418,7 +423,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (floatValue != null) { @@ -426,7 +431,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -434,7 +439,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -442,7 +447,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i3.Int64), + specifiedType: const FullType(_i3.Int64), )); } if (nested != null) { @@ -464,7 +469,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { @@ -480,7 +485,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart index 38892ecfc1..195d2167d8 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart @@ -75,8 +75,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -86,16 +88,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/pubspec.yaml b/packages/smithy/goldens/lib/restXmlWithNamespace/pubspec.yaml index defa92a479..57c73814fd 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/pubspec.yaml +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/pubspec.yaml @@ -13,8 +13,8 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" - xml: ">=6.3.0 <=6.5.0" + built_value: ">=8.6.0 <8.7.0" + xml: 6.3.0 fixnum: ^1.0.0 meta: ^1.7.0 built_collection: ^5.0.0 @@ -41,6 +41,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart index 6c3e887afc..49693fe4b4 100644 --- a/packages/smithy/goldens/lib/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart @@ -131,6 +131,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -138,6 +139,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, @@ -231,6 +233,7 @@ class NestedWithNamespaceRestXmlSerializer @override Iterable get types => const [NestedWithNamespace]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -238,6 +241,7 @@ class NestedWithNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override NestedWithNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart index 77af33cbad..bdfffc6f3d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson10Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart index 2a09321163..a261630a38 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson10Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart index 123d2d7365..8721fa9555 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.json10', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsJson10Serializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart index 0bfad3a96e..890b3a5af3 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsJson10Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart index ec9ef5691c..b00bfba39a 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart index c4718e5b1a..318c994f2f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart index 3c9356f9bd..9632984e19 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/endpoint_with_host_label_operation_input.dart @@ -52,8 +52,10 @@ abstract class EndpointWithHostLabelOperationInput @override EndpointWithHostLabelOperationInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = @@ -76,6 +78,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i1 EndpointWithHostLabelOperationInput, _$EndpointWithHostLabelOperationInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i1 shape: 'awsJson1_0', ) ]; + @override EndpointWithHostLabelOperationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart index b14bc8b249..9976ecc25e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson10Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart index c1b224e937..c8bdd6b9a8 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson10Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart index 29016ece19..3b90433559 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/foo_error.dart @@ -46,10 +46,13 @@ abstract class FooError namespace: 'aws.protocoltests.json10', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +61,10 @@ abstract class FooError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -76,6 +81,7 @@ class FooErrorAwsJson10Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -83,6 +89,7 @@ class FooErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart index 3c2b66e6e7..4778763752 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsJson10Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart index a7a744cbcb..08749cfa8f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_input.dart @@ -38,8 +38,10 @@ abstract class GreetingWithErrorsInput String? get greeting; @override GreetingWithErrorsInput getPayload() => this; + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsInput') @@ -61,6 +63,7 @@ class GreetingWithErrorsInputAwsJson10Serializer GreetingWithErrorsInput, _$GreetingWithErrorsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class GreetingWithErrorsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart index 973d7a4c0d..6eaf4882f8 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart index aa723ec32e..811c38c6db 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.json10', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsJson10Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart index 957353df82..4f3883fcef 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_input.dart @@ -38,8 +38,10 @@ abstract class JsonUnionsInput MyUnion? get contents; @override JsonUnionsInput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonUnionsInput') @@ -60,6 +62,7 @@ class JsonUnionsInputAwsJson10Serializer JsonUnionsInput, _$JsonUnionsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class JsonUnionsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart index 2e27e369e4..3b53097269 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/json_unions_output.dart @@ -38,6 +38,7 @@ abstract class JsonUnionsOutput MyUnion? get contents; @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonUnionsOutput') @@ -58,6 +59,7 @@ class JsonUnionsOutputAwsJson10Serializer JsonUnionsOutput, _$JsonUnionsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class JsonUnionsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart index 65325ddf16..2a404812bd 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/my_union.dart @@ -50,15 +50,25 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + IntegerEnum? get intEnumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -70,6 +80,7 @@ sealed class MyUnion extends _i1.SmithyUnion { listValue ?? mapValue ?? structureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -273,6 +284,7 @@ class MyUnionAwsJson10Serializer MyUnionMapValue$, MyUnionStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -280,6 +292,7 @@ class MyUnionAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart index 239518ff1a..6db17386c2 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputAwsJson10Serializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart index 36b2b65335..48dd975b3e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson10Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart index 868e932355..79fedce2e9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsJson10Serializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart index 9437651c33..b106610a22 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson10Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart index 43c164b4c6..f829c97228 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson10Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart index ca52039e82..1fe0070ed1 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson10Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart index a83206d772..7933a9a02f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_input.dart @@ -46,11 +46,13 @@ abstract class SimpleScalarPropertiesInput double? get doubleValue; @override SimpleScalarPropertiesInput getPayload() => this; + @override List get props => [ floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleScalarPropertiesInput') @@ -76,6 +78,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer SimpleScalarPropertiesInput, _$SimpleScalarPropertiesInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart index 7182d3f028..d120648815 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/model/simple_scalar_properties_output.dart @@ -49,6 +49,7 @@ abstract class SimpleScalarPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleScalarPropertiesOutput') @@ -74,6 +75,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer SimpleScalarPropertiesOutput, _$SimpleScalarPropertiesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -81,6 +83,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart index 81d5f82233..c6320c626d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/empty_input_and_empty_output_operation.dart @@ -75,8 +75,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -86,16 +88,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart index 6d9d4f9220..c45157b090 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_operation.dart @@ -64,24 +64,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart index 3606dc183b..86c17d3cde 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/endpoint_with_host_label_operation.dart @@ -74,24 +74,32 @@ class EndpointWithHostLabelOperation extends _i1.HttpOperation< b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( EndpointWithHostLabelOperationInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart index 4bc31fc28d..65eeca9fc7 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/greeting_with_errors_operation.dart @@ -76,8 +76,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -87,6 +89,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -117,14 +120,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation< builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GreetingWithErrorsInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart index 7d58eaa961..84ee258603 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/host_with_path_operation.dart @@ -63,24 +63,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart index 3bfff7f45f..b67d4fb55f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/json_unions_operation.dart @@ -69,8 +69,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override JsonUnionsOutput buildOutput( JsonUnionsOutput payload, @@ -80,16 +82,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonUnionsInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart index d2b5bd70e6..c8f324b72f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_no_output_operation.dart @@ -65,24 +65,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart index 3120555dfe..3402a799ec 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/no_input_and_output_operation.dart @@ -67,8 +67,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -78,16 +80,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart index 6a7f2cd6f6..72f12e9bc5 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/put_with_content_encoding_operation.dart @@ -75,24 +75,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart index cde416f2c5..13cd87461b 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/lib/src/json_rpc_10/operation/simple_scalar_properties_operation.dart @@ -74,8 +74,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarPropertiesOutput? output]) => 200; + @override SimpleScalarPropertiesOutput buildOutput( SimpleScalarPropertiesOutput payload, @@ -85,16 +87,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_0/pubspec.yaml b/packages/smithy/goldens/lib2/awsJson1_0/pubspec.yaml index 45b0cb8e37..8c5b529ee9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/pubspec.yaml +++ b/packages/smithy/goldens/lib2/awsJson1_0/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 shelf_router: ^1.1.0 shelf: ^1.4.0 @@ -39,6 +39,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart index f03e7ec63a..9e482747c5 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/empty_input_and_empty_output_operation_test.dart @@ -101,6 +101,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class EmptyInputAndEmptyOutputInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -134,6 +136,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -141,6 +144,7 @@ class EmptyInputAndEmptyOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart index 6aca6812ad..ca2d3063d9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/endpoint_with_host_label_operation_test.dart @@ -62,6 +62,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i3 @override Iterable get types => const [EndpointWithHostLabelOperationInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class EndpointWithHostLabelOperationInputAwsJson10Serializer extends _i3 shape: 'awsJson1_0', ) ]; + @override EndpointWithHostLabelOperationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart index 46ead9025c..de3feed97c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/greeting_with_errors_operation_test.dart @@ -497,6 +497,7 @@ class GreetingWithErrorsInputAwsJson10Serializer @override Iterable get types => const [GreetingWithErrorsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -504,6 +505,7 @@ class GreetingWithErrorsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsInput deserialize( Serializers serializers, @@ -548,6 +550,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -555,6 +558,7 @@ class GreetingWithErrorsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -598,6 +602,7 @@ class ComplexErrorAwsJson10Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -605,6 +610,7 @@ class ComplexErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -654,6 +660,7 @@ class ComplexNestedErrorDataAwsJson10Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -661,6 +668,7 @@ class ComplexNestedErrorDataAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -704,6 +712,7 @@ class FooErrorAwsJson10Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -711,6 +720,7 @@ class FooErrorAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override FooError deserialize( Serializers serializers, @@ -736,6 +746,7 @@ class InvalidGreetingAwsJson10Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -743,6 +754,7 @@ class InvalidGreetingAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart index f9b1633069..81c2a94a25 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/json_unions_operation_test.dart @@ -824,6 +824,7 @@ class JsonUnionsInputAwsJson10Serializer @override Iterable get types => const [JsonUnionsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -831,6 +832,7 @@ class JsonUnionsInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsInput deserialize( Serializers serializers, @@ -874,6 +876,7 @@ class JsonUnionsOutputAwsJson10Serializer @override Iterable get types => const [JsonUnionsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -881,6 +884,7 @@ class JsonUnionsOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override JsonUnionsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart index 826ff0d8d4..d625acc2b4 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/no_input_and_output_operation_test.dart @@ -96,6 +96,7 @@ class NoInputAndOutputOutputAwsJson10Serializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class NoInputAndOutputOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart index cb7780c944..888695f4bc 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/put_with_content_encoding_operation_test.dart @@ -105,6 +105,7 @@ class PutWithContentEncodingInputAwsJson10Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +113,7 @@ class PutWithContentEncodingInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart index 06fac69fd4..200b594f6b 100644 --- a/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_0/test/json_rpc_10/simple_scalar_properties_operation_test.dart @@ -275,6 +275,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer @override Iterable get types => const [SimpleScalarPropertiesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -282,6 +283,7 @@ class SimpleScalarPropertiesInputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesInput deserialize( Serializers serializers, @@ -331,6 +333,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer @override Iterable get types => const [SimpleScalarPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -338,6 +341,7 @@ class SimpleScalarPropertiesOutputAwsJson10Serializer shape: 'awsJson1_0', ) ]; + @override SimpleScalarPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/aws_config.dart index cafe87b46a..e57275ae3c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson11Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/client_config.dart index 90f8236c84..e7edd283d9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson11Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_error.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_error.dart index 3ac001de45..2ab08584cd 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.json', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsJson11Serializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart index 58dd430078..bd9635757b 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsJson11Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart index 0cb8ad2361..92b3b55dab 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart index ac01946bf7..0a9779a112 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/empty_struct.dart @@ -28,6 +28,7 @@ abstract class EmptyStruct @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyStruct'); @@ -44,6 +45,7 @@ class EmptyStructAwsJson11Serializer EmptyStruct, _$EmptyStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -51,6 +53,7 @@ class EmptyStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EmptyStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/environment_config.dart index 3210b01655..8219761b39 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson11Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart index a800eecf07..135cb54b2e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_with_members.dart @@ -71,8 +71,10 @@ abstract class ErrorWithMembers namespace: 'aws.protocoltests.json', shape: 'ErrorWithMembers', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -81,6 +83,7 @@ abstract class ErrorWithMembers Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ code, @@ -91,6 +94,7 @@ abstract class ErrorWithMembers message, stringField, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ErrorWithMembers') @@ -135,6 +139,7 @@ class ErrorWithMembersAwsJson11Serializer ErrorWithMembers, _$ErrorWithMembers, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -142,6 +147,7 @@ class ErrorWithMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart index de1905d4b6..839e518e6c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/error_without_members.dart @@ -45,10 +45,13 @@ abstract class ErrorWithoutMembers namespace: 'aws.protocoltests.json', shape: 'ErrorWithoutMembers', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -57,8 +60,10 @@ abstract class ErrorWithoutMembers Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ErrorWithoutMembers'); @@ -75,6 +80,7 @@ class ErrorWithoutMembersAwsJson11Serializer ErrorWithoutMembers, _$ErrorWithoutMembers, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +88,7 @@ class ErrorWithoutMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithoutMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart index ab1b1af644..205027b5d0 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson11Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/foo_error.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/foo_error.dart index b4a3c485fd..81d1821347 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/foo_error.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/foo_error.dart @@ -46,10 +46,13 @@ abstract class FooError namespace: 'aws.protocoltests.json', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +61,10 @@ abstract class FooError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -76,6 +81,7 @@ class FooErrorAwsJson11Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -83,6 +89,7 @@ class FooErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart index 4f5d2ab2f6..fd2e0c1c7d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputAwsJson11Serializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart index a142c74bb4..e3512ac408 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsJson11Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart index dcebf75369..5772f6209f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart index 876018db02..97f406885c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputAwsJson11Serializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart index 68510c64b2..bd26cbeae3 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.json', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsJson11Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart index a44b48e391..0d1ac2497c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class JsonEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override JsonEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class JsonEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonEnumsInputOutput') @@ -117,6 +119,7 @@ class JsonEnumsInputOutputAwsJson11Serializer JsonEnumsInputOutput, _$JsonEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -124,6 +127,7 @@ class JsonEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart index 77fab07dec..a4e8749a04 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/json_int_enums_input_output.dart @@ -66,6 +66,7 @@ abstract class JsonIntEnumsInputOutput _i3.BuiltMap? get intEnumMap; @override JsonIntEnumsInputOutput getPayload() => this; + @override List get props => [ intEnum1, @@ -75,6 +76,7 @@ abstract class JsonIntEnumsInputOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonIntEnumsInputOutput') @@ -116,6 +118,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer JsonIntEnumsInputOutput, _$JsonIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +126,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart index 08a34c4b0b..fdf77159f8 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/kitchen_sink.dart @@ -148,6 +148,7 @@ abstract class KitchenSink DateTime? get unixTimestamp; @override KitchenSink getPayload() => this; + @override List get props => [ blob, @@ -177,6 +178,7 @@ abstract class KitchenSink timestamp, unixTimestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('KitchenSink') @@ -297,6 +299,7 @@ class KitchenSinkAwsJson11Serializer KitchenSink, _$KitchenSink, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -304,6 +307,7 @@ class KitchenSinkAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override KitchenSink deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/my_union.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/my_union.dart index d8524dceca..485f7c0c58 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/my_union.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/my_union.dart @@ -46,14 +46,23 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -64,6 +73,7 @@ sealed class MyUnion extends _i1.SmithyUnion { listValue ?? mapValue ?? structureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -250,6 +260,7 @@ class MyUnionAwsJson11Serializer MyUnionMapValue$, MyUnionStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -257,6 +268,7 @@ class MyUnionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart index d51d73c991..c8b60fb450 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/null_operation_input_output.dart @@ -59,12 +59,14 @@ abstract class NullOperationInputOutput _i3.BuiltMap? get sparseStringMap; @override NullOperationInputOutput getPayload() => this; + @override List get props => [ string, sparseStringList, sparseStringMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullOperationInputOutput') @@ -94,6 +96,7 @@ class NullOperationInputOutputAwsJson11Serializer NullOperationInputOutput, _$NullOperationInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -101,6 +104,7 @@ class NullOperationInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override NullOperationInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_config.dart index 9f138e711b..f331161b12 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson11Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart index 74154a20e8..e369b31d61 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_input.dart @@ -42,8 +42,10 @@ abstract class OperationWithOptionalInputOutputInput String? get value; @override OperationWithOptionalInputOutputInput getPayload() => this; + @override List get props => [value]; + @override String toString() { final helper = @@ -66,6 +68,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i1 OperationWithOptionalInputOutputInput, _$OperationWithOptionalInputOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -73,6 +76,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i1 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart index 7d37791e77..47b1262bd9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/operation_with_optional_input_output_output.dart @@ -42,6 +42,7 @@ abstract class OperationWithOptionalInputOutputOutput String? get value; @override List get props => [value]; + @override String toString() { final helper = @@ -64,6 +65,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i2 OperationWithOptionalInputOutputOutput, _$OperationWithOptionalInputOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i2 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart index 8294554e34..9a2227969e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_and_get_inline_documents_input_output.dart @@ -50,8 +50,10 @@ abstract class PutAndGetInlineDocumentsInputOutput _i3.JsonObject? get inlineDocument; @override PutAndGetInlineDocumentsInputOutput getPayload() => this; + @override List get props => [inlineDocument]; + @override String toString() { final helper = @@ -74,6 +76,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i1 PutAndGetInlineDocumentsInputOutput, _$PutAndGetInlineDocumentsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -81,6 +84,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i1 shape: 'awsJson1_1', ) ]; + @override PutAndGetInlineDocumentsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart index ce501ec4d4..bd03c3d138 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsJson11Serializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/retry_config.dart index a746c09280..8178577ec0 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson11Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/s3_config.dart index 4425f3da00..c1ac1ee3d3 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson11Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart index dbefbee593..915e334e6f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson11Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart index dd0bd4cdc1..52827f86f2 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_scalar_properties_input_output.dart @@ -54,11 +54,13 @@ abstract class SimpleScalarPropertiesInputOutput double? get doubleValue; @override SimpleScalarPropertiesInputOutput getPayload() => this; + @override List get props => [ floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -85,6 +87,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer SimpleScalarPropertiesInputOutput, _$SimpleScalarPropertiesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -92,6 +95,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart index 62f93a31e8..5961dfada1 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/simple_struct.dart @@ -29,6 +29,7 @@ abstract class SimpleStruct String? get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleStruct') @@ -49,6 +50,7 @@ class SimpleStructAwsJson11Serializer SimpleStruct, _$SimpleStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class SimpleStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart index fa20742467..c79ae830bc 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/struct_with_json_name.dart @@ -30,6 +30,7 @@ abstract class StructWithJsonName String? get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructWithJsonName') @@ -50,6 +51,7 @@ class StructWithJsonNameAwsJson11Serializer StructWithJsonName, _$StructWithJsonName, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class StructWithJsonNameAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override StructWithJsonName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart index 9a0fb0be61..229fb23dcc 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/model/union_input_output.dart @@ -48,8 +48,10 @@ abstract class UnionInputOutput MyUnion? get contents; @override UnionInputOutput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnionInputOutput') @@ -70,6 +72,7 @@ class UnionInputOutputAwsJson11Serializer UnionInputOutput, _$UnionInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class UnionInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart index d6571e121d..9ebf70e882 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/datetime_offsets_operation.dart @@ -76,8 +76,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -87,16 +89,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart index 5b8809eb56..b5fb116c5d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/empty_operation.dart @@ -74,24 +74,32 @@ class EmptyOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart index e434b6bbae..e38ad69536 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_operation.dart @@ -75,24 +75,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart index 1d187c8192..a1f95af92e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/endpoint_with_host_label_operation.dart @@ -78,24 +78,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart index b079949dde..1bc66d7cd9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/fractional_seconds_operation.dart @@ -76,8 +76,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -87,16 +89,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart index 7f0f42da11..a05df63f34 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/greeting_with_errors_operation.dart @@ -81,8 +81,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -92,6 +94,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -122,14 +125,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart index 40c3b4aca2..53114c7d44 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/host_with_path_operation.dart @@ -74,24 +74,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart index 6ddc90fbbe..3d0c016ee9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_enums_operation.dart @@ -80,8 +80,10 @@ class JsonEnumsOperation extends _i1.HttpOperation 200; + @override JsonEnumsInputOutput buildOutput( JsonEnumsInputOutput payload, @@ -91,16 +93,22 @@ class JsonEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonEnums'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart index 5500339120..d2ad43f50d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_int_enums_operation.dart @@ -80,8 +80,10 @@ class JsonIntEnumsOperation extends _i1.HttpOperation 200; + @override JsonIntEnumsInputOutput buildOutput( JsonIntEnumsInputOutput payload, @@ -91,16 +93,22 @@ class JsonIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonIntEnums'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart index c80a146b45..cd823c4c39 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/json_unions_operation.dart @@ -79,8 +79,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override UnionInputOutput buildOutput( UnionInputOutput payload, @@ -90,16 +92,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UnionInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart index d19a933c24..af94a6dade 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/kitchen_sink_operation.dart @@ -79,8 +79,10 @@ class KitchenSinkOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([KitchenSink? output]) => 200; + @override KitchenSink buildOutput( KitchenSink payload, @@ -90,6 +92,7 @@ class KitchenSinkOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -111,14 +114,19 @@ class KitchenSinkOperation extends _i1 builder: ErrorWithoutMembers.fromResponse, ), ]; + @override String get runtimeTypeName => 'KitchenSinkOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( KitchenSink input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart index 9203739486..b2f446e229 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/null_operation.dart @@ -81,8 +81,10 @@ class NullOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NullOperationInputOutput? output]) => 200; + @override NullOperationInputOutput buildOutput( NullOperationInputOutput payload, @@ -92,16 +94,22 @@ class NullOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullOperation'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullOperationInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart index 2ee5a16a63..ba2171f535 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/operation_with_optional_input_output_operation.dart @@ -85,8 +85,10 @@ class OperationWithOptionalInputOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([OperationWithOptionalInputOutputOutput? output]) => 200; + @override OperationWithOptionalInputOutputOutput buildOutput( OperationWithOptionalInputOutputOutput payload, @@ -96,16 +98,22 @@ class OperationWithOptionalInputOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OperationWithOptionalInputOutput'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( OperationWithOptionalInputOutputInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart index d18f8ba4a6..4d63e93e64 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_and_get_inline_documents_operation.dart @@ -86,8 +86,10 @@ class PutAndGetInlineDocumentsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([PutAndGetInlineDocumentsInputOutput? output]) => 200; + @override PutAndGetInlineDocumentsInputOutput buildOutput( PutAndGetInlineDocumentsInputOutput payload, @@ -97,16 +99,22 @@ class PutAndGetInlineDocumentsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutAndGetInlineDocuments'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PutAndGetInlineDocumentsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart index 0281f861c1..2140b96b57 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/put_with_content_encoding_operation.dart @@ -86,24 +86,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart index 8eae41b4f7..31482aac5e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/json_protocol/operation/simple_scalar_properties_operation.dart @@ -84,8 +84,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutput payload, @@ -95,16 +97,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/aws_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/aws_config.dart index abf6f396b0..6f8fb285b0 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsJson11Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/client_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/client_config.dart index 28ec7462d0..58868afa53 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/client_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsJson11Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/environment_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/environment_config.dart index 753e0ead64..0ec8cd9e7c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsJson11Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart index 80bfd4813b..9d509cce62 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsJson11Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart index 4098f5abc7..d37a9d2bf1 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/internal_server_exception.dart @@ -51,21 +51,26 @@ abstract class InternalServerException namespace: 'com.amazonaws.machinelearning', shape: 'InternalServerException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InternalServerException') @@ -91,6 +96,7 @@ class InternalServerExceptionAwsJson11Serializer InternalServerException, _$InternalServerException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class InternalServerExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InternalServerException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart index 8342642cf9..9206fbc9f1 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/invalid_input_exception.dart @@ -52,21 +52,26 @@ abstract class InvalidInputException namespace: 'com.amazonaws.machinelearning', shape: 'InvalidInputException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidInputException') @@ -92,6 +97,7 @@ class InvalidInputExceptionAwsJson11Serializer InvalidInputException, _$InvalidInputException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -99,6 +105,7 @@ class InvalidInputExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidInputException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart index 5071861bd3..620ec42e86 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/limit_exceeded_exception.dart @@ -51,21 +51,26 @@ abstract class LimitExceededException namespace: 'com.amazonaws.machinelearning', shape: 'LimitExceededException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 417; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('LimitExceededException') @@ -91,6 +96,7 @@ class LimitExceededExceptionAwsJson11Serializer LimitExceededException, _$LimitExceededException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class LimitExceededExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override LimitExceededException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/operation_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/operation_config.dart index 1be8e5ab93..72346cc92d 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsJson11Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_input.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_input.dart index 762ffdee2d..56ef02c6c5 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_input.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_input.dart @@ -47,12 +47,14 @@ abstract class PredictInput String get predictEndpoint; @override PredictInput getPayload() => this; + @override List get props => [ mlModelId, record, predictEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictInput') @@ -81,6 +83,7 @@ class PredictInputAwsJson11Serializer PredictInput, _$PredictInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -88,6 +91,7 @@ class PredictInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_output.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_output.dart index 10d4c5f964..446c02ac1c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_output.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predict_output.dart @@ -37,6 +37,7 @@ abstract class PredictOutput Prediction? get prediction; @override List get props => [prediction]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictOutput') @@ -57,6 +58,7 @@ class PredictOutputAwsJson11Serializer PredictOutput, _$PredictOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class PredictOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/prediction.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/prediction.dart index d308e46786..48b459eef4 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/prediction.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/prediction.dart @@ -50,6 +50,7 @@ abstract class Prediction predictedScores, details, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('Prediction') @@ -82,6 +83,7 @@ class PredictionAwsJson11Serializer Prediction, _$Prediction, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -89,6 +91,7 @@ class PredictionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override Prediction deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart index fd91e2b1e8..c2275d2d0b 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/predictor_not_mounted_exception.dart @@ -46,18 +46,23 @@ abstract class PredictorNotMountedException namespace: 'com.amazonaws.machinelearning', shape: 'PredictorNotMountedException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('PredictorNotMountedException') @@ -79,6 +84,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer PredictorNotMountedException, _$PredictorNotMountedException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictorNotMountedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart index f7b2dd68e6..6ca80dd252 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/resource_not_found_exception.dart @@ -51,21 +51,26 @@ abstract class ResourceNotFoundException namespace: 'com.amazonaws.machinelearning', shape: 'ResourceNotFoundException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 404; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, code, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResourceNotFoundException') @@ -91,6 +96,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer ResourceNotFoundException, _$ResourceNotFoundException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -98,6 +104,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/retry_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/retry_config.dart index c70a4ec074..c66276c4b4 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsJson11Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/s3_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/s3_config.dart index 1f1bba71b4..e1efeba481 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsJson11Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart index b698a1726c..6e909d6d5f 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsJson11Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart index 5e1675c385..401bc82d7a 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/lib/src/machine_learning/operation/predict_operation.dart @@ -83,8 +83,10 @@ class PredictOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([PredictOutput? output]) => 200; + @override PredictOutput buildOutput( PredictOutput payload, @@ -94,6 +96,7 @@ class PredictOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -148,14 +151,19 @@ class PredictOperation extends _i1 builder: ResourceNotFoundException.fromResponse, ), ]; + @override String get runtimeTypeName => 'Predict'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PredictInput input, { diff --git a/packages/smithy/goldens/lib2/awsJson1_1/pubspec.yaml b/packages/smithy/goldens/lib2/awsJson1_1/pubspec.yaml index 4b2378c3fd..0013d22415 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/pubspec.yaml +++ b/packages/smithy/goldens/lib2/awsJson1_1/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 shelf_router: ^1.1.0 @@ -42,6 +42,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart index aaae1c8765..cf28ff54ae 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/datetime_offsets_operation_test.dart @@ -100,6 +100,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -107,6 +108,7 @@ class DatetimeOffsetsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart index abcc99feaa..8915f1aac0 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/endpoint_with_host_label_operation_test.dart @@ -68,6 +68,7 @@ class HostLabelInputAwsJson11Serializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -75,6 +76,7 @@ class HostLabelInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart index 6ef9036ebc..8f3714ffc9 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/fractional_seconds_operation_test.dart @@ -61,6 +61,7 @@ class FractionalSecondsOutputAwsJson11Serializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -68,6 +69,7 @@ class FractionalSecondsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart index c41ae81106..52ef5dca6c 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/greeting_with_errors_operation_test.dart @@ -508,6 +508,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -515,6 +516,7 @@ class GreetingWithErrorsOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -558,6 +560,7 @@ class ComplexErrorAwsJson11Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -565,6 +568,7 @@ class ComplexErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -614,6 +618,7 @@ class ComplexNestedErrorDataAwsJson11Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -621,6 +626,7 @@ class ComplexNestedErrorDataAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -664,6 +670,7 @@ class FooErrorAwsJson11Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -671,6 +678,7 @@ class FooErrorAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override FooError deserialize( Serializers serializers, @@ -696,6 +704,7 @@ class InvalidGreetingAwsJson11Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -703,6 +712,7 @@ class InvalidGreetingAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_enums_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_enums_operation_test.dart index 8bc9d14f38..236dcb33c6 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_enums_operation_test.dart @@ -141,6 +141,7 @@ class JsonEnumsInputOutputAwsJson11Serializer @override Iterable get types => const [JsonEnumsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -148,6 +149,7 @@ class JsonEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart index 9f5741cc96..fa7176c642 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_int_enums_operation_test.dart @@ -144,6 +144,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer @override Iterable get types => const [JsonIntEnumsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -151,6 +152,7 @@ class JsonIntEnumsInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_unions_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_unions_operation_test.dart index 765b69165f..e28d4d65df 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/json_unions_operation_test.dart @@ -837,6 +837,7 @@ class UnionInputOutputAwsJson11Serializer @override Iterable get types => const [UnionInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -844,6 +845,7 @@ class UnionInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart index 1f58dbf2df..cafb96c414 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/kitchen_sink_operation_test.dart @@ -2619,6 +2619,7 @@ class KitchenSinkAwsJson11Serializer @override Iterable get types => const [KitchenSink]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2626,6 +2627,7 @@ class KitchenSinkAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override KitchenSink deserialize( Serializers serializers, @@ -2861,6 +2863,7 @@ class EmptyStructAwsJson11Serializer @override Iterable get types => const [EmptyStruct]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2868,6 +2871,7 @@ class EmptyStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override EmptyStruct deserialize( Serializers serializers, @@ -2893,6 +2897,7 @@ class SimpleStructAwsJson11Serializer @override Iterable get types => const [SimpleStruct]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2900,6 +2905,7 @@ class SimpleStructAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleStruct deserialize( Serializers serializers, @@ -2943,6 +2949,7 @@ class StructWithJsonNameAwsJson11Serializer @override Iterable get types => const [StructWithJsonName]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -2950,6 +2957,7 @@ class StructWithJsonNameAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override StructWithJsonName deserialize( Serializers serializers, @@ -2993,6 +3001,7 @@ class ErrorWithMembersAwsJson11Serializer @override Iterable get types => const [ErrorWithMembers]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -3000,6 +3009,7 @@ class ErrorWithMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithMembers deserialize( Serializers serializers, @@ -3082,6 +3092,7 @@ class ErrorWithoutMembersAwsJson11Serializer @override Iterable get types => const [ErrorWithoutMembers]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -3089,6 +3100,7 @@ class ErrorWithoutMembersAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ErrorWithoutMembers deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/null_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/null_operation_test.dart index a49633b5e3..42a2e5280e 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/null_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/null_operation_test.dart @@ -286,6 +286,7 @@ class NullOperationInputOutputAwsJson11Serializer @override Iterable get types => const [NullOperationInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -293,6 +294,7 @@ class NullOperationInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override NullOperationInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart index 0344546233..1d53460dbf 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/operation_with_optional_input_output_operation_test.dart @@ -119,6 +119,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i4 @override Iterable get types => const [OperationWithOptionalInputOutputInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -126,6 +127,7 @@ class OperationWithOptionalInputOutputInputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputInput deserialize( Serializers serializers, @@ -170,6 +172,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i4 @override Iterable get types => const [OperationWithOptionalInputOutputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -177,6 +180,7 @@ class OperationWithOptionalInputOutputOutputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override OperationWithOptionalInputOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart index a0eabf001b..ecbad337ba 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_and_get_inline_documents_operation_test.dart @@ -114,6 +114,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i4 @override Iterable get types => const [PutAndGetInlineDocumentsInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -121,6 +122,7 @@ class PutAndGetInlineDocumentsInputOutputAwsJson11Serializer extends _i4 shape: 'awsJson1_1', ) ]; + @override PutAndGetInlineDocumentsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart index 46c2ff779a..9ecd114800 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/put_with_content_encoding_operation_test.dart @@ -116,6 +116,7 @@ class PutWithContentEncodingInputAwsJson11Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -123,6 +124,7 @@ class PutWithContentEncodingInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart index a0ee058774..523c83e9d6 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/json_protocol/simple_scalar_properties_operation_test.dart @@ -305,6 +305,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -312,6 +313,7 @@ class SimpleScalarPropertiesInputOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsJson1_1/test/machine_learning/predict_operation_test.dart b/packages/smithy/goldens/lib2/awsJson1_1/test/machine_learning/predict_operation_test.dart index f3785a253a..941a44a6bf 100644 --- a/packages/smithy/goldens/lib2/awsJson1_1/test/machine_learning/predict_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsJson1_1/test/machine_learning/predict_operation_test.dart @@ -76,6 +76,7 @@ class PredictInputAwsJson11Serializer @override Iterable get types => const [PredictInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -83,6 +84,7 @@ class PredictInputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictInput deserialize( Serializers serializers, @@ -142,6 +144,7 @@ class PredictOutputAwsJson11Serializer @override Iterable get types => const [PredictOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -149,6 +152,7 @@ class PredictOutputAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictOutput deserialize( Serializers serializers, @@ -192,6 +196,7 @@ class PredictionAwsJson11Serializer @override Iterable get types => const [Prediction]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -199,6 +204,7 @@ class PredictionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override Prediction deserialize( Serializers serializers, @@ -270,6 +276,7 @@ class InternalServerExceptionAwsJson11Serializer @override Iterable get types => const [InternalServerException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -277,6 +284,7 @@ class InternalServerExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InternalServerException deserialize( Serializers serializers, @@ -326,6 +334,7 @@ class InvalidInputExceptionAwsJson11Serializer @override Iterable get types => const [InvalidInputException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -333,6 +342,7 @@ class InvalidInputExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override InvalidInputException deserialize( Serializers serializers, @@ -382,6 +392,7 @@ class LimitExceededExceptionAwsJson11Serializer @override Iterable get types => const [LimitExceededException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -389,6 +400,7 @@ class LimitExceededExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override LimitExceededException deserialize( Serializers serializers, @@ -438,6 +450,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer @override Iterable get types => const [PredictorNotMountedException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -445,6 +458,7 @@ class PredictorNotMountedExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override PredictorNotMountedException deserialize( Serializers serializers, @@ -489,6 +503,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -496,6 +511,7 @@ class ResourceNotFoundExceptionAwsJson11Serializer shape: 'awsJson1_1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/aws_config.dart index fd63eacb69..b2dd7f3919 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigAwsQuerySerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -132,7 +135,7 @@ class AwsConfigAwsQuerySerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/client_config.dart index 7bfc4a5cec..c562f6c83b 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigAwsQuerySerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_error.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_error.dart index db5e825ddd..0cb47ee216 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.query', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorAwsQuerySerializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart index 924b0d0a54..8ebdd76006 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataAwsQuerySerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/custom_code_error.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/custom_code_error.dart index 72b81ebcd8..bdab00136c 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/custom_code_error.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/custom_code_error.dart @@ -45,8 +45,10 @@ abstract class CustomCodeError namespace: 'aws.protocoltests.query', shape: 'CustomCodeError', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -55,8 +57,10 @@ abstract class CustomCodeError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('CustomCodeError') @@ -77,6 +81,7 @@ class CustomCodeErrorAwsQuerySerializer CustomCodeError, _$CustomCodeError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -84,6 +89,7 @@ class CustomCodeErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override CustomCodeError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart index d49b81924f..e959b2ea6b 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart index c05bec260c..14351fa38f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart index 5ce3733b34..59db6e9496 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/environment_config.dart index fe09c8b9a3..43e5fd8bee 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigAwsQuerySerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -217,7 +220,7 @@ class EnvironmentConfigAwsQuerySerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSessionToken != null) { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/file_config_settings.dart index 34649769e5..5710d611aa 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsAwsQuerySerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -251,7 +254,7 @@ class FileConfigSettingsAwsQuerySerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -259,7 +262,7 @@ class FileConfigSettingsAwsQuerySerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart index d4ae3fc55b..6580d33794 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_output.dart @@ -40,6 +40,7 @@ abstract class FlattenedXmlMapOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('FlattenedXmlMapOutput') @@ -61,6 +62,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer FlattenedXmlMapOutput, _$FlattenedXmlMapOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +70,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapOutput deserialize( Serializers serializers, @@ -136,7 +139,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart index 4a40e5b8e7..6fc97f7d27 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_name_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNameOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer FlattenedXmlMapWithXmlNameOutput, _$FlattenedXmlMapWithXmlNameOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNameOutput deserialize( Serializers serializers, @@ -142,7 +145,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart index 79e6e421d7..875978c457 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/flattened_xml_map_with_xml_namespace_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNamespaceOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 FlattenedXmlMapWithXmlNamespaceOutput, _$FlattenedXmlMapWithXmlNamespaceOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, @@ -142,7 +145,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart index a2a24d9a95..6f6cd2a869 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputAwsQuerySerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_struct.dart index bac6e9cf2a..aa1885ebed 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructAwsQuerySerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart index 9ac75d5109..0507adb7e7 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/host_label_input.dart index 587ad3d358..33833adb54 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputAwsQuerySerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart index fbb3358d97..d97fec84c0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/ignores_wrapping_xml_name_output.dart @@ -39,6 +39,7 @@ abstract class IgnoresWrappingXmlNameOutput String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('IgnoresWrappingXmlNameOutput') @@ -60,6 +61,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer IgnoresWrappingXmlNameOutput, _$IgnoresWrappingXmlNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -67,6 +69,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart index 2977e705e2..18206d1ebb 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.query', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingAwsQuerySerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingAwsQuerySerializer shape: 'awsQuery', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart index 4222f4d730..f12e2e08e9 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_list.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithList _i2.BuiltList? get listArg; @override List get props => [listArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithList') @@ -53,6 +54,7 @@ class NestedStructWithListAwsQuerySerializer NestedStructWithList, _$NestedStructWithList, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +62,7 @@ class NestedStructWithListAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, @@ -122,7 +125,7 @@ class NestedStructWithListAwsQuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart index 861d869c9d..3917a3af05 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_struct_with_map.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithMap _i2.BuiltMap? get mapArg; @override List get props => [mapArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithMap') @@ -52,6 +53,7 @@ class NestedStructWithMapAwsQuerySerializer NestedStructWithMap, _$NestedStructWithMap, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -59,6 +61,7 @@ class NestedStructWithMapAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithMap deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class NestedStructWithMapAwsQuerySerializer .serialize( serializers, mapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart index d49ac723e9..ee16cd7f1e 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/nested_structures_input.dart @@ -40,8 +40,10 @@ abstract class NestedStructuresInput StructArg? get nested; @override NestedStructuresInput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructuresInput') @@ -63,6 +65,7 @@ class NestedStructuresInputAwsQuerySerializer NestedStructuresInput, _$NestedStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class NestedStructuresInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart index 283213c9b2..74d35a2fe5 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_input.dart @@ -40,8 +40,10 @@ abstract class NoInputAndOutputInput @override NoInputAndOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputInput'); @@ -59,6 +61,7 @@ class NoInputAndOutputInputAwsQuerySerializer NoInputAndOutputInput, _$NoInputAndOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class NoInputAndOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart index 211a12747e..280d21dee1 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputAwsQuerySerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/operation_config.dart index 124c4ecd4c..1f106c7ae1 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigAwsQuerySerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart index 4bc926eb54..cf94460484 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/put_with_content_encoding_input.dart @@ -46,11 +46,13 @@ abstract class PutWithContentEncodingInput String? get data; @override PutWithContentEncodingInput getPayload() => this; + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -76,6 +78,7 @@ class PutWithContentEncodingInputAwsQuerySerializer PutWithContentEncodingInput, _$PutWithContentEncodingInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class PutWithContentEncodingInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart index 41eafe3c8c..338661cb3a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -47,8 +47,10 @@ abstract class QueryIdempotencyTokenAutoFillInput String? get token; @override QueryIdempotencyTokenAutoFillInput getPayload() => this; + @override List get props => [token]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer QueryIdempotencyTokenAutoFillInput, _$QueryIdempotencyTokenAutoFillInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_lists_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_lists_input.dart index cecbb82eb5..00d5227cff 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_lists_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_lists_input.dart @@ -64,6 +64,7 @@ abstract class QueryListsInput NestedStructWithList? get nestedWithList; @override QueryListsInput getPayload() => this; + @override List get props => [ listArg, @@ -73,6 +74,7 @@ abstract class QueryListsInput flattenedListArgWithXmlName, nestedWithList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryListsInput') @@ -113,6 +115,7 @@ class QueryListsInputAwsQuerySerializer QueryListsInput, _$QueryListsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -120,6 +123,7 @@ class QueryListsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -228,7 +232,7 @@ class QueryListsInputAwsQuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -242,7 +246,7 @@ class QueryListsInputAwsQuerySerializer .serialize( serializers, complexListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(GreetingStruct)], ), @@ -255,7 +259,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, flattenedListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -270,7 +274,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, listArgWithXmlNameMember, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -283,7 +287,7 @@ class QueryListsInputAwsQuerySerializer ).serialize( serializers, flattenedListArgWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_maps_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_maps_input.dart index bdc50e13af..8fb1a73f06 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_maps_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_maps_input.dart @@ -68,6 +68,7 @@ abstract class QueryMapsInput NestedStructWithMap? get nestedStructWithMap; @override QueryMapsInput getPayload() => this; + @override List get props => [ mapArg, @@ -79,6 +80,7 @@ abstract class QueryMapsInput mapOfLists, nestedStructWithMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryMapsInput') @@ -127,6 +129,7 @@ class QueryMapsInputAwsQuerySerializer QueryMapsInput, _$QueryMapsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -134,6 +137,7 @@ class QueryMapsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryMapsInput deserialize( Serializers serializers, @@ -309,7 +313,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, mapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -326,7 +330,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, renamedMapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -343,7 +347,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, complexMapArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -362,7 +366,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, mapWithXmlMemberName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -378,7 +382,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, flattenedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -396,7 +400,7 @@ class QueryMapsInputAwsQuerySerializer ).serialize( serializers, flattenedMapWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -413,7 +417,7 @@ class QueryMapsInputAwsQuerySerializer .serialize( serializers, mapOfLists, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltListMultimap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart index 699d2bc550..09d6e55ab6 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/query_timestamps_input.dart @@ -49,12 +49,14 @@ abstract class QueryTimestampsInput DateTime? get epochTarget; @override QueryTimestampsInput getPayload() => this; + @override List get props => [ normalFormat, epochMember, epochTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryTimestampsInput') @@ -84,6 +86,7 @@ class QueryTimestampsInputAwsQuerySerializer QueryTimestampsInput, _$QueryTimestampsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class QueryTimestampsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, @@ -155,7 +159,7 @@ class QueryTimestampsInputAwsQuerySerializer ..add(const _i1.XmlElementName('normalFormat')) ..add(serializers.serialize( normalFormat, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (epochMember != null) { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart index e1406fcb4e..d88b863f8c 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output.dart @@ -38,6 +38,7 @@ abstract class RecursiveXmlShapesOutput RecursiveXmlShapesOutputNested1? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveXmlShapesOutput') @@ -59,6 +60,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer RecursiveXmlShapesOutput, _$RecursiveXmlShapesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart index a38dc30e93..bc3b35e6a3 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer RecursiveXmlShapesOutputNested1, _$RecursiveXmlShapesOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart index d9c1ec5e47..9bc9aeec64 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/recursive_xml_shapes_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer RecursiveXmlShapesOutputNested2, _$RecursiveXmlShapesOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/retry_config.dart index ea08f7fb44..37c68f75a3 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigAwsQuerySerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -133,7 +136,7 @@ class RetryConfigAwsQuerySerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -141,7 +144,7 @@ class RetryConfigAwsQuerySerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/s3_config.dart index 7131b156d9..aa00338e29 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigAwsQuerySerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -149,7 +152,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -165,7 +168,7 @@ class S3ConfigAwsQuerySerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/scoped_config.dart index 6efd765fec..af23e2a500 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigAwsQuerySerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -220,7 +223,7 @@ class ScopedConfigAwsQuerySerializer .serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -237,7 +240,7 @@ class ScopedConfigAwsQuerySerializer .serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart index 8c518e15fe..c39edc9bed 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_input_params_input.dart @@ -70,6 +70,7 @@ abstract class SimpleInputParamsInput IntegerEnum? get integerEnum; @override SimpleInputParamsInput getPayload() => this; + @override List get props => [ foo, @@ -82,6 +83,7 @@ abstract class SimpleInputParamsInput fooEnum, integerEnum, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleInputParamsInput') @@ -135,6 +137,7 @@ class SimpleInputParamsInputAwsQuerySerializer SimpleInputParamsInput, _$SimpleInputParamsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -142,6 +145,7 @@ class SimpleInputParamsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, @@ -261,7 +265,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Baz')) ..add(serializers.serialize( baz, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (bam != null) { @@ -269,7 +273,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Bam')) ..add(serializers.serialize( bam, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (floatValue != null) { @@ -277,7 +281,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (boo != null) { @@ -285,7 +289,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Boo')) ..add(serializers.serialize( boo, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (qux != null) { @@ -293,7 +297,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('Qux')) ..add(serializers.serialize( qux, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } if (fooEnum != null) { @@ -301,7 +305,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('FooEnum')) ..add(serializers.serialize( fooEnum, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (integerEnum != null) { @@ -309,7 +313,7 @@ class SimpleInputParamsInputAwsQuerySerializer ..add(const _i1.XmlElementName('IntegerEnum')) ..add(serializers.serialize( integerEnum, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart index b0bbff614c..10b53f741d 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/simple_scalar_xml_properties_output.dart @@ -82,6 +82,7 @@ abstract class SimpleScalarXmlPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -140,6 +141,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer SimpleScalarXmlPropertiesOutput, _$SimpleScalarXmlPropertiesOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -147,6 +149,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, @@ -272,7 +275,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (falseBooleanValue != null) { @@ -280,7 +283,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -288,7 +291,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (shortValue != null) { @@ -296,7 +299,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (integerValue != null) { @@ -304,7 +307,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -312,7 +315,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (floatValue != null) { @@ -320,7 +323,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (doubleValue != null) { @@ -328,7 +331,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer ..add(const _i3.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/struct_arg.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/struct_arg.dart index 9496958b14..257b52252a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/struct_arg.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/struct_arg.dart @@ -43,6 +43,7 @@ abstract class StructArg otherArg, recursiveArg, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructArg') @@ -71,6 +72,7 @@ class StructArgAwsQuerySerializer StructArg, _$StructArg, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class StructArgAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructArg deserialize( Serializers serializers, @@ -149,7 +152,7 @@ class StructArgAwsQuerySerializer ..add(const _i2.XmlElementName('OtherArg')) ..add(serializers.serialize( otherArg, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (recursiveArg != null) { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/structure_list_member.dart index 9ad91f88ce..474f071c77 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberAwsQuerySerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart index 0965e2ae74..a11ad0db73 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_blobs_output.dart @@ -38,6 +38,7 @@ abstract class XmlBlobsOutput _i2.Uint8List? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsOutput') @@ -58,6 +59,7 @@ class XmlBlobsOutputAwsQuerySerializer XmlBlobsOutput, _$XmlBlobsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, @@ -118,7 +121,7 @@ class XmlBlobsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i2.Uint8List), + specifiedType: const FullType(_i2.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart index 85b6c3b788..1ceba49d9b 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlEnumsOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsOutput') @@ -104,6 +105,7 @@ class XmlEnumsOutputAwsQuerySerializer XmlEnumsOutput, _$XmlEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, @@ -217,7 +220,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -225,7 +228,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -233,7 +236,7 @@ class XmlEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('fooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -244,7 +247,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -258,7 +261,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(FooEnum)], ), @@ -272,7 +275,7 @@ class XmlEnumsOutputAwsQuerySerializer .serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart index cac78c0dd7..d20970dd8d 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_int_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlIntEnumsOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsOutput') @@ -104,6 +105,7 @@ class XmlIntEnumsOutputAwsQuerySerializer XmlIntEnumsOutput, _$XmlIntEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlIntEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, @@ -217,7 +220,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum2 != null) { @@ -225,7 +228,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum3 != null) { @@ -233,7 +236,7 @@ class XmlIntEnumsOutputAwsQuerySerializer ..add(const _i3.XmlElementName('intEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnumList != null) { @@ -244,7 +247,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(IntegerEnum)], ), @@ -258,7 +261,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(IntegerEnum)], ), @@ -272,7 +275,7 @@ class XmlIntEnumsOutputAwsQuerySerializer .serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart index d187d85e54..0b7a739248 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_lists_output.dart @@ -111,6 +111,7 @@ abstract class XmlListsOutput flattenedListWithNamespace, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsOutput') @@ -183,6 +184,7 @@ class XmlListsOutputAwsQuerySerializer XmlListsOutput, _$XmlListsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -190,6 +192,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -393,7 +396,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -407,7 +410,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(String)], ), @@ -421,7 +424,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -435,7 +438,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(bool)], ), @@ -449,7 +452,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(DateTime)], ), @@ -463,7 +466,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -477,7 +480,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(IntegerEnum)], ), @@ -491,7 +494,7 @@ class XmlListsOutputAwsQuerySerializer .serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [ FullType( @@ -511,7 +514,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -524,7 +527,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -537,7 +540,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -551,7 +554,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -564,7 +567,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -579,7 +582,7 @@ class XmlListsOutputAwsQuerySerializer ).serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(StructureListMember)], ), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart index aaa715395d..d450134f32 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_output.dart @@ -38,6 +38,7 @@ abstract class XmlMapsOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsOutput') @@ -58,6 +59,7 @@ class XmlMapsOutputAwsQuerySerializer XmlMapsOutput, _$XmlMapsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -130,7 +133,7 @@ class XmlMapsOutputAwsQuerySerializer .serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart index c8f5d022c0..701c5b29db 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_maps_xml_name_output.dart @@ -40,6 +40,7 @@ abstract class XmlMapsXmlNameOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsXmlNameOutput') @@ -61,6 +62,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer XmlMapsXmlNameOutput, _$XmlMapsXmlNameOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +70,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsXmlNameOutput deserialize( Serializers serializers, @@ -137,7 +140,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart index ade0502b95..46ee81ec68 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedAwsQuerySerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -158,7 +161,7 @@ class XmlNamespaceNestedAwsQuerySerializer ).serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart index 04fac71789..bac64d4a97 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_namespaces_output.dart @@ -38,6 +38,7 @@ abstract class XmlNamespacesOutput XmlNamespaceNested? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesOutput') @@ -58,6 +59,7 @@ class XmlNamespacesOutputAwsQuerySerializer XmlNamespacesOutput, _$XmlNamespacesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class XmlNamespacesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart index db363874e5..ed45ee17f7 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/model/xml_timestamps_output.dart @@ -67,6 +67,7 @@ abstract class XmlTimestampsOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsOutput') @@ -111,6 +112,7 @@ class XmlTimestampsOutputAwsQuerySerializer XmlTimestampsOutput, _$XmlTimestampsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -118,6 +120,7 @@ class XmlTimestampsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, @@ -213,7 +216,7 @@ class XmlTimestampsOutputAwsQuerySerializer ..add(const _i2.XmlElementName('normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (dateTime != null) { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart index ac53418909..259edba9a3 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart index 72362d077e..43f3eb5482 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart index 31329d90fe..749a864fca 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart index 16d6420018..6ebe9a9d22 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/endpoint_with_host_label_operation.dart @@ -65,24 +65,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart index 1fedfc9709..54f13349b5 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_operation.dart @@ -65,8 +65,10 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapOutput? output]) => 200; + @override FlattenedXmlMapOutput buildOutput( FlattenedXmlMapOutput payload, @@ -76,16 +78,22 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart index f9aab27fc5..e02b587b20 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_name_operation.dart @@ -68,8 +68,10 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapWithXmlNameOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNameOutput buildOutput( FlattenedXmlMapWithXmlNameOutput payload, @@ -79,16 +81,22 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart index e475f69eb9..3142a779fd 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart @@ -71,8 +71,10 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FlattenedXmlMapWithXmlNamespaceOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNamespaceOutput buildOutput( FlattenedXmlMapWithXmlNamespaceOutput payload, @@ -82,16 +84,22 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart index b856ebae2d..bc2afa7400 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart index 9370930fe0..7773942f2d 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/greeting_with_errors_operation.dart @@ -75,8 +75,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -86,6 +88,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -116,14 +119,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart index aef18d1249..dc0310a234 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart index a736469389..671de15a8f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/ignores_wrapping_xml_name_operation.dart @@ -65,8 +65,10 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([IgnoresWrappingXmlNameOutput? output]) => 200; + @override IgnoresWrappingXmlNameOutput buildOutput( IgnoresWrappingXmlNameOutput payload, @@ -76,16 +78,22 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoresWrappingXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart index bb85bd7123..9c4d85173f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/nested_structures_operation.dart @@ -67,24 +67,32 @@ class NestedStructuresOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( NestedStructuresInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart index adc7a1d53b..ef9801bb78 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_no_output_operation.dart @@ -63,24 +63,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart index 134755a4c7..c502a3c6e0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/no_input_and_output_operation.dart @@ -67,8 +67,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -78,16 +80,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NoInputAndOutputInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart index 670c232034..804fe6443f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/put_with_content_encoding_operation.dart @@ -73,24 +73,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 1dd31382ea..9b1c8206d6 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -70,24 +70,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart index e2ebb4fce9..c8dbebb169 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_lists_operation.dart @@ -67,24 +67,32 @@ class QueryListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryListsInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart index 1afac9945e..c295783af9 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_maps_operation.dart @@ -66,24 +66,32 @@ class QueryMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryMapsInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart index 089f07480d..cacbd534d8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/query_timestamps_operation.dart @@ -67,24 +67,32 @@ class QueryTimestampsOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryTimestampsInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart index 80de96fed3..34514e3921 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/recursive_xml_shapes_operation.dart @@ -65,8 +65,10 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([RecursiveXmlShapesOutput? output]) => 200; + @override RecursiveXmlShapesOutput buildOutput( RecursiveXmlShapesOutput payload, @@ -76,16 +78,22 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveXmlShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart index 36998f1ff2..5f66cf4ac8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_input_params_operation.dart @@ -67,24 +67,32 @@ class SimpleInputParamsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleInputParams'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SimpleInputParamsInput input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart index 5ca1a437ad..dc121a9e85 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/simple_scalar_xml_properties_operation.dart @@ -66,8 +66,10 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarXmlPropertiesOutput? output]) => 200; + @override SimpleScalarXmlPropertiesOutput buildOutput( SimpleScalarXmlPropertiesOutput payload, @@ -77,16 +79,22 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarXmlProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart index 5c5135f46f..031e3779f8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_blobs_operation.dart @@ -65,8 +65,10 @@ class XmlBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -76,16 +78,22 @@ class XmlBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart index 6d2a4871ad..94b0159ec0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_blobs_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart index 72e35b5e58..250cae2b31 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_lists_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart index e88ad8cbaa..3d499f2702 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_empty_maps_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsOutput? output]) => 200; + @override XmlMapsOutput buildOutput( XmlMapsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyMapsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart index df0f0613c0..28dc2df7a6 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_enums_operation.dart @@ -65,8 +65,10 @@ class XmlEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlEnumsOutput? output]) => 200; + @override XmlEnumsOutput buildOutput( XmlEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart index c11ed6c1a9..f247dc52d1 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_int_enums_operation.dart @@ -65,8 +65,10 @@ class XmlIntEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlIntEnumsOutput? output]) => 200; + @override XmlIntEnumsOutput buildOutput( XmlIntEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlIntEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart index 1a50f306e4..89259487f4 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_lists_operation.dart @@ -65,8 +65,10 @@ class XmlListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -76,16 +78,22 @@ class XmlListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart index 95537e4da9..f9771ff87c 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_operation.dart @@ -65,8 +65,10 @@ class XmlMapsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsOutput? output]) => 200; + @override XmlMapsOutput buildOutput( XmlMapsOutput payload, @@ -76,16 +78,22 @@ class XmlMapsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart index af41ec98e0..95b67ca2cf 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_maps_xml_name_operation.dart @@ -63,8 +63,10 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlMapsXmlNameOutput? output]) => 200; + @override XmlMapsXmlNameOutput buildOutput( XmlMapsXmlNameOutput payload, @@ -74,16 +76,22 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMapsXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart index 397d3f5f96..d7aa1a746c 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_namespaces_operation.dart @@ -63,8 +63,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlNamespacesOutput? output]) => 200; + @override XmlNamespacesOutput buildOutput( XmlNamespacesOutput payload, @@ -74,16 +76,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart index 2254c75cc1..bd42481790 100644 --- a/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/awsQuery/lib/src/query_protocol/operation/xml_timestamps_operation.dart @@ -65,8 +65,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlTimestampsOutput? output]) => 200; + @override XmlTimestampsOutput buildOutput( XmlTimestampsOutput payload, @@ -76,16 +78,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/awsQuery/pubspec.yaml b/packages/smithy/goldens/lib2/awsQuery/pubspec.yaml index 825df0c433..d847ace1d8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/pubspec.yaml +++ b/packages/smithy/goldens/lib2/awsQuery/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 meta: ^1.7.0 @@ -38,6 +38,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart index 7930888daa..f48d8c3797 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart index f7a5da4ec7..014122ba0f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/empty_input_and_empty_output_operation_test.dart @@ -96,6 +96,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class EmptyInputAndEmptyOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +139,7 @@ class EmptyInputAndEmptyOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart index d4ef1c8b78..b6efa1cce5 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/endpoint_with_host_label_operation_test.dart @@ -60,6 +60,7 @@ class HostLabelInputAwsQuerySerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -67,6 +68,7 @@ class HostLabelInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart index 06f3453d56..3adaa2ffc4 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_operation_test.dart @@ -61,6 +61,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer @override Iterable get types => const [FlattenedXmlMapOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -68,6 +69,7 @@ class FlattenedXmlMapOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart index 811fa7e3db..b870c5b92f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_name_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer @override Iterable get types => const [FlattenedXmlMapWithXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart index 799eaab64b..3aed9b5d83 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNamespaceOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputAwsQuerySerializer extends _i3 shape: 'awsQuery', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart index 167b885275..783cfcd828 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputAwsQuerySerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart index 2bac4de60b..7c4e0d89a4 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/greeting_with_errors_operation_test.dart @@ -167,6 +167,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +175,7 @@ class GreetingWithErrorsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -217,6 +219,7 @@ class ComplexErrorAwsQuerySerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -224,6 +227,7 @@ class ComplexErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -273,6 +277,7 @@ class ComplexNestedErrorDataAwsQuerySerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -280,6 +285,7 @@ class ComplexNestedErrorDataAwsQuerySerializer shape: 'awsQuery', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -323,6 +329,7 @@ class CustomCodeErrorAwsQuerySerializer @override Iterable get types => const [CustomCodeError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -330,6 +337,7 @@ class CustomCodeErrorAwsQuerySerializer shape: 'awsQuery', ) ]; + @override CustomCodeError deserialize( Serializers serializers, @@ -373,6 +381,7 @@ class InvalidGreetingAwsQuerySerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -380,6 +389,7 @@ class InvalidGreetingAwsQuerySerializer shape: 'awsQuery', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart index fa396108bc..4dbca378b8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/ignores_wrapping_xml_name_operation_test.dart @@ -57,6 +57,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer @override Iterable get types => const [IgnoresWrappingXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoresWrappingXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/nested_structures_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/nested_structures_operation_test.dart index e77881c7ea..b08a42c083 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/nested_structures_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/nested_structures_operation_test.dart @@ -70,6 +70,7 @@ class NestedStructuresInputAwsQuerySerializer @override Iterable get types => const [NestedStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class NestedStructuresInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class StructArgAwsQuerySerializer @override Iterable get types => const [StructArg]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class StructArgAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructArg deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart index 2c360bb47d..2d4de156f2 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/no_input_and_output_operation_test.dart @@ -92,6 +92,7 @@ class NoInputAndOutputInputAwsQuerySerializer @override Iterable get types => const [NoInputAndOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -99,6 +100,7 @@ class NoInputAndOutputInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputInput deserialize( Serializers serializers, @@ -125,6 +127,7 @@ class NoInputAndOutputOutputAwsQuerySerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +135,7 @@ class NoInputAndOutputOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart index a8dc6de63e..115ce158d0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/put_with_content_encoding_operation_test.dart @@ -101,6 +101,7 @@ class PutWithContentEncodingInputAwsQuerySerializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class PutWithContentEncodingInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart index 6bb59bf637..f56320ce1a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -100,6 +100,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -107,6 +108,7 @@ class QueryIdempotencyTokenAutoFillInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_lists_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_lists_operation_test.dart index f8bd784663..4b908e6e3a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_lists_operation_test.dart @@ -310,6 +310,7 @@ class QueryListsInputAwsQuerySerializer @override Iterable get types => const [QueryListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -317,6 +318,7 @@ class QueryListsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -400,6 +402,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -407,6 +410,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -451,6 +455,7 @@ class NestedStructWithListAwsQuerySerializer @override Iterable get types => const [NestedStructWithList]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -458,6 +463,7 @@ class NestedStructWithListAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_maps_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_maps_operation_test.dart index 2db58a258f..6450f419a9 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_maps_operation_test.dart @@ -455,6 +455,7 @@ class QueryMapsInputAwsQuerySerializer @override Iterable get types => const [QueryMapsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -462,6 +463,7 @@ class QueryMapsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryMapsInput deserialize( Serializers serializers, @@ -582,6 +584,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -589,6 +592,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -632,6 +636,7 @@ class NestedStructWithMapAwsQuerySerializer @override Iterable get types => const [NestedStructWithMap]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -639,6 +644,7 @@ class NestedStructWithMapAwsQuerySerializer shape: 'awsQuery', ) ]; + @override NestedStructWithMap deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_timestamps_operation_test.dart index 3279d002a1..c88ba4ce6f 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/query_timestamps_operation_test.dart @@ -64,6 +64,7 @@ class QueryTimestampsInputAwsQuerySerializer @override Iterable get types => const [QueryTimestampsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class QueryTimestampsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart index 305d67c4e3..9ba31eab89 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/recursive_xml_shapes_operation_test.dart @@ -71,6 +71,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class RecursiveXmlShapesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, @@ -122,6 +124,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +132,7 @@ class RecursiveXmlShapesOutputNested1AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, @@ -178,6 +182,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -185,6 +190,7 @@ class RecursiveXmlShapesOutputNested2AwsQuerySerializer shape: 'awsQuery', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_input_params_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_input_params_operation_test.dart index 6223bff4be..a516081fb0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_input_params_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_input_params_operation_test.dart @@ -461,6 +461,7 @@ class SimpleInputParamsInputAwsQuerySerializer @override Iterable get types => const [SimpleInputParamsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -468,6 +469,7 @@ class SimpleInputParamsInputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart index 55e74c4d26..fd1458c08c 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/simple_scalar_xml_properties_operation_test.dart @@ -182,6 +182,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer @override Iterable get types => const [SimpleScalarXmlPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +190,7 @@ class SimpleScalarXmlPropertiesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_blobs_operation_test.dart index 49b3b4accc..515232906a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_blobs_operation_test.dart @@ -55,6 +55,7 @@ class XmlBlobsOutputAwsQuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart index b7572db56e..f370db0b55 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_blobs_operation_test.dart @@ -89,6 +89,7 @@ class XmlBlobsOutputAwsQuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class XmlBlobsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart index f11b33b16e..dc39c30d36 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_lists_operation_test.dart @@ -63,6 +63,7 @@ class XmlListsOutputAwsQuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -226,6 +228,7 @@ class StructureListMemberAwsQuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -233,6 +236,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart index 5d6e576944..e38521b43a 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_empty_maps_operation_test.dart @@ -94,6 +94,7 @@ class XmlMapsOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -150,6 +152,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +160,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_enums_operation_test.dart index 7dcf118cfb..2fc591c5ab 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlEnumsOutputAwsQuerySerializer @override Iterable get types => const [XmlEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart index 52e15f33ea..e6dcc9dcb4 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_int_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlIntEnumsOutputAwsQuerySerializer @override Iterable get types => const [XmlIntEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlIntEnumsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_lists_operation_test.dart index dfd6ee496e..9bb376e128 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_lists_operation_test.dart @@ -129,6 +129,7 @@ class XmlListsOutputAwsQuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +137,7 @@ class XmlListsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -292,6 +294,7 @@ class StructureListMemberAwsQuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -299,6 +302,7 @@ class StructureListMemberAwsQuerySerializer shape: 'awsQuery', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_operation_test.dart index a6da86df90..1a844bced8 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_operation_test.dart @@ -63,6 +63,7 @@ class XmlMapsOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class XmlMapsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsOutput deserialize( Serializers serializers, @@ -119,6 +121,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -126,6 +129,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart index b8e7154bc1..3edabfa0a0 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_maps_xml_name_operation_test.dart @@ -64,6 +64,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer @override Iterable get types => const [XmlMapsXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class XmlMapsXmlNameOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlMapsXmlNameOutput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class GreetingStructAwsQuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class GreetingStructAwsQuerySerializer shape: 'awsQuery', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart index c6441962ae..536260cae2 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_namespaces_operation_test.dart @@ -66,6 +66,7 @@ class XmlNamespacesOutputAwsQuerySerializer @override Iterable get types => const [XmlNamespacesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -73,6 +74,7 @@ class XmlNamespacesOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, @@ -116,6 +118,7 @@ class XmlNamespaceNestedAwsQuerySerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -123,6 +126,7 @@ class XmlNamespaceNestedAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart index a268285b12..d6a2ef1b8e 100644 --- a/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/awsQuery/test/query_protocol/xml_timestamps_operation_test.dart @@ -256,6 +256,7 @@ class XmlTimestampsOutputAwsQuerySerializer @override Iterable get types => const [XmlTimestampsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -263,6 +264,7 @@ class XmlTimestampsOutputAwsQuerySerializer shape: 'awsQuery', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/aws_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/aws_config.dart index c8b0ae4d30..349557bb1c 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/client_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/client_config.dart index 0683b8e4dd..f069c14572 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/client_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_input.dart index fc089c5af2..d7b4d165eb 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_input.dart @@ -127,6 +127,7 @@ abstract class DefaultValuesInput bool? get nullifiedDefaultBool; @override DefaultValuesInput getPayload() => this; + @override List get props => [ requiredDefaultInt, @@ -148,6 +149,7 @@ abstract class DefaultValuesInput optionalDefaultBool, nullifiedDefaultBool, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DefaultValuesInput') @@ -236,6 +238,7 @@ class DefaultValuesInputRestJson1Serializer DefaultValuesInput, _$DefaultValuesInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -243,6 +246,7 @@ class DefaultValuesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override DefaultValuesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_output.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_output.dart index 840fe347ab..7b74d5bebe 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_output.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/default_values_output.dart @@ -146,6 +146,7 @@ abstract class DefaultValuesOutput optionalDefaultBool, nullifiedDefaultBool, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DefaultValuesOutput') @@ -234,6 +235,7 @@ class DefaultValuesOutputRestJson1Serializer DefaultValuesOutput, _$DefaultValuesOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -241,6 +243,7 @@ class DefaultValuesOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DefaultValuesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/environment_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/environment_config.dart index fa430cba06..1dd3ffb6cc 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/file_config_settings.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/file_config_settings.dart index 68ab840c1e..50fa54e09a 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_not_required_with_member_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_not_required_with_member_input.dart index 6645241cd7..59d674109e 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_not_required_with_member_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_not_required_with_member_input.dart @@ -58,11 +58,13 @@ abstract class HttpChecksumNotRequiredWithMemberInput _i2.Uint8List? get content; @override _i2.Uint8List? getPayload() => content; + @override List get props => [ checksumAlgorithm, content, ]; + @override String toString() { final helper = @@ -89,6 +91,7 @@ class HttpChecksumNotRequiredWithMemberInputRestJson1Serializer HttpChecksumNotRequiredWithMemberInput, _$HttpChecksumNotRequiredWithMemberInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +99,7 @@ class HttpChecksumNotRequiredWithMemberInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_not_required_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_not_required_input.dart index 16af6eb458..258871fc92 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_not_required_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_not_required_input.dart @@ -58,11 +58,13 @@ abstract class HttpChecksumReallyNotRequiredInput _i2.Uint8List? get content; @override _i2.Uint8List? getPayload() => content; + @override List get props => [ checksumAlgorithm, content, ]; + @override String toString() { final helper = @@ -89,6 +91,7 @@ class HttpChecksumReallyNotRequiredInputRestJson1Serializer HttpChecksumReallyNotRequiredInput, _$HttpChecksumReallyNotRequiredInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +99,7 @@ class HttpChecksumReallyNotRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_required_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_required_input.dart index fcf17c8bdf..fd478f5f5f 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_required_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_really_required_input.dart @@ -58,11 +58,13 @@ abstract class HttpChecksumReallyRequiredInput _i2.Uint8List? get content; @override _i2.Uint8List? getPayload() => content; + @override List get props => [ checksumAlgorithm, content, ]; + @override String toString() { final helper = @@ -89,6 +91,7 @@ class HttpChecksumReallyRequiredInputRestJson1Serializer HttpChecksumReallyRequiredInput, _$HttpChecksumReallyRequiredInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +99,7 @@ class HttpChecksumReallyRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_input.dart index 73b9a4666b..c466c040f6 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_input.dart @@ -45,8 +45,10 @@ abstract class HttpChecksumRequiredInput _i2.Uint8List? get content; @override _i2.Uint8List? getPayload() => content; + @override List get props => [content]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpChecksumRequiredInput') @@ -68,6 +70,7 @@ class HttpChecksumRequiredInputRestJson1Serializer HttpChecksumRequiredInput, _$HttpChecksumRequiredInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -75,6 +78,7 @@ class HttpChecksumRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_with_member_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_with_member_input.dart index 7d6897eadb..7739512a9f 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_with_member_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/http_checksum_required_with_member_input.dart @@ -58,11 +58,13 @@ abstract class HttpChecksumRequiredWithMemberInput _i2.Uint8List? get content; @override _i2.Uint8List? getPayload() => content; + @override List get props => [ checksumAlgorithm, content, ]; + @override String toString() { final helper = @@ -89,6 +91,7 @@ class HttpChecksumRequiredWithMemberInputRestJson1Serializer HttpChecksumRequiredWithMemberInput, _$HttpChecksumRequiredWithMemberInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +99,7 @@ class HttpChecksumRequiredWithMemberInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/nested_collections_input.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/nested_collections_input.dart index 547c8da72f..508c1379ef 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/nested_collections_input.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/nested_collections_input.dart @@ -52,8 +52,10 @@ abstract class NestedCollectionsInput get mapOfListOfMapOfLists; @override NestedCollectionsInput getPayload() => this; + @override List get props => [mapOfListOfMapOfLists]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedCollectionsInput') @@ -75,6 +77,7 @@ class NestedCollectionsInputRestJson1Serializer NestedCollectionsInput, _$NestedCollectionsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -82,6 +85,7 @@ class NestedCollectionsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedCollectionsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/operation_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/operation_config.dart index e52dca6bc6..351a54756f 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/retry_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/retry_config.dart index b19086b862..386a0b460b 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/s3_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/s3_config.dart index 64284150c7..f953ad07ea 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/scoped_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/scoped_config.dart index 65355ad9ee..dcfd563fa0 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/default_values_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/default_values_operation.dart index ccd473a05e..23da550e6b 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/default_values_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/default_values_operation.dart @@ -64,8 +64,10 @@ class DefaultValuesOperation extends _i1.HttpOperation 200; + @override DefaultValuesOutput buildOutput( DefaultValuesOutput payload, @@ -75,16 +77,22 @@ class DefaultValuesOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'DefaultValues'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DefaultValuesInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_not_required_with_member_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_not_required_with_member_operation.dart index 11d5816bab..b4355ed2af 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_not_required_with_member_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_not_required_with_member_operation.dart @@ -71,24 +71,32 @@ class HttpChecksumNotRequiredWithMemberOperation extends _i1.HttpOperation< .add(_i3.WithChecksum(input.checksumAlgorithm!.value)); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumNotRequiredWithMember'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpChecksumNotRequiredWithMemberInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_not_required_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_not_required_operation.dart index 693c4590fd..06507be990 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_not_required_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_not_required_operation.dart @@ -73,24 +73,32 @@ class HttpChecksumReallyNotRequiredOperation extends _i1.HttpOperation< .add(_i3.WithChecksum(input.checksumAlgorithm!.value)); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumReallyNotRequired'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpChecksumReallyNotRequiredInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_required_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_required_operation.dart index 1fe8b452c0..32ee5cd587 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_required_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_really_required_operation.dart @@ -73,24 +73,32 @@ class HttpChecksumReallyRequiredOperation extends _i1.HttpOperation< b.requestInterceptors .add(_i3.WithChecksum(input.checksumAlgorithm?.value)); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumReallyRequired'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpChecksumReallyRequiredInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_operation.dart index 262f29cb48..bbcdd70332 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_operation.dart @@ -65,24 +65,32 @@ class HttpChecksumRequiredOperation extends _i1.HttpOperation<_i2.Uint8List, b.path = r'/required'; b.requestInterceptors.add(const _i3.WithChecksum()); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumRequired'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpChecksumRequiredInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_with_member_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_with_member_operation.dart index dc9abdf9bc..da7648249a 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_with_member_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/http_checksum_required_with_member_operation.dart @@ -69,24 +69,32 @@ class HttpChecksumRequiredWithMemberOperation extends _i1.HttpOperation< b.requestInterceptors .add(_i3.WithChecksum(input.checksumAlgorithm?.value)); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumRequiredWithMember'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpChecksumRequiredWithMemberInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/nested_collections_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/nested_collections_operation.dart index 2d5e5f05af..d2a6e730d5 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/nested_collections_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/custom/operation/nested_collections_operation.dart @@ -63,24 +63,32 @@ class NestedCollectionsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/nestedCollections'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedCollections'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( NestedCollectionsInput input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/aws_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/aws_config.dart index fd3e07082b..df714357dc 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/client_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/client_config.dart index e87934afa7..ed4d2aca83 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/client_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_error.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_error.dart index 668b86afe9..c443993778 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_error.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_error.dart @@ -43,20 +43,26 @@ abstract class CopyObjectError namespace: 'com.amazonaws.s3', shape: 'CopyObjectError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('CopyObjectError'); @@ -73,6 +79,7 @@ class CopyObjectErrorRestXmlSerializer CopyObjectError, _$CopyObjectError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -80,6 +87,7 @@ class CopyObjectErrorRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_output.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_output.dart index 1b22ff8590..c4a22342ab 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_output.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_output.dart @@ -43,8 +43,10 @@ abstract class CopyObjectOutput CopyObjectResult? get copyObjectResult; @override CopyObjectResult? getPayload() => copyObjectResult ?? CopyObjectResult(); + @override List get props => [copyObjectResult]; + @override String toString() { final helper = newBuiltValueToStringHelper('CopyObjectOutput') @@ -65,6 +67,7 @@ class CopyObjectOutputRestXmlSerializer CopyObjectOutput, _$CopyObjectOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -72,6 +75,7 @@ class CopyObjectOutputRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectResult deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_request.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_request.dart index 682875c5ea..5a445fa828 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_request.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_request.dart @@ -75,12 +75,14 @@ abstract class CopyObjectRequest @override CopyObjectRequestPayload getPayload() => CopyObjectRequestPayload(); + @override List get props => [ bucket, copySource, key, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('CopyObjectRequest') @@ -114,6 +116,7 @@ abstract class CopyObjectRequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('CopyObjectRequestPayload'); @@ -132,6 +135,7 @@ class CopyObjectRequestRestXmlSerializer CopyObjectRequestPayload, _$CopyObjectRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -139,6 +143,7 @@ class CopyObjectRequestRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_result.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_result.dart index a84058daf1..90680721d3 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_result.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/copy_object_result.dart @@ -29,6 +29,7 @@ abstract class CopyObjectResult String? get eTag; @override List get props => [eTag]; + @override String toString() { final helper = newBuiltValueToStringHelper('CopyObjectResult') @@ -49,6 +50,7 @@ class CopyObjectResultRestXmlSerializer CopyObjectResult, _$CopyObjectResult, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class CopyObjectResultRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectResult deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/environment_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/environment_config.dart index 4cc64cee25..6b3ac87cf3 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/file_config_settings.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/file_config_settings.dart index f5b6c07009..165f3e5dd9 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -227,7 +230,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -243,7 +246,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_output.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_output.dart index d4d8ccd49e..6d00939f4f 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_output.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_output.dart @@ -64,12 +64,14 @@ abstract class GetObjectOutput String? get contentRange; @override _i3.Stream> getPayload() => body; + @override List get props => [ body, contentLength, contentRange, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetObjectOutput') @@ -98,6 +100,7 @@ class GetObjectOutputRestXmlSerializer GetObjectOutput, _$GetObjectOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -105,6 +108,7 @@ class GetObjectOutputRestXmlSerializer shape: 'restXml', ) ]; + @override _i3.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_request.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_request.dart index 5bbc7f3561..d119d76e25 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_request.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/get_object_request.dart @@ -75,12 +75,14 @@ abstract class GetObjectRequest @override GetObjectRequestPayload getPayload() => GetObjectRequestPayload(); + @override List get props => [ bucket, key, range, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetObjectRequest') @@ -114,6 +116,7 @@ abstract class GetObjectRequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('GetObjectRequestPayload'); @@ -132,6 +135,7 @@ class GetObjectRequestRestXmlSerializer GetObjectRequestPayload, _$GetObjectRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -139,6 +143,7 @@ class GetObjectRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetObjectRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/operation_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/operation_config.dart index 19ff64ab02..7e6855ccc6 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/retry_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/retry_config.dart index d03c29e95e..bad896f59b 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -133,7 +136,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/s3_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/s3_config.dart index 5dae180a54..42666b3282 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/scoped_config.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/scoped_config.dart index 1732960b67..dc13dc75e9 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/copy_object_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/copy_object_operation.dart index 0963bc38d3..27ea724069 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/copy_object_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/copy_object_operation.dart @@ -90,8 +90,10 @@ class CopyObjectOperation extends _i1.HttpOperation 200; + @override CopyObjectOutput buildOutput( CopyObjectResult? payload, @@ -101,6 +103,7 @@ class CopyObjectOperation extends _i1.HttpOperation get errorTypes => const [ _i1.SmithyError( @@ -114,10 +117,13 @@ class CopyObjectOperation extends _i1.HttpOperation 'CopyObject'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -138,6 +144,7 @@ class CopyObjectOperation extends _i1.HttpOperation _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( CopyObjectRequest input, { diff --git a/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/get_object_operation.dart b/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/get_object_operation.dart index 48c7719543..e47bf65288 100644 --- a/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/get_object_operation.dart +++ b/packages/smithy/goldens/lib2/custom/lib/src/s3/operation/get_object_operation.dart @@ -90,8 +90,10 @@ class GetObjectOperation extends _i1.HttpOperation 200; + @override GetObjectOutput buildOutput( _i2.Stream> payload, @@ -101,12 +103,16 @@ class GetObjectOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'GetObject'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -127,6 +133,7 @@ class GetObjectOperation extends _i1.HttpOperation _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GetObjectRequest input, { diff --git a/packages/smithy/goldens/lib2/custom/pubspec.yaml b/packages/smithy/goldens/lib2/custom/pubspec.yaml index 050f256df3..bf526f2b4f 100644 --- a/packages/smithy/goldens/lib2/custom/pubspec.yaml +++ b/packages/smithy/goldens/lib2/custom/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: path: ../../../../aws_signature_v4 aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" meta: ^1.7.0 built_collection: ^5.0.0 shelf_router: ^1.1.0 @@ -41,6 +41,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/custom/test/custom/default_values_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/default_values_operation_test.dart index c0e7e3dedd..c93baa5652 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/default_values_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/default_values_operation_test.dart @@ -123,6 +123,7 @@ class DefaultValuesInputRestJson1Serializer @override Iterable get types => const [DefaultValuesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -130,6 +131,7 @@ class DefaultValuesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override DefaultValuesInput deserialize( Serializers serializers, @@ -285,6 +287,7 @@ class DefaultValuesOutputRestJson1Serializer @override Iterable get types => const [DefaultValuesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -292,6 +295,7 @@ class DefaultValuesOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DefaultValuesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_not_required_with_member_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_not_required_with_member_operation_test.dart index 8fa2744b96..696eb99587 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_not_required_with_member_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_not_required_with_member_operation_test.dart @@ -116,6 +116,7 @@ class HttpChecksumNotRequiredWithMemberInputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpChecksumNotRequiredWithMemberInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -123,6 +124,7 @@ class HttpChecksumNotRequiredWithMemberInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpChecksumNotRequiredWithMemberInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_not_required_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_not_required_operation_test.dart index acbd9e5cee..1a2608c7d1 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_not_required_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_not_required_operation_test.dart @@ -65,6 +65,7 @@ class HttpChecksumReallyNotRequiredInputRestJson1Serializer @override Iterable get types => const [HttpChecksumReallyNotRequiredInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +73,7 @@ class HttpChecksumReallyNotRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumReallyNotRequiredInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_required_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_required_operation_test.dart index 6c8e365fe9..dceee0f35c 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_required_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_really_required_operation_test.dart @@ -68,6 +68,7 @@ class HttpChecksumReallyRequiredInputRestJson1Serializer @override Iterable get types => const [HttpChecksumReallyRequiredInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -75,6 +76,7 @@ class HttpChecksumReallyRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumReallyRequiredInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_operation_test.dart index 793b4abd9b..3452ad31bc 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_operation_test.dart @@ -67,6 +67,7 @@ class HttpChecksumRequiredInputRestJson1Serializer @override Iterable get types => const [HttpChecksumRequiredInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -74,6 +75,7 @@ class HttpChecksumRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumRequiredInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_with_member_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_with_member_operation_test.dart index a4804f8429..939a7d74c3 100644 --- a/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_with_member_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/custom/http_checksum_required_with_member_operation_test.dart @@ -261,6 +261,7 @@ class HttpChecksumRequiredWithMemberInputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpChecksumRequiredWithMemberInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -268,6 +269,7 @@ class HttpChecksumRequiredWithMemberInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpChecksumRequiredWithMemberInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/s3/copy_object_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/s3/copy_object_operation_test.dart index f66424d931..9809fb7d05 100644 --- a/packages/smithy/goldens/lib2/custom/test/s3/copy_object_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/s3/copy_object_operation_test.dart @@ -117,6 +117,7 @@ class CopyObjectRequestRestXmlSerializer @override Iterable get types => const [CopyObjectRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -124,6 +125,7 @@ class CopyObjectRequestRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectRequest deserialize( Serializers serializers, @@ -177,6 +179,7 @@ class CopyObjectOutputRestXmlSerializer @override Iterable get types => const [CopyObjectOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -184,6 +187,7 @@ class CopyObjectOutputRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectOutput deserialize( Serializers serializers, @@ -227,6 +231,7 @@ class CopyObjectResultRestXmlSerializer @override Iterable get types => const [CopyObjectResult]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -234,6 +239,7 @@ class CopyObjectResultRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectResult deserialize( Serializers serializers, @@ -277,6 +283,7 @@ class CopyObjectErrorRestXmlSerializer @override Iterable get types => const [CopyObjectError]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -284,6 +291,7 @@ class CopyObjectErrorRestXmlSerializer shape: 'restXml', ) ]; + @override CopyObjectError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/custom/test/s3/get_object_operation_test.dart b/packages/smithy/goldens/lib2/custom/test/s3/get_object_operation_test.dart index 14592b540e..e5ecb8b54c 100644 --- a/packages/smithy/goldens/lib2/custom/test/s3/get_object_operation_test.dart +++ b/packages/smithy/goldens/lib2/custom/test/s3/get_object_operation_test.dart @@ -115,6 +115,7 @@ class GetObjectRequestRestXmlSerializer @override Iterable get types => const [GetObjectRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -122,6 +123,7 @@ class GetObjectRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetObjectRequest deserialize( Serializers serializers, @@ -175,6 +177,7 @@ class GetObjectOutputRestXmlSerializer @override Iterable get types => const [GetObjectOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -182,6 +185,7 @@ class GetObjectOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GetObjectOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/aws_config.dart index 3376b96fa0..d472b0ea8f 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigEc2QuerySerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigEc2QuerySerializer ..add(const _i2.XmlElementName('ClockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/client_config.dart index 246d363731..8901e8a513 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigEc2QuerySerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_error.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_error.dart index 928b5b42d0..eb0c2653b0 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_error.dart @@ -55,10 +55,13 @@ abstract class ComplexError namespace: 'aws.protocoltests.ec2', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -67,11 +70,13 @@ abstract class ComplexError Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -96,6 +101,7 @@ class ComplexErrorEc2QuerySerializer ComplexError, _$ComplexError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -103,6 +109,7 @@ class ComplexErrorEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart index c36fc696d4..a0ef5f82ca 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataEc2QuerySerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart index 13154256c5..cc4ff4f58a 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart index d76149fe5f..7c744b2747 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart index ee41614371..f126305c1a 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/environment_config.dart index 388483faf6..dbd9e4c494 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigEc2QuerySerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigEc2QuerySerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSessionToken != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart index abacaeabc3..8ea7ce9e22 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsEc2QuerySerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -243,7 +246,7 @@ class FileConfigSettingsEc2QuerySerializer ..add(const _i2.XmlElementName('Retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -251,7 +254,7 @@ class FileConfigSettingsEc2QuerySerializer ..add(const _i2.XmlElementName('Max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart index cdb820469e..442052dcb7 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/fractional_seconds_output.dart @@ -46,6 +46,7 @@ abstract class FractionalSecondsOutput datetime, httpdate, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -71,6 +72,7 @@ class FractionalSecondsOutputEc2QuerySerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class FractionalSecondsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart index 97ec209967..6635f7bcc6 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructEc2QuerySerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart index 0adc14ab52..2b9cbfc827 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/greeting_with_errors_output.dart @@ -37,6 +37,7 @@ abstract class GreetingWithErrorsOutput String? get greeting; @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -58,6 +59,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer GreetingWithErrorsOutput, _$GreetingWithErrorsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart index 268fd654bb..c5e92fb7dc 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputEc2QuerySerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart index 4fe0045ce8..ae23b348bc 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/ignores_wrapping_xml_name_output.dart @@ -39,6 +39,7 @@ abstract class IgnoresWrappingXmlNameOutput String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('IgnoresWrappingXmlNameOutput') @@ -60,6 +61,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer IgnoresWrappingXmlNameOutput, _$IgnoresWrappingXmlNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -67,6 +69,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart index a6b52ffe36..b7c849a252 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/invalid_greeting.dart @@ -48,8 +48,10 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.ec2', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -58,8 +60,10 @@ abstract class InvalidGreeting Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -80,6 +84,7 @@ class InvalidGreetingEc2QuerySerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -87,6 +92,7 @@ class InvalidGreetingEc2QuerySerializer shape: 'ec2Query', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart index da5b4b32e2..85d7c0a282 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_struct_with_list.dart @@ -32,6 +32,7 @@ abstract class NestedStructWithList _i2.BuiltList? get listArg; @override List get props => [listArg]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructWithList') @@ -53,6 +54,7 @@ class NestedStructWithListEc2QuerySerializer NestedStructWithList, _$NestedStructWithList, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +62,7 @@ class NestedStructWithListEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, @@ -114,7 +117,7 @@ class NestedStructWithListEc2QuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart index 5eba2367dc..bd7e364664 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/nested_structures_input.dart @@ -40,8 +40,10 @@ abstract class NestedStructuresInput StructArg? get nested; @override NestedStructuresInput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedStructuresInput') @@ -63,6 +65,7 @@ class NestedStructuresInputEc2QuerySerializer NestedStructuresInput, _$NestedStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class NestedStructuresInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart index 4f1c02c9d1..3c6720164c 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputEc2QuerySerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/operation_config.dart index 3273ef5b53..a4b5fc0421 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigEc2QuerySerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart index 8d61d8002f..5cb8cd4f10 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -47,8 +47,10 @@ abstract class QueryIdempotencyTokenAutoFillInput String? get token; @override QueryIdempotencyTokenAutoFillInput getPayload() => this; + @override List get props => [token]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer QueryIdempotencyTokenAutoFillInput, _$QueryIdempotencyTokenAutoFillInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart index d74dd66f71..343b5cb161 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_lists_input.dart @@ -59,6 +59,7 @@ abstract class QueryListsInput NestedStructWithList? get nestedWithList; @override QueryListsInput getPayload() => this; + @override List get props => [ listArg, @@ -67,6 +68,7 @@ abstract class QueryListsInput listArgWithXmlName, nestedWithList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryListsInput') @@ -103,6 +105,7 @@ class QueryListsInputEc2QuerySerializer QueryListsInput, _$QueryListsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +113,7 @@ class QueryListsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -211,7 +215,7 @@ class QueryListsInputEc2QuerySerializer .serialize( serializers, listArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -225,7 +229,7 @@ class QueryListsInputEc2QuerySerializer .serialize( serializers, complexListArg, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(GreetingStruct)], ), @@ -240,7 +244,7 @@ class QueryListsInputEc2QuerySerializer ).serialize( serializers, listArgWithXmlNameMember, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -255,7 +259,7 @@ class QueryListsInputEc2QuerySerializer ).serialize( serializers, listArgWithXmlName, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart index 16a88bc27c..d850ab020c 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/query_timestamps_input.dart @@ -49,12 +49,14 @@ abstract class QueryTimestampsInput DateTime? get epochTarget; @override QueryTimestampsInput getPayload() => this; + @override List get props => [ normalFormat, epochMember, epochTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryTimestampsInput') @@ -84,6 +86,7 @@ class QueryTimestampsInputEc2QuerySerializer QueryTimestampsInput, _$QueryTimestampsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class QueryTimestampsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, @@ -147,7 +151,7 @@ class QueryTimestampsInputEc2QuerySerializer ..add(const _i1.XmlElementName('NormalFormat')) ..add(serializers.serialize( normalFormat, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (epochMember != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart index 4683f49d9b..72c651b146 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output.dart @@ -38,6 +38,7 @@ abstract class RecursiveXmlShapesOutput RecursiveXmlShapesOutputNested1? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveXmlShapesOutput') @@ -59,6 +60,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer RecursiveXmlShapesOutput, _$RecursiveXmlShapesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart index 03757e0c5a..69c9bc6790 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer RecursiveXmlShapesOutputNested1, _$RecursiveXmlShapesOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart index e33a5165ba..4fcceab0d4 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/recursive_xml_shapes_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveXmlShapesOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer RecursiveXmlShapesOutputNested2, _$RecursiveXmlShapesOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/retry_config.dart index 7cc274201e..b38bfd336e 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigEc2QuerySerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (maxAttempts != null) { @@ -133,7 +136,7 @@ class RetryConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } return result$; diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/s3_config.dart index 1a58a18e10..80bd26695a 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigEc2QuerySerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigEc2QuerySerializer ..add(const _i2.XmlElementName('Use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart index c5875d654a..06a9868568 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigEc2QuerySerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart index 135bb936ea..9a4ee52f55 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_input_params_input.dart @@ -75,6 +75,7 @@ abstract class SimpleInputParamsInput String? get usesXmlName; @override SimpleInputParamsInput getPayload() => this; + @override List get props => [ foo, @@ -89,6 +90,7 @@ abstract class SimpleInputParamsInput hasQueryAndXmlName, usesXmlName, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('SimpleInputParamsInput') @@ -150,6 +152,7 @@ class SimpleInputParamsInputEc2QuerySerializer SimpleInputParamsInput, _$SimpleInputParamsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +160,7 @@ class SimpleInputParamsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, @@ -280,7 +284,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Baz')) ..add(serializers.serialize( baz, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (bam != null) { @@ -288,7 +292,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Bam')) ..add(serializers.serialize( bam, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (floatValue != null) { @@ -296,7 +300,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (boo != null) { @@ -304,7 +308,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Boo')) ..add(serializers.serialize( boo, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (qux != null) { @@ -312,7 +316,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('Qux')) ..add(serializers.serialize( qux, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } if (fooEnum != null) { @@ -320,7 +324,7 @@ class SimpleInputParamsInputEc2QuerySerializer ..add(const _i1.XmlElementName('FooEnum')) ..add(serializers.serialize( fooEnum, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (hasQueryName != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart index d2bc7b7e7b..d339413684 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/simple_scalar_xml_properties_output.dart @@ -82,6 +82,7 @@ abstract class SimpleScalarXmlPropertiesOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -140,6 +141,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer SimpleScalarXmlPropertiesOutput, _$SimpleScalarXmlPropertiesOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -147,6 +149,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, @@ -264,7 +267,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('TrueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (falseBooleanValue != null) { @@ -272,7 +275,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FalseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -280,7 +283,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('ByteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (shortValue != null) { @@ -288,7 +291,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('ShortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (integerValue != null) { @@ -296,7 +299,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntegerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -304,7 +307,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('LongValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (floatValue != null) { @@ -312,7 +315,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FloatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (doubleValue != null) { @@ -320,7 +323,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer ..add(const _i3.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } return result$; diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart index 3a7c79cebc..d67edb5259 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/struct_arg.dart @@ -43,6 +43,7 @@ abstract class StructArg otherArg, recursiveArg, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructArg') @@ -71,6 +72,7 @@ class StructArgEc2QuerySerializer StructArg, _$StructArg, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class StructArgEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructArg deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class StructArgEc2QuerySerializer ..add(const _i2.XmlElementName('OtherArg')) ..add(serializers.serialize( otherArg, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (recursiveArg != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart index 6efe542755..6d701e8a17 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberEc2QuerySerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart index 929bff30fd..ef65bfe5f7 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_blobs_output.dart @@ -38,6 +38,7 @@ abstract class XmlBlobsOutput _i2.Uint8List? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsOutput') @@ -58,6 +59,7 @@ class XmlBlobsOutputEc2QuerySerializer XmlBlobsOutput, _$XmlBlobsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -65,6 +67,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, @@ -110,7 +113,7 @@ class XmlBlobsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('Data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i2.Uint8List), + specifiedType: const FullType(_i2.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart index acb0be7648..caca4c3547 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlEnumsOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsOutput') @@ -104,6 +105,7 @@ class XmlEnumsOutputEc2QuerySerializer XmlEnumsOutput, _$XmlEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -216,7 +219,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -224,7 +227,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('FooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -235,7 +238,7 @@ class XmlEnumsOutputEc2QuerySerializer .serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -249,7 +252,7 @@ class XmlEnumsOutputEc2QuerySerializer .serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(FooEnum)], ), @@ -261,7 +264,7 @@ class XmlEnumsOutputEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart index 44effb25ed..fb2cfd30fd 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_int_enums_output.dart @@ -64,6 +64,7 @@ abstract class XmlIntEnumsOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsOutput') @@ -104,6 +105,7 @@ class XmlIntEnumsOutputEc2QuerySerializer XmlIntEnumsOutput, _$XmlIntEnumsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +113,7 @@ class XmlIntEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum2 != null) { @@ -216,7 +219,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum3 != null) { @@ -224,7 +227,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlElementName('IntEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnumList != null) { @@ -235,7 +238,7 @@ class XmlIntEnumsOutputEc2QuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(IntegerEnum)], ), @@ -249,7 +252,7 @@ class XmlIntEnumsOutputEc2QuerySerializer .serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(IntegerEnum)], ), @@ -261,7 +264,7 @@ class XmlIntEnumsOutputEc2QuerySerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart index b5c3b71e1b..e010fcdba5 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_lists_output.dart @@ -111,6 +111,7 @@ abstract class XmlListsOutput flattenedListWithNamespace, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsOutput') @@ -183,6 +184,7 @@ class XmlListsOutputEc2QuerySerializer XmlListsOutput, _$XmlListsOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -190,6 +192,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -385,7 +388,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -399,7 +402,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltSet, [FullType(String)], ), @@ -413,7 +416,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(int)], ), @@ -427,7 +430,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(bool)], ), @@ -441,7 +444,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(DateTime)], ), @@ -455,7 +458,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(FooEnum)], ), @@ -469,7 +472,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(IntegerEnum)], ), @@ -483,7 +486,7 @@ class XmlListsOutputEc2QuerySerializer .serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [ FullType( @@ -503,7 +506,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -516,7 +519,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -529,7 +532,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -543,7 +546,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -556,7 +559,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), @@ -571,7 +574,7 @@ class XmlListsOutputEc2QuerySerializer ).serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(StructureListMember)], ), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart index 4c2712c566..3076b63a61 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedEc2QuerySerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -150,7 +153,7 @@ class XmlNamespaceNestedEc2QuerySerializer ).serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart index 8c31bb44db..cd9dc65f42 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_namespaces_output.dart @@ -38,6 +38,7 @@ abstract class XmlNamespacesOutput XmlNamespaceNested? get nested; @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesOutput') @@ -58,6 +59,7 @@ class XmlNamespacesOutputEc2QuerySerializer XmlNamespacesOutput, _$XmlNamespacesOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class XmlNamespacesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart index affae5bc08..b187f7fad0 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/model/xml_timestamps_output.dart @@ -67,6 +67,7 @@ abstract class XmlTimestampsOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsOutput') @@ -111,6 +112,7 @@ class XmlTimestampsOutputEc2QuerySerializer XmlTimestampsOutput, _$XmlTimestampsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -118,6 +120,7 @@ class XmlTimestampsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, @@ -205,7 +208,7 @@ class XmlTimestampsOutputEc2QuerySerializer ..add(const _i2.XmlElementName('Normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (dateTime != null) { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart index 61fe32eabe..251ed2b61b 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart index 46932eb30d..291412ed06 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart index 813de335b8..0916d80853 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart index 38f36ad961..3550ec2f68 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/endpoint_with_host_label_operation.dart @@ -65,24 +65,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart index 2352e62798..4e4e4dff41 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart index a93b6f406e..0a294ca679 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/greeting_with_errors_operation.dart @@ -67,8 +67,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutput payload, @@ -78,6 +80,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -99,14 +102,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart index a66c7efdb1..bb0a2efdb6 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart index e41a3c6b3d..7e09ce1125 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/ignores_wrapping_xml_name_operation.dart @@ -65,8 +65,10 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([IgnoresWrappingXmlNameOutput? output]) => 200; + @override IgnoresWrappingXmlNameOutput buildOutput( IgnoresWrappingXmlNameOutput payload, @@ -76,16 +78,22 @@ class IgnoresWrappingXmlNameOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoresWrappingXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart index 3163947ef4..a45f1ecb66 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/nested_structures_operation.dart @@ -67,24 +67,32 @@ class NestedStructuresOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( NestedStructuresInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart index 4bdce12d77..0e33ed8ef8 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/no_input_and_output_operation.dart @@ -65,8 +65,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -76,16 +78,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart index cca2272c49..728984038b 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -70,24 +70,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart index 44fd25725b..5378bdced0 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_lists_operation.dart @@ -67,24 +67,32 @@ class QueryListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryListsInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart index 3dadf14931..422ccbef2d 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/query_timestamps_operation.dart @@ -67,24 +67,32 @@ class QueryTimestampsOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryTimestampsInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart index d1857a636f..0960a400ed 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/recursive_xml_shapes_operation.dart @@ -65,8 +65,10 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([RecursiveXmlShapesOutput? output]) => 200; + @override RecursiveXmlShapesOutput buildOutput( RecursiveXmlShapesOutput payload, @@ -76,16 +78,22 @@ class RecursiveXmlShapesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveXmlShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart index 85fa5b9748..abec1cbc01 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_input_params_operation.dart @@ -67,24 +67,32 @@ class SimpleInputParamsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleInputParams'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SimpleInputParamsInput input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart index 1c4a2b9613..ff460ce76b 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/simple_scalar_xml_properties_operation.dart @@ -66,8 +66,10 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/'; }); + @override int successCode([SimpleScalarXmlPropertiesOutput? output]) => 200; + @override SimpleScalarXmlPropertiesOutput buildOutput( SimpleScalarXmlPropertiesOutput payload, @@ -77,16 +79,22 @@ class SimpleScalarXmlPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarXmlProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart index 2a68d722e0..d2f43374b6 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_blobs_operation.dart @@ -65,8 +65,10 @@ class XmlBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -76,16 +78,22 @@ class XmlBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart index 45f2d08bb3..62504ac401 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_blobs_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyBlobsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlBlobsOutput? output]) => 200; + @override XmlBlobsOutput buildOutput( XmlBlobsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyBlobsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart index ad9f8f8cbd..79d5421481 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_empty_lists_operation.dart @@ -63,8 +63,10 @@ class XmlEmptyListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -74,16 +76,22 @@ class XmlEmptyListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart index 268427ec33..457f01ecbf 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_enums_operation.dart @@ -65,8 +65,10 @@ class XmlEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlEnumsOutput? output]) => 200; + @override XmlEnumsOutput buildOutput( XmlEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart index 2b73436f94..6b021593fb 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_int_enums_operation.dart @@ -65,8 +65,10 @@ class XmlIntEnumsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlIntEnumsOutput? output]) => 200; + @override XmlIntEnumsOutput buildOutput( XmlIntEnumsOutput payload, @@ -76,16 +78,22 @@ class XmlIntEnumsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart index f06e73ce64..b906ef130d 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_lists_operation.dart @@ -65,8 +65,10 @@ class XmlListsOperation extends _i1 b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlListsOutput? output]) => 200; + @override XmlListsOutput buildOutput( XmlListsOutput payload, @@ -76,16 +78,22 @@ class XmlListsOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart index 0f54b04d04..8088394df1 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_namespaces_operation.dart @@ -63,8 +63,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlNamespacesOutput? output]) => 200; + @override XmlNamespacesOutput buildOutput( XmlNamespacesOutput payload, @@ -74,16 +76,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart index f45b8547b1..c0866d8776 100644 --- a/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/ec2Query/lib/src/ec2_protocol/operation/xml_timestamps_operation.dart @@ -65,8 +65,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/'; }); + @override int successCode([XmlTimestampsOutput? output]) => 200; + @override XmlTimestampsOutput buildOutput( XmlTimestampsOutput payload, @@ -76,16 +78,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/ec2Query/pubspec.yaml b/packages/smithy/goldens/lib2/ec2Query/pubspec.yaml index fcd24fc3cf..6f71d46cd7 100644 --- a/packages/smithy/goldens/lib2/ec2Query/pubspec.yaml +++ b/packages/smithy/goldens/lib2/ec2Query/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" built_collection: ^5.0.0 fixnum: ^1.0.0 meta: ^1.7.0 @@ -38,6 +38,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart index 7a0d75b03c..a1e3f96cc4 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart index 6bd2d58f0d..782e9ea467 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/empty_input_and_empty_output_operation_test.dart @@ -97,6 +97,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -104,6 +105,7 @@ class EmptyInputAndEmptyOutputInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -130,6 +132,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -137,6 +140,7 @@ class EmptyInputAndEmptyOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart index abd150d431..2e0425af42 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/endpoint_with_host_label_operation_test.dart @@ -60,6 +60,7 @@ class HostLabelInputEc2QuerySerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -67,6 +68,7 @@ class HostLabelInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart index 5b472eaf30..e6e77c1d84 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/fractional_seconds_operation_test.dart @@ -89,6 +89,7 @@ class FractionalSecondsOutputEc2QuerySerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class FractionalSecondsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart index 620e1e2bff..02069df554 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/greeting_with_errors_operation_test.dart @@ -132,6 +132,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -139,6 +140,7 @@ class GreetingWithErrorsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -182,6 +184,7 @@ class ComplexErrorEc2QuerySerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +192,7 @@ class ComplexErrorEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -238,6 +242,7 @@ class ComplexNestedErrorDataEc2QuerySerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -245,6 +250,7 @@ class ComplexNestedErrorDataEc2QuerySerializer shape: 'ec2Query', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -288,6 +294,7 @@ class InvalidGreetingEc2QuerySerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -295,6 +302,7 @@ class InvalidGreetingEc2QuerySerializer shape: 'ec2Query', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart index 1d8e464adb..41f453c76b 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/ignores_wrapping_xml_name_operation_test.dart @@ -57,6 +57,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer @override Iterable get types => const [IgnoresWrappingXmlNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoresWrappingXmlNameOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override IgnoresWrappingXmlNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart index 82f1b06817..d4d50800cd 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/nested_structures_operation_test.dart @@ -70,6 +70,7 @@ class NestedStructuresInputEc2QuerySerializer @override Iterable get types => const [NestedStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class NestedStructuresInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class StructArgEc2QuerySerializer @override Iterable get types => const [StructArg]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class StructArgEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructArg deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart index 2d0c3c63af..bd2ec0969a 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/no_input_and_output_operation_test.dart @@ -92,6 +92,7 @@ class NoInputAndOutputOutputEc2QuerySerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -99,6 +100,7 @@ class NoInputAndOutputOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart index 3eea729549..6f8aaeb721 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -97,6 +97,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -104,6 +105,7 @@ class QueryIdempotencyTokenAutoFillInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_lists_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_lists_operation_test.dart index 0756ee179b..c87ef54217 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_lists_operation_test.dart @@ -261,6 +261,7 @@ class QueryListsInputEc2QuerySerializer @override Iterable get types => const [QueryListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -268,6 +269,7 @@ class QueryListsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryListsInput deserialize( Serializers serializers, @@ -343,6 +345,7 @@ class GreetingStructEc2QuerySerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -350,6 +353,7 @@ class GreetingStructEc2QuerySerializer shape: 'ec2Query', ) ]; + @override GreetingStruct deserialize( Serializers serializers, @@ -394,6 +398,7 @@ class NestedStructWithListEc2QuerySerializer @override Iterable get types => const [NestedStructWithList]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -401,6 +406,7 @@ class NestedStructWithListEc2QuerySerializer shape: 'ec2Query', ) ]; + @override NestedStructWithList deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart index 5443b63195..ee6b5aee92 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/query_timestamps_operation_test.dart @@ -64,6 +64,7 @@ class QueryTimestampsInputEc2QuerySerializer @override Iterable get types => const [QueryTimestampsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class QueryTimestampsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override QueryTimestampsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart index 5f0d6ca32b..9d95ce92eb 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/recursive_xml_shapes_operation_test.dart @@ -71,6 +71,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class RecursiveXmlShapesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutput deserialize( Serializers serializers, @@ -122,6 +124,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +132,7 @@ class RecursiveXmlShapesOutputNested1Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested1 deserialize( Serializers serializers, @@ -178,6 +182,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer @override Iterable get types => const [RecursiveXmlShapesOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -185,6 +190,7 @@ class RecursiveXmlShapesOutputNested2Ec2QuerySerializer shape: 'ec2Query', ) ]; + @override RecursiveXmlShapesOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart index 5ae60cb0d5..684a29c829 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_input_params_operation_test.dart @@ -537,6 +537,7 @@ class SimpleInputParamsInputEc2QuerySerializer @override Iterable get types => const [SimpleInputParamsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -544,6 +545,7 @@ class SimpleInputParamsInputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleInputParamsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart index 23301d767c..3bc041e3f0 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/simple_scalar_xml_properties_operation_test.dart @@ -182,6 +182,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer @override Iterable get types => const [SimpleScalarXmlPropertiesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -189,6 +190,7 @@ class SimpleScalarXmlPropertiesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override SimpleScalarXmlPropertiesOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart index 6e53d6d78f..7caa340ea8 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_blobs_operation_test.dart @@ -55,6 +55,7 @@ class XmlBlobsOutputEc2QuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart index 9b5cf7830a..39cddc52f5 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_blobs_operation_test.dart @@ -89,6 +89,7 @@ class XmlBlobsOutputEc2QuerySerializer @override Iterable get types => const [XmlBlobsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class XmlBlobsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlBlobsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart index 087e97b9a3..81eec06949 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_empty_lists_operation_test.dart @@ -63,6 +63,7 @@ class XmlListsOutputEc2QuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -226,6 +228,7 @@ class StructureListMemberEc2QuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -233,6 +236,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart index 13b4e0cd3d..36c974c2eb 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlEnumsOutputEc2QuerySerializer @override Iterable get types => const [XmlEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart index 172219b021..dfdbcd9736 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_int_enums_operation_test.dart @@ -71,6 +71,7 @@ class XmlIntEnumsOutputEc2QuerySerializer @override Iterable get types => const [XmlIntEnumsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class XmlIntEnumsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlIntEnumsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart index 064e10d7d7..0765069b0f 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_lists_operation_test.dart @@ -129,6 +129,7 @@ class XmlListsOutputEc2QuerySerializer @override Iterable get types => const [XmlListsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +137,7 @@ class XmlListsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlListsOutput deserialize( Serializers serializers, @@ -292,6 +294,7 @@ class StructureListMemberEc2QuerySerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -299,6 +302,7 @@ class StructureListMemberEc2QuerySerializer shape: 'ec2Query', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart index b9550473fa..245e7e59cb 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_namespaces_operation_test.dart @@ -66,6 +66,7 @@ class XmlNamespacesOutputEc2QuerySerializer @override Iterable get types => const [XmlNamespacesOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -73,6 +74,7 @@ class XmlNamespacesOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespacesOutput deserialize( Serializers serializers, @@ -116,6 +118,7 @@ class XmlNamespaceNestedEc2QuerySerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -123,6 +126,7 @@ class XmlNamespaceNestedEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart index b22972e8b7..1eb32710d2 100644 --- a/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/ec2Query/test/ec2_protocol/xml_timestamps_operation_test.dart @@ -256,6 +256,7 @@ class XmlTimestampsOutputEc2QuerySerializer @override Iterable get types => const [XmlTimestampsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -263,6 +264,7 @@ class XmlTimestampsOutputEc2QuerySerializer shape: 'ec2Query', ) ]; + @override XmlTimestampsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/aws_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/aws_config.dart index 08fe922ff5..776a3af71e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/bad_request_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/bad_request_exception.dart index 72eb503cd2..7352466046 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/bad_request_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/bad_request_exception.dart @@ -45,18 +45,23 @@ abstract class BadRequestException namespace: 'com.amazonaws.apigateway', shape: 'BadRequestException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('BadRequestException') @@ -77,6 +82,7 @@ class BadRequestExceptionRestJson1Serializer BadRequestException, _$BadRequestException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -84,6 +90,7 @@ class BadRequestExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override BadRequestException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/client_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/client_config.dart index f2eea86a4e..541b0bfae6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart index 32d3f1b211..33b4f558b8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/endpoint_configuration.dart @@ -43,6 +43,7 @@ abstract class EndpointConfiguration types, vpcEndpointIds, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EndpointConfiguration') @@ -68,6 +69,7 @@ class EndpointConfigurationRestJson1Serializer EndpointConfiguration, _$EndpointConfiguration, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -75,6 +77,7 @@ class EndpointConfigurationRestJson1Serializer shape: 'restJson1', ) ]; + @override EndpointConfiguration deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/environment_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/environment_config.dart index c507a911b8..0162aaca8f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/file_config_settings.dart index 139814d1d7..01d65d94ce 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart index 3b269c7862..66ef17f92f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/get_rest_apis_request.dart @@ -56,11 +56,13 @@ abstract class GetRestApisRequest int? get limit; @override GetRestApisRequestPayload getPayload() => GetRestApisRequestPayload(); + @override List get props => [ position, limit, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetRestApisRequest') @@ -90,6 +92,7 @@ abstract class GetRestApisRequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('GetRestApisRequestPayload'); @@ -108,6 +111,7 @@ class GetRestApisRequestRestJson1Serializer GetRestApisRequestPayload, _$GetRestApisRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class GetRestApisRequestRestJson1Serializer shape: 'restJson1', ) ]; + @override GetRestApisRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/operation_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/operation_config.dart index 22f4e0c9cd..d5b71f5545 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_api.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_api.dart index fecb6d1fa8..2287188747 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_api.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_api.dart @@ -86,6 +86,7 @@ abstract class RestApi tags, disableExecuteApiEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RestApi') @@ -154,6 +155,7 @@ class RestApiRestJson1Serializer RestApi, _$RestApi, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +163,7 @@ class RestApiRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApi deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_apis.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_apis.dart index 4c7a35c1ea..21bdd5126a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_apis.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/rest_apis.dart @@ -47,6 +47,7 @@ abstract class RestApis items, position, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RestApis') @@ -71,6 +72,7 @@ class RestApisRestJson1Serializer RestApis, _$RestApis, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +80,7 @@ class RestApisRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApis deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/retry_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/retry_config.dart index bba74e66f6..ba393bd9f5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/s3_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/s3_config.dart index a697d76ebd..2b7cc4ea3b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/scoped_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/scoped_config.dart index 7674652452..07572adf4d 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart index 96fe5d5996..e95986dcee 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/too_many_requests_exception.dart @@ -57,26 +57,32 @@ abstract class TooManyRequestsException TooManyRequestsExceptionPayload((b) { b.message = message; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'com.amazonaws.apigateway', shape: 'TooManyRequestsException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 429; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ retryAfterSeconds, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TooManyRequestsException') @@ -108,6 +114,7 @@ abstract class TooManyRequestsExceptionPayload String? get message; @override List get props => [message]; + @override String toString() { final helper = @@ -132,6 +139,7 @@ class TooManyRequestsExceptionRestJson1Serializer TooManyRequestsExceptionPayload, _$TooManyRequestsExceptionPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -139,6 +147,7 @@ class TooManyRequestsExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override TooManyRequestsExceptionPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart index 685e66268b..4b6462ed6f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/model/unauthorized_exception.dart @@ -45,18 +45,23 @@ abstract class UnauthorizedException namespace: 'com.amazonaws.apigateway', shape: 'UnauthorizedException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 401; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnauthorizedException') @@ -78,6 +83,7 @@ class UnauthorizedExceptionRestJson1Serializer UnauthorizedException, _$UnauthorizedException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -85,6 +91,7 @@ class UnauthorizedExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override UnauthorizedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart index a8e99ac971..7f4bcf50c9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/api_gateway/operation/get_rest_apis_operation.dart @@ -103,8 +103,10 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< ); } }); + @override int successCode([RestApis? output]) => 200; + @override RestApis buildOutput( RestApis payload, @@ -114,6 +116,7 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -148,14 +151,19 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< builder: UnauthorizedException.fromResponse, ), ]; + @override String get runtimeTypeName => 'GetRestApis'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GetRestApisRequest input, { @@ -177,9 +185,11 @@ class GetRestApisOperation extends _i1.PaginatedHttpOperation< @override String? getToken(RestApis output) => output.position; + @override _i2.BuiltList getItems(RestApis output) => output.items ?? _i2.BuiltList(); + @override GetRestApisRequest rebuildInput( GetRestApisRequest input, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/archive_creation_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/archive_creation_output.dart index 6e74a28bb2..7dbc111583 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/archive_creation_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/archive_creation_output.dart @@ -60,12 +60,14 @@ abstract class ArchiveCreationOutput String? get archiveId; @override ArchiveCreationOutputPayload getPayload() => ArchiveCreationOutputPayload(); + @override List get props => [ location, checksum, archiveId, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ArchiveCreationOutput') @@ -101,6 +103,7 @@ abstract class ArchiveCreationOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ArchiveCreationOutputPayload'); @@ -120,6 +123,7 @@ class ArchiveCreationOutputRestJson1Serializer ArchiveCreationOutputPayload, _$ArchiveCreationOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -127,6 +131,7 @@ class ArchiveCreationOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ArchiveCreationOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/aws_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/aws_config.dart index 53a1eb2e6e..3f7df19058 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/client_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/client_config.dart index cfff810dcb..ced78f1e2b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/environment_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/environment_config.dart index fcd94a3992..0bee42651c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/file_config_settings.dart index 41dd3b7212..f9b9188617 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart index c60668fef6..870ee837f0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/invalid_parameter_value_exception.dart @@ -56,22 +56,27 @@ abstract class InvalidParameterValueException namespace: 'com.amazonaws.glacier', shape: 'InvalidParameterValueException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidParameterValueException') @@ -101,6 +106,7 @@ class InvalidParameterValueExceptionRestJson1Serializer InvalidParameterValueException, _$InvalidParameterValueException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +114,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart index f9e5c0b473..b72f1a443c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/missing_parameter_value_exception.dart @@ -56,22 +56,27 @@ abstract class MissingParameterValueException namespace: 'com.amazonaws.glacier', shape: 'MissingParameterValueException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MissingParameterValueException') @@ -101,6 +106,7 @@ class MissingParameterValueExceptionRestJson1Serializer MissingParameterValueException, _$MissingParameterValueException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +114,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/operation_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/operation_config.dart index c4faad65de..4bb47641aa 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/request_timeout_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/request_timeout_exception.dart index 3d5ab10354..0c0685d97b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/request_timeout_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/request_timeout_exception.dart @@ -54,22 +54,27 @@ abstract class RequestTimeoutException namespace: 'com.amazonaws.glacier', shape: 'RequestTimeoutException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 408; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RequestTimeoutException') @@ -99,6 +104,7 @@ class RequestTimeoutExceptionRestJson1Serializer RequestTimeoutException, _$RequestTimeoutException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/resource_not_found_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/resource_not_found_exception.dart index b6099cd2ab..744196affd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/resource_not_found_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/resource_not_found_exception.dart @@ -54,22 +54,27 @@ abstract class ResourceNotFoundException namespace: 'com.amazonaws.glacier', shape: 'ResourceNotFoundException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 404; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResourceNotFoundException') @@ -99,6 +104,7 @@ class ResourceNotFoundExceptionRestJson1Serializer ResourceNotFoundException, _$ResourceNotFoundException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/retry_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/retry_config.dart index b7ca1382b7..d942dce712 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/s3_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/s3_config.dart index cdb4635fa8..2bc3cfa10b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/scoped_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/scoped_config.dart index c84e08c892..e2fdde57a8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/service_unavailable_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/service_unavailable_exception.dart index df565ba47a..9e9def71e1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/service_unavailable_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/service_unavailable_exception.dart @@ -54,22 +54,27 @@ abstract class ServiceUnavailableException namespace: 'com.amazonaws.glacier', shape: 'ServiceUnavailableException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ type, code, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ServiceUnavailableException') @@ -99,6 +104,7 @@ class ServiceUnavailableExceptionRestJson1Serializer ServiceUnavailableException, _$ServiceUnavailableException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -106,6 +112,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_archive_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_archive_input.dart index a9dc16d0e4..4a5bbf26bd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_archive_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_archive_input.dart @@ -93,6 +93,7 @@ abstract class UploadArchiveInput @override _i2.Stream> getPayload() => body; + @override List get props => [ vaultName, @@ -101,6 +102,7 @@ abstract class UploadArchiveInput checksum, body, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadArchiveInput') @@ -137,6 +139,7 @@ class UploadArchiveInputRestJson1Serializer UploadArchiveInput, _$UploadArchiveInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -144,6 +147,7 @@ class UploadArchiveInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart index 58b34a0d78..34a5336e88 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_input.dart @@ -101,6 +101,7 @@ abstract class UploadMultipartPartInput @override _i2.Stream> getPayload() => body; + @override List get props => [ accountId, @@ -110,6 +111,7 @@ abstract class UploadMultipartPartInput range, body, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadMultipartPartInput') @@ -151,6 +153,7 @@ class UploadMultipartPartInputRestJson1Serializer UploadMultipartPartInput, _$UploadMultipartPartInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -158,6 +161,7 @@ class UploadMultipartPartInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart index bd09e47c78..94bb469264 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/model/upload_multipart_part_output.dart @@ -45,8 +45,10 @@ abstract class UploadMultipartPartOutput @override UploadMultipartPartOutputPayload getPayload() => UploadMultipartPartOutputPayload(); + @override List get props => [checksum]; + @override String toString() { final helper = newBuiltValueToStringHelper('UploadMultipartPartOutput') @@ -74,6 +76,7 @@ abstract class UploadMultipartPartOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class UploadMultipartPartOutputRestJson1Serializer UploadMultipartPartOutputPayload, _$UploadMultipartPartOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class UploadMultipartPartOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_archive_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_archive_operation.dart index 9d1673c386..672772cab6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_archive_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_archive_operation.dart @@ -89,8 +89,10 @@ class UploadArchiveOperation extends _i1.HttpOperation<_i2.Stream>, } } }); + @override int successCode([ArchiveCreationOutput? output]) => 201; + @override ArchiveCreationOutput buildOutput( ArchiveCreationOutputPayload payload, @@ -100,6 +102,7 @@ class UploadArchiveOperation extends _i1.HttpOperation<_i2.Stream>, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError>, builder: ServiceUnavailableException.fromResponse, ), ]; + @override String get runtimeTypeName => 'UploadArchive'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UploadArchiveInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart index 30b37badb1..0e1fd07478 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/glacier/operation/upload_multipart_part_operation.dart @@ -96,8 +96,10 @@ class UploadMultipartPartOperation extends _i1.HttpOperation< } } }); + @override int successCode([UploadMultipartPartOutput? output]) => 204; + @override UploadMultipartPartOutput buildOutput( UploadMultipartPartOutputPayload payload, @@ -107,6 +109,7 @@ class UploadMultipartPartOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError 'UploadMultipartPart'; + @override _i4.AWSRetryer get retryer => _i4.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UploadMultipartPartInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart index 8de70dc27c..76f51289bd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/all_query_string_types_input.dart @@ -213,6 +213,7 @@ abstract class AllQueryStringTypesInput @override AllQueryStringTypesInputPayload getPayload() => AllQueryStringTypesInputPayload(); + @override List get props => [ queryString, @@ -237,6 +238,7 @@ abstract class AllQueryStringTypesInput queryIntegerEnumList, queryParamsMapOfStringList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AllQueryStringTypesInput') @@ -344,6 +346,7 @@ abstract class AllQueryStringTypesInputPayload @override List get props => []; + @override String toString() { final helper = @@ -364,6 +367,7 @@ class AllQueryStringTypesInputRestJson1Serializer AllQueryStringTypesInputPayload, _$AllQueryStringTypesInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -371,6 +375,7 @@ class AllQueryStringTypesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override AllQueryStringTypesInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/aws_config.dart index 756b47f09f..20d8cd954b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/client_config.dart index 3ff4be9981..53f04108b0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_error.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_error.dart index 569057d080..4ce59e4522 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_error.dart @@ -68,29 +68,36 @@ abstract class ComplexError } b.topLevel = topLevel; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'aws.protocoltests.restjson', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 403; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ header, topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -127,6 +134,7 @@ abstract class ComplexErrorPayload nested, topLevel, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexErrorPayload') @@ -153,6 +161,7 @@ class ComplexErrorRestJson1Serializer ComplexErrorPayload, _$ComplexErrorPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -160,6 +169,7 @@ class ComplexErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexErrorPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart index 5d5beb65ec..f2b50b2a73 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataRestJson1Serializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart index 9188123e18..cfa8b20803 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_and_variable_query_string_input.dart @@ -59,11 +59,13 @@ abstract class ConstantAndVariableQueryStringInput @override ConstantAndVariableQueryStringInputPayload getPayload() => ConstantAndVariableQueryStringInputPayload(); + @override List get props => [ baz, maybeSet, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class ConstantAndVariableQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i1 ConstantAndVariableQueryStringInputPayload, _$ConstantAndVariableQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override ConstantAndVariableQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart index 0270c7385c..acb10d1149 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/constant_query_string_input.dart @@ -59,8 +59,10 @@ abstract class ConstantQueryStringInput @override ConstantQueryStringInputPayload getPayload() => ConstantQueryStringInputPayload(); + @override List get props => [hello]; + @override String toString() { final helper = newBuiltValueToStringHelper('ConstantQueryStringInput') @@ -88,6 +90,7 @@ abstract class ConstantQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class ConstantQueryStringInputRestJson1Serializer ConstantQueryStringInputPayload, _$ConstantQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class ConstantQueryStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override ConstantQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart index 019757aa7d..ca245808a9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputRestJson1Serializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart index b591b4126b..be4bf990eb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_as_payload_input_output.dart @@ -56,8 +56,10 @@ abstract class DocumentTypeAsPayloadInputOutput _i2.JsonObject? get documentValue; @override _i2.JsonObject? getPayload() => documentValue; + @override List get props => [documentValue]; + @override String toString() { final helper = @@ -80,6 +82,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer DocumentTypeAsPayloadInputOutput, _$DocumentTypeAsPayloadInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -87,6 +90,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.JsonObject deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart index e572f77473..e9b82a3878 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/document_type_input_output.dart @@ -54,11 +54,13 @@ abstract class DocumentTypeInputOutput _i3.JsonObject? get documentValue; @override DocumentTypeInputOutput getPayload() => this; + @override List get props => [ stringValue, documentValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DocumentTypeInputOutput') @@ -84,6 +86,7 @@ class DocumentTypeInputOutputRestJson1Serializer DocumentTypeInputOutput, _$DocumentTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class DocumentTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart index b398f900f6..6de1cf6d3c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart index c507fc3b75..218ec1ad6d 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart index 8635bbc7b9..da3c464d46 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/enum_payload_input.dart @@ -50,8 +50,10 @@ abstract class EnumPayloadInput StringEnum? get payload; @override StringEnum? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnumPayloadInput') @@ -72,6 +74,7 @@ class EnumPayloadInputRestJson1Serializer EnumPayloadInput, _$EnumPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class EnumPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StringEnum deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/environment_config.dart index 8f9402e930..4f23c1f654 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart index a056acfbfc..c7fde8623e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/foo_error.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/foo_error.dart index 356d3d7c61..cee100a091 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/foo_error.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/foo_error.dart @@ -45,20 +45,26 @@ abstract class FooError namespace: 'aws.protocoltests.restjson', shape: 'FooError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 500; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('FooError'); @@ -75,6 +81,7 @@ class FooErrorRestJson1Serializer FooError, _$FooError, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +89,7 @@ class FooErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override FooError deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart index 584cf34117..7be61f388b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputRestJson1Serializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart index 6f1e67ce65..3fd6c79874 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_struct.dart @@ -43,8 +43,10 @@ abstract class GreetingStruct String? get hi; @override GreetingStruct getPayload() => this; + @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -65,6 +67,7 @@ class GreetingStructRestJson1Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -72,6 +75,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart index 043911b28a..a477d68cc4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/greeting_with_errors_output.dart @@ -45,8 +45,10 @@ abstract class GreetingWithErrorsOutput @override GreetingWithErrorsOutputPayload getPayload() => GreetingWithErrorsOutputPayload(); + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -74,6 +76,7 @@ abstract class GreetingWithErrorsOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class GreetingWithErrorsOutputRestJson1Serializer GreetingWithErrorsOutputPayload, _$GreetingWithErrorsOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class GreetingWithErrorsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingWithErrorsOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart index a569524b60..a69bae733d 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputRestJson1Serializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart index b6a1d4d879..60e5385ff8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_checksum_required_input_output.dart @@ -47,8 +47,10 @@ abstract class HttpChecksumRequiredInputOutput String? get foo; @override HttpChecksumRequiredInputOutput getPayload() => this; + @override List get props => [foo]; + @override String toString() { final helper = @@ -71,6 +73,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer HttpChecksumRequiredInputOutput, _$HttpChecksumRequiredInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumRequiredInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart index f3cc7f652d..b12cbba2e3 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPayloadTraitsInputOutput') @@ -98,6 +100,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer HttpPayloadTraitsInputOutput, _$HttpPayloadTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -105,6 +108,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart index 943f375482..df8b8353ae 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_traits_with_media_type_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsWithMediaTypeInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -99,6 +101,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer HttpPayloadTraitsWithMediaTypeInputOutput, _$HttpPayloadTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +109,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart index 5b71580b62..626f09542e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_payload_with_structure_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithStructureInputOutput NestedPayload? get nested; @override NestedPayload? getPayload() => nested ?? NestedPayload(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer HttpPayloadWithStructureInputOutput, _$HttpPayloadWithStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart index c3aeb79d54..10201c318a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_input.dart @@ -40,8 +40,10 @@ abstract class HttpPrefixHeadersInResponseInput @override HttpPrefixHeadersInResponseInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = @@ -60,6 +62,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer HttpPrefixHeadersInResponseInput, _$HttpPrefixHeadersInResponseInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart index 5aa7609642..b595f44495 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_in_response_output.dart @@ -50,8 +50,10 @@ abstract class HttpPrefixHeadersInResponseOutput @override HttpPrefixHeadersInResponseOutputPayload getPayload() => HttpPrefixHeadersInResponseOutputPayload(); + @override List get props => [prefixHeaders]; + @override String toString() { final helper = @@ -80,6 +82,7 @@ abstract class HttpPrefixHeadersInResponseOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -100,6 +103,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer extends _i2 HttpPrefixHeadersInResponseOutputPayload, _$HttpPrefixHeadersInResponseOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -107,6 +111,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer extends _i2 shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart index b72b41f172..1b4fa27c8c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_input.dart @@ -63,11 +63,13 @@ abstract class HttpPrefixHeadersInput _i3.BuiltMap? get fooMap; @override HttpPrefixHeadersInputPayload getPayload() => HttpPrefixHeadersInputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInput') @@ -99,6 +101,7 @@ abstract class HttpPrefixHeadersInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInputPayload'); @@ -118,6 +121,7 @@ class HttpPrefixHeadersInputRestJson1Serializer HttpPrefixHeadersInputPayload, _$HttpPrefixHeadersInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -125,6 +129,7 @@ class HttpPrefixHeadersInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart index 006a6267fa..ec607767d4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_prefix_headers_output.dart @@ -62,11 +62,13 @@ abstract class HttpPrefixHeadersOutput @override HttpPrefixHeadersOutputPayload getPayload() => HttpPrefixHeadersOutputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersOutput') @@ -98,6 +100,7 @@ abstract class HttpPrefixHeadersOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -118,6 +121,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer HttpPrefixHeadersOutputPayload, _$HttpPrefixHeadersOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -125,6 +129,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart index d9d3da9bfe..e3aeec8489 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_float_labels_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithFloatLabelsInput @override HttpRequestWithFloatLabelsInputPayload getPayload() => HttpRequestWithFloatLabelsInputPayload(); + @override List get props => [ float, double_, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithFloatLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -130,6 +133,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer extends _i1 HttpRequestWithFloatLabelsInputPayload, _$HttpRequestWithFloatLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithFloatLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart index 6d0853c5bc..fe2b175f81 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_greedy_label_in_path_input.dart @@ -75,11 +75,13 @@ abstract class HttpRequestWithGreedyLabelInPathInput @override HttpRequestWithGreedyLabelInPathInputPayload getPayload() => HttpRequestWithGreedyLabelInPathInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = @@ -112,6 +114,7 @@ abstract class HttpRequestWithGreedyLabelInPathInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -132,6 +135,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i1 HttpRequestWithGreedyLabelInPathInputPayload, _$HttpRequestWithGreedyLabelInPathInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -139,6 +143,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithGreedyLabelInPathInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index b9c3252ca5..37ebc0a753 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -150,6 +150,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput @override HttpRequestWithLabelsAndTimestampFormatInputPayload getPayload() => HttpRequestWithLabelsAndTimestampFormatInputPayload(); + @override List get props => [ memberEpochSeconds, @@ -160,6 +161,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -212,6 +214,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -233,6 +236,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer HttpRequestWithLabelsAndTimestampFormatInputPayload, _$HttpRequestWithLabelsAndTimestampFormatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -240,6 +244,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart index 84fbc930c6..25d19bccad 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_labels_input.dart @@ -129,6 +129,7 @@ abstract class HttpRequestWithLabelsInput @override HttpRequestWithLabelsInputPayload getPayload() => HttpRequestWithLabelsInputPayload(); + @override List get props => [ string, @@ -140,6 +141,7 @@ abstract class HttpRequestWithLabelsInput boolean, timestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpRequestWithLabelsInput') @@ -195,6 +197,7 @@ abstract class HttpRequestWithLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -215,6 +218,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer HttpRequestWithLabelsInputPayload, _$HttpRequestWithLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -222,6 +226,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart index 70c848f978..118fe7c6af 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_request_with_regex_literal_input.dart @@ -61,8 +61,10 @@ abstract class HttpRequestWithRegexLiteralInput @override HttpRequestWithRegexLiteralInputPayload getPayload() => HttpRequestWithRegexLiteralInputPayload(); + @override List get props => [str]; + @override String toString() { final helper = @@ -91,6 +93,7 @@ abstract class HttpRequestWithRegexLiteralInputPayload @override List get props => []; + @override String toString() { final helper = @@ -111,6 +114,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer extends _i1 HttpRequestWithRegexLiteralInputPayload, _$HttpRequestWithRegexLiteralInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -118,6 +122,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override HttpRequestWithRegexLiteralInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart index c3dcc7f2a5..63acdcdb2c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/http_response_code_output.dart @@ -42,8 +42,10 @@ abstract class HttpResponseCodeOutput int? get status; @override HttpResponseCodeOutputPayload getPayload() => HttpResponseCodeOutputPayload(); + @override List get props => [status]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutput') @@ -71,6 +73,7 @@ abstract class HttpResponseCodeOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutputPayload'); @@ -90,6 +93,7 @@ class HttpResponseCodeOutputRestJson1Serializer HttpResponseCodeOutputPayload, _$HttpResponseCodeOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -97,6 +101,7 @@ class HttpResponseCodeOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpResponseCodeOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart index f75e72347b..00bd8abcb0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/ignore_query_params_in_response_output.dart @@ -39,6 +39,7 @@ abstract class IgnoreQueryParamsInResponseOutput String? get baz; @override List get props => [baz]; + @override String toString() { final helper = @@ -61,6 +62,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer IgnoreQueryParamsInResponseOutput, _$IgnoreQueryParamsInResponseOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart index 8909cbcaf4..94613480d3 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/input_and_output_with_headers_io.dart @@ -270,6 +270,7 @@ abstract class InputAndOutputWithHeadersIo @override InputAndOutputWithHeadersIoPayload getPayload() => InputAndOutputWithHeadersIoPayload(); + @override List get props => [ headerString, @@ -291,6 +292,7 @@ abstract class InputAndOutputWithHeadersIo headerIntegerEnum, headerIntegerEnumList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InputAndOutputWithHeadersIo') @@ -386,6 +388,7 @@ abstract class InputAndOutputWithHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -406,6 +409,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer InputAndOutputWithHeadersIoPayload, _$InputAndOutputWithHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -413,6 +417,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override InputAndOutputWithHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart index 99895e2d11..0cf92b5b56 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/invalid_greeting.dart @@ -47,18 +47,23 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.restjson', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -79,6 +84,7 @@ class InvalidGreetingRestJson1Serializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class InvalidGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart index 382f25bf3a..bf76eb454f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_blobs_input_output.dart @@ -48,8 +48,10 @@ abstract class JsonBlobsInputOutput _i3.Uint8List? get data; @override JsonBlobsInputOutput getPayload() => this; + @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonBlobsInputOutput') @@ -71,6 +73,7 @@ class JsonBlobsInputOutputRestJson1Serializer JsonBlobsInputOutput, _$JsonBlobsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class JsonBlobsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart index 11089493f1..46ea5312b9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class JsonEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override JsonEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class JsonEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonEnumsInputOutput') @@ -117,6 +119,7 @@ class JsonEnumsInputOutputRestJson1Serializer JsonEnumsInputOutput, _$JsonEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -124,6 +127,7 @@ class JsonEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart index 646f09bbb0..abb9b79dbc 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_int_enums_input_output.dart @@ -69,6 +69,7 @@ abstract class JsonIntEnumsInputOutput _i3.BuiltMap? get integerEnumMap; @override JsonIntEnumsInputOutput getPayload() => this; + @override List get props => [ integerEnum1, @@ -78,6 +79,7 @@ abstract class JsonIntEnumsInputOutput integerEnumSet, integerEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonIntEnumsInputOutput') @@ -119,6 +121,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer JsonIntEnumsInputOutput, _$JsonIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -126,6 +129,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart index 253af5452b..0b67796f2e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_lists_input_output.dart @@ -88,6 +88,7 @@ abstract class JsonListsInputOutput _i3.BuiltList? get structureList; @override JsonListsInputOutput getPayload() => this; + @override List get props => [ stringList, @@ -101,6 +102,7 @@ abstract class JsonListsInputOutput nestedStringList, structureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonListsInputOutput') @@ -158,6 +160,7 @@ class JsonListsInputOutputRestJson1Serializer JsonListsInputOutput, _$JsonListsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -165,6 +168,7 @@ class JsonListsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonListsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart index 66250a2e79..21287de715 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_maps_input_output.dart @@ -89,6 +89,7 @@ abstract class JsonMapsInputOutput _i3.BuiltSetMultimap? get sparseSetMap; @override JsonMapsInputOutput getPayload() => this; + @override List get props => [ denseStructMap, @@ -102,6 +103,7 @@ abstract class JsonMapsInputOutput denseSetMap, sparseSetMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonMapsInputOutput') @@ -158,6 +160,7 @@ class JsonMapsInputOutputRestJson1Serializer JsonMapsInputOutput, _$JsonMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -165,6 +168,7 @@ class JsonMapsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonMapsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart index 6a3cba0534..01f8256fec 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/json_timestamps_input_output.dart @@ -68,6 +68,7 @@ abstract class JsonTimestampsInputOutput DateTime? get httpDateOnTarget; @override JsonTimestampsInputOutput getPayload() => this; + @override List get props => [ normal, @@ -78,6 +79,7 @@ abstract class JsonTimestampsInputOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('JsonTimestampsInputOutput') @@ -123,6 +125,7 @@ class JsonTimestampsInputOutputRestJson1Serializer JsonTimestampsInputOutput, _$JsonTimestampsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -130,6 +133,7 @@ class JsonTimestampsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart index 45ab0c234d..5373b51fdf 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_generic_string_output.dart @@ -43,8 +43,10 @@ abstract class MalformedAcceptWithGenericStringOutput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -67,6 +69,7 @@ class MalformedAcceptWithGenericStringOutputRestJson1Serializer MalformedAcceptWithGenericStringOutput, _$MalformedAcceptWithGenericStringOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +77,7 @@ class MalformedAcceptWithGenericStringOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart index 8aa7e639ed..f24da08307 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_accept_with_payload_output.dart @@ -45,8 +45,10 @@ abstract class MalformedAcceptWithPayloadOutput _i3.Uint8List? get payload; @override _i3.Uint8List? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -69,6 +71,7 @@ class MalformedAcceptWithPayloadOutputRestJson1Serializer MalformedAcceptWithPayloadOutput, _$MalformedAcceptWithPayloadOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +79,7 @@ class MalformedAcceptWithPayloadOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i3.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart index 61c3e8faf1..bbc2049cd5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_blob_input.dart @@ -39,8 +39,10 @@ abstract class MalformedBlobInput _i3.Uint8List? get blob; @override MalformedBlobInput getPayload() => this; + @override List get props => [blob]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBlobInput') @@ -61,6 +63,7 @@ class MalformedBlobInputRestJson1Serializer MalformedBlobInput, _$MalformedBlobInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class MalformedBlobInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedBlobInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart index 43b3288e53..a18acc625b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_boolean_input.dart @@ -81,6 +81,7 @@ abstract class MalformedBooleanInput MalformedBooleanInputPayload((b) { b.booleanInBody = booleanInBody; }); + @override List get props => [ booleanInBody, @@ -88,6 +89,7 @@ abstract class MalformedBooleanInput booleanInQuery, booleanInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBooleanInput') @@ -127,6 +129,7 @@ abstract class MalformedBooleanInputPayload bool? get booleanInBody; @override List get props => [booleanInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedBooleanInputPayload') @@ -150,6 +153,7 @@ class MalformedBooleanInputRestJson1Serializer MalformedBooleanInputPayload, _$MalformedBooleanInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class MalformedBooleanInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedBooleanInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart index ee28579df4..ca18fd7d8c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_byte_input.dart @@ -79,6 +79,7 @@ abstract class MalformedByteInput MalformedByteInputPayload getPayload() => MalformedByteInputPayload((b) { b.byteInBody = byteInBody; }); + @override List get props => [ byteInBody, @@ -86,6 +87,7 @@ abstract class MalformedByteInput byteInQuery, byteInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedByteInput') @@ -123,6 +125,7 @@ abstract class MalformedByteInputPayload int? get byteInBody; @override List get props => [byteInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedByteInputPayload') @@ -145,6 +148,7 @@ class MalformedByteInputRestJson1Serializer MalformedByteInputPayload, _$MalformedByteInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -152,6 +156,7 @@ class MalformedByteInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedByteInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart index ec17359c62..3ccd27bd27 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_generic_string_input.dart @@ -44,8 +44,10 @@ abstract class MalformedContentTypeWithGenericStringInput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -68,6 +70,7 @@ class MalformedContentTypeWithGenericStringInputRestJson1Serializer MalformedContentTypeWithGenericStringInput, _$MalformedContentTypeWithGenericStringInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -75,6 +78,7 @@ class MalformedContentTypeWithGenericStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart index da2fce5189..a23cc3bf01 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_with_payload_input.dart @@ -46,8 +46,10 @@ abstract class MalformedContentTypeWithPayloadInput _i2.Uint8List? get payload; @override _i2.Uint8List? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = @@ -70,6 +72,7 @@ class MalformedContentTypeWithPayloadInputRestJson1Serializer MalformedContentTypeWithPayloadInput, _$MalformedContentTypeWithPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class MalformedContentTypeWithPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart index f0785a1896..3cbe0b7616 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_content_type_without_body_empty_input_input.dart @@ -52,8 +52,10 @@ abstract class MalformedContentTypeWithoutBodyEmptyInputInput @override MalformedContentTypeWithoutBodyEmptyInputInputPayload getPayload() => MalformedContentTypeWithoutBodyEmptyInputInputPayload(); + @override List get props => [header]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -83,6 +85,7 @@ abstract class MalformedContentTypeWithoutBodyEmptyInputInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -104,6 +107,7 @@ class MalformedContentTypeWithoutBodyEmptyInputInputRestJson1Serializer MalformedContentTypeWithoutBodyEmptyInputInputPayload, _$MalformedContentTypeWithoutBodyEmptyInputInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -111,6 +115,7 @@ class MalformedContentTypeWithoutBodyEmptyInputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedContentTypeWithoutBodyEmptyInputInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart index 484ce10ad9..49bc2497e8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_double_input.dart @@ -80,6 +80,7 @@ abstract class MalformedDoubleInput MalformedDoubleInputPayload getPayload() => MalformedDoubleInputPayload((b) { b.doubleInBody = doubleInBody; }); + @override List get props => [ doubleInBody, @@ -87,6 +88,7 @@ abstract class MalformedDoubleInput doubleInQuery, doubleInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedDoubleInput') @@ -124,6 +126,7 @@ abstract class MalformedDoubleInputPayload double? get doubleInBody; @override List get props => [doubleInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedDoubleInputPayload') @@ -147,6 +150,7 @@ class MalformedDoubleInputRestJson1Serializer MalformedDoubleInputPayload, _$MalformedDoubleInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -154,6 +158,7 @@ class MalformedDoubleInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedDoubleInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart index 04ef39e7d7..75e6e866e2 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_float_input.dart @@ -80,6 +80,7 @@ abstract class MalformedFloatInput MalformedFloatInputPayload getPayload() => MalformedFloatInputPayload((b) { b.floatInBody = floatInBody; }); + @override List get props => [ floatInBody, @@ -87,6 +88,7 @@ abstract class MalformedFloatInput floatInQuery, floatInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedFloatInput') @@ -124,6 +126,7 @@ abstract class MalformedFloatInputPayload double? get floatInBody; @override List get props => [floatInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedFloatInputPayload') @@ -146,6 +149,7 @@ class MalformedFloatInputRestJson1Serializer MalformedFloatInputPayload, _$MalformedFloatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -153,6 +157,7 @@ class MalformedFloatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedFloatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart index c3d7501b50..0acf8e9328 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_integer_input.dart @@ -81,6 +81,7 @@ abstract class MalformedIntegerInput MalformedIntegerInputPayload((b) { b.integerInBody = integerInBody; }); + @override List get props => [ integerInBody, @@ -88,6 +89,7 @@ abstract class MalformedIntegerInput integerInQuery, integerInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedIntegerInput') @@ -127,6 +129,7 @@ abstract class MalformedIntegerInputPayload int? get integerInBody; @override List get props => [integerInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedIntegerInputPayload') @@ -150,6 +153,7 @@ class MalformedIntegerInputRestJson1Serializer MalformedIntegerInputPayload, _$MalformedIntegerInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class MalformedIntegerInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedIntegerInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart index 7578b72ddd..443b2e3eff 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_list_input.dart @@ -39,8 +39,10 @@ abstract class MalformedListInput _i3.BuiltList? get bodyList; @override MalformedListInput getPayload() => this; + @override List get props => [bodyList]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedListInput') @@ -61,6 +63,7 @@ class MalformedListInputRestJson1Serializer MalformedListInput, _$MalformedListInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -68,6 +71,7 @@ class MalformedListInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedListInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart index 2b1d88ee80..d03cad8d68 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_long_input.dart @@ -81,6 +81,7 @@ abstract class MalformedLongInput MalformedLongInputPayload getPayload() => MalformedLongInputPayload((b) { b.longInBody = longInBody; }); + @override List get props => [ longInBody, @@ -88,6 +89,7 @@ abstract class MalformedLongInput longInQuery, longInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLongInput') @@ -125,6 +127,7 @@ abstract class MalformedLongInputPayload _i3.Int64? get longInBody; @override List get props => [longInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLongInputPayload') @@ -147,6 +150,7 @@ class MalformedLongInputRestJson1Serializer MalformedLongInputPayload, _$MalformedLongInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -154,6 +158,7 @@ class MalformedLongInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLongInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart index 8c0f8e3ad0..2076fef5a7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_map_input.dart @@ -38,8 +38,10 @@ abstract class MalformedMapInput _i3.BuiltMap? get bodyMap; @override MalformedMapInput getPayload() => this; + @override List get props => [bodyMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedMapInput') @@ -60,6 +62,7 @@ class MalformedMapInputRestJson1Serializer MalformedMapInput, _$MalformedMapInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -67,6 +70,7 @@ class MalformedMapInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart index 499a98692e..0a96a841f6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_request_body_input.dart @@ -46,11 +46,13 @@ abstract class MalformedRequestBodyInput double? get float; @override MalformedRequestBodyInput getPayload() => this; + @override List get props => [ int_, float, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequestBodyInput') @@ -76,6 +78,7 @@ class MalformedRequestBodyInputRestJson1Serializer MalformedRequestBodyInput, _$MalformedRequestBodyInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -83,6 +86,7 @@ class MalformedRequestBodyInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRequestBodyInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart index c248e75280..c3337b3bce 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_short_input.dart @@ -79,6 +79,7 @@ abstract class MalformedShortInput MalformedShortInputPayload getPayload() => MalformedShortInputPayload((b) { b.shortInBody = shortInBody; }); + @override List get props => [ shortInBody, @@ -86,6 +87,7 @@ abstract class MalformedShortInput shortInQuery, shortInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedShortInput') @@ -123,6 +125,7 @@ abstract class MalformedShortInputPayload int? get shortInBody; @override List get props => [shortInBody]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedShortInputPayload') @@ -145,6 +148,7 @@ class MalformedShortInputRestJson1Serializer MalformedShortInputPayload, _$MalformedShortInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -152,6 +156,7 @@ class MalformedShortInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedShortInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart index 403ac5641a..7b41a8e13a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_string_input.dart @@ -51,8 +51,10 @@ abstract class MalformedStringInput _i3.JsonObject? get blob; @override MalformedStringInputPayload getPayload() => MalformedStringInputPayload(); + @override List get props => [blob]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedStringInput') @@ -78,6 +80,7 @@ abstract class MalformedStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedStringInputPayload'); @@ -97,6 +100,7 @@ class MalformedStringInputRestJson1Serializer MalformedStringInputPayload, _$MalformedStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +108,7 @@ class MalformedStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart index 05febb308a..52f5f2e1c5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_date_time_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyDateTimeInput DateTime get timestamp; @override MalformedTimestampBodyDateTimeInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyDateTimeInputRestJson1Serializer extends _i1 MalformedTimestampBodyDateTimeInput, _$MalformedTimestampBodyDateTimeInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyDateTimeInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampBodyDateTimeInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart index 55bba69f7e..1295269c5e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_default_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyDefaultInput DateTime get timestamp; @override MalformedTimestampBodyDefaultInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyDefaultInputRestJson1Serializer MalformedTimestampBodyDefaultInput, _$MalformedTimestampBodyDefaultInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyDefaultInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedTimestampBodyDefaultInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart index f7453ad496..3ddd6f93f7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_body_http_date_input.dart @@ -40,8 +40,10 @@ abstract class MalformedTimestampBodyHttpDateInput DateTime get timestamp; @override MalformedTimestampBodyHttpDateInput getPayload() => this; + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -64,6 +66,7 @@ class MalformedTimestampBodyHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampBodyHttpDateInput, _$MalformedTimestampBodyHttpDateInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -71,6 +74,7 @@ class MalformedTimestampBodyHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampBodyHttpDateInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart index da5ae7a290..abd986c1b3 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_date_time_input.dart @@ -54,8 +54,10 @@ abstract class MalformedTimestampHeaderDateTimeInput @override MalformedTimestampHeaderDateTimeInputPayload getPayload() => MalformedTimestampHeaderDateTimeInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -84,6 +86,7 @@ abstract class MalformedTimestampHeaderDateTimeInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -104,6 +107,7 @@ class MalformedTimestampHeaderDateTimeInputRestJson1Serializer extends _i1 MalformedTimestampHeaderDateTimeInputPayload, _$MalformedTimestampHeaderDateTimeInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -111,6 +115,7 @@ class MalformedTimestampHeaderDateTimeInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderDateTimeInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart index fcae27303c..cb2605845a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_default_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampHeaderDefaultInput @override MalformedTimestampHeaderDefaultInputPayload getPayload() => MalformedTimestampHeaderDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampHeaderDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampHeaderDefaultInputRestJson1Serializer extends _i1 MalformedTimestampHeaderDefaultInputPayload, _$MalformedTimestampHeaderDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampHeaderDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart index 7057ff6b2b..5d5e198004 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_header_epoch_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampHeaderEpochInput @override MalformedTimestampHeaderEpochInputPayload getPayload() => MalformedTimestampHeaderEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampHeaderEpochInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampHeaderEpochInputRestJson1Serializer extends _i1 MalformedTimestampHeaderEpochInputPayload, _$MalformedTimestampHeaderEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampHeaderEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampHeaderEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart index 175b643fb0..e36607fb10 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_default_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathDefaultInput @override MalformedTimestampPathDefaultInputPayload getPayload() => MalformedTimestampPathDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class MalformedTimestampPathDefaultInputRestJson1Serializer extends _i1 MalformedTimestampPathDefaultInputPayload, _$MalformedTimestampPathDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart index b0119d0f46..4c2624c547 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_epoch_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathEpochInput @override MalformedTimestampPathEpochInputPayload getPayload() => MalformedTimestampPathEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathEpochInputPayload @override List get props => []; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class MalformedTimestampPathEpochInputRestJson1Serializer extends _i1 MalformedTimestampPathEpochInputPayload, _$MalformedTimestampPathEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart index 858abfb43b..05891ca104 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_path_http_date_input.dart @@ -66,8 +66,10 @@ abstract class MalformedTimestampPathHttpDateInput @override MalformedTimestampPathHttpDateInputPayload getPayload() => MalformedTimestampPathHttpDateInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class MalformedTimestampPathHttpDateInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class MalformedTimestampPathHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampPathHttpDateInputPayload, _$MalformedTimestampPathHttpDateInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class MalformedTimestampPathHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampPathHttpDateInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart index afe76de602..8589effa41 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_default_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryDefaultInput @override MalformedTimestampQueryDefaultInputPayload getPayload() => MalformedTimestampQueryDefaultInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryDefaultInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampQueryDefaultInputRestJson1Serializer extends _i1 MalformedTimestampQueryDefaultInputPayload, _$MalformedTimestampQueryDefaultInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryDefaultInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryDefaultInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart index 3ce54002a7..2cfb49f5ed 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_epoch_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryEpochInput @override MalformedTimestampQueryEpochInputPayload getPayload() => MalformedTimestampQueryEpochInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryEpochInputPayload @override List get props => []; + @override String toString() { final helper = @@ -102,6 +105,7 @@ class MalformedTimestampQueryEpochInputRestJson1Serializer extends _i1 MalformedTimestampQueryEpochInputPayload, _$MalformedTimestampQueryEpochInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryEpochInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryEpochInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart index 52e668308e..86e410272e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_timestamp_query_http_date_input.dart @@ -52,8 +52,10 @@ abstract class MalformedTimestampQueryHttpDateInput @override MalformedTimestampQueryHttpDateInputPayload getPayload() => MalformedTimestampQueryHttpDateInputPayload(); + @override List get props => [timestamp]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ abstract class MalformedTimestampQueryHttpDateInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -102,6 +105,7 @@ class MalformedTimestampQueryHttpDateInputRestJson1Serializer extends _i1 MalformedTimestampQueryHttpDateInputPayload, _$MalformedTimestampQueryHttpDateInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +113,7 @@ class MalformedTimestampQueryHttpDateInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedTimestampQueryHttpDateInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart index 7b6a318e0b..503c7ad812 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/malformed_union_input.dart @@ -40,8 +40,10 @@ abstract class MalformedUnionInput SimpleUnion? get union; @override MalformedUnionInput getPayload() => this; + @override List get props => [union]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedUnionInput') @@ -62,6 +64,7 @@ class MalformedUnionInputRestJson1Serializer MalformedUnionInput, _$MalformedUnionInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -69,6 +72,7 @@ class MalformedUnionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedUnionInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart index ef59b2f074..33140abd06 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_input.dart @@ -51,8 +51,10 @@ abstract class MediaTypeHeaderInput _i3.JsonObject? get json; @override MediaTypeHeaderInputPayload getPayload() => MediaTypeHeaderInputPayload(); + @override List get props => [json]; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderInput') @@ -78,6 +80,7 @@ abstract class MediaTypeHeaderInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderInputPayload'); @@ -97,6 +100,7 @@ class MediaTypeHeaderInputRestJson1Serializer MediaTypeHeaderInputPayload, _$MediaTypeHeaderInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +108,7 @@ class MediaTypeHeaderInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart index 4c392c1bc8..2f5a6fc09f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/media_type_header_output.dart @@ -49,8 +49,10 @@ abstract class MediaTypeHeaderOutput _i3.JsonObject? get json; @override MediaTypeHeaderOutputPayload getPayload() => MediaTypeHeaderOutputPayload(); + @override List get props => [json]; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderOutput') @@ -78,6 +80,7 @@ abstract class MediaTypeHeaderOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('MediaTypeHeaderOutputPayload'); @@ -97,6 +100,7 @@ class MediaTypeHeaderOutputRestJson1Serializer MediaTypeHeaderOutputPayload, _$MediaTypeHeaderOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -104,6 +108,7 @@ class MediaTypeHeaderOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/my_union.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/my_union.dart index 081b365726..fb57eb3bc7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/my_union.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/my_union.dart @@ -50,15 +50,25 @@ sealed class MyUnion extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get numberValue => null; + _i2.Uint8List? get blobValue => null; + DateTime? get timestampValue => null; + FooEnum? get enumValue => null; + _i3.BuiltList? get listValue => null; + _i3.BuiltMap? get mapValue => null; + GreetingStruct? get structureValue => null; + RenamedGreeting? get renamedStructureValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -70,6 +80,7 @@ sealed class MyUnion extends _i1.SmithyUnion { mapValue ?? structureValue ?? renamedStructureValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'MyUnion'); @@ -273,6 +284,7 @@ class MyUnionRestJson1Serializer MyUnionStructureValue$, MyUnionRenamedStructureValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -280,6 +292,7 @@ class MyUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override MyUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart index 9df4c64ba9..211c58aee1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/nested_payload.dart @@ -39,6 +39,7 @@ abstract class NestedPayload greeting, name, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedPayload') @@ -63,6 +64,7 @@ class NestedPayloadRestJson1Serializer NestedPayload, _$NestedPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -70,6 +72,7 @@ class NestedPayloadRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart index b873b02a63..5f7fe01ead 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputRestJson1Serializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart index f24d578cda..27f4debb64 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/null_and_empty_headers_io.dart @@ -82,12 +82,14 @@ abstract class NullAndEmptyHeadersIo _i3.BuiltList? get c; @override NullAndEmptyHeadersIoPayload getPayload() => NullAndEmptyHeadersIoPayload(); + @override List get props => [ a, b, c, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIo') @@ -123,6 +125,7 @@ abstract class NullAndEmptyHeadersIoPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIoPayload'); @@ -142,6 +145,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer NullAndEmptyHeadersIoPayload, _$NullAndEmptyHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -149,6 +153,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override NullAndEmptyHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart index 23f3734a26..e3e5b2f9fd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_null_serializes_empty_string_input.dart @@ -59,11 +59,13 @@ abstract class OmitsNullSerializesEmptyStringInput @override OmitsNullSerializesEmptyStringInputPayload getPayload() => OmitsNullSerializesEmptyStringInputPayload(); + @override List get props => [ nullValue, emptyString, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class OmitsNullSerializesEmptyStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i1 OmitsNullSerializesEmptyStringInputPayload, _$OmitsNullSerializesEmptyStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override OmitsNullSerializesEmptyStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart index f0792d28d2..896430c8a9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/omits_serializing_empty_lists_input.dart @@ -120,6 +120,7 @@ abstract class OmitsSerializingEmptyListsInput @override OmitsSerializingEmptyListsInputPayload getPayload() => OmitsSerializingEmptyListsInputPayload(); + @override List get props => [ queryStringList, @@ -130,6 +131,7 @@ abstract class OmitsSerializingEmptyListsInput queryEnumList, queryIntegerEnumList, ]; + @override String toString() { final helper = @@ -182,6 +184,7 @@ abstract class OmitsSerializingEmptyListsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -202,6 +205,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer extends _i1 OmitsSerializingEmptyListsInputPayload, _$OmitsSerializingEmptyListsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -209,6 +213,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override OmitsSerializingEmptyListsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/operation_config.dart index b1f782b88b..65c000c66e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/payload_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/payload_config.dart index d813e766b7..fdcd1f9848 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/payload_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/payload_config.dart @@ -29,6 +29,7 @@ abstract class PayloadConfig int? get data; @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadConfig') @@ -49,6 +50,7 @@ class PayloadConfigRestJson1Serializer PayloadConfig, _$PayloadConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class PayloadConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/player_action.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/player_action.dart index 8293947725..24806335c6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/player_action.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/player_action.dart @@ -23,8 +23,10 @@ sealed class PlayerAction extends _i1.SmithyUnion { /// Quit the game. _i1.Unit? get quit => null; + @override Object get value => (quit)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PlayerAction'); @@ -43,6 +45,7 @@ final class PlayerActionQuit$ extends PlayerAction { @override String get name => 'quit'; + @override _i1.Unit get quit => const _i1.Unit(); } @@ -69,6 +72,7 @@ class PlayerActionRestJson1Serializer PlayerAction, PlayerActionQuit$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +80,7 @@ class PlayerActionRestJson1Serializer shape: 'restJson1', ) ]; + @override PlayerAction deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart index 7226d5d1af..636ebab3df 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_input.dart @@ -40,8 +40,10 @@ abstract class PostPlayerActionInput PlayerAction? get action; @override PostPlayerActionInput getPayload() => this; + @override List get props => [action]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostPlayerActionInput') @@ -63,6 +65,7 @@ class PostPlayerActionInputRestJson1Serializer PostPlayerActionInput, _$PostPlayerActionInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class PostPlayerActionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart index 79b002fbb8..deacc7c6ee 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_player_action_output.dart @@ -37,6 +37,7 @@ abstract class PostPlayerActionOutput PlayerAction get action; @override List get props => [action]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostPlayerActionOutput') @@ -58,6 +59,7 @@ class PostPlayerActionOutputRestJson1Serializer PostPlayerActionOutput, _$PostPlayerActionOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class PostPlayerActionOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart index 0d9bd78066..9154999c4b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_input.dart @@ -40,8 +40,10 @@ abstract class PostUnionWithJsonNameInput UnionWithJsonName? get value; @override PostUnionWithJsonNameInput getPayload() => this; + @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostUnionWithJsonNameInput') @@ -63,6 +65,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer PostUnionWithJsonNameInput, _$PostUnionWithJsonNameInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart index 20a028eaac..742005e5dd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/post_union_with_json_name_output.dart @@ -38,6 +38,7 @@ abstract class PostUnionWithJsonNameOutput UnionWithJsonName get value; @override List get props => [value]; + @override String toString() { final helper = newBuiltValueToStringHelper('PostUnionWithJsonNameOutput') @@ -59,6 +60,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer PostUnionWithJsonNameOutput, _$PostUnionWithJsonNameOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -66,6 +68,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart index 20ac02852c..e604d6ec17 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/put_with_content_encoding_input.dart @@ -56,11 +56,13 @@ abstract class PutWithContentEncodingInput PutWithContentEncodingInputPayload((b) { b.data = data; }); + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -92,6 +94,7 @@ abstract class PutWithContentEncodingInputPayload String? get data; @override List get props => [data]; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class PutWithContentEncodingInputRestJson1Serializer PutWithContentEncodingInputPayload, _$PutWithContentEncodingInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class PutWithContentEncodingInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PutWithContentEncodingInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart index 1e2b7c253d..65b5dc65ed 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -56,8 +56,10 @@ abstract class QueryIdempotencyTokenAutoFillInput @override QueryIdempotencyTokenAutoFillInputPayload getPayload() => QueryIdempotencyTokenAutoFillInputPayload(); + @override List get props => [token]; + @override String toString() { final helper = @@ -86,6 +88,7 @@ abstract class QueryIdempotencyTokenAutoFillInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -106,6 +109,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer extends _i1 QueryIdempotencyTokenAutoFillInputPayload, _$QueryIdempotencyTokenAutoFillInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override QueryIdempotencyTokenAutoFillInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart index 432d1e597c..edfc6fb400 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_params_as_string_list_map_input.dart @@ -57,11 +57,13 @@ abstract class QueryParamsAsStringListMapInput @override QueryParamsAsStringListMapInputPayload getPayload() => QueryParamsAsStringListMapInputPayload(); + @override List get props => [ qux, foo, ]; + @override String toString() { final helper = @@ -94,6 +96,7 @@ abstract class QueryParamsAsStringListMapInputPayload @override List get props => []; + @override String toString() { final helper = @@ -114,6 +117,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer extends _i1 QueryParamsAsStringListMapInputPayload, _$QueryParamsAsStringListMapInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -121,6 +125,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override QueryParamsAsStringListMapInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart index eef7786508..40d226b6be 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/query_precedence_input.dart @@ -54,11 +54,13 @@ abstract class QueryPrecedenceInput _i3.BuiltMap? get baz; @override QueryPrecedenceInputPayload getPayload() => QueryPrecedenceInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInput') @@ -88,6 +90,7 @@ abstract class QueryPrecedenceInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInputPayload'); @@ -107,6 +110,7 @@ class QueryPrecedenceInputRestJson1Serializer QueryPrecedenceInputPayload, _$QueryPrecedenceInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -114,6 +118,7 @@ class QueryPrecedenceInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryPrecedenceInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart index d12cd95fe5..0ed2aa0cc8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output.dart @@ -48,8 +48,10 @@ abstract class RecursiveShapesInputOutput RecursiveShapesInputOutputNested1? get nested; @override RecursiveShapesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveShapesInputOutput') @@ -71,6 +73,7 @@ class RecursiveShapesInputOutputRestJson1Serializer RecursiveShapesInputOutput, _$RecursiveShapesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class RecursiveShapesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart index 87bfe58dc7..8232c1cb10 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer RecursiveShapesInputOutputNested1, _$RecursiveShapesInputOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart index 3806d568a2..8688463d9b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/recursive_shapes_input_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer RecursiveShapesInputOutputNested2, _$RecursiveShapesInputOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart index 8da2076a1d..8c5dde1d01 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/renamed_greeting.dart @@ -29,6 +29,7 @@ abstract class RenamedGreeting String? get salutation; @override List get props => [salutation]; + @override String toString() { final helper = newBuiltValueToStringHelper('RenamedGreeting') @@ -49,6 +50,7 @@ class RenamedGreetingRestJson1Serializer RenamedGreeting, _$RenamedGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class RenamedGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override RenamedGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart index 9630c5f30b..570fa14727 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_http_fallback_input_output.dart @@ -47,8 +47,10 @@ abstract class ResponseCodeHttpFallbackInputOutput @override ResponseCodeHttpFallbackInputOutput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = @@ -67,6 +69,7 @@ class ResponseCodeHttpFallbackInputOutputRestJson1Serializer extends _i1 ResponseCodeHttpFallbackInputOutput, _$ResponseCodeHttpFallbackInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -74,6 +77,7 @@ class ResponseCodeHttpFallbackInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override ResponseCodeHttpFallbackInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart index 883919f58c..3230134e09 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/response_code_required_output.dart @@ -43,8 +43,10 @@ abstract class ResponseCodeRequiredOutput @override ResponseCodeRequiredOutputPayload getPayload() => ResponseCodeRequiredOutputPayload(); + @override List get props => [responseCode]; + @override String toString() { final helper = newBuiltValueToStringHelper('ResponseCodeRequiredOutput') @@ -72,6 +74,7 @@ abstract class ResponseCodeRequiredOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -92,6 +95,7 @@ class ResponseCodeRequiredOutputRestJson1Serializer ResponseCodeRequiredOutputPayload, _$ResponseCodeRequiredOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -99,6 +103,7 @@ class ResponseCodeRequiredOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ResponseCodeRequiredOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/retry_config.dart index d4ab658694..e6cd97ebb7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/s3_config.dart index 20e2a1093b..7b847de663 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart index 97b50491a2..756848be75 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart index e2df069b0d..b6ea7c9454 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_scalar_properties_input_output.dart @@ -119,6 +119,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -132,6 +133,7 @@ abstract class SimpleScalarPropertiesInputOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -214,6 +216,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -270,6 +273,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -277,6 +281,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_union.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_union.dart index 1569a17aaf..344e06ed75 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_union.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/simple_union.dart @@ -24,9 +24,12 @@ sealed class SimpleUnion extends _i1.SmithyUnion { ]; int? get int$ => null; + String? get string => null; + @override Object get value => (int$ ?? string)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'SimpleUnion'); @@ -89,6 +92,7 @@ class SimpleUnionRestJson1Serializer SimpleUnionInt$, SimpleUnionString$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class SimpleUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override SimpleUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart index e469417e79..be9653196f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_input_output.dart @@ -73,11 +73,13 @@ abstract class StreamingTraitsInputOutput _i2.Stream> get blob; @override _i2.Stream> getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StreamingTraitsInputOutput') @@ -103,6 +105,7 @@ class StreamingTraitsInputOutputRestJson1Serializer StreamingTraitsInputOutput, _$StreamingTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +113,7 @@ class StreamingTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart index 6bfe468b4d..9783f1801a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_require_length_input.dart @@ -62,11 +62,13 @@ abstract class StreamingTraitsRequireLengthInput _i2.Stream> get blob; @override _i2.Stream> getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -93,6 +95,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer StreamingTraitsRequireLengthInput, _$StreamingTraitsRequireLengthInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +103,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart index d2753f2e92..1839681fcf 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/streaming_traits_with_media_type_input_output.dart @@ -74,11 +74,13 @@ abstract class StreamingTraitsWithMediaTypeInputOutput _i2.Stream> get blob; @override _i2.Stream> getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -105,6 +107,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer StreamingTraitsWithMediaTypeInputOutput, _$StreamingTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -112,6 +115,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Stream> deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart index e2a1f73618..f1eee7dad0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/string_payload_input.dart @@ -50,8 +50,10 @@ abstract class StringPayloadInput String? get payload; @override String? getPayload() => payload; + @override List get props => [payload]; + @override String toString() { final helper = newBuiltValueToStringHelper('StringPayloadInput') @@ -72,6 +74,7 @@ class StringPayloadInputRestJson1Serializer StringPayloadInput, _$StringPayloadInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class StringPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override String deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart index 89460c2f84..a541b9c873 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberRestJson1Serializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberRestJson1Serializer shape: 'restJson1', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart index e864dc2393..622c4016c7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_body_structure_input_output.dart @@ -76,11 +76,13 @@ abstract class TestBodyStructureInputOutput b.testConfig.replace(testConfig!); } }); + @override List get props => [ testId, testConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestBodyStructureInputOutput') @@ -112,6 +114,7 @@ abstract class TestBodyStructureInputOutputPayload TestConfig? get testConfig; @override List get props => [testConfig]; + @override String toString() { final helper = @@ -136,6 +139,7 @@ class TestBodyStructureInputOutputRestJson1Serializer extends _i1 TestBodyStructureInputOutputPayload, _$TestBodyStructureInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -143,6 +147,7 @@ class TestBodyStructureInputOutputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override TestBodyStructureInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_config.dart index 417cd579a9..583b66d150 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_config.dart @@ -29,6 +29,7 @@ abstract class TestConfig int? get timeout; @override List get props => [timeout]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestConfig') @@ -49,6 +50,7 @@ class TestConfigRestJson1Serializer TestConfig, _$TestConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class TestConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override TestConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart index 5d778e5c70..45b0430650 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_no_payload_input_output.dart @@ -58,8 +58,10 @@ abstract class TestNoPayloadInputOutput @override TestNoPayloadInputOutputPayload getPayload() => TestNoPayloadInputOutputPayload(); + @override List get props => [testId]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestNoPayloadInputOutput') @@ -87,6 +89,7 @@ abstract class TestNoPayloadInputOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -107,6 +110,7 @@ class TestNoPayloadInputOutputRestJson1Serializer TestNoPayloadInputOutputPayload, _$TestNoPayloadInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -114,6 +118,7 @@ class TestNoPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestNoPayloadInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart index 2e80da58aa..d8aa32f2b4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_blob_input_output.dart @@ -67,11 +67,13 @@ abstract class TestPayloadBlobInputOutput _i2.Uint8List? get data; @override _i2.Uint8List? getPayload() => data; + @override List get props => [ contentType, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TestPayloadBlobInputOutput') @@ -97,6 +99,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer TestPayloadBlobInputOutput, _$TestPayloadBlobInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -104,6 +107,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart index 0a71751a66..3b0b00afed 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/test_payload_structure_input_output.dart @@ -71,11 +71,13 @@ abstract class TestPayloadStructureInputOutput PayloadConfig? get payloadConfig; @override PayloadConfig? getPayload() => payloadConfig ?? PayloadConfig(); + @override List get props => [ testId, payloadConfig, ]; + @override String toString() { final helper = @@ -102,6 +104,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer TestPayloadStructureInputOutput, _$TestPayloadStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +112,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart index 539bb43d35..6c9688ebd4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/timestamp_format_headers_io.dart @@ -158,6 +158,7 @@ abstract class TimestampFormatHeadersIo @override TimestampFormatHeadersIoPayload getPayload() => TimestampFormatHeadersIoPayload(); + @override List get props => [ memberEpochSeconds, @@ -168,6 +169,7 @@ abstract class TimestampFormatHeadersIo targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TimestampFormatHeadersIo') @@ -219,6 +221,7 @@ abstract class TimestampFormatHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -239,6 +242,7 @@ class TimestampFormatHeadersIoRestJson1Serializer TimestampFormatHeadersIoPayload, _$TimestampFormatHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -246,6 +250,7 @@ class TimestampFormatHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override TimestampFormatHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart index 3075d3fed6..edca9d2600 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_input_output.dart @@ -48,8 +48,10 @@ abstract class UnionInputOutput MyUnion? get contents; @override UnionInputOutput getPayload() => this; + @override List get props => [contents]; + @override String toString() { final helper = newBuiltValueToStringHelper('UnionInputOutput') @@ -70,6 +72,7 @@ class UnionInputOutputRestJson1Serializer UnionInputOutput, _$UnionInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class UnionInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart index 3f85219891..fa6aa50e7a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/model/union_with_json_name.dart @@ -26,10 +26,14 @@ sealed class UnionWithJsonName extends _i1.SmithyUnion { ]; String? get foo => null; + String? get bar => null; + String? get baz => null; + @override Object get value => (foo ?? bar ?? baz)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'UnionWithJsonName'); @@ -109,6 +113,7 @@ class UnionWithJsonNameRestJson1Serializer UnionWithJsonNameBar$, UnionWithJsonNameBaz$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -116,6 +121,7 @@ class UnionWithJsonNameRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionWithJsonName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart index 73b23a1ccf..e8ba1b7832 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/all_query_string_types_operation.dart @@ -221,24 +221,32 @@ class AllQueryStringTypesOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'AllQueryStringTypes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( AllQueryStringTypesInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart index a2444969a2..db64d53d3b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_and_variable_query_string_operation.dart @@ -84,24 +84,32 @@ class ConstantAndVariableQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantAndVariableQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantAndVariableQueryStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart index 1b28787004..61b4b64f56 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/constant_query_string_operation.dart @@ -69,24 +69,32 @@ class ConstantQueryStringOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ConstantQueryString/{hello}?foo=bar&hello'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantQueryStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart index d67ff6a69f..ea7247623a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/datetime_offsets_operation.dart @@ -63,8 +63,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/DatetimeOffsets'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -74,16 +76,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart index 01575c79b9..90ea78323a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_as_payload_operation.dart @@ -69,8 +69,10 @@ class DocumentTypeAsPayloadOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/DocumentTypeAsPayload'; }); + @override int successCode([DocumentTypeAsPayloadInputOutput? output]) => 200; + @override DocumentTypeAsPayloadInputOutput buildOutput( _i2.JsonObject? payload, @@ -80,16 +82,22 @@ class DocumentTypeAsPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DocumentTypeAsPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DocumentTypeAsPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart index b2dcf5085b..ffedcdf44e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/document_type_operation.dart @@ -65,8 +65,10 @@ class DocumentTypeOperation extends _i1.HttpOperation 200; + @override DocumentTypeInputOutput buildOutput( DocumentTypeInputOutput payload, @@ -76,16 +78,22 @@ class DocumentTypeOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'DocumentType'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DocumentTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart index baa368f901..f615ee8320 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/empty_input_and_empty_output_operation.dart @@ -73,8 +73,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/EmptyInputAndEmptyOutput'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -84,16 +86,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart index b8af599ce7..eb87cc42ac 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_operation.dart @@ -62,24 +62,32 @@ class EndpointOperation b.path = r'/EndpointOperation'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart index b70d819e41..8ae2e379d8 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/endpoint_with_host_label_operation.dart @@ -63,24 +63,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/EndpointWithHostLabelOperation'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart index 376ad9be77..faf6c84e4b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/fractional_seconds_operation.dart @@ -63,8 +63,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/FractionalSeconds'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -74,16 +76,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart index 4727b85ead..333d532671 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/greeting_with_errors_operation.dart @@ -68,8 +68,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/GreetingWithErrors'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutputPayload payload, @@ -79,6 +81,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -112,14 +115,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart index 12bd46c1ae..8869fc2100 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/host_with_path_operation.dart @@ -61,24 +61,32 @@ class HostWithPathOperation b.method = 'GET'; b.path = r'/HostWithPathOperation'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HostWithPathOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart index c54665c98f..bc7d41cabb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_checksum_required_operation.dart @@ -74,8 +74,10 @@ class HttpChecksumRequiredOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/HttpChecksumRequired'; }); + @override int successCode([HttpChecksumRequiredInputOutput? output]) => 200; + @override HttpChecksumRequiredInputOutput buildOutput( HttpChecksumRequiredInputOutput payload, @@ -85,16 +87,22 @@ class HttpChecksumRequiredOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpChecksumRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpChecksumRequiredInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart index dfcdc9b318..d89fc7e2cb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_enum_payload_operation.dart @@ -63,8 +63,10 @@ class HttpEnumPayloadOperation extends _i1 b.method = 'POST'; b.path = r'/EnumPayload'; }); + @override int successCode([EnumPayloadInput? output]) => 200; + @override EnumPayloadInput buildOutput( StringEnum? payload, @@ -74,16 +76,22 @@ class HttpEnumPayloadOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpEnumPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EnumPayloadInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart index 017baba969..458446b770 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_operation.dart @@ -71,8 +71,10 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([HttpPayloadTraitsInputOutput? output]) => 200; + @override HttpPayloadTraitsInputOutput buildOutput( _i2.Uint8List? payload, @@ -82,16 +84,22 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart index a0df3640f1..a463b4d4bb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_traits_with_media_type_operation.dart @@ -79,8 +79,10 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPayloadTraitsWithMediaTypeInputOutput? output]) => 200; + @override HttpPayloadTraitsWithMediaTypeInputOutput buildOutput( _i2.Uint8List? payload, @@ -90,16 +92,22 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart index 78e9ecc401..9d37fa4905 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_payload_with_structure_operation.dart @@ -69,8 +69,10 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithStructure'; }); + @override int successCode([HttpPayloadWithStructureInputOutput? output]) => 200; + @override HttpPayloadWithStructureInputOutput buildOutput( NestedPayload? payload, @@ -80,16 +82,22 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart index 12a0fef857..5cc91eb0be 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_in_response_operation.dart @@ -73,8 +73,10 @@ class HttpPrefixHeadersInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpPrefixHeadersResponse'; }); + @override int successCode([HttpPrefixHeadersInResponseOutput? output]) => 200; + @override HttpPrefixHeadersInResponseOutput buildOutput( HttpPrefixHeadersInResponseOutputPayload payload, @@ -84,16 +86,22 @@ class HttpPrefixHeadersInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeadersInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInResponseInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart index 23e0f29e10..f7d6a84e49 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_prefix_headers_operation.dart @@ -91,8 +91,10 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPrefixHeadersOutput? output]) => 200; + @override HttpPrefixHeadersOutput buildOutput( HttpPrefixHeadersOutputPayload payload, @@ -102,16 +104,22 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart index e9955ec86b..449a105292 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_float_labels_operation.dart @@ -67,24 +67,32 @@ class HttpRequestWithFloatLabelsOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/FloatHttpLabels/{float}/{double}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithFloatLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithFloatLabelsInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart index ead70c103a..a01ad1dc5e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_greedy_label_in_path_operation.dart @@ -70,24 +70,32 @@ class HttpRequestWithGreedyLabelInPathOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithGreedyLabelInPath'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithGreedyLabelInPathInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index ad19fc95a1..5c6e34f8d7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,12 +13,9 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation - extends _i1.HttpOperation< - HttpRequestWithLabelsAndTimestampFormatInputPayload, - HttpRequestWithLabelsAndTimestampFormatInput, - _i1.Unit, - _i1.Unit> { +class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 + .HttpOperation { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, @@ -75,24 +72,32 @@ class HttpRequestWithLabelsAndTimestampFormatOperation b.path = r'/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabelsAndTimestampFormat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsAndTimestampFormatInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart index 5034737b39..cd3f68f3d4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_operation.dart @@ -70,24 +70,32 @@ class HttpRequestWithLabelsOperation extends _i1.HttpOperation< b.path = r'/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart index 2b892f1c6d..43ce95f85e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_regex_literal_operation.dart @@ -67,24 +67,32 @@ class HttpRequestWithRegexLiteralOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ReDosLiteral/{str}/(a+)+'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithRegexLiteral'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithRegexLiteralInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart index b06210567e..51539803f1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_response_code_operation.dart @@ -63,8 +63,10 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/HttpResponseCode'; }); + @override int successCode([HttpResponseCodeOutput? output]) => output?.status ?? 200; + @override HttpResponseCodeOutput buildOutput( HttpResponseCodeOutputPayload payload, @@ -74,16 +76,22 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpResponseCode'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart index fe04e171b1..6d7b299661 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_string_payload_operation.dart @@ -64,8 +64,10 @@ class HttpStringPayloadOperation extends _i1 b.method = 'POST'; b.path = r'/StringPayload'; }); + @override int successCode([StringPayloadInput? output]) => 200; + @override StringPayloadInput buildOutput( String? payload, @@ -75,16 +77,22 @@ class HttpStringPayloadOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpStringPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StringPayloadInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart index d96c8a76ca..145cdcb802 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/ignore_query_params_in_response_operation.dart @@ -68,8 +68,10 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/IgnoreQueryParamsInResponse'; }); + @override int successCode([IgnoreQueryParamsInResponseOutput? output]) => 200; + @override IgnoreQueryParamsInResponseOutput buildOutput( IgnoreQueryParamsInResponseOutput payload, @@ -79,16 +81,22 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoreQueryParamsInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart index 8d90b68e0b..5daf2fd3f6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/input_and_output_with_headers_operation.dart @@ -167,8 +167,10 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([InputAndOutputWithHeadersIo? output]) => 200; + @override InputAndOutputWithHeadersIo buildOutput( InputAndOutputWithHeadersIoPayload payload, @@ -178,16 +180,22 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'InputAndOutputWithHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( InputAndOutputWithHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart index 8d934e1998..d1ab19bf92 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_blobs_operation.dart @@ -65,8 +65,10 @@ class JsonBlobsOperation extends _i1.HttpOperation 200; + @override JsonBlobsInputOutput buildOutput( JsonBlobsInputOutput payload, @@ -76,16 +78,22 @@ class JsonBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart index 8140318144..f6aa05e5f6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_enums_operation.dart @@ -65,8 +65,10 @@ class JsonEnumsOperation extends _i1.HttpOperation 200; + @override JsonEnumsInputOutput buildOutput( JsonEnumsInputOutput payload, @@ -76,16 +78,22 @@ class JsonEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart index 26de8162e7..50fb58c808 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_int_enums_operation.dart @@ -65,8 +65,10 @@ class JsonIntEnumsOperation extends _i1.HttpOperation 200; + @override JsonIntEnumsInputOutput buildOutput( JsonIntEnumsInputOutput payload, @@ -76,16 +78,22 @@ class JsonIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart index e45a8e3202..848bff5835 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_lists_operation.dart @@ -65,8 +65,10 @@ class JsonListsOperation extends _i1.HttpOperation 200; + @override JsonListsInputOutput buildOutput( JsonListsInputOutput payload, @@ -76,16 +78,22 @@ class JsonListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonListsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart index 593b4d3c21..2a674e5cbe 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_maps_operation.dart @@ -65,8 +65,10 @@ class JsonMapsOperation extends _i1.HttpOperation 200; + @override JsonMapsInputOutput buildOutput( JsonMapsInputOutput payload, @@ -76,16 +78,22 @@ class JsonMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart index acac309516..5485d064f1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_timestamps_operation.dart @@ -68,8 +68,10 @@ class JsonTimestampsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/JsonTimestamps'; }); + @override int successCode([JsonTimestampsInputOutput? output]) => 200; + @override JsonTimestampsInputOutput buildOutput( JsonTimestampsInputOutput payload, @@ -79,16 +81,22 @@ class JsonTimestampsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'JsonTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( JsonTimestampsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart index 78721b6ff7..c0ad8a01a1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/json_unions_operation.dart @@ -64,8 +64,10 @@ class JsonUnionsOperation extends _i1.HttpOperation 200; + @override UnionInputOutput buildOutput( UnionInputOutput payload, @@ -75,16 +77,22 @@ class JsonUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'JsonUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( UnionInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart index 9720ba0ae6..8bfab25a60 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_body_operation.dart @@ -63,8 +63,10 @@ class MalformedAcceptWithBodyOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedAcceptWithBody'; }); + @override int successCode([GreetingStruct? output]) => 200; + @override GreetingStruct buildOutput( GreetingStruct payload, @@ -74,16 +76,22 @@ class MalformedAcceptWithBodyOperation extends _i1 payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart index 0aecfebe2b..7dbad9da01 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_generic_string_operation.dart @@ -63,8 +63,10 @@ class MalformedAcceptWithGenericStringOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedAcceptWithGenericString'; }); + @override int successCode([MalformedAcceptWithGenericStringOutput? output]) => 200; + @override MalformedAcceptWithGenericStringOutput buildOutput( String? payload, @@ -74,16 +76,22 @@ class MalformedAcceptWithGenericStringOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithGenericString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart index 034f5767c6..e367656106 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_accept_with_payload_operation.dart @@ -64,8 +64,10 @@ class MalformedAcceptWithPayloadOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'POST'; b.path = r'/MalformedAcceptWithPayload'; }); + @override int successCode([MalformedAcceptWithPayloadOutput? output]) => 200; + @override MalformedAcceptWithPayloadOutput buildOutput( _i2.Uint8List? payload, @@ -75,16 +77,22 @@ class MalformedAcceptWithPayloadOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedAcceptWithPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart index 0e5a36dac1..9ca5afebd2 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_blob_operation.dart @@ -63,24 +63,32 @@ class MalformedBlobOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedBlob'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedBlob'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedBlobInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart index 87fb54319d..a947d1abab 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_boolean_operation.dart @@ -72,24 +72,32 @@ class MalformedBooleanOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedBoolean'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedBooleanInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart index 6aab05a244..30dd15351f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_byte_operation.dart @@ -72,24 +72,32 @@ class MalformedByteOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedByte'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedByteInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart index 3018f5d5f3..8e6f5fd069 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_body_operation.dart @@ -62,24 +62,32 @@ class MalformedContentTypeWithBodyOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedContentTypeWithBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( GreetingStruct input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart index 7cfb8999c9..8f5d1e80ca 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_generic_string_operation.dart @@ -64,24 +64,32 @@ class MalformedContentTypeWithGenericStringOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedContentTypeWithGenericString'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithGenericString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithGenericStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart index 457f136769..1d6b0c1209 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_with_payload_operation.dart @@ -65,24 +65,32 @@ class MalformedContentTypeWithPayloadOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedContentTypeWithPayload'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithPayload'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithPayloadInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index ef973a62b4..6a51c3afc0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,12 +12,9 @@ import 'package:rest_json1_v2/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation - extends _i1.HttpOperation< - MalformedContentTypeWithoutBodyEmptyInputInputPayload, - MalformedContentTypeWithoutBodyEmptyInputInput, - _i1.Unit, - _i1.Unit> { +class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 + .HttpOperation { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, @@ -77,24 +74,32 @@ class MalformedContentTypeWithoutBodyEmptyInputOperation } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithoutBodyEmptyInput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedContentTypeWithoutBodyEmptyInputInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart index 4b1fc0b8cb..6cf42fb322 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_operation.dart @@ -61,24 +61,32 @@ class MalformedContentTypeWithoutBodyOperation b.method = 'POST'; b.path = r'/MalformedContentTypeWithoutBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedContentTypeWithoutBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart index fe4723d46e..074ab68c32 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_double_operation.dart @@ -72,24 +72,32 @@ class MalformedDoubleOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedDouble'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedDoubleInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart index 79d87c86ff..44567be41a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_float_operation.dart @@ -72,24 +72,32 @@ class MalformedFloatOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedFloat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedFloatInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart index e40940a90a..3a599b8a8c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_integer_operation.dart @@ -72,24 +72,32 @@ class MalformedIntegerOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedInteger'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedIntegerInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart index 0d4118a4ca..1dabca0ed1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_list_operation.dart @@ -63,24 +63,32 @@ class MalformedListOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedList'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedList'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedListInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart index a58e5867d4..1d0a988e89 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_long_operation.dart @@ -72,24 +72,32 @@ class MalformedLongOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedLong'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLongInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart index 9496e44975..6ca04a6479 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_map_operation.dart @@ -62,24 +62,32 @@ class MalformedMapOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedMap'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedMapInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart index a2e98342be..c9d43df366 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_request_body_operation.dart @@ -63,24 +63,32 @@ class MalformedRequestBodyOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedRequestBody'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedRequestBody'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRequestBodyInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart index cf08d13e86..85bb322e9a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_short_operation.dart @@ -72,24 +72,32 @@ class MalformedShortOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedShort'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedShortInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart index bfd1d00a42..0ed961321d 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_string_operation.dart @@ -69,24 +69,32 @@ class MalformedStringOperation extends _i1.HttpOperation< .base64Encode(_i3.utf8.encode(_i3.jsonEncode(input.blob!.value))); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart index 6e3f67ff12..614b3dcb11 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_date_time_operation.dart @@ -69,24 +69,32 @@ class MalformedTimestampBodyDateTimeOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyDateTime'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyDateTime'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyDateTimeInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart index eef2c36a94..b5185df030 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_default_operation.dart @@ -66,24 +66,32 @@ class MalformedTimestampBodyDefaultOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyDefault'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyDefaultInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart index 43b1e23b78..ac9799d97c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_body_http_date_operation.dart @@ -69,24 +69,32 @@ class MalformedTimestampBodyHttpDateOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampBodyHttpDate'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampBodyHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampBodyHttpDateInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart index 6d90aad1d0..0e69735114 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_date_time_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampHeaderDateTimeOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.dateTime) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderDateTime'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderDateTimeInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart index e169fa416f..61b6895dd5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_default_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampHeaderDefaultOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.httpDate) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderDefaultInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart index fa47f00cea..77f683facc 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_header_epoch_operation.dart @@ -70,24 +70,32 @@ class MalformedTimestampHeaderEpochOperation extends _i1.HttpOperation< .format(_i1.TimestampFormat.epochSeconds) .toString(); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampHeaderEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampHeaderEpochInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart index fe86ffdb97..b33e407c13 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_default_operation.dart @@ -67,24 +67,32 @@ class MalformedTimestampPathDefaultOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathDefault/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathDefaultInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart index e41e991047..e22f57b946 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_epoch_operation.dart @@ -67,24 +67,32 @@ class MalformedTimestampPathEpochOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathEpoch/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathEpochInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart index 3dc74ff5b4..e23e3dcdbe 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_path_http_date_operation.dart @@ -70,24 +70,32 @@ class MalformedTimestampPathHttpDateOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedTimestampPathHttpDate/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampPathHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampPathHttpDateInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart index 24023fdf4e..69266f3387 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_default_operation.dart @@ -76,24 +76,32 @@ class MalformedTimestampQueryDefaultOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryDefault'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryDefaultInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart index 998c6baecf..bdcc8fa0d7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_epoch_operation.dart @@ -73,24 +73,32 @@ class MalformedTimestampQueryEpochOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryEpoch'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryEpochInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart index aab3987ce3..463c8c708a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_timestamp_query_http_date_operation.dart @@ -76,24 +76,32 @@ class MalformedTimestampQueryHttpDateOperation extends _i1.HttpOperation< .toString(), ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedTimestampQueryHttpDate'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedTimestampQueryHttpDateInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart index e7161ad087..9ecd0eb926 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_union_operation.dart @@ -63,24 +63,32 @@ class MalformedUnionOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MalformedUnion'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedUnionInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart index d59ee5bff1..bad5d59611 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/media_type_header_operation.dart @@ -75,8 +75,10 @@ class MediaTypeHeaderOperation extends _i1.HttpOperation< .base64Encode(_i3.utf8.encode(_i3.jsonEncode(input.json!.value))); } }); + @override int successCode([MediaTypeHeaderOutput? output]) => 200; + @override MediaTypeHeaderOutput buildOutput( MediaTypeHeaderOutputPayload payload, @@ -86,16 +88,22 @@ class MediaTypeHeaderOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'MediaTypeHeader'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( MediaTypeHeaderInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart index e35c0d5ffd..ef939e33b7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_no_output_operation.dart @@ -63,24 +63,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/NoInputAndNoOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart index 65cca55041..5cf6b4284f 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/no_input_and_output_operation.dart @@ -65,8 +65,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/NoInputAndOutputOutput'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -76,16 +78,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart index 6e63e7cde4..d9603f77ec 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_client_operation.dart @@ -85,8 +85,10 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -96,16 +98,22 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersClient'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart index 29544a0f01..664bb300ad 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/null_and_empty_headers_server_operation.dart @@ -85,8 +85,10 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -96,16 +98,22 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersServer'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart index 690c876890..4c7a6e0754 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_null_serializes_empty_string_operation.dart @@ -84,24 +84,32 @@ class OmitsNullSerializesEmptyStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsNullSerializesEmptyString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsNullSerializesEmptyStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart index e5c74019d3..d61e55c03b 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/omits_serializing_empty_lists_operation.dart @@ -127,24 +127,32 @@ class OmitsSerializingEmptyListsOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsSerializingEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsSerializingEmptyListsInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart index e738446832..c75b05a581 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_player_action_operation.dart @@ -66,8 +66,10 @@ class PostPlayerActionOperation extends _i1.HttpOperation 200; + @override PostPlayerActionOutput buildOutput( PostPlayerActionOutput payload, @@ -77,16 +79,22 @@ class PostPlayerActionOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'PostPlayerAction'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PostPlayerActionInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart index 49546ef943..3dc800feae 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/post_union_with_json_name_operation.dart @@ -72,8 +72,10 @@ class PostUnionWithJsonNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/PostUnionWithJsonName'; }); + @override int successCode([PostUnionWithJsonNameOutput? output]) => 200; + @override PostUnionWithJsonNameOutput buildOutput( PostUnionWithJsonNameOutput payload, @@ -83,16 +85,22 @@ class PostUnionWithJsonNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PostUnionWithJsonName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( PostUnionWithJsonNameInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart index 19f9d4d8dc..aa4119e448 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/put_with_content_encoding_operation.dart @@ -71,24 +71,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 94a50180a5..0156d41f26 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -75,24 +75,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart index 169e8c4f55..d5006363ac 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_params_as_string_list_map_operation.dart @@ -83,24 +83,32 @@ class QueryParamsAsStringListMapOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryParamsAsStringListMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryParamsAsStringListMapInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart index 849d971d2b..02d43479b5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/query_precedence_operation.dart @@ -78,24 +78,32 @@ class QueryPrecedenceOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryPrecedence'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryPrecedenceInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart index 104a8e34ac..cd6e640949 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/recursive_shapes_operation.dart @@ -68,8 +68,10 @@ class RecursiveShapesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/RecursiveShapes'; }); + @override int successCode([RecursiveShapesInputOutput? output]) => 200; + @override RecursiveShapesInputOutput buildOutput( RecursiveShapesInputOutput payload, @@ -79,16 +81,22 @@ class RecursiveShapesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( RecursiveShapesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart index 9bafadcba9..99b47ac003 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_http_fallback_operation.dart @@ -70,8 +70,10 @@ class ResponseCodeHttpFallbackOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/responseCodeHttpFallback'; }); + @override int successCode([ResponseCodeHttpFallbackInputOutput? output]) => 201; + @override ResponseCodeHttpFallbackInputOutput buildOutput( ResponseCodeHttpFallbackInputOutput payload, @@ -81,16 +83,22 @@ class ResponseCodeHttpFallbackOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ResponseCodeHttpFallback'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( ResponseCodeHttpFallbackInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart index 3d5c3702d6..1f5454a394 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/response_code_required_operation.dart @@ -63,9 +63,11 @@ class ResponseCodeRequiredOperation extends _i1.HttpOperation<_i1.Unit, b.method = 'GET'; b.path = r'/responseCodeRequired'; }); + @override int successCode([ResponseCodeRequiredOutput? output]) => output?.responseCode ?? 200; + @override ResponseCodeRequiredOutput buildOutput( ResponseCodeRequiredOutputPayload payload, @@ -75,16 +77,22 @@ class ResponseCodeRequiredOperation extends _i1.HttpOperation<_i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ResponseCodeRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart index e15723a59a..8185ac8ebf 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/simple_scalar_properties_operation.dart @@ -74,8 +74,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -85,16 +87,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart index 6f2fbc97be..8661fd1ed1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_operation.dart @@ -72,8 +72,10 @@ class StreamingTraitsOperation extends _i1.HttpOperation< } } }); + @override int successCode([StreamingTraitsInputOutput? output]) => 200; + @override StreamingTraitsInputOutput buildOutput( _i2.Stream> payload, @@ -83,16 +85,22 @@ class StreamingTraitsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StreamingTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart index cc01cb29eb..812c690b06 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_require_length_operation.dart @@ -73,24 +73,32 @@ class StreamingTraitsRequireLengthOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i4.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraitsRequireLength'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( StreamingTraitsRequireLengthInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart index dabe80480b..574a3661fe 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/streaming_traits_with_media_type_operation.dart @@ -76,8 +76,10 @@ class StreamingTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([StreamingTraitsWithMediaTypeInputOutput? output]) => 200; + @override StreamingTraitsWithMediaTypeInputOutput buildOutput( _i2.Stream> payload, @@ -87,16 +89,22 @@ class StreamingTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'StreamingTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( StreamingTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart index f338d78af3..09f98f3770 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_body_structure_operation.dart @@ -76,8 +76,10 @@ class TestBodyStructureOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestBodyStructureInputOutput? output]) => 200; + @override TestBodyStructureInputOutput buildOutput( TestBodyStructureInputOutputPayload payload, @@ -87,16 +89,22 @@ class TestBodyStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestBodyStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestBodyStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart index 42650385ab..17840a80d0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_no_payload_operation.dart @@ -77,8 +77,10 @@ class TestNoPayloadOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestNoPayloadInputOutput? output]) => 200; + @override TestNoPayloadInputOutput buildOutput( TestNoPayloadInputOutputPayload payload, @@ -88,16 +90,22 @@ class TestNoPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestNoPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestNoPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart index 60db34906b..90c4437c87 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_blob_operation.dart @@ -71,8 +71,10 @@ class TestPayloadBlobOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([TestPayloadBlobInputOutput? output]) => 200; + @override TestPayloadBlobInputOutput buildOutput( _i2.Uint8List? payload, @@ -82,16 +84,22 @@ class TestPayloadBlobOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestPayloadBlob'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestPayloadBlobInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart index cbd4726000..c6a3526d1a 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/test_payload_structure_operation.dart @@ -74,8 +74,10 @@ class TestPayloadStructureOperation extends _i1.HttpOperation< } } }); + @override int successCode([TestPayloadStructureInputOutput? output]) => 200; + @override TestPayloadStructureInputOutput buildOutput( PayloadConfig? payload, @@ -85,16 +87,22 @@ class TestPayloadStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TestPayloadStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TestPayloadStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart index 873acc79f5..ddd41f6ef9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/timestamp_format_headers_operation.dart @@ -109,8 +109,10 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< .toString(); } }); + @override int successCode([TimestampFormatHeadersIo? output]) => 200; + @override TimestampFormatHeadersIo buildOutput( TimestampFormatHeadersIoPayload payload, @@ -120,16 +122,22 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TimestampFormatHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TimestampFormatHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart index 04fc128c37..c48df8223c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/unit_input_and_output_operation.dart @@ -63,24 +63,32 @@ class UnitInputAndOutputOperation b.method = 'POST'; b.path = r'/UnitInputAndOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'UnitInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart index da5f898cae..c77775514e 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestJson1Serializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override AwsConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart index 1e5c3e69c7..536ce58368 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestJson1Serializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart index aa1de73a2a..c4dd92fef0 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/enum_union.dart @@ -25,9 +25,12 @@ sealed class EnumUnion extends _i1.SmithyUnion { ]; EnumString? get first => null; + EnumString? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'EnumUnion'); @@ -90,6 +93,7 @@ class EnumUnionRestJson1Serializer EnumUnionFirst$, EnumUnionSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -97,6 +101,7 @@ class EnumUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override EnumUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart index 8825946b1c..e89d22fbc6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestJson1Serializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart index 1b6a246149..a02817c717 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestJson1Serializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestJson1Serializer shape: 'restJson1', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart index c4b9adac11..fc64c8ecbb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/foo_union.dart @@ -24,9 +24,12 @@ sealed class FooUnion extends _i1.SmithyUnion { ]; String? get string => null; + int? get integer => null; + @override Object get value => (string ?? integer)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'FooUnion'); @@ -89,6 +92,7 @@ class FooUnionRestJson1Serializer FooUnionString$, FooUnionInteger$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class FooUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override FooUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart index ff813aada5..ee2fa089d9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/greeting_struct.dart @@ -43,8 +43,10 @@ abstract class GreetingStruct String? get hi; @override GreetingStruct getPayload() => this; + @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -65,6 +67,7 @@ class GreetingStructRestJson1Serializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -72,6 +75,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart index ff79b03b57..27e66a8869 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_enum_input.dart @@ -57,6 +57,7 @@ abstract class MalformedEnumInput EnumUnion? get union; @override MalformedEnumInput getPayload() => this; + @override List get props => [ string, @@ -65,6 +66,7 @@ abstract class MalformedEnumInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedEnumInput') @@ -101,6 +103,7 @@ class MalformedEnumInputRestJson1Serializer MalformedEnumInput, _$MalformedEnumInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -108,6 +111,7 @@ class MalformedEnumInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedEnumInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart index ad7e07c7fb..d12ee0c648 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_input.dart @@ -61,6 +61,7 @@ abstract class MalformedLengthInput _i4.BuiltListMultimap? get map; @override MalformedLengthInput getPayload() => this; + @override List get props => [ blob, @@ -70,6 +71,7 @@ abstract class MalformedLengthInput list, map, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLengthInput') @@ -111,6 +113,7 @@ class MalformedLengthInputRestJson1Serializer MalformedLengthInput, _$MalformedLengthInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -118,6 +121,7 @@ class MalformedLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLengthInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart index 23e75955c4..c74bc873a9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_override_input.dart @@ -62,6 +62,7 @@ abstract class MalformedLengthOverrideInput _i4.BuiltListMultimap? get map; @override MalformedLengthOverrideInput getPayload() => this; + @override List get props => [ blob, @@ -71,6 +72,7 @@ abstract class MalformedLengthOverrideInput list, map, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedLengthOverrideInput') @@ -112,6 +114,7 @@ class MalformedLengthOverrideInputRestJson1Serializer MalformedLengthOverrideInput, _$MalformedLengthOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -119,6 +122,7 @@ class MalformedLengthOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedLengthOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart index 077f56aff9..8d1ae019a1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_length_query_string_input.dart @@ -49,8 +49,10 @@ abstract class MalformedLengthQueryStringInput @override MalformedLengthQueryStringInputPayload getPayload() => MalformedLengthQueryStringInputPayload(); + @override List get props => [string]; + @override String toString() { final helper = @@ -79,6 +81,7 @@ abstract class MalformedLengthQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -99,6 +102,7 @@ class MalformedLengthQueryStringInputRestJson1Serializer extends _i1 MalformedLengthQueryStringInputPayload, _$MalformedLengthQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +110,7 @@ class MalformedLengthQueryStringInputRestJson1Serializer extends _i1 shape: 'restJson1', ) ]; + @override MalformedLengthQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart index 5abd0fe83a..ae6b13f0d1 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_input.dart @@ -57,6 +57,7 @@ abstract class MalformedPatternInput PatternUnion? get union; @override MalformedPatternInput getPayload() => this; + @override List get props => [ string, @@ -65,6 +66,7 @@ abstract class MalformedPatternInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedPatternInput') @@ -102,6 +104,7 @@ class MalformedPatternInputRestJson1Serializer MalformedPatternInput, _$MalformedPatternInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -109,6 +112,7 @@ class MalformedPatternInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedPatternInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart index 4d26dd1520..253e6a85da 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_pattern_override_input.dart @@ -55,6 +55,7 @@ abstract class MalformedPatternOverrideInput PatternUnionOverride? get union; @override MalformedPatternOverrideInput getPayload() => this; + @override List get props => [ string, @@ -62,6 +63,7 @@ abstract class MalformedPatternOverrideInput map, union, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedPatternOverrideInput') @@ -95,6 +97,7 @@ class MalformedPatternOverrideInputRestJson1Serializer MalformedPatternOverrideInput, _$MalformedPatternOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -102,6 +105,7 @@ class MalformedPatternOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedPatternOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart index a2987e4f54..549df381d9 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_input.dart @@ -86,6 +86,7 @@ abstract class MalformedRangeInput double? get maxFloat; @override MalformedRangeInput getPayload() => this; + @override List get props => [ byte, @@ -104,6 +105,7 @@ abstract class MalformedRangeInput minFloat, maxFloat, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRangeInput') @@ -180,6 +182,7 @@ class MalformedRangeInputRestJson1Serializer MalformedRangeInput, _$MalformedRangeInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -187,6 +190,7 @@ class MalformedRangeInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRangeInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart index d58dd57a59..e77bddc4b2 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_range_override_input.dart @@ -86,6 +86,7 @@ abstract class MalformedRangeOverrideInput double? get maxFloat; @override MalformedRangeOverrideInput getPayload() => this; + @override List get props => [ byte, @@ -104,6 +105,7 @@ abstract class MalformedRangeOverrideInput minFloat, maxFloat, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRangeOverrideInput') @@ -181,6 +183,7 @@ class MalformedRangeOverrideInputRestJson1Serializer MalformedRangeOverrideInput, _$MalformedRangeOverrideInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -188,6 +191,7 @@ class MalformedRangeOverrideInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRangeOverrideInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart index 79d6918c5b..6e42f0dc41 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_required_input.dart @@ -62,12 +62,14 @@ abstract class MalformedRequiredInput MalformedRequiredInputPayload((b) { b.string = string; }); + @override List get props => [ string, stringInQuery, stringInHeader, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequiredInput') @@ -103,6 +105,7 @@ abstract class MalformedRequiredInputPayload String get string; @override List get props => [string]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedRequiredInputPayload') @@ -126,6 +129,7 @@ class MalformedRequiredInputRestJson1Serializer MalformedRequiredInputPayload, _$MalformedRequiredInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -133,6 +137,7 @@ class MalformedRequiredInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedRequiredInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart index 12e7ee44f6..1a8e2beaa6 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/malformed_unique_items_input.dart @@ -101,6 +101,7 @@ abstract class MalformedUniqueItemsInput _i5.BuiltSet? get unionList; @override MalformedUniqueItemsInput getPayload() => this; + @override List get props => [ blobList, @@ -120,6 +121,7 @@ abstract class MalformedUniqueItemsInput structureListWithNoKey, unionList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('MalformedUniqueItemsInput') @@ -201,6 +203,7 @@ class MalformedUniqueItemsInputRestJson1Serializer MalformedUniqueItemsInput, _$MalformedUniqueItemsInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -208,6 +211,7 @@ class MalformedUniqueItemsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MalformedUniqueItemsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart index 91791b3b2a..15ea354680 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/missing_key_structure.dart @@ -30,6 +30,7 @@ abstract class MissingKeyStructure String get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('MissingKeyStructure') @@ -50,6 +51,7 @@ class MissingKeyStructureRestJson1Serializer MissingKeyStructure, _$MissingKeyStructure, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class MissingKeyStructureRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingKeyStructure deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart index 87483f8b47..03822e89e5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestJson1Serializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart index 1539710111..40e8ee67a2 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union.dart @@ -24,9 +24,12 @@ sealed class PatternUnion extends _i1.SmithyUnion { ]; String? get first => null; + String? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PatternUnion'); @@ -89,6 +92,7 @@ class PatternUnionRestJson1Serializer PatternUnionFirst$, PatternUnionSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -96,6 +100,7 @@ class PatternUnionRestJson1Serializer shape: 'restJson1', ) ]; + @override PatternUnion deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart index fe65d01084..07fcc27cbd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/pattern_union_override.dart @@ -27,9 +27,12 @@ sealed class PatternUnionOverride ]; String? get first => null; + String? get second => null; + @override Object get value => (first ?? second)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'PatternUnionOverride'); @@ -93,6 +96,7 @@ class PatternUnionOverrideRestJson1Serializer PatternUnionOverrideFirst$, PatternUnionOverrideSecond$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class PatternUnionOverrideRestJson1Serializer shape: 'restJson1', ) ]; + @override PatternUnionOverride deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart index 807073974e..7700d88bfd 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_structures_input.dart @@ -40,8 +40,10 @@ abstract class RecursiveStructuresInput RecursiveUnionOne? get union; @override RecursiveStructuresInput getPayload() => this; + @override List get props => [union]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveStructuresInput') @@ -63,6 +65,7 @@ class RecursiveStructuresInputRestJson1Serializer RecursiveStructuresInput, _$RecursiveStructuresInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -70,6 +73,7 @@ class RecursiveStructuresInputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveStructuresInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart index 1bc8516dfa..3150b0cb02 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_one.dart @@ -28,9 +28,12 @@ sealed class RecursiveUnionOne extends _i1.SmithyUnion { ]; RecursiveEnumString? get string => null; + RecursiveUnionTwo? get union => null; + @override Object get value => (string ?? union)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'RecursiveUnionOne'); @@ -93,6 +96,7 @@ class RecursiveUnionOneRestJson1Serializer RecursiveUnionOneString$, RecursiveUnionOneUnion$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class RecursiveUnionOneRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveUnionOne deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart index 9f799b4f54..7e7b98a991 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/recursive_union_two.dart @@ -28,9 +28,12 @@ sealed class RecursiveUnionTwo extends _i1.SmithyUnion { ]; RecursiveEnumString? get string => null; + RecursiveUnionOne? get union => null; + @override Object get value => (string ?? union)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'RecursiveUnionTwo'); @@ -93,6 +96,7 @@ class RecursiveUnionTwoRestJson1Serializer RecursiveUnionTwoString$, RecursiveUnionTwoUnion$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -100,6 +104,7 @@ class RecursiveUnionTwoRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveUnionTwo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart index 60a5260da1..5e00c75a96 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestJson1Serializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override RetryConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart index 240980a392..c3ed0fad89 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestJson1Serializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override S3Config deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart index 83f3260ec1..35bf991489 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestJson1Serializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override ScopedConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart index fe36bcb3ca..65e890b647 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/sensitive_validation_input.dart @@ -39,8 +39,10 @@ abstract class SensitiveValidationInput String? get string; @override SensitiveValidationInput getPayload() => this; + @override List get props => [string]; + @override String toString() { final helper = newBuiltValueToStringHelper('SensitiveValidationInput') @@ -62,6 +64,7 @@ class SensitiveValidationInputRestJson1Serializer SensitiveValidationInput, _$SensitiveValidationInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -69,6 +72,7 @@ class SensitiveValidationInputRestJson1Serializer shape: 'restJson1', ) ]; + @override SensitiveValidationInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart index 6c17d78ee5..70874b3c26 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception.dart @@ -61,8 +61,10 @@ abstract class ValidationException namespace: 'smithy.framework', shape: 'ValidationException', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -71,11 +73,13 @@ abstract class ValidationException Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ message, fieldList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ValidationException') @@ -100,6 +104,7 @@ class ValidationExceptionRestJson1Serializer ValidationException, _$ValidationException, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -107,6 +112,7 @@ class ValidationExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart index 60f0bd8b66..5274c8555d 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/model/validation_exception_field.dart @@ -46,6 +46,7 @@ abstract class ValidationExceptionField path, message, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ValidationExceptionField') @@ -71,6 +72,7 @@ class ValidationExceptionFieldRestJson1Serializer ValidationExceptionField, _$ValidationExceptionField, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -78,6 +80,7 @@ class ValidationExceptionFieldRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationExceptionField deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart index 32dadf6b73..389e1bf8bb 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_enum_operation.dart @@ -64,14 +64,17 @@ class MalformedEnumOperation extends _i1 b.method = 'POST'; b.path = r'/MalformedEnum'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedEnumOperation extends _i1 builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedEnum'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedEnumInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart index 48ac33e0e9..e741df3720 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_operation.dart @@ -64,14 +64,17 @@ class MalformedLengthOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedLengthOperation extends _i1.HttpOperation 'MalformedLength'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart index 88ee89389e..1963c5f739 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_override_operation.dart @@ -67,14 +67,17 @@ class MalformedLengthOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedLengthOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedLengthOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedLengthOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthOverrideInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart index 3d39de49e2..d88e38420c 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_length_query_string_operation.dart @@ -74,14 +74,17 @@ class MalformedLengthQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -94,14 +97,19 @@ class MalformedLengthQueryStringOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedLengthQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedLengthQueryStringInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart index aa049010a4..f05ca126a7 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_operation.dart @@ -64,14 +64,17 @@ class MalformedPatternOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedPatternOperation extends _i1.HttpOperation 'MalformedPattern'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedPatternInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart index be59dde8fc..0f6cd4cda4 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_pattern_override_operation.dart @@ -67,14 +67,17 @@ class MalformedPatternOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedPatternOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedPatternOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedPatternOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedPatternOverrideInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart index 9be77e42b1..2228e64843 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_operation.dart @@ -64,14 +64,17 @@ class MalformedRangeOperation extends _i1.HttpOperation 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedRangeOperation extends _i1.HttpOperation 'MalformedRange'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRangeInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart index 1d18f71f5a..897b3ebb52 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_range_override_operation.dart @@ -67,14 +67,17 @@ class MalformedRangeOverrideOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedRangeOverride'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -87,14 +90,19 @@ class MalformedRangeOverrideOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedRangeOverride'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRangeOverrideInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart index be87378979..afb4ff0c97 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_required_operation.dart @@ -71,14 +71,17 @@ class MalformedRequiredOperation extends _i1.HttpOperation< input.stringInQuery, ); }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -91,14 +94,19 @@ class MalformedRequiredOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedRequired'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedRequiredInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart index e22d7de0a8..722fbc36f5 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/malformed_unique_items_operation.dart @@ -64,14 +64,17 @@ class MalformedUniqueItemsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/MalformedUniqueItems'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class MalformedUniqueItemsOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'MalformedUniqueItems'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( MalformedUniqueItemsInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart index 130daaf6bb..b7fe7880ff 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/recursive_structures_operation.dart @@ -64,14 +64,17 @@ class RecursiveStructuresOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/RecursiveStructures'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class RecursiveStructuresOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'RecursiveStructures'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( RecursiveStructuresInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart index 3fba15a6d5..b53aed35ec 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_validation_protocol/operation/sensitive_validation_operation.dart @@ -64,14 +64,17 @@ class SensitiveValidationOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/SensitiveValidation'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -84,14 +87,19 @@ class SensitiveValidationOperation extends _i1.HttpOperation< builder: ValidationException.fromResponse, ) ]; + @override String get runtimeTypeName => 'SensitiveValidation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( SensitiveValidationInput input, { diff --git a/packages/smithy/goldens/lib2/restJson1/pubspec.yaml b/packages/smithy/goldens/lib2/restJson1/pubspec.yaml index 14972c8c9e..bd50ac2441 100644 --- a/packages/smithy/goldens/lib2/restJson1/pubspec.yaml +++ b/packages/smithy/goldens/lib2/restJson1/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" fixnum: ^1.0.0 built_collection: ^5.0.0 meta: ^1.7.0 @@ -42,6 +42,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/restJson1/test/api_gateway/get_rest_apis_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/api_gateway/get_rest_apis_operation_test.dart index 976a29cb52..4a578869ef 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/api_gateway/get_rest_apis_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/api_gateway/get_rest_apis_operation_test.dart @@ -74,6 +74,7 @@ class GetRestApisRequestRestJson1Serializer @override Iterable get types => const [GetRestApisRequest]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -81,6 +82,7 @@ class GetRestApisRequestRestJson1Serializer shape: 'restJson1', ) ]; + @override GetRestApisRequest deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class RestApisRestJson1Serializer @override Iterable get types => const [RestApis]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -136,6 +139,7 @@ class RestApisRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApis deserialize( Serializers serializers, @@ -187,6 +191,7 @@ class RestApiRestJson1Serializer @override Iterable get types => const [RestApi]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -194,6 +199,7 @@ class RestApiRestJson1Serializer shape: 'restJson1', ) ]; + @override RestApi deserialize( Serializers serializers, @@ -310,6 +316,7 @@ class EndpointConfigurationRestJson1Serializer @override Iterable get types => const [EndpointConfiguration]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -317,6 +324,7 @@ class EndpointConfigurationRestJson1Serializer shape: 'restJson1', ) ]; + @override EndpointConfiguration deserialize( Serializers serializers, @@ -371,6 +379,7 @@ class BadRequestExceptionRestJson1Serializer @override Iterable get types => const [BadRequestException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -378,6 +387,7 @@ class BadRequestExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override BadRequestException deserialize( Serializers serializers, @@ -422,6 +432,7 @@ class TooManyRequestsExceptionRestJson1Serializer @override Iterable get types => const [TooManyRequestsException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -429,6 +440,7 @@ class TooManyRequestsExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override TooManyRequestsException deserialize( Serializers serializers, @@ -478,6 +490,7 @@ class UnauthorizedExceptionRestJson1Serializer @override Iterable get types => const [UnauthorizedException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -485,6 +498,7 @@ class UnauthorizedExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override UnauthorizedException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_archive_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_archive_operation_test.dart index 68d85d0c70..5311c93162 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_archive_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_archive_operation_test.dart @@ -168,6 +168,7 @@ class UploadArchiveInputRestJson1Serializer @override Iterable get types => const [UploadArchiveInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -175,6 +176,7 @@ class UploadArchiveInputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadArchiveInput deserialize( Serializers serializers, @@ -248,6 +250,7 @@ class ArchiveCreationOutputRestJson1Serializer @override Iterable get types => const [ArchiveCreationOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -255,6 +258,7 @@ class ArchiveCreationOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override ArchiveCreationOutput deserialize( Serializers serializers, @@ -309,6 +313,7 @@ class InvalidParameterValueExceptionRestJson1Serializer @override Iterable get types => const [InvalidParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -316,6 +321,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, @@ -370,6 +376,7 @@ class MissingParameterValueExceptionRestJson1Serializer @override Iterable get types => const [MissingParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -377,6 +384,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, @@ -431,6 +439,7 @@ class RequestTimeoutExceptionRestJson1Serializer @override Iterable get types => const [RequestTimeoutException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -438,6 +447,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, @@ -492,6 +502,7 @@ class ResourceNotFoundExceptionRestJson1Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -499,6 +510,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, @@ -553,6 +565,7 @@ class ServiceUnavailableExceptionRestJson1Serializer @override Iterable get types => const [ServiceUnavailableException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -560,6 +573,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_multipart_part_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_multipart_part_operation_test.dart index a433eb7af3..bc994ecd7b 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_multipart_part_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/glacier/upload_multipart_part_operation_test.dart @@ -82,6 +82,7 @@ class UploadMultipartPartInputRestJson1Serializer @override Iterable get types => const [UploadMultipartPartInput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -89,6 +90,7 @@ class UploadMultipartPartInputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartInput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class UploadMultipartPartOutputRestJson1Serializer @override Iterable get types => const [UploadMultipartPartOutput]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -174,6 +177,7 @@ class UploadMultipartPartOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UploadMultipartPartOutput deserialize( Serializers serializers, @@ -218,6 +222,7 @@ class InvalidParameterValueExceptionRestJson1Serializer @override Iterable get types => const [InvalidParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -225,6 +230,7 @@ class InvalidParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidParameterValueException deserialize( Serializers serializers, @@ -279,6 +285,7 @@ class MissingParameterValueExceptionRestJson1Serializer @override Iterable get types => const [MissingParameterValueException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -286,6 +293,7 @@ class MissingParameterValueExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override MissingParameterValueException deserialize( Serializers serializers, @@ -340,6 +348,7 @@ class RequestTimeoutExceptionRestJson1Serializer @override Iterable get types => const [RequestTimeoutException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -347,6 +356,7 @@ class RequestTimeoutExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override RequestTimeoutException deserialize( Serializers serializers, @@ -401,6 +411,7 @@ class ResourceNotFoundExceptionRestJson1Serializer @override Iterable get types => const [ResourceNotFoundException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -408,6 +419,7 @@ class ResourceNotFoundExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ResourceNotFoundException deserialize( Serializers serializers, @@ -462,6 +474,7 @@ class ServiceUnavailableExceptionRestJson1Serializer @override Iterable get types => const [ServiceUnavailableException]; + @override Iterable<_i4.ShapeId> get supportedProtocols => const [ _i4.ShapeId( @@ -469,6 +482,7 @@ class ServiceUnavailableExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ServiceUnavailableException deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart index 3d257bdaa0..2b9ae4990f 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/all_query_string_types_operation_test.dart @@ -454,6 +454,7 @@ class AllQueryStringTypesInputRestJson1Serializer @override Iterable get types => const [AllQueryStringTypesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -461,6 +462,7 @@ class AllQueryStringTypesInputRestJson1Serializer shape: 'restJson1', ) ]; + @override AllQueryStringTypesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart index f3dcc3d080..0d0ba54226 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_and_variable_query_string_operation_test.dart @@ -111,6 +111,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i3 @override Iterable get types => const [ConstantAndVariableQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override ConstantAndVariableQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart index aaa70bcd7b..3c6173567e 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/constant_query_string_operation_test.dart @@ -62,6 +62,7 @@ class ConstantQueryStringInputRestJson1Serializer @override Iterable get types => const [ConstantQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class ConstantQueryStringInputRestJson1Serializer shape: 'restJson1', ) ]; + @override ConstantQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart index 588545ba95..483494872f 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputRestJson1Serializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart index c13cb04b9f..4781cab7a5 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_as_payload_operation_test.dart @@ -177,6 +177,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer @override Iterable get types => const [DocumentTypeAsPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -184,6 +185,7 @@ class DocumentTypeAsPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeAsPayloadInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_operation_test.dart index 78c0189028..cfbec34b19 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/document_type_operation_test.dart @@ -429,6 +429,7 @@ class DocumentTypeInputOutputRestJson1Serializer @override Iterable get types => const [DocumentTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -436,6 +437,7 @@ class DocumentTypeInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override DocumentTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart index 0c648ebdda..6ed277381a 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/empty_input_and_empty_output_operation_test.dart @@ -133,6 +133,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -140,6 +141,7 @@ class EmptyInputAndEmptyOutputInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -166,6 +168,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -173,6 +176,7 @@ class EmptyInputAndEmptyOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart index 6c5314b3e2..55b7192178 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/endpoint_with_host_label_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelInputRestJson1Serializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart index c0118c0c06..c8d2c0d566 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputRestJson1Serializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart index b6b9584269..43d385512a 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/greeting_with_errors_operation_test.dart @@ -540,6 +540,7 @@ class GreetingWithErrorsOutputRestJson1Serializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -547,6 +548,7 @@ class GreetingWithErrorsOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -590,6 +592,7 @@ class ComplexErrorRestJson1Serializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -597,6 +600,7 @@ class ComplexErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -651,6 +655,7 @@ class ComplexNestedErrorDataRestJson1Serializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -658,6 +663,7 @@ class ComplexNestedErrorDataRestJson1Serializer shape: 'restJson1', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -701,6 +707,7 @@ class FooErrorRestJson1Serializer @override Iterable get types => const [FooError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -708,6 +715,7 @@ class FooErrorRestJson1Serializer shape: 'restJson1', ) ]; + @override FooError deserialize( Serializers serializers, @@ -733,6 +741,7 @@ class InvalidGreetingRestJson1Serializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -740,6 +749,7 @@ class InvalidGreetingRestJson1Serializer shape: 'restJson1', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart index 17858f8788..98ccaadd4d 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_checksum_required_operation_test.dart @@ -64,6 +64,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer @override Iterable get types => const [HttpChecksumRequiredInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class HttpChecksumRequiredInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpChecksumRequiredInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart index b5430e04d0..a264ecb501 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_enum_payload_operation_test.dart @@ -91,6 +91,7 @@ class EnumPayloadInputRestJson1Serializer @override Iterable get types => const [EnumPayloadInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class EnumPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override EnumPayloadInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart index 182cef590c..21b79756b4 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_operation_test.dart @@ -180,6 +180,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer @override Iterable get types => const [HttpPayloadTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -187,6 +188,7 @@ class HttpPayloadTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPayloadTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart index 24e0ae8a5a..433e3d6656 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpPayloadTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpPayloadTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart index 8ff6e8eb38..0084689b81 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_payload_with_structure_operation_test.dart @@ -108,6 +108,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpPayloadWithStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -115,6 +116,7 @@ class HttpPayloadWithStructureInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpPayloadWithStructureInputOutput deserialize( Serializers serializers, @@ -158,6 +160,7 @@ class NestedPayloadRestJson1Serializer @override Iterable get types => const [NestedPayload]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -165,6 +168,7 @@ class NestedPayloadRestJson1Serializer shape: 'restJson1', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart index 1ad6963b15..bdf219bfa9 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_in_response_operation_test.dart @@ -65,6 +65,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInResponseInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +73,7 @@ class HttpPrefixHeadersInResponseInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseInput deserialize( Serializers serializers, @@ -98,6 +100,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +108,7 @@ class HttpPrefixHeadersInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart index df320f767e..212caa39ea 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_prefix_headers_operation_test.dart @@ -155,6 +155,7 @@ class HttpPrefixHeadersInputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -162,6 +163,7 @@ class HttpPrefixHeadersInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersInput deserialize( Serializers serializers, @@ -217,6 +219,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer @override Iterable get types => const [HttpPrefixHeadersOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -224,6 +227,7 @@ class HttpPrefixHeadersOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpPrefixHeadersOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart index 7ac8ed78f1..63daaba094 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_float_labels_operation_test.dart @@ -150,6 +150,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithFloatLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +158,7 @@ class HttpRequestWithFloatLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithFloatLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart index e23cb52a45..e8d16f0088 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_greedy_label_in_path_operation_test.dart @@ -65,6 +65,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i3 @override Iterable get types => const [HttpRequestWithGreedyLabelInPathInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +73,7 @@ class HttpRequestWithGreedyLabelInPathInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override HttpRequestWithGreedyLabelInPathInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart index 13a91ecb09..4636d41881 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart @@ -72,6 +72,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithLabelsAndTimestampFormatInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -79,6 +80,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart index c1877ea1a2..ba8fe5809a 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_labels_operation_test.dart @@ -122,6 +122,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -129,6 +130,7 @@ class HttpRequestWithLabelsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart index 88fce8cfcf..7283e288bb 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_request_with_regex_literal_operation_test.dart @@ -62,6 +62,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer @override Iterable get types => const [HttpRequestWithRegexLiteralInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class HttpRequestWithRegexLiteralInputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpRequestWithRegexLiteralInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart index 235c8e1d72..1458711f7f 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_response_code_operation_test.dart @@ -87,6 +87,7 @@ class HttpResponseCodeOutputRestJson1Serializer @override Iterable get types => const [HttpResponseCodeOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -94,6 +95,7 @@ class HttpResponseCodeOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override HttpResponseCodeOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart index e0ca09af15..7a8e7fabb1 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/http_string_payload_operation_test.dart @@ -90,6 +90,7 @@ class StringPayloadInputRestJson1Serializer @override Iterable get types => const [StringPayloadInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -97,6 +98,7 @@ class StringPayloadInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StringPayloadInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart index 7c70ef34eb..d4df7e522f 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/ignore_query_params_in_response_operation_test.dart @@ -91,6 +91,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer @override Iterable get types => const [IgnoreQueryParamsInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class IgnoreQueryParamsInResponseOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart index 79968ecfd9..117284125a 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/input_and_output_with_headers_operation_test.dart @@ -967,6 +967,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer @override Iterable get types => const [InputAndOutputWithHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -974,6 +975,7 @@ class InputAndOutputWithHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override InputAndOutputWithHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart index 2334ec69fc..a4ab77bce6 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_blobs_operation_test.dart @@ -93,6 +93,7 @@ class JsonBlobsInputOutputRestJson1Serializer @override Iterable get types => const [JsonBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -100,6 +101,7 @@ class JsonBlobsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_enums_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_enums_operation_test.dart index 8afcb5d64c..9b49d1cdb5 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_enums_operation_test.dart @@ -127,6 +127,7 @@ class JsonEnumsInputOutputRestJson1Serializer @override Iterable get types => const [JsonEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -134,6 +135,7 @@ class JsonEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart index 9ef247939c..a9bd2364b6 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_int_enums_operation_test.dart @@ -129,6 +129,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer @override Iterable get types => const [JsonIntEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +137,7 @@ class JsonIntEnumsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_lists_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_lists_operation_test.dart index e554c5bf28..19f6cb08a3 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_lists_operation_test.dart @@ -365,6 +365,7 @@ class JsonListsInputOutputRestJson1Serializer @override Iterable get types => const [JsonListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -372,6 +373,7 @@ class JsonListsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonListsInputOutput deserialize( Serializers serializers, @@ -495,6 +497,7 @@ class StructureListMemberRestJson1Serializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -502,6 +505,7 @@ class StructureListMemberRestJson1Serializer shape: 'restJson1', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_maps_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_maps_operation_test.dart index 2d1aae17ab..715574a74d 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_maps_operation_test.dart @@ -616,6 +616,7 @@ class JsonMapsInputOutputRestJson1Serializer @override Iterable get types => const [JsonMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -623,6 +624,7 @@ class JsonMapsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonMapsInputOutput deserialize( Serializers serializers, @@ -771,6 +773,7 @@ class GreetingStructRestJson1Serializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -778,6 +781,7 @@ class GreetingStructRestJson1Serializer shape: 'restJson1', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart index 13e65c5b44..ec11ec8596 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_timestamps_operation_test.dart @@ -549,6 +549,7 @@ class JsonTimestampsInputOutputRestJson1Serializer @override Iterable get types => const [JsonTimestampsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -556,6 +557,7 @@ class JsonTimestampsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override JsonTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_unions_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_unions_operation_test.dart index beadb11ea8..47330166b1 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_unions_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/json_unions_operation_test.dart @@ -762,6 +762,7 @@ class UnionInputOutputRestJson1Serializer @override Iterable get types => const [UnionInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -769,6 +770,7 @@ class UnionInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override UnionInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart index d0f601dafa..160b00201c 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/media_type_header_operation_test.dart @@ -94,6 +94,7 @@ class MediaTypeHeaderInputRestJson1Serializer @override Iterable get types => const [MediaTypeHeaderInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class MediaTypeHeaderInputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderInput deserialize( Serializers serializers, @@ -145,6 +147,7 @@ class MediaTypeHeaderOutputRestJson1Serializer @override Iterable get types => const [MediaTypeHeaderOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -152,6 +155,7 @@ class MediaTypeHeaderOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override MediaTypeHeaderOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart index b1aa9ec545..887657c08d 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/no_input_and_output_operation_test.dart @@ -126,6 +126,7 @@ class NoInputAndOutputOutputRestJson1Serializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -133,6 +134,7 @@ class NoInputAndOutputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart index 89f6841472..b67e397dc1 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/null_and_empty_headers_client_operation_test.dart @@ -69,6 +69,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer @override Iterable get types => const [NullAndEmptyHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class NullAndEmptyHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override NullAndEmptyHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart index ac8e12897d..2d3f861026 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_null_serializes_empty_string_operation_test.dart @@ -101,6 +101,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i3 @override Iterable get types => const [OmitsNullSerializesEmptyStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class OmitsNullSerializesEmptyStringInputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override OmitsNullSerializesEmptyStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart index ab57252815..0320cbe24f 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/omits_serializing_empty_lists_operation_test.dart @@ -72,6 +72,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer @override Iterable get types => const [OmitsSerializingEmptyListsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -79,6 +80,7 @@ class OmitsSerializingEmptyListsInputRestJson1Serializer shape: 'restJson1', ) ]; + @override OmitsSerializingEmptyListsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart index fa9abd1321..ca783477f6 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_player_action_operation_test.dart @@ -99,6 +99,7 @@ class PostPlayerActionInputRestJson1Serializer @override Iterable get types => const [PostPlayerActionInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -106,6 +107,7 @@ class PostPlayerActionInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionInput deserialize( Serializers serializers, @@ -150,6 +152,7 @@ class PostPlayerActionOutputRestJson1Serializer @override Iterable get types => const [PostPlayerActionOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +160,7 @@ class PostPlayerActionOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostPlayerActionOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart index 47a88576d5..f0a7982c95 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/post_union_with_json_name_operation_test.dart @@ -257,6 +257,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer @override Iterable get types => const [PostUnionWithJsonNameInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -264,6 +265,7 @@ class PostUnionWithJsonNameInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameInput deserialize( Serializers serializers, @@ -308,6 +310,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer @override Iterable get types => const [PostUnionWithJsonNameOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -315,6 +318,7 @@ class PostUnionWithJsonNameOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override PostUnionWithJsonNameOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart index e1b999f763..9e605d3712 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/put_with_content_encoding_operation_test.dart @@ -105,6 +105,7 @@ class PutWithContentEncodingInputRestJson1Serializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +113,7 @@ class PutWithContentEncodingInputRestJson1Serializer shape: 'restJson1', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart index 7fcfe125ae..c42909961b 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -98,6 +98,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +106,7 @@ class QueryIdempotencyTokenAutoFillInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart index 41402a91ef..3602511014 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_params_as_string_list_map_operation_test.dart @@ -74,6 +74,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer @override Iterable get types => const [QueryParamsAsStringListMapInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -81,6 +82,7 @@ class QueryParamsAsStringListMapInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryParamsAsStringListMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart index ca771ae17b..b7a54eba15 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/query_precedence_operation_test.dart @@ -69,6 +69,7 @@ class QueryPrecedenceInputRestJson1Serializer @override Iterable get types => const [QueryPrecedenceInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class QueryPrecedenceInputRestJson1Serializer shape: 'restJson1', ) ]; + @override QueryPrecedenceInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart index 0334b99157..fd67ccaa6a 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/recursive_shapes_operation_test.dart @@ -125,6 +125,7 @@ class RecursiveShapesInputOutputRestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class RecursiveShapesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, @@ -176,6 +178,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -183,6 +186,7 @@ class RecursiveShapesInputOutputNested1RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, @@ -232,6 +236,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer @override Iterable get types => const [RecursiveShapesInputOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -239,6 +244,7 @@ class RecursiveShapesInputOutputNested2RestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart index 6faa29263c..8c256c84e1 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/simple_scalar_properties_operation_test.dart @@ -445,6 +445,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -452,6 +453,7 @@ class SimpleScalarPropertiesInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart index 8f7359756d..a500835042 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_operation_test.dart @@ -183,6 +183,7 @@ class StreamingTraitsInputOutputRestJson1Serializer @override Iterable get types => const [StreamingTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -190,6 +191,7 @@ class StreamingTraitsInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override StreamingTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart index ea7928b5b1..5625c6dcca 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_require_length_operation_test.dart @@ -110,6 +110,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer @override Iterable get types => const [StreamingTraitsRequireLengthInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class StreamingTraitsRequireLengthInputRestJson1Serializer shape: 'restJson1', ) ]; + @override StreamingTraitsRequireLengthInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart index 0cd831d76d..623f54ab0c 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/streaming_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 @override Iterable get types => const [StreamingTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class StreamingTraitsWithMediaTypeInputOutputRestJson1Serializer extends _i3 shape: 'restJson1', ) ]; + @override StreamingTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart index 7cf5b05e1e..3c8771c033 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_body_structure_operation_test.dart @@ -106,6 +106,7 @@ class TestBodyStructureInputOutputRestJson1Serializer @override Iterable get types => const [TestBodyStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class TestBodyStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestBodyStructureInputOutput deserialize( Serializers serializers, @@ -161,6 +163,7 @@ class TestConfigRestJson1Serializer @override Iterable get types => const [TestConfig]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -168,6 +171,7 @@ class TestConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override TestConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart index 399dc8895a..c2f4a14fe4 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_no_payload_operation_test.dart @@ -104,6 +104,7 @@ class TestNoPayloadInputOutputRestJson1Serializer @override Iterable get types => const [TestNoPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class TestNoPayloadInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestNoPayloadInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart index 956cdd8c2b..8c35b5cc82 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_blob_operation_test.dart @@ -106,6 +106,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer @override Iterable get types => const [TestPayloadBlobInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class TestPayloadBlobInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestPayloadBlobInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart index d6a0194572..d59436c6df 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/test_payload_structure_operation_test.dart @@ -151,6 +151,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer @override Iterable get types => const [TestPayloadStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -158,6 +159,7 @@ class TestPayloadStructureInputOutputRestJson1Serializer shape: 'restJson1', ) ]; + @override TestPayloadStructureInputOutput deserialize( Serializers serializers, @@ -206,6 +208,7 @@ class PayloadConfigRestJson1Serializer @override Iterable get types => const [PayloadConfig]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -213,6 +216,7 @@ class PayloadConfigRestJson1Serializer shape: 'restJson1', ) ]; + @override PayloadConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart index d290141aed..ee22df1a86 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_protocol/timestamp_format_headers_operation_test.dart @@ -125,6 +125,7 @@ class TimestampFormatHeadersIoRestJson1Serializer @override Iterable get types => const [TimestampFormatHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class TimestampFormatHeadersIoRestJson1Serializer shape: 'restJson1', ) ]; + @override TimestampFormatHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart b/packages/smithy/goldens/lib2/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart index 432757ae82..a4be7f2119 100644 --- a/packages/smithy/goldens/lib2/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart +++ b/packages/smithy/goldens/lib2/restJson1/test/rest_json_validation_protocol/recursive_structures_operation_test.dart @@ -70,6 +70,7 @@ class RecursiveStructuresInputRestJson1Serializer @override Iterable get types => const [RecursiveStructuresInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -77,6 +78,7 @@ class RecursiveStructuresInputRestJson1Serializer shape: 'restJson1', ) ]; + @override RecursiveStructuresInput deserialize( Serializers serializers, @@ -120,6 +122,7 @@ class ValidationExceptionRestJson1Serializer @override Iterable get types => const [ValidationException]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -127,6 +130,7 @@ class ValidationExceptionRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationException deserialize( Serializers serializers, @@ -179,6 +183,7 @@ class ValidationExceptionFieldRestJson1Serializer @override Iterable get types => const [ValidationExceptionField]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -186,6 +191,7 @@ class ValidationExceptionFieldRestJson1Serializer shape: 'restJson1', ) ]; + @override ValidationExceptionField deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart index 7c7b475db8..48bb305e22 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/all_query_string_types_input.dart @@ -213,6 +213,7 @@ abstract class AllQueryStringTypesInput @override AllQueryStringTypesInputPayload getPayload() => AllQueryStringTypesInputPayload(); + @override List get props => [ queryString, @@ -237,6 +238,7 @@ abstract class AllQueryStringTypesInput queryIntegerEnumList, queryParamsMapOfStrings, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AllQueryStringTypesInput') @@ -344,6 +346,7 @@ abstract class AllQueryStringTypesInputPayload @override List get props => []; + @override String toString() { final helper = @@ -364,6 +367,7 @@ class AllQueryStringTypesInputRestXmlSerializer AllQueryStringTypesInputPayload, _$AllQueryStringTypesInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -371,6 +375,7 @@ class AllQueryStringTypesInputRestXmlSerializer shape: 'restXml', ) ]; + @override AllQueryStringTypesInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/aws_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/aws_config.dart index b50920f088..bbb3a523ea 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -119,7 +122,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart index 090053441b..c71b0a5b82 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/body_with_xml_name_input_output.dart @@ -47,8 +47,10 @@ abstract class BodyWithXmlNameInputOutput PayloadWithXmlName? get nested; @override BodyWithXmlNameInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('BodyWithXmlNameInputOutput') @@ -70,6 +72,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer BodyWithXmlNameInputOutput, _$BodyWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BodyWithXmlNameInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/client_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/client_config.dart index 4630a69b9e..d82053addc 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_error.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_error.dart index 3d5abba110..220cd575b0 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_error.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_error.dart @@ -68,29 +68,36 @@ abstract class ComplexError } b.topLevel = topLevel; }); + @override _i2.ShapeId get shapeId => const _i2.ShapeId( namespace: 'aws.protocoltests.restxml', shape: 'ComplexError', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 403; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [ header, topLevel, nested, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexError') @@ -127,6 +134,7 @@ abstract class ComplexErrorPayload nested, topLevel, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexErrorPayload') @@ -153,6 +161,7 @@ class ComplexErrorRestXmlSerializer ComplexErrorPayload, _$ComplexErrorPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -160,6 +169,7 @@ class ComplexErrorRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexErrorPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart index d4d072afea..2ca15f660e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/complex_nested_error_data.dart @@ -29,6 +29,7 @@ abstract class ComplexNestedErrorData String? get foo; @override List get props => [foo]; + @override String toString() { final helper = newBuiltValueToStringHelper('ComplexNestedErrorData') @@ -50,6 +51,7 @@ class ComplexNestedErrorDataRestXmlSerializer ComplexNestedErrorData, _$ComplexNestedErrorData, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class ComplexNestedErrorDataRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart index 5b825aeac7..a86c2c2092 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_and_variable_query_string_input.dart @@ -59,11 +59,13 @@ abstract class ConstantAndVariableQueryStringInput @override ConstantAndVariableQueryStringInputPayload getPayload() => ConstantAndVariableQueryStringInputPayload(); + @override List get props => [ baz, maybeSet, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class ConstantAndVariableQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i1 ConstantAndVariableQueryStringInputPayload, _$ConstantAndVariableQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override ConstantAndVariableQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart index efb210c5f2..6e105bbc2a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/constant_query_string_input.dart @@ -59,8 +59,10 @@ abstract class ConstantQueryStringInput @override ConstantQueryStringInputPayload getPayload() => ConstantQueryStringInputPayload(); + @override List get props => [hello]; + @override String toString() { final helper = newBuiltValueToStringHelper('ConstantQueryStringInput') @@ -88,6 +90,7 @@ abstract class ConstantQueryStringInputPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class ConstantQueryStringInputRestXmlSerializer ConstantQueryStringInputPayload, _$ConstantQueryStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class ConstantQueryStringInputRestXmlSerializer shape: 'restXml', ) ]; + @override ConstantQueryStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart index a460c93b04..f7955be5a9 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/datetime_offsets_output.dart @@ -37,6 +37,7 @@ abstract class DatetimeOffsetsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('DatetimeOffsetsOutput') @@ -58,6 +59,7 @@ class DatetimeOffsetsOutputRestXmlSerializer DatetimeOffsetsOutput, _$DatetimeOffsetsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -65,6 +67,7 @@ class DatetimeOffsetsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart index 082f8c5c73..581d9d1a2f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_input.dart @@ -40,8 +40,10 @@ abstract class EmptyInputAndEmptyOutputInput @override EmptyInputAndEmptyOutputInput getPayload() => this; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('EmptyInputAndEmptyOutputInput'); @@ -59,6 +61,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer EmptyInputAndEmptyOutputInput, _$EmptyInputAndEmptyOutputInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -66,6 +69,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart index 6de5379fbd..eea534685b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/empty_input_and_empty_output_output.dart @@ -39,6 +39,7 @@ abstract class EmptyInputAndEmptyOutputOutput @override List get props => []; + @override String toString() { final helper = @@ -57,6 +58,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer EmptyInputAndEmptyOutputOutput, _$EmptyInputAndEmptyOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/environment_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/environment_config.dart index 5f3fbe76e7..b5fb1aeb6b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -204,7 +207,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart index 76bfd10e37..8bea25b9e6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -222,7 +225,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -238,7 +241,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart index 52697fd11d..e74e6b3f66 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_input_output.dart @@ -49,8 +49,10 @@ abstract class FlattenedXmlMapInputOutput _i3.BuiltMap? get myMap; @override FlattenedXmlMapInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('FlattenedXmlMapInputOutput') @@ -72,6 +74,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer FlattenedXmlMapInputOutput, _$FlattenedXmlMapInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FlattenedXmlMapInputOutput deserialize( Serializers serializers, @@ -132,7 +136,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer const _i1.XmlBuiltMapSerializer(flattenedKey: 'myMap').serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart index b95250e0f8..5feb3eafb1 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_name_input_output.dart @@ -49,8 +49,10 @@ abstract class FlattenedXmlMapWithXmlNameInputOutput _i3.BuiltMap? get myMap; @override FlattenedXmlMapWithXmlNameInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = @@ -73,6 +75,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 FlattenedXmlMapWithXmlNameInputOutput, _$FlattenedXmlMapWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -80,6 +83,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNameInputOutput deserialize( Serializers serializers, @@ -139,7 +143,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i1 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart index 0671c8d5b9..0a2bfdc99c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/flattened_xml_map_with_xml_namespace_output.dart @@ -41,6 +41,7 @@ abstract class FlattenedXmlMapWithXmlNamespaceOutput _i2.BuiltMap? get myMap; @override List get props => [myMap]; + @override String toString() { final helper = @@ -63,6 +64,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 FlattenedXmlMapWithXmlNamespaceOutput, _$FlattenedXmlMapWithXmlNamespaceOutput, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +72,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, @@ -129,7 +132,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart index bed1d71718..6ddaa0658d 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/fractional_seconds_output.dart @@ -36,6 +36,7 @@ abstract class FractionalSecondsOutput DateTime? get datetime; @override List get props => [datetime]; + @override String toString() { final helper = newBuiltValueToStringHelper('FractionalSecondsOutput') @@ -57,6 +58,7 @@ class FractionalSecondsOutputRestXmlSerializer FractionalSecondsOutput, _$FractionalSecondsOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -64,6 +66,7 @@ class FractionalSecondsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart index 4adc82c252..a3c27d20c6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_struct.dart @@ -29,6 +29,7 @@ abstract class GreetingStruct String? get hi; @override List get props => [hi]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingStruct') @@ -49,6 +50,7 @@ class GreetingStructRestXmlSerializer GreetingStruct, _$GreetingStruct, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart index bda5c3cf14..6067c01c8a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/greeting_with_errors_output.dart @@ -45,8 +45,10 @@ abstract class GreetingWithErrorsOutput @override GreetingWithErrorsOutputPayload getPayload() => GreetingWithErrorsOutputPayload(); + @override List get props => [greeting]; + @override String toString() { final helper = newBuiltValueToStringHelper('GreetingWithErrorsOutput') @@ -74,6 +76,7 @@ abstract class GreetingWithErrorsOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class GreetingWithErrorsOutputRestXmlSerializer GreetingWithErrorsOutputPayload, _$GreetingWithErrorsOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class GreetingWithErrorsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingWithErrorsOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart index c11ee586bf..0aa6fc8398 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_header_input.dart @@ -58,8 +58,10 @@ abstract class HostLabelHeaderInput @override HostLabelHeaderInputPayload getPayload() => HostLabelHeaderInputPayload(); + @override List get props => [accountId]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelHeaderInput') @@ -85,6 +87,7 @@ abstract class HostLabelHeaderInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelHeaderInputPayload'); @@ -103,6 +106,7 @@ class HostLabelHeaderInputRestXmlSerializer HostLabelHeaderInputPayload, _$HostLabelHeaderInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +114,7 @@ class HostLabelHeaderInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelHeaderInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart index d6235e31ff..3da36bbd2b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/host_label_input.dart @@ -48,8 +48,10 @@ abstract class HostLabelInput @override HostLabelInput getPayload() => this; + @override List get props => [label]; + @override String toString() { final helper = newBuiltValueToStringHelper('HostLabelInput') @@ -70,6 +72,7 @@ class HostLabelInputRestXmlSerializer HostLabelInput, _$HostLabelInput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class HostLabelInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart index 39dd7eeee9..11fc2c84cf 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPayloadTraitsInputOutput') @@ -98,6 +100,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer HttpPayloadTraitsInputOutput, _$HttpPayloadTraitsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -105,6 +108,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart index f08db5a58c..14f68ff9ce 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_traits_with_media_type_input_output.dart @@ -68,11 +68,13 @@ abstract class HttpPayloadTraitsWithMediaTypeInputOutput _i2.Uint8List? get blob; @override _i2.Uint8List? getPayload() => blob; + @override List get props => [ foo, blob, ]; + @override String toString() { final helper = @@ -99,6 +101,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer HttpPayloadTraitsWithMediaTypeInputOutput, _$HttpPayloadTraitsWithMediaTypeInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -106,6 +109,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override _i2.Uint8List deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart index 524b0dc5af..040c45576c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_member_xml_name_input_output.dart @@ -59,8 +59,10 @@ abstract class HttpPayloadWithMemberXmlNameInputOutput PayloadWithXmlName? get nested; @override PayloadWithXmlName? getPayload() => nested ?? PayloadWithXmlName(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -83,6 +85,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer HttpPayloadWithMemberXmlNameInputOutput, _$HttpPayloadWithMemberXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -90,6 +93,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart index aa9c0c8ccc..a4ed71728a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_structure_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithStructureInputOutput NestedPayload? get nested; @override NestedPayload? getPayload() => nested ?? NestedPayload(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer HttpPayloadWithStructureInputOutput, _$HttpPayloadWithStructureInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart index 5bc40b540c..a14b82976c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_name_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithXmlNameInputOutput PayloadWithXmlName? get nested; @override PayloadWithXmlName? getPayload() => nested ?? PayloadWithXmlName(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer HttpPayloadWithXmlNameInputOutput, _$HttpPayloadWithXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart index 16e98dec46..461b19729c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_and_prefix_input_output.dart @@ -61,8 +61,10 @@ abstract class HttpPayloadWithXmlNamespaceAndPrefixInputOutput @override PayloadWithXmlNamespaceAndPrefix? getPayload() => nested ?? PayloadWithXmlNamespaceAndPrefix(); + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -85,6 +87,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer HttpPayloadWithXmlNamespaceAndPrefixInputOutput, _$HttpPayloadWithXmlNamespaceAndPrefixInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -92,6 +95,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart index f8e6b87a31..e37038603e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_payload_with_xml_namespace_input_output.dart @@ -58,8 +58,10 @@ abstract class HttpPayloadWithXmlNamespaceInputOutput PayloadWithXmlNamespace? get nested; @override PayloadWithXmlNamespace? getPayload() => nested ?? PayloadWithXmlNamespace(); + @override List get props => [nested]; + @override String toString() { final helper = @@ -82,6 +84,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer HttpPayloadWithXmlNamespaceInputOutput, _$HttpPayloadWithXmlNamespaceInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -89,6 +92,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart index 60a314190b..63cfe547a4 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_prefix_headers_input_output.dart @@ -85,11 +85,13 @@ abstract class HttpPrefixHeadersInputOutput @override HttpPrefixHeadersInputOutputPayload getPayload() => HttpPrefixHeadersInputOutputPayload(); + @override List get props => [ foo, fooMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpPrefixHeadersInputOutput') @@ -121,6 +123,7 @@ abstract class HttpPrefixHeadersInputOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -141,6 +144,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer extends _i1 HttpPrefixHeadersInputOutputPayload, _$HttpPrefixHeadersInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -148,6 +152,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpPrefixHeadersInputOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart index c32f887b23..3d2d6efa57 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_float_labels_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithFloatLabelsInput @override HttpRequestWithFloatLabelsInputPayload getPayload() => HttpRequestWithFloatLabelsInputPayload(); + @override List get props => [ float, double_, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithFloatLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -130,6 +133,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer extends _i1 HttpRequestWithFloatLabelsInputPayload, _$HttpRequestWithFloatLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpRequestWithFloatLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart index 97380c5c2c..b5caed02c4 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_greedy_label_in_path_input.dart @@ -73,11 +73,13 @@ abstract class HttpRequestWithGreedyLabelInPathInput @override HttpRequestWithGreedyLabelInPathInputPayload getPayload() => HttpRequestWithGreedyLabelInPathInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = @@ -110,6 +112,7 @@ abstract class HttpRequestWithGreedyLabelInPathInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -130,6 +133,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i1 HttpRequestWithGreedyLabelInPathInputPayload, _$HttpRequestWithGreedyLabelInPathInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -137,6 +141,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override HttpRequestWithGreedyLabelInPathInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 2b14078c3a..5ca5c2253e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -150,6 +150,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput @override HttpRequestWithLabelsAndTimestampFormatInputPayload getPayload() => HttpRequestWithLabelsAndTimestampFormatInputPayload(); + @override List get props => [ memberEpochSeconds, @@ -160,6 +161,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInput targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -212,6 +214,7 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -220,8 +223,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer - extends _i1.StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 + .StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); @@ -233,6 +236,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer HttpRequestWithLabelsAndTimestampFormatInputPayload, _$HttpRequestWithLabelsAndTimestampFormatInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -240,6 +244,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart index 4f68cd9c73..a163ba219c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_input.dart @@ -129,6 +129,7 @@ abstract class HttpRequestWithLabelsInput @override HttpRequestWithLabelsInputPayload getPayload() => HttpRequestWithLabelsInputPayload(); + @override List get props => [ string, @@ -140,6 +141,7 @@ abstract class HttpRequestWithLabelsInput boolean, timestamp, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpRequestWithLabelsInput') @@ -195,6 +197,7 @@ abstract class HttpRequestWithLabelsInputPayload @override List get props => []; + @override String toString() { final helper = @@ -215,6 +218,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer HttpRequestWithLabelsInputPayload, _$HttpRequestWithLabelsInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -222,6 +226,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart index b690d27e41..0f4da9359b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_response_code_output.dart @@ -42,8 +42,10 @@ abstract class HttpResponseCodeOutput int? get status; @override HttpResponseCodeOutputPayload getPayload() => HttpResponseCodeOutputPayload(); + @override List get props => [status]; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutput') @@ -71,6 +73,7 @@ abstract class HttpResponseCodeOutputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('HttpResponseCodeOutputPayload'); @@ -90,6 +93,7 @@ class HttpResponseCodeOutputRestXmlSerializer HttpResponseCodeOutputPayload, _$HttpResponseCodeOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -97,6 +101,7 @@ class HttpResponseCodeOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpResponseCodeOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart index 060f2f039f..fb164f28d6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/ignore_query_params_in_response_output.dart @@ -39,6 +39,7 @@ abstract class IgnoreQueryParamsInResponseOutput String? get baz; @override List get props => [baz]; + @override String toString() { final helper = @@ -61,6 +62,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer IgnoreQueryParamsInResponseOutput, _$IgnoreQueryParamsInResponseOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer shape: 'restXml', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart index bce07fef8a..cb91ce299a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/input_and_output_with_headers_io.dart @@ -243,6 +243,7 @@ abstract class InputAndOutputWithHeadersIo @override InputAndOutputWithHeadersIoPayload getPayload() => InputAndOutputWithHeadersIoPayload(); + @override List get props => [ headerString, @@ -262,6 +263,7 @@ abstract class InputAndOutputWithHeadersIo headerEnum, headerEnumList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('InputAndOutputWithHeadersIo') @@ -349,6 +351,7 @@ abstract class InputAndOutputWithHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -369,6 +372,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer InputAndOutputWithHeadersIoPayload, _$InputAndOutputWithHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -376,6 +380,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override InputAndOutputWithHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart index 16392d47f4..d1aae43ec8 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/invalid_greeting.dart @@ -47,18 +47,23 @@ abstract class InvalidGreeting namespace: 'aws.protocoltests.restxml', shape: 'InvalidGreeting', ); + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int get statusCode => 400; + @override @BuiltValueField(compare: false) Map? get headers; @override Exception? get underlyingException => null; + @override List get props => [message]; + @override String toString() { final helper = newBuiltValueToStringHelper('InvalidGreeting') @@ -79,6 +84,7 @@ class InvalidGreetingRestXmlSerializer InvalidGreeting, _$InvalidGreeting, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -86,6 +92,7 @@ class InvalidGreetingRestXmlSerializer shape: 'restXml', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart index eb02c9b92e..9ff7c54221 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_payload.dart @@ -39,6 +39,7 @@ abstract class NestedPayload greeting, name, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedPayload') @@ -63,6 +64,7 @@ class NestedPayloadRestXmlSerializer NestedPayload, _$NestedPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -70,6 +72,7 @@ class NestedPayloadRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart index 6191430422..13db66e083 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/nested_xml_maps_input_output.dart @@ -73,11 +73,13 @@ abstract class NestedXmlMapsInputOutput _i3.BuiltMap>? get flatNestedMap; @override NestedXmlMapsInputOutput getPayload() => this; + @override List get props => [ nestedMap, flatNestedMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedXmlMapsInputOutput') @@ -103,6 +105,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer NestedXmlMapsInputOutput, _$NestedXmlMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -110,6 +113,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedXmlMapsInputOutput deserialize( Serializers serializers, @@ -189,7 +193,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer .serialize( serializers, flatNestedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -210,7 +214,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, nestedMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart index f499a6592d..a9edf37a3f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/no_input_and_output_output.dart @@ -37,6 +37,7 @@ abstract class NoInputAndOutputOutput @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoInputAndOutputOutput'); @@ -54,6 +55,7 @@ class NoInputAndOutputOutputRestXmlSerializer NoInputAndOutputOutput, _$NoInputAndOutputOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class NoInputAndOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart index f1e69cbbe8..8879272946 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/null_and_empty_headers_io.dart @@ -82,12 +82,14 @@ abstract class NullAndEmptyHeadersIo _i3.BuiltList? get c; @override NullAndEmptyHeadersIoPayload getPayload() => NullAndEmptyHeadersIoPayload(); + @override List get props => [ a, b, c, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIo') @@ -123,6 +125,7 @@ abstract class NullAndEmptyHeadersIoPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NullAndEmptyHeadersIoPayload'); @@ -142,6 +145,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer NullAndEmptyHeadersIoPayload, _$NullAndEmptyHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -149,6 +153,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override NullAndEmptyHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart index 52ca1b195e..33aaad2a45 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/omits_null_serializes_empty_string_input.dart @@ -59,11 +59,13 @@ abstract class OmitsNullSerializesEmptyStringInput @override OmitsNullSerializesEmptyStringInputPayload getPayload() => OmitsNullSerializesEmptyStringInputPayload(); + @override List get props => [ nullValue, emptyString, ]; + @override String toString() { final helper = @@ -96,6 +98,7 @@ abstract class OmitsNullSerializesEmptyStringInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -116,6 +119,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i1 OmitsNullSerializesEmptyStringInputPayload, _$OmitsNullSerializesEmptyStringInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override OmitsNullSerializesEmptyStringInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/operation_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/operation_config.dart index 42188706ef..33539eaa19 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart index 27a2e82c29..960aaea655 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_name.dart @@ -30,6 +30,7 @@ abstract class PayloadWithXmlName String? get name; @override List get props => [name]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadWithXmlName') @@ -50,6 +51,7 @@ class PayloadWithXmlNameRestXmlSerializer PayloadWithXmlName, _$PayloadWithXmlName, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart index ad578c1b64..02e0761725 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace.dart @@ -29,6 +29,7 @@ abstract class PayloadWithXmlNamespace String? get name; @override List get props => [name]; + @override String toString() { final helper = newBuiltValueToStringHelper('PayloadWithXmlNamespace') @@ -50,6 +51,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer PayloadWithXmlNamespace, _$PayloadWithXmlNamespace, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -57,6 +59,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart index 474d17250c..f233ca71db 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/payload_with_xml_namespace_and_prefix.dart @@ -32,6 +32,7 @@ abstract class PayloadWithXmlNamespaceAndPrefix String? get name; @override List get props => [name]; + @override String toString() { final helper = @@ -54,6 +55,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer PayloadWithXmlNamespaceAndPrefix, _$PayloadWithXmlNamespaceAndPrefix, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart index 70c54c07bd..749790509d 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/put_with_content_encoding_input.dart @@ -56,11 +56,13 @@ abstract class PutWithContentEncodingInput PutWithContentEncodingInputPayload((b) { b.data = data; }); + @override List get props => [ encoding, data, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('PutWithContentEncodingInput') @@ -92,6 +94,7 @@ abstract class PutWithContentEncodingInputPayload String? get data; @override List get props => [data]; + @override String toString() { final helper = @@ -116,6 +119,7 @@ class PutWithContentEncodingInputRestXmlSerializer PutWithContentEncodingInputPayload, _$PutWithContentEncodingInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +127,7 @@ class PutWithContentEncodingInputRestXmlSerializer shape: 'restXml', ) ]; + @override PutWithContentEncodingInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart index 2e0bbe516c..0995dd1737 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_idempotency_token_auto_fill_input.dart @@ -56,8 +56,10 @@ abstract class QueryIdempotencyTokenAutoFillInput @override QueryIdempotencyTokenAutoFillInputPayload getPayload() => QueryIdempotencyTokenAutoFillInputPayload(); + @override List get props => [token]; + @override String toString() { final helper = @@ -86,6 +88,7 @@ abstract class QueryIdempotencyTokenAutoFillInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper( @@ -106,6 +109,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer extends _i1 QueryIdempotencyTokenAutoFillInputPayload, _$QueryIdempotencyTokenAutoFillInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override QueryIdempotencyTokenAutoFillInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart index de5aadd8c2..fc0b21e2c8 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_params_as_string_list_map_input.dart @@ -57,11 +57,13 @@ abstract class QueryParamsAsStringListMapInput @override QueryParamsAsStringListMapInputPayload getPayload() => QueryParamsAsStringListMapInputPayload(); + @override List get props => [ qux, foo, ]; + @override String toString() { final helper = @@ -94,6 +96,7 @@ abstract class QueryParamsAsStringListMapInputPayload @override List get props => []; + @override String toString() { final helper = @@ -114,6 +117,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer extends _i1 QueryParamsAsStringListMapInputPayload, _$QueryParamsAsStringListMapInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -121,6 +125,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override QueryParamsAsStringListMapInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart index aa23d61adf..395ee6a0e7 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/query_precedence_input.dart @@ -54,11 +54,13 @@ abstract class QueryPrecedenceInput _i3.BuiltMap? get baz; @override QueryPrecedenceInputPayload getPayload() => QueryPrecedenceInputPayload(); + @override List get props => [ foo, baz, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInput') @@ -88,6 +90,7 @@ abstract class QueryPrecedenceInputPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('QueryPrecedenceInputPayload'); @@ -106,6 +109,7 @@ class QueryPrecedenceInputRestXmlSerializer QueryPrecedenceInputPayload, _$QueryPrecedenceInputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -113,6 +117,7 @@ class QueryPrecedenceInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryPrecedenceInputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart index 879c1c50d6..e017d637e5 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output.dart @@ -48,8 +48,10 @@ abstract class RecursiveShapesInputOutput RecursiveShapesInputOutputNested1? get nested; @override RecursiveShapesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('RecursiveShapesInputOutput') @@ -71,6 +73,7 @@ class RecursiveShapesInputOutputRestXmlSerializer RecursiveShapesInputOutput, _$RecursiveShapesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -78,6 +81,7 @@ class RecursiveShapesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart index 3b379782ec..e5027ee130 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested1.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested1 foo, nested, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer RecursiveShapesInputOutputNested1, _$RecursiveShapesInputOutputNested1, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart index a18ca9ee9f..75cef2a1bd 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/recursive_shapes_input_output_nested2.dart @@ -43,6 +43,7 @@ abstract class RecursiveShapesInputOutputNested2 bar, recursiveMember, ]; + @override String toString() { final helper = @@ -69,6 +70,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer RecursiveShapesInputOutputNested2, _$RecursiveShapesInputOutputNested2, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -76,6 +78,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/retry_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/retry_config.dart index dad855cba0..b720e1b7d6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -120,7 +123,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -128,7 +131,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/s3_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/s3_config.dart index 068eec80d6..618aaf8647 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -136,7 +139,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -144,7 +147,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -152,7 +155,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart index 95afaa52c0..012d11d4b4 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -203,7 +206,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -218,7 +221,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart index 0a38bcb110..ac92f18d35 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/simple_scalar_properties_input_output.dart @@ -119,6 +119,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -132,6 +133,7 @@ abstract class SimpleScalarPropertiesInputOutput floatValue, doubleValue, ]; + @override String toString() { final helper = @@ -214,6 +216,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -270,6 +273,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -277,6 +281,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, @@ -369,7 +374,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -377,7 +382,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (falseBooleanValue != null) { @@ -385,7 +390,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (floatValue != null) { @@ -393,7 +398,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -401,7 +406,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -409,7 +414,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i3.Int64), + specifiedType: const FullType(_i3.Int64), )); } if (shortValue != null) { @@ -417,7 +422,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { @@ -433,7 +438,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart index a54ec5bb39..7da3a4ab0e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/structure_list_member.dart @@ -40,6 +40,7 @@ abstract class StructureListMember a, b, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('StructureListMember') @@ -64,6 +65,7 @@ class StructureListMemberRestXmlSerializer StructureListMember, _$StructureListMember, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -71,6 +73,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart index a974336df1..feaa9d9550 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/timestamp_format_headers_io.dart @@ -158,6 +158,7 @@ abstract class TimestampFormatHeadersIo @override TimestampFormatHeadersIoPayload getPayload() => TimestampFormatHeadersIoPayload(); + @override List get props => [ memberEpochSeconds, @@ -168,6 +169,7 @@ abstract class TimestampFormatHeadersIo targetHttpDate, targetDateTime, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('TimestampFormatHeadersIo') @@ -219,6 +221,7 @@ abstract class TimestampFormatHeadersIoPayload @override List get props => []; + @override String toString() { final helper = @@ -239,6 +242,7 @@ class TimestampFormatHeadersIoRestXmlSerializer TimestampFormatHeadersIoPayload, _$TimestampFormatHeadersIoPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -246,6 +250,7 @@ class TimestampFormatHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override TimestampFormatHeadersIoPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart index 8fac937b53..9faf5cad98 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_input_output.dart @@ -54,11 +54,13 @@ abstract class XmlAttributesInputOutput String? get attr; @override XmlAttributesInputOutput getPayload() => this; + @override List get props => [ foo, attr, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlAttributesInputOutput') @@ -84,6 +86,7 @@ class XmlAttributesInputOutputRestXmlSerializer XmlAttributesInputOutput, _$XmlAttributesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart index 523f355bb5..3d6a4cd89a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_attributes_on_payload_input_output.dart @@ -60,8 +60,10 @@ abstract class XmlAttributesOnPayloadInputOutput @override XmlAttributesInputOutput? getPayload() => payload ?? XmlAttributesInputOutput(); + @override List get props => [payload]; + @override String toString() { final helper = @@ -84,6 +86,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer XmlAttributesOnPayloadInputOutput, _$XmlAttributesOnPayloadInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -91,6 +94,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart index cec981574a..469c724c79 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_blobs_input_output.dart @@ -48,8 +48,10 @@ abstract class XmlBlobsInputOutput _i3.Uint8List? get data; @override XmlBlobsInputOutput getPayload() => this; + @override List get props => [data]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlBlobsInputOutput') @@ -70,6 +72,7 @@ class XmlBlobsInputOutputRestXmlSerializer XmlBlobsInputOutput, _$XmlBlobsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, @@ -117,7 +121,7 @@ class XmlBlobsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('data')) ..add(serializers.serialize( data, - specifiedType: const FullType.nullable(_i3.Uint8List), + specifiedType: const FullType(_i3.Uint8List), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart index 0405f6ce40..fb5ed3d81e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_empty_strings_input_output.dart @@ -46,8 +46,10 @@ abstract class XmlEmptyStringsInputOutput String? get emptyString; @override XmlEmptyStringsInputOutput getPayload() => this; + @override List get props => [emptyString]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEmptyStringsInputOutput') @@ -69,6 +71,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer XmlEmptyStringsInputOutput, _$XmlEmptyStringsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEmptyStringsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart index f030cac9dd..2706e50bd2 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_enums_input_output.dart @@ -67,6 +67,7 @@ abstract class XmlEnumsInputOutput _i3.BuiltMap? get fooEnumMap; @override XmlEnumsInputOutput getPayload() => this; + @override List get props => [ fooEnum1, @@ -76,6 +77,7 @@ abstract class XmlEnumsInputOutput fooEnumSet, fooEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlEnumsInputOutput') @@ -116,6 +118,7 @@ class XmlEnumsInputOutputRestXmlSerializer XmlEnumsInputOutput, _$XmlEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +126,7 @@ class XmlEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEnumsInputOutput deserialize( Serializers serializers, @@ -213,7 +217,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum1')) ..add(serializers.serialize( fooEnum1, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum2 != null) { @@ -221,7 +225,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum2')) ..add(serializers.serialize( fooEnum2, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnum3 != null) { @@ -229,7 +233,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('fooEnum3')) ..add(serializers.serialize( fooEnum3, - specifiedType: const FullType.nullable(FooEnum), + specifiedType: const FullType(FooEnum), )); } if (fooEnumList != null) { @@ -238,7 +242,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, fooEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(FooEnum)], ), @@ -250,7 +254,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, fooEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -265,7 +269,7 @@ class XmlEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, fooEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(FooEnum)], ), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart index 0d0085ce46..a011a7464c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_int_enums_input_output.dart @@ -66,6 +66,7 @@ abstract class XmlIntEnumsInputOutput _i3.BuiltMap? get intEnumMap; @override XmlIntEnumsInputOutput getPayload() => this; + @override List get props => [ intEnum1, @@ -75,6 +76,7 @@ abstract class XmlIntEnumsInputOutput intEnumSet, intEnumMap, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlIntEnumsInputOutput') @@ -116,6 +118,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer XmlIntEnumsInputOutput, _$XmlIntEnumsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -123,6 +126,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlIntEnumsInputOutput deserialize( Serializers serializers, @@ -215,7 +219,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum1')) ..add(serializers.serialize( intEnum1, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum2 != null) { @@ -223,7 +227,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum2')) ..add(serializers.serialize( intEnum2, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnum3 != null) { @@ -231,7 +235,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('intEnum3')) ..add(serializers.serialize( intEnum3, - specifiedType: const FullType.nullable(IntegerEnum), + specifiedType: const FullType(IntegerEnum), )); } if (intEnumList != null) { @@ -240,7 +244,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(IntegerEnum)], ), @@ -252,7 +256,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, intEnumMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), @@ -267,7 +271,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, intEnumSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(IntegerEnum)], ), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart index dd2c7ac314..2cb8542c7a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_lists_input_output.dart @@ -111,6 +111,7 @@ abstract class XmlListsInputOutput _i3.BuiltList? get flattenedStructureList; @override XmlListsInputOutput getPayload() => this; + @override List get props => [ stringList, @@ -129,6 +130,7 @@ abstract class XmlListsInputOutput structureList, flattenedStructureList, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlListsInputOutput') @@ -205,6 +207,7 @@ class XmlListsInputOutputRestXmlSerializer XmlListsInputOutput, _$XmlListsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -212,6 +215,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -394,7 +398,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, booleanList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(bool)], ), @@ -406,7 +410,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, enumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(FooEnum)], ), @@ -418,7 +422,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -429,7 +433,7 @@ class XmlListsInputOutputRestXmlSerializer const _i1.XmlBuiltListSerializer(memberName: 'customName').serialize( serializers, flattenedList2, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -442,7 +446,7 @@ class XmlListsInputOutputRestXmlSerializer ).serialize( serializers, flattenedListWithMemberNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -454,7 +458,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedListWithNamespace, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -466,7 +470,7 @@ class XmlListsInputOutputRestXmlSerializer .serialize( serializers, flattenedStructureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(StructureListMember)], ), @@ -478,7 +482,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, intEnumList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(IntegerEnum)], ), @@ -490,7 +494,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, integerList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(int)], ), @@ -502,7 +506,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, nestedStringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [ FullType( @@ -519,7 +523,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer(memberName: 'item').serialize( serializers, renamedListMembers, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -531,7 +535,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, stringList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(String)], ), @@ -543,7 +547,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltSetSerializer().serialize( serializers, stringSet, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltSet, [FullType(String)], ), @@ -555,7 +559,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer(memberName: 'item').serialize( serializers, structureList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(StructureListMember)], ), @@ -567,7 +571,7 @@ class XmlListsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltListSerializer().serialize( serializers, timestampList, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltList, [FullType(DateTime)], ), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart index 7f66322606..ccff069004 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlMapsInputOutput _i3.BuiltMap? get myMap; @override XmlMapsInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsInputOutput') @@ -69,6 +71,7 @@ class XmlMapsInputOutputRestXmlSerializer XmlMapsInputOutput, _$XmlMapsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -124,7 +128,7 @@ class XmlMapsInputOutputRestXmlSerializer ..add(const _i1.XmlBuiltMapSerializer().serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart index 2e19971529..345ba0b328 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_maps_xml_name_input_output.dart @@ -49,8 +49,10 @@ abstract class XmlMapsXmlNameInputOutput _i3.BuiltMap? get myMap; @override XmlMapsXmlNameInputOutput getPayload() => this; + @override List get props => [myMap]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlMapsXmlNameInputOutput') @@ -72,6 +74,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer XmlMapsXmlNameInputOutput, _$XmlMapsXmlNameInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -79,6 +82,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsXmlNameInputOutput deserialize( Serializers serializers, @@ -135,7 +139,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer ).serialize( serializers, myMap, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i3.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart index 65309454bf..16378ae558 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespace_nested.dart @@ -41,6 +41,7 @@ abstract class XmlNamespaceNested foo, values, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespaceNested') @@ -65,6 +66,7 @@ class XmlNamespaceNestedRestXmlSerializer XmlNamespaceNested, _$XmlNamespaceNested, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -72,6 +74,7 @@ class XmlNamespaceNestedRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, @@ -148,7 +151,7 @@ class XmlNamespaceNestedRestXmlSerializer .serialize( serializers, values, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(String)], ), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart index eb56872cf7..68f3d55744 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_namespaces_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlNamespacesInputOutput XmlNamespaceNested? get nested; @override XmlNamespacesInputOutput getPayload() => this; + @override List get props => [nested]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNamespacesInputOutput') @@ -70,6 +72,7 @@ class XmlNamespacesInputOutputRestXmlSerializer XmlNamespacesInputOutput, _$XmlNamespacesInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -77,6 +80,7 @@ class XmlNamespacesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespacesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart index 6a7a9056ea..0394800317 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_nested_union_struct.dart @@ -65,6 +65,7 @@ abstract class XmlNestedUnionStruct floatValue, doubleValue, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlNestedUnionStruct') @@ -113,6 +114,7 @@ class XmlNestedUnionStructRestXmlSerializer XmlNestedUnionStruct, _$XmlNestedUnionStruct, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -120,6 +122,7 @@ class XmlNestedUnionStructRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNestedUnionStruct deserialize( Serializers serializers, @@ -204,7 +207,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('booleanValue')) ..add(serializers.serialize( booleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (byteValue != null) { @@ -212,7 +215,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -220,7 +223,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('doubleValue')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (floatValue != null) { @@ -228,7 +231,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -236,7 +239,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -244,7 +247,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i2.Int64), + specifiedType: const FullType(_i2.Int64), )); } if (shortValue != null) { @@ -252,7 +255,7 @@ class XmlNestedUnionStructRestXmlSerializer ..add(const _i3.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart index bc51fb9873..2f8a7a0e72 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_timestamps_input_output.dart @@ -68,6 +68,7 @@ abstract class XmlTimestampsInputOutput DateTime? get httpDateOnTarget; @override XmlTimestampsInputOutput getPayload() => this; + @override List get props => [ normal, @@ -78,6 +79,7 @@ abstract class XmlTimestampsInputOutput httpDate, httpDateOnTarget, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlTimestampsInputOutput') @@ -123,6 +125,7 @@ class XmlTimestampsInputOutputRestXmlSerializer XmlTimestampsInputOutput, _$XmlTimestampsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -130,6 +133,7 @@ class XmlTimestampsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlTimestampsInputOutput deserialize( Serializers serializers, @@ -262,7 +266,7 @@ class XmlTimestampsInputOutputRestXmlSerializer ..add(const _i1.XmlElementName('normal')) ..add(serializers.serialize( normal, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart index 66448dea63..348e9f6542 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_union_shape.dart @@ -70,15 +70,25 @@ sealed class XmlUnionShape extends _i1.SmithyUnion { ]; String? get stringValue => null; + bool? get booleanValue => null; + int? get byteValue => null; + int? get shortValue => null; + int? get integerValue => null; + _i2.Int64? get longValue => null; + double? get floatValue => null; + double? get doubleValue => null; + XmlUnionShape? get unionValue => null; + XmlNestedUnionStruct? get structValue => null; + @override Object get value => (stringValue ?? booleanValue ?? @@ -90,6 +100,7 @@ sealed class XmlUnionShape extends _i1.SmithyUnion { doubleValue ?? unionValue ?? structValue)!; + @override String toString() { final helper = newBuiltValueToStringHelper(r'XmlUnionShape'); @@ -288,6 +299,7 @@ class XmlUnionShapeRestXmlSerializer XmlUnionShapeUnionValue$, XmlUnionShapeStructValue$, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -295,6 +307,7 @@ class XmlUnionShapeRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionShape deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart index 2f679c77d4..7e9a639b9a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/xml_unions_input_output.dart @@ -47,8 +47,10 @@ abstract class XmlUnionsInputOutput XmlUnionShape? get unionValue; @override XmlUnionsInputOutput getPayload() => this; + @override List get props => [unionValue]; + @override String toString() { final helper = newBuiltValueToStringHelper('XmlUnionsInputOutput') @@ -69,6 +71,7 @@ class XmlUnionsInputOutputRestXmlSerializer XmlUnionsInputOutput, _$XmlUnionsInputOutput, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -76,6 +79,7 @@ class XmlUnionsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart index 8e50b403e7..574a136336 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/all_query_string_types_operation.dart @@ -218,24 +218,32 @@ class AllQueryStringTypesOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'AllQueryStringTypes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( AllQueryStringTypesInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart index 9268029418..c3a1f3dec3 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/body_with_xml_name_operation.dart @@ -69,8 +69,10 @@ class BodyWithXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/BodyWithXmlName'; }); + @override int successCode([BodyWithXmlNameInputOutput? output]) => 200; + @override BodyWithXmlNameInputOutput buildOutput( BodyWithXmlNameInputOutput payload, @@ -80,16 +82,22 @@ class BodyWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'BodyWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( BodyWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart index 64bee2271b..2cfeb81559 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_and_variable_query_string_operation.dart @@ -83,24 +83,32 @@ class ConstantAndVariableQueryStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantAndVariableQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantAndVariableQueryStringInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart index 8bb6513deb..8e531cb574 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/constant_query_string_operation.dart @@ -68,24 +68,32 @@ class ConstantQueryStringOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/ConstantQueryString/{hello}?foo=bar&hello'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'ConstantQueryString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( ConstantQueryStringInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart index 9a8b0f63af..a41b2c04a1 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/datetime_offsets_operation.dart @@ -62,8 +62,10 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/DatetimeOffsets'; }); + @override int successCode([DatetimeOffsetsOutput? output]) => 200; + @override DatetimeOffsetsOutput buildOutput( DatetimeOffsetsOutput payload, @@ -73,16 +75,22 @@ class DatetimeOffsetsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DatetimeOffsets'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart index e69e31ff6f..5f22bd748c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/empty_input_and_empty_output_operation.dart @@ -72,8 +72,10 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/EmptyInputAndEmptyOutput'; }); + @override int successCode([EmptyInputAndEmptyOutputOutput? output]) => 200; + @override EmptyInputAndEmptyOutputOutput buildOutput( EmptyInputAndEmptyOutputOutput payload, @@ -83,16 +85,22 @@ class EmptyInputAndEmptyOutputOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EmptyInputAndEmptyOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( EmptyInputAndEmptyOutputInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart index 2d51e60997..2cc007f184 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_operation.dart @@ -61,24 +61,32 @@ class EndpointOperation b.path = r'/EndpointOperation'; b.hostPrefix = 'foo.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart index d1915fb10c..dcc20bc0bb 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_header_operation.dart @@ -67,24 +67,32 @@ class EndpointWithHostLabelHeaderOperation extends _i1.HttpOperation< b.headers['X-Amz-Account-Id'] = input.accountId; } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelHeaderOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelHeaderInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart index e3b1be4642..18d606939f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/endpoint_with_host_label_operation.dart @@ -64,24 +64,32 @@ class EndpointWithHostLabelOperation extends _i1 b.path = r'/EndpointWithHostLabelOperation'; b.hostPrefix = 'foo.{label}.'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'EndpointWithHostLabelOperation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HostLabelInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart index 129cac9234..d69fdc37de 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_operation.dart @@ -69,8 +69,10 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMap'; }); + @override int successCode([FlattenedXmlMapInputOutput? output]) => 200; + @override FlattenedXmlMapInputOutput buildOutput( FlattenedXmlMapInputOutput payload, @@ -80,16 +82,22 @@ class FlattenedXmlMapOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( FlattenedXmlMapInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart index 9a1dd13e7b..be6b3be04e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_name_operation.dart @@ -72,8 +72,10 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMapWithXmlName'; }); + @override int successCode([FlattenedXmlMapWithXmlNameInputOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNameInputOutput buildOutput( FlattenedXmlMapWithXmlNameInputOutput payload, @@ -83,16 +85,22 @@ class FlattenedXmlMapWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( FlattenedXmlMapWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart index 298411552d..584bc8cb4b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/flattened_xml_map_with_xml_namespace_operation.dart @@ -70,8 +70,10 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/FlattenedXmlMapWithXmlNamespace'; }); + @override int successCode([FlattenedXmlMapWithXmlNamespaceOutput? output]) => 200; + @override FlattenedXmlMapWithXmlNamespaceOutput buildOutput( FlattenedXmlMapWithXmlNamespaceOutput payload, @@ -81,16 +83,22 @@ class FlattenedXmlMapWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FlattenedXmlMapWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart index aecbee4c43..105f4aadca 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/fractional_seconds_operation.dart @@ -62,8 +62,10 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/FractionalSeconds'; }); + @override int successCode([FractionalSecondsOutput? output]) => 200; + @override FractionalSecondsOutput buildOutput( FractionalSecondsOutput payload, @@ -73,16 +75,22 @@ class FractionalSecondsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'FractionalSeconds'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart index 59a8ee736b..2367109bae 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/greeting_with_errors_operation.dart @@ -66,8 +66,10 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/GreetingWithErrors'; }); + @override int successCode([GreetingWithErrorsOutput? output]) => 200; + @override GreetingWithErrorsOutput buildOutput( GreetingWithErrorsOutputPayload payload, @@ -77,6 +79,7 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -100,14 +103,19 @@ class GreetingWithErrorsOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, builder: InvalidGreeting.fromResponse, ), ]; + @override String get runtimeTypeName => 'GreetingWithErrors'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart index 33f8d0d284..2f0a4528f9 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_operation.dart @@ -72,8 +72,10 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, } } }); + @override int successCode([HttpPayloadTraitsInputOutput? output]) => 200; + @override HttpPayloadTraitsInputOutput buildOutput( _i2.Uint8List? payload, @@ -83,16 +85,22 @@ class HttpPayloadTraitsOperation extends _i1.HttpOperation<_i2.Uint8List, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraits'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart index 510eb55e16..970956397d 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_traits_with_media_type_operation.dart @@ -80,8 +80,10 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPayloadTraitsWithMediaTypeInputOutput? output]) => 200; + @override HttpPayloadTraitsWithMediaTypeInputOutput buildOutput( _i2.Uint8List? payload, @@ -91,16 +93,22 @@ class HttpPayloadTraitsWithMediaTypeOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadTraitsWithMediaType'; + @override _i3.AWSRetryer get retryer => _i3.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadTraitsWithMediaTypeInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart index 97ef42ecf9..39b9dc7fd3 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_member_xml_name_operation.dart @@ -73,8 +73,10 @@ class HttpPayloadWithMemberXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithMemberXmlName'; }); + @override int successCode([HttpPayloadWithMemberXmlNameInputOutput? output]) => 200; + @override HttpPayloadWithMemberXmlNameInputOutput buildOutput( PayloadWithXmlName? payload, @@ -84,16 +86,22 @@ class HttpPayloadWithMemberXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithMemberXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithMemberXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart index 1c34894e81..f6539245fc 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_structure_operation.dart @@ -70,8 +70,10 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithStructure'; }); + @override int successCode([HttpPayloadWithStructureInputOutput? output]) => 200; + @override HttpPayloadWithStructureInputOutput buildOutput( NestedPayload? payload, @@ -81,16 +83,22 @@ class HttpPayloadWithStructureOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithStructure'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithStructureInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart index 54b67370ed..6ded3febce 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_name_operation.dart @@ -70,8 +70,10 @@ class HttpPayloadWithXmlNameOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlName'; }); + @override int successCode([HttpPayloadWithXmlNameInputOutput? output]) => 200; + @override HttpPayloadWithXmlNameInputOutput buildOutput( PayloadWithXmlName? payload, @@ -81,16 +83,22 @@ class HttpPayloadWithXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart index b0c8a32168..c3608ee565 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_and_prefix_operation.dart @@ -74,9 +74,11 @@ class HttpPayloadWithXmlNamespaceAndPrefixOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlNamespaceAndPrefix'; }); + @override int successCode([HttpPayloadWithXmlNamespaceAndPrefixInputOutput? output]) => 200; + @override HttpPayloadWithXmlNamespaceAndPrefixInputOutput buildOutput( PayloadWithXmlNamespaceAndPrefix? payload, @@ -86,16 +88,22 @@ class HttpPayloadWithXmlNamespaceAndPrefixOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlNamespaceAndPrefix'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNamespaceAndPrefixInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart index a12db96fac..824b7252d8 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_payload_with_xml_namespace_operation.dart @@ -73,8 +73,10 @@ class HttpPayloadWithXmlNamespaceOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/HttpPayloadWithXmlNamespace'; }); + @override int successCode([HttpPayloadWithXmlNamespaceInputOutput? output]) => 200; + @override HttpPayloadWithXmlNamespaceInputOutput buildOutput( PayloadWithXmlNamespace? payload, @@ -84,16 +86,22 @@ class HttpPayloadWithXmlNamespaceOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPayloadWithXmlNamespace'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPayloadWithXmlNamespaceInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart index e87c015a66..1e3a0a1452 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_prefix_headers_operation.dart @@ -89,8 +89,10 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([HttpPrefixHeadersInputOutput? output]) => 200; + @override HttpPrefixHeadersInputOutput buildOutput( HttpPrefixHeadersInputOutputPayload payload, @@ -100,16 +102,22 @@ class HttpPrefixHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpPrefixHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( HttpPrefixHeadersInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart index cbc9655bb9..202d33c54f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_float_labels_operation.dart @@ -66,24 +66,32 @@ class HttpRequestWithFloatLabelsOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/FloatHttpLabels/{float}/{double}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithFloatLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithFloatLabelsInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart index 65b8c1f544..1d0e96ab59 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_greedy_label_in_path_operation.dart @@ -69,24 +69,32 @@ class HttpRequestWithGreedyLabelInPathOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithGreedyLabelInPath'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithGreedyLabelInPathInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 3c8e80eb48..4b9a7e9b4b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,12 +13,9 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation - extends _i1.HttpOperation< - HttpRequestWithLabelsAndTimestampFormatInputPayload, - HttpRequestWithLabelsAndTimestampFormatInput, - _i1.Unit, - _i1.Unit> { +class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 + .HttpOperation { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, @@ -74,24 +71,32 @@ class HttpRequestWithLabelsAndTimestampFormatOperation b.path = r'/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabelsAndTimestampFormat'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsAndTimestampFormatInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart index b6b305eb49..07872f9c38 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_operation.dart @@ -69,24 +69,32 @@ class HttpRequestWithLabelsOperation extends _i1.HttpOperation< b.path = r'/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpRequestWithLabels'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( HttpRequestWithLabelsInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart index 61b8dad91d..6af7ae4756 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_response_code_operation.dart @@ -62,8 +62,10 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'PUT'; b.path = r'/HttpResponseCode'; }); + @override int successCode([HttpResponseCodeOutput? output]) => output?.status ?? 200; + @override HttpResponseCodeOutput buildOutput( HttpResponseCodeOutputPayload payload, @@ -73,16 +75,22 @@ class HttpResponseCodeOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'HttpResponseCode'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart index 548e6f4e0e..2c6f3945c1 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/ignore_query_params_in_response_operation.dart @@ -67,8 +67,10 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< b.method = 'GET'; b.path = r'/IgnoreQueryParamsInResponse'; }); + @override int successCode([IgnoreQueryParamsInResponseOutput? output]) => 200; + @override IgnoreQueryParamsInResponseOutput buildOutput( IgnoreQueryParamsInResponseOutput payload, @@ -78,16 +80,22 @@ class IgnoreQueryParamsInResponseOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'IgnoreQueryParamsInResponse'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart index 8eabdecd31..a1fccb4167 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/input_and_output_with_headers_operation.dart @@ -154,8 +154,10 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< } } }); + @override int successCode([InputAndOutputWithHeadersIo? output]) => 200; + @override InputAndOutputWithHeadersIo buildOutput( InputAndOutputWithHeadersIoPayload payload, @@ -165,16 +167,22 @@ class InputAndOutputWithHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'InputAndOutputWithHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( InputAndOutputWithHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart index cf797158ec..a04f2637c6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/nested_xml_maps_operation.dart @@ -67,8 +67,10 @@ class NestedXmlMapsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/NestedXmlMaps'; }); + @override int successCode([NestedXmlMapsInputOutput? output]) => 200; + @override NestedXmlMapsInputOutput buildOutput( NestedXmlMapsInputOutput payload, @@ -78,16 +80,22 @@ class NestedXmlMapsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NestedXmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NestedXmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart index 8f5e9c9d0c..ae0de56cb5 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_no_output_operation.dart @@ -62,24 +62,32 @@ class NoInputAndNoOutputOperation b.method = 'POST'; b.path = r'/NoInputAndNoOutput'; }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndNoOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart index 8ce3dcb9ba..60813e8c21 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/no_input_and_output_operation.dart @@ -64,8 +64,10 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, b.method = 'POST'; b.path = r'/NoInputAndOutputOutput'; }); + @override int successCode([NoInputAndOutputOutput? output]) => 200; + @override NoInputAndOutputOutput buildOutput( NoInputAndOutputOutput payload, @@ -75,16 +77,22 @@ class NoInputAndOutputOperation extends _i1.HttpOperation<_i1.Unit, _i1.Unit, payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NoInputAndOutput'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( _i1.Unit input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart index e98fd4ced6..ccc3fa7e86 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_client_operation.dart @@ -84,8 +84,10 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -95,16 +97,22 @@ class NullAndEmptyHeadersClientOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersClient'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart index 4f3a2ae44a..b868b89996 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/null_and_empty_headers_server_operation.dart @@ -84,8 +84,10 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< } } }); + @override int successCode([NullAndEmptyHeadersIo? output]) => 200; + @override NullAndEmptyHeadersIo buildOutput( NullAndEmptyHeadersIoPayload payload, @@ -95,16 +97,22 @@ class NullAndEmptyHeadersServerOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'NullAndEmptyHeadersServer'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( NullAndEmptyHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart index e045e52cee..a16903cdd0 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/omits_null_serializes_empty_string_operation.dart @@ -83,24 +83,32 @@ class OmitsNullSerializesEmptyStringOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'OmitsNullSerializesEmptyString'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( OmitsNullSerializesEmptyStringInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart index 5767b2098f..d47f049fad 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/put_with_content_encoding_operation.dart @@ -72,24 +72,32 @@ class PutWithContentEncodingOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'PutWithContentEncoding'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( PutWithContentEncodingInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart index 8100b5fda1..6578eb0f1f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_idempotency_token_auto_fill_operation.dart @@ -74,24 +74,32 @@ class QueryIdempotencyTokenAutoFillOperation extends _i1.HttpOperation< ); } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryIdempotencyTokenAutoFill'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryIdempotencyTokenAutoFillInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart index b4ba7b1505..2cdb11d4c3 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_params_as_string_list_map_operation.dart @@ -82,24 +82,32 @@ class QueryParamsAsStringListMapOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryParamsAsStringListMap'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryParamsAsStringListMapInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart index 204d01bc3d..4cdf725dcb 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/query_precedence_operation.dart @@ -77,24 +77,32 @@ class QueryPrecedenceOperation extends _i1.HttpOperation< } } }); + @override int successCode([_i1.Unit? output]) => 200; + @override _i1.Unit buildOutput( _i1.Unit payload, _i3.AWSBaseHttpResponse response, ) => payload; + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'QueryPrecedence'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation<_i1.Unit> run( QueryPrecedenceInput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart index 74718f5c9a..351da0b4bf 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/recursive_shapes_operation.dart @@ -69,8 +69,10 @@ class RecursiveShapesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/RecursiveShapes'; }); + @override int successCode([RecursiveShapesInputOutput? output]) => 200; + @override RecursiveShapesInputOutput buildOutput( RecursiveShapesInputOutput payload, @@ -80,16 +82,22 @@ class RecursiveShapesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'RecursiveShapes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( RecursiveShapesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart index 9722dc990d..a103201a47 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/simple_scalar_properties_operation.dart @@ -75,8 +75,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -86,16 +88,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart index c54c9c51cd..f140faf684 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/timestamp_format_headers_operation.dart @@ -108,8 +108,10 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< .toString(); } }); + @override int successCode([TimestampFormatHeadersIo? output]) => 200; + @override TimestampFormatHeadersIo buildOutput( TimestampFormatHeadersIoPayload payload, @@ -119,16 +121,22 @@ class TimestampFormatHeadersOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'TimestampFormatHeaders'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( TimestampFormatHeadersIo input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart index d3c15f27f8..bf65d0440f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_on_payload_operation.dart @@ -73,8 +73,10 @@ class XmlAttributesOnPayloadOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlAttributesOnPayload'; }); + @override int successCode([XmlAttributesOnPayloadInputOutput? output]) => 200; + @override XmlAttributesOnPayloadInputOutput buildOutput( XmlAttributesInputOutput? payload, @@ -84,16 +86,22 @@ class XmlAttributesOnPayloadOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlAttributesOnPayload'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlAttributesOnPayloadInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart index 6ba8716f8b..96a65b109d 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_attributes_operation.dart @@ -69,8 +69,10 @@ class XmlAttributesOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlAttributes'; }); + @override int successCode([XmlAttributesInputOutput? output]) => 200; + @override XmlAttributesInputOutput buildOutput( XmlAttributesInputOutput payload, @@ -80,16 +82,22 @@ class XmlAttributesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlAttributes'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlAttributesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart index 9a79d494d5..c2edcf62cf 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_blobs_operation.dart @@ -66,8 +66,10 @@ class XmlBlobsOperation extends _i1.HttpOperation 200; + @override XmlBlobsInputOutput buildOutput( XmlBlobsInputOutput payload, @@ -77,16 +79,22 @@ class XmlBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart index 02be7139a6..2cc4e98c0a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_blobs_operation.dart @@ -66,8 +66,10 @@ class XmlEmptyBlobsOperation extends _i1.HttpOperation 200; + @override XmlBlobsInputOutput buildOutput( XmlBlobsInputOutput payload, @@ -77,16 +79,22 @@ class XmlEmptyBlobsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyBlobs'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlBlobsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart index 6937f71d54..32a99edb2a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_lists_operation.dart @@ -64,8 +64,10 @@ class XmlEmptyListsOperation extends _i1.HttpOperation 200; + @override XmlListsInputOutput buildOutput( XmlListsInputOutput payload, @@ -75,16 +77,22 @@ class XmlEmptyListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlListsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart index d5b5ef0ad8..4239a0c17c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_maps_operation.dart @@ -64,8 +64,10 @@ class XmlEmptyMapsOperation extends _i1.HttpOperation 200; + @override XmlMapsInputOutput buildOutput( XmlMapsInputOutput payload, @@ -75,16 +77,22 @@ class XmlEmptyMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart index b503832da2..a41cbdfd67 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_empty_strings_operation.dart @@ -67,8 +67,10 @@ class XmlEmptyStringsOperation extends _i1.HttpOperation< b.method = 'PUT'; b.path = r'/XmlEmptyStrings'; }); + @override int successCode([XmlEmptyStringsInputOutput? output]) => 200; + @override XmlEmptyStringsInputOutput buildOutput( XmlEmptyStringsInputOutput payload, @@ -78,16 +80,22 @@ class XmlEmptyStringsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEmptyStrings'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlEmptyStringsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart index c18dce5cfc..f83012ccac 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_enums_operation.dart @@ -66,8 +66,10 @@ class XmlEnumsOperation extends _i1.HttpOperation 200; + @override XmlEnumsInputOutput buildOutput( XmlEnumsInputOutput payload, @@ -77,16 +79,22 @@ class XmlEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart index fe51a3f1f5..5bf1c1334c 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_int_enums_operation.dart @@ -66,8 +66,10 @@ class XmlIntEnumsOperation extends _i1.HttpOperation 200; + @override XmlIntEnumsInputOutput buildOutput( XmlIntEnumsInputOutput payload, @@ -77,16 +79,22 @@ class XmlIntEnumsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlIntEnums'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlIntEnumsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart index 43f21cd6d0..c22f34e12a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_lists_operation.dart @@ -66,8 +66,10 @@ class XmlListsOperation extends _i1.HttpOperation 200; + @override XmlListsInputOutput buildOutput( XmlListsInputOutput payload, @@ -77,16 +79,22 @@ class XmlListsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlLists'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlListsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart index 3f5e68ae99..cecfe62494 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_operation.dart @@ -66,8 +66,10 @@ class XmlMapsOperation extends _i1.HttpOperation 200; + @override XmlMapsInputOutput buildOutput( XmlMapsInputOutput payload, @@ -77,16 +79,22 @@ class XmlMapsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMaps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart index 90161d26a6..c18e3495c7 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_maps_xml_name_operation.dart @@ -67,8 +67,10 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlMapsXmlName'; }); + @override int successCode([XmlMapsXmlNameInputOutput? output]) => 200; + @override XmlMapsXmlNameInputOutput buildOutput( XmlMapsXmlNameInputOutput payload, @@ -78,16 +80,22 @@ class XmlMapsXmlNameOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlMapsXmlName'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlMapsXmlNameInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart index 795f319592..6f3c8640ab 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_namespaces_operation.dart @@ -67,8 +67,10 @@ class XmlNamespacesOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlNamespaces'; }); + @override int successCode([XmlNamespacesInputOutput? output]) => 200; + @override XmlNamespacesInputOutput buildOutput( XmlNamespacesInputOutput payload, @@ -78,16 +80,22 @@ class XmlNamespacesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlNamespaces'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlNamespacesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart index 9d77c315d3..58185ea1b8 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_timestamps_operation.dart @@ -69,8 +69,10 @@ class XmlTimestampsOperation extends _i1.HttpOperation< b.method = 'POST'; b.path = r'/XmlTimestamps'; }); + @override int successCode([XmlTimestampsInputOutput? output]) => 200; + @override XmlTimestampsInputOutput buildOutput( XmlTimestampsInputOutput payload, @@ -80,16 +82,22 @@ class XmlTimestampsOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'XmlTimestamps'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlTimestampsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart index 315e0e2f84..6a4def75fe 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/xml_unions_operation.dart @@ -64,8 +64,10 @@ class XmlUnionsOperation extends _i1.HttpOperation 200; + @override XmlUnionsInputOutput buildOutput( XmlUnionsInputOutput payload, @@ -75,16 +77,22 @@ class XmlUnionsOperation extends _i1.HttpOperation get errorTypes => const []; + @override String get runtimeTypeName => 'XmlUnions'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( XmlUnionsInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/aws_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/aws_config.dart index c3165079bb..17898dc2d5 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/client_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/client_config.dart index 2f5941a8b0..2381869a31 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/common_prefix.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/common_prefix.dart index 92a6ca709c..0c76280629 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/common_prefix.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/common_prefix.dart @@ -29,6 +29,7 @@ abstract class CommonPrefix String? get prefix; @override List get props => [prefix]; + @override String toString() { final helper = newBuiltValueToStringHelper('CommonPrefix') @@ -49,6 +50,7 @@ class CommonPrefixRestXmlSerializer CommonPrefix, _$CommonPrefix, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -56,6 +58,7 @@ class CommonPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override CommonPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_output.dart index 9853bedb91..798d251c1b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_output.dart @@ -45,8 +45,10 @@ abstract class DeleteObjectTaggingOutput @override DeleteObjectTaggingOutputPayload getPayload() => DeleteObjectTaggingOutputPayload(); + @override List get props => [versionId]; + @override String toString() { final helper = newBuiltValueToStringHelper('DeleteObjectTaggingOutput') @@ -74,6 +76,7 @@ abstract class DeleteObjectTaggingOutputPayload @override List get props => []; + @override String toString() { final helper = @@ -94,6 +97,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer DeleteObjectTaggingOutputPayload, _$DeleteObjectTaggingOutputPayload, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -101,6 +105,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingOutputPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_request.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_request.dart index a1574dc69d..cef5cb33f3 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_request.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/delete_object_tagging_request.dart @@ -84,6 +84,7 @@ abstract class DeleteObjectTaggingRequest @override DeleteObjectTaggingRequestPayload getPayload() => DeleteObjectTaggingRequestPayload(); + @override List get props => [ bucket, @@ -91,6 +92,7 @@ abstract class DeleteObjectTaggingRequest versionId, expectedBucketOwner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('DeleteObjectTaggingRequest') @@ -130,6 +132,7 @@ abstract class DeleteObjectTaggingRequestPayload @override List get props => []; + @override String toString() { final helper = @@ -150,6 +153,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer DeleteObjectTaggingRequestPayload, _$DeleteObjectTaggingRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -157,6 +161,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/environment_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/environment_config.dart index 67fa472299..c2379f4f69 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/file_config_settings.dart index cd8952c149..e9c8b9f3c4 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -227,7 +230,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -243,7 +246,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_output.dart index 19d77c577d..239835215a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_output.dart @@ -42,8 +42,10 @@ abstract class GetBucketLocationOutput BucketLocationConstraint? get locationConstraint; @override BucketLocationConstraint? getPayload() => locationConstraint; + @override List get props => [locationConstraint]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetBucketLocationOutput') @@ -65,6 +67,7 @@ class GetBucketLocationOutputRestXmlSerializer GetBucketLocationOutput, _$GetBucketLocationOutput, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -72,6 +75,7 @@ class GetBucketLocationOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BucketLocationConstraint deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_request.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_request.dart index 3db30d0f9f..2b6e1ed4e3 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_request.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/get_bucket_location_request.dart @@ -59,8 +59,10 @@ abstract class GetBucketLocationRequest @override GetBucketLocationRequestPayload getPayload() => GetBucketLocationRequestPayload(); + @override List get props => [bucket]; + @override String toString() { final helper = newBuiltValueToStringHelper('GetBucketLocationRequest') @@ -88,6 +90,7 @@ abstract class GetBucketLocationRequestPayload @override List get props => []; + @override String toString() { final helper = @@ -108,6 +111,7 @@ class GetBucketLocationRequestRestXmlSerializer GetBucketLocationRequestPayload, _$GetBucketLocationRequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -115,6 +119,7 @@ class GetBucketLocationRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationRequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_output.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_output.dart index 1fc586d6f1..e405bbbe6a 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_output.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_output.dart @@ -92,6 +92,7 @@ abstract class ListObjectsV2Output nextContinuationToken, startAfter, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2Output') @@ -156,6 +157,7 @@ class ListObjectsV2OutputRestXmlSerializer ListObjectsV2Output, _$ListObjectsV2Output, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -163,6 +165,7 @@ class ListObjectsV2OutputRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Output deserialize( Serializers serializers, @@ -277,7 +280,7 @@ class ListObjectsV2OutputRestXmlSerializer .serialize( serializers, commonPrefixes, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(CommonPrefix)], ), @@ -288,7 +291,7 @@ class ListObjectsV2OutputRestXmlSerializer const _i3.XmlBuiltListSerializer(memberName: 'Contents').serialize( serializers, contents, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltList, [FullType(S3Object)], ), @@ -315,7 +318,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('EncodingType')) ..add(serializers.serialize( encodingType, - specifiedType: const FullType.nullable(EncodingType), + specifiedType: const FullType(EncodingType), )); } if (isTruncated != null) { @@ -323,7 +326,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('IsTruncated')) ..add(serializers.serialize( isTruncated, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (keyCount != null) { @@ -331,7 +334,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('KeyCount')) ..add(serializers.serialize( keyCount, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (maxKeys != null) { @@ -339,7 +342,7 @@ class ListObjectsV2OutputRestXmlSerializer ..add(const _i3.XmlElementName('MaxKeys')) ..add(serializers.serialize( maxKeys, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (name != null) { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_request.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_request.dart index d8341cf707..eaffce1988 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_request.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/list_objects_v2_request.dart @@ -121,6 +121,7 @@ abstract class ListObjectsV2Request @override ListObjectsV2RequestPayload getPayload() => ListObjectsV2RequestPayload(); + @override List get props => [ bucket, @@ -134,6 +135,7 @@ abstract class ListObjectsV2Request requestPayer, expectedBucketOwner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2Request') @@ -195,6 +197,7 @@ abstract class ListObjectsV2RequestPayload @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('ListObjectsV2RequestPayload'); @@ -213,6 +216,7 @@ class ListObjectsV2RequestRestXmlSerializer ListObjectsV2RequestPayload, _$ListObjectsV2RequestPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -220,6 +224,7 @@ class ListObjectsV2RequestRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2RequestPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/no_such_bucket.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/no_such_bucket.dart index a2b56668d5..0a29418dc0 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/no_such_bucket.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/no_such_bucket.dart @@ -44,10 +44,13 @@ abstract class NoSuchBucket namespace: 'com.amazonaws.s3', shape: 'NoSuchBucket', ); + @override String? get message => null; + @override _i2.RetryConfig? get retryConfig => null; + @override @BuiltValueField(compare: false) int? get statusCode; @@ -56,8 +59,10 @@ abstract class NoSuchBucket Map? get headers; @override Exception? get underlyingException => null; + @override List get props => []; + @override String toString() { final helper = newBuiltValueToStringHelper('NoSuchBucket'); @@ -74,6 +79,7 @@ class NoSuchBucketRestXmlSerializer NoSuchBucket, _$NoSuchBucket, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -81,6 +87,7 @@ class NoSuchBucketRestXmlSerializer shape: 'restXml', ) ]; + @override NoSuchBucket deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/object.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/object.dart index 6cfe26fb16..87ce8257a0 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/object.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/object.dart @@ -56,6 +56,7 @@ abstract class S3Object storageClass, owner, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Object') @@ -95,6 +96,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { S3Object, _$S3Object, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -102,6 +104,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override S3Object deserialize( Serializers serializers, @@ -189,7 +192,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('LastModified')) ..add(serializers.serialize( lastModified, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (owner != null) { @@ -205,7 +208,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('Size')) ..add(serializers.serialize( size, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (storageClass != null) { @@ -213,7 +216,7 @@ class ObjectRestXmlSerializer extends _i2.StructuredSmithySerializer { ..add(const _i2.XmlElementName('StorageClass')) ..add(serializers.serialize( storageClass, - specifiedType: const FullType.nullable(ObjectStorageClass), + specifiedType: const FullType(ObjectStorageClass), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/operation_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/operation_config.dart index 59b190fc0f..2e99d6e0b8 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/owner.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/owner.dart index 4012ff5a18..0898b516a1 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/owner.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/owner.dart @@ -38,6 +38,7 @@ abstract class Owner displayName, id, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('Owner') @@ -61,6 +62,7 @@ class OwnerRestXmlSerializer extends _i2.StructuredSmithySerializer { Owner, _$Owner, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -68,6 +70,7 @@ class OwnerRestXmlSerializer extends _i2.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override Owner deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/retry_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/retry_config.dart index 4755ac42a3..f3388c678b 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -133,7 +136,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/s3_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/s3_config.dart index 7ada7a4651..75a69313c2 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/scoped_config.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/scoped_config.dart index 7fb6949d38..939fd56655 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart index 326582ab1d..7df9cb286e 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/delete_object_tagging_operation.dart @@ -102,8 +102,10 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< ); } }); + @override int successCode([DeleteObjectTaggingOutput? output]) => 204; + @override DeleteObjectTaggingOutput buildOutput( DeleteObjectTaggingOutputPayload payload, @@ -113,12 +115,16 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'DeleteObjectTagging'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -139,6 +145,7 @@ class DeleteObjectTaggingOperation extends _i1.HttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( DeleteObjectTaggingRequest input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/get_bucket_location_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/get_bucket_location_operation.dart index 2adea26465..e3a6ff32d4 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/get_bucket_location_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/get_bucket_location_operation.dart @@ -91,8 +91,10 @@ class GetBucketLocationOperation extends _i1.HttpOperation< : r'/?location'; b.hostPrefix = _s3ClientConfig.usePathStyle ? null : '{Bucket}.'; }); + @override int successCode([GetBucketLocationOutput? output]) => 200; + @override GetBucketLocationOutput buildOutput( BucketLocationConstraint? payload, @@ -102,12 +104,16 @@ class GetBucketLocationOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'GetBucketLocation'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -128,6 +134,7 @@ class GetBucketLocationOperation extends _i1.HttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( GetBucketLocationRequest input, { diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/list_objects_v2_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/list_objects_v2_operation.dart index 442e6cffde..6deb8b825f 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/list_objects_v2_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/s3/operation/list_objects_v2_operation.dart @@ -142,8 +142,10 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< ); } }); + @override int successCode([ListObjectsV2Output? output]) => 200; + @override ListObjectsV2Output buildOutput( ListObjectsV2Output payload, @@ -153,6 +155,7 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const [ _i1.SmithyError( @@ -165,10 +168,13 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< builder: NoSuchBucket.fromResponse, ) ]; + @override String get runtimeTypeName => 'ListObjectsV2'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri { var baseUri = _baseUri ?? endpoint.uri; @@ -189,6 +195,7 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( ListObjectsV2Request input, { @@ -210,8 +217,10 @@ class ListObjectsV2Operation extends _i1.PaginatedHttpOperation< @override String? getToken(ListObjectsV2Output output) => output.nextContinuationToken; + @override ListObjectsV2Output getItems(ListObjectsV2Output output) => output; + @override ListObjectsV2Request rebuildInput( ListObjectsV2Request input, diff --git a/packages/smithy/goldens/lib2/restXml/pubspec.yaml b/packages/smithy/goldens/lib2/restXml/pubspec.yaml index d5ca170db3..49a1810578 100644 --- a/packages/smithy/goldens/lib2/restXml/pubspec.yaml +++ b/packages/smithy/goldens/lib2/restXml/pubspec.yaml @@ -13,11 +13,11 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" + built_value: ">=8.6.0 <8.7.0" fixnum: ^1.0.0 built_collection: ^5.0.0 meta: ^1.7.0 - xml: ">=6.3.0 <=6.5.0" + xml: 6.3.0 shelf_router: ^1.1.0 shelf: ^1.4.0 aws_signature_v4: @@ -43,6 +43,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart index 79f75d6e03..22715dc9c8 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/all_query_string_types_operation_test.dart @@ -377,6 +377,7 @@ class AllQueryStringTypesInputRestXmlSerializer @override Iterable get types => const [AllQueryStringTypesInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -384,6 +385,7 @@ class AllQueryStringTypesInputRestXmlSerializer shape: 'restXml', ) ]; + @override AllQueryStringTypesInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart index a6a0c5b00a..b8f958982a 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/body_with_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [BodyWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class BodyWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override BodyWithXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart index 664ddd78d6..e3b4e71d00 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_and_variable_query_string_operation_test.dart @@ -111,6 +111,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i3 @override Iterable get types => const [ConstantAndVariableQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class ConstantAndVariableQueryStringInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override ConstantAndVariableQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart index 7bb7868b50..7d991e7349 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/constant_query_string_operation_test.dart @@ -62,6 +62,7 @@ class ConstantQueryStringInputRestXmlSerializer @override Iterable get types => const [ConstantQueryStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -69,6 +70,7 @@ class ConstantQueryStringInputRestXmlSerializer shape: 'restXml', ) ]; + @override ConstantQueryStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart index a1c0ce133b..ed23684f6c 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/datetime_offsets_operation_test.dart @@ -89,6 +89,7 @@ class DatetimeOffsetsOutputRestXmlSerializer @override Iterable get types => const [DatetimeOffsetsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -96,6 +97,7 @@ class DatetimeOffsetsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DatetimeOffsetsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart index ebe3a05402..eb0993d795 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/empty_input_and_empty_output_operation_test.dart @@ -96,6 +96,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer @override Iterable get types => const [EmptyInputAndEmptyOutputInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -103,6 +104,7 @@ class EmptyInputAndEmptyOutputInputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputInput deserialize( Serializers serializers, @@ -129,6 +131,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer @override Iterable get types => const [EmptyInputAndEmptyOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -136,6 +139,7 @@ class EmptyInputAndEmptyOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override EmptyInputAndEmptyOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart index c7658d5d5a..1f1640cb72 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_header_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelHeaderInputRestXmlSerializer @override Iterable get types => const [HostLabelHeaderInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelHeaderInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelHeaderInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart index d0a7e7b97c..0732a9045c 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/endpoint_with_host_label_operation_test.dart @@ -59,6 +59,7 @@ class HostLabelInputRestXmlSerializer @override Iterable get types => const [HostLabelInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -66,6 +67,7 @@ class HostLabelInputRestXmlSerializer shape: 'restXml', ) ]; + @override HostLabelInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart index 01cdc4b5f1..575d538f90 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_operation_test.dart @@ -107,6 +107,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer @override Iterable get types => const [FlattenedXmlMapInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -114,6 +115,7 @@ class FlattenedXmlMapInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FlattenedXmlMapInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart index a5d3be6d49..4a97d8147f 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_name_operation_test.dart @@ -110,6 +110,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class FlattenedXmlMapWithXmlNameInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNameInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart index 9a2e3e8ba4..69d69ddeed 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/flattened_xml_map_with_xml_namespace_operation_test.dart @@ -63,6 +63,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 @override Iterable get types => const [FlattenedXmlMapWithXmlNamespaceOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -70,6 +71,7 @@ class FlattenedXmlMapWithXmlNamespaceOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override FlattenedXmlMapWithXmlNamespaceOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart index 596c84e79f..13577be986 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/fractional_seconds_operation_test.dart @@ -55,6 +55,7 @@ class FractionalSecondsOutputRestXmlSerializer @override Iterable get types => const [FractionalSecondsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -62,6 +63,7 @@ class FractionalSecondsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override FractionalSecondsOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart index ba83a7058e..fcd7044da3 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/greeting_with_errors_operation_test.dart @@ -143,6 +143,7 @@ class GreetingWithErrorsOutputRestXmlSerializer @override Iterable get types => const [GreetingWithErrorsOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -150,6 +151,7 @@ class GreetingWithErrorsOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingWithErrorsOutput deserialize( Serializers serializers, @@ -193,6 +195,7 @@ class ComplexErrorRestXmlSerializer @override Iterable get types => const [ComplexError]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -200,6 +203,7 @@ class ComplexErrorRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexError deserialize( Serializers serializers, @@ -254,6 +258,7 @@ class ComplexNestedErrorDataRestXmlSerializer @override Iterable get types => const [ComplexNestedErrorData]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -261,6 +266,7 @@ class ComplexNestedErrorDataRestXmlSerializer shape: 'restXml', ) ]; + @override ComplexNestedErrorData deserialize( Serializers serializers, @@ -304,6 +310,7 @@ class InvalidGreetingRestXmlSerializer @override Iterable get types => const [InvalidGreeting]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -311,6 +318,7 @@ class InvalidGreetingRestXmlSerializer shape: 'restXml', ) ]; + @override InvalidGreeting deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart index 26bf36893f..8a93617246 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_operation_test.dart @@ -177,6 +177,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadTraitsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -184,6 +185,7 @@ class HttpPayloadTraitsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadTraitsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart index aa559bcbe7..c2384cf7e5 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_traits_with_media_type_operation_test.dart @@ -111,6 +111,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadTraitsWithMediaTypeInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class HttpPayloadTraitsWithMediaTypeInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadTraitsWithMediaTypeInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart index ab32e07c7e..8efbbbdde5 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_member_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithMemberXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class HttpPayloadWithMemberXmlNameInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithMemberXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart index 872090e146..9607ccf4e1 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_structure_operation_test.dart @@ -110,6 +110,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithStructureInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class HttpPayloadWithStructureInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithStructureInputOutput deserialize( Serializers serializers, @@ -160,6 +162,7 @@ class NestedPayloadRestXmlSerializer @override Iterable get types => const [NestedPayload]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -167,6 +170,7 @@ class NestedPayloadRestXmlSerializer shape: 'restXml', ) ]; + @override NestedPayload deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart index 9321ddadac..6b9b7ef0f8 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_name_operation_test.dart @@ -104,6 +104,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadWithXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -111,6 +112,7 @@ class HttpPayloadWithXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNameInputOutput deserialize( Serializers serializers, @@ -154,6 +156,7 @@ class PayloadWithXmlNameRestXmlSerializer @override Iterable get types => const [PayloadWithXmlName]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -161,6 +164,7 @@ class PayloadWithXmlNameRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlName deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart index 3eae1611bd..873188a0a2 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_and_prefix_operation_test.dart @@ -108,6 +108,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer @override Iterable get types => const [HttpPayloadWithXmlNamespaceAndPrefixInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -115,6 +116,7 @@ class HttpPayloadWithXmlNamespaceAndPrefixInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNamespaceAndPrefixInputOutput deserialize( Serializers serializers, @@ -159,6 +161,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer @override Iterable get types => const [PayloadWithXmlNamespaceAndPrefix]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -166,6 +169,7 @@ class PayloadWithXmlNamespaceAndPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespaceAndPrefix deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart index 75454531bd..a8a336e537 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_payload_with_xml_namespace_operation_test.dart @@ -106,6 +106,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpPayloadWithXmlNamespaceInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -113,6 +114,7 @@ class HttpPayloadWithXmlNamespaceInputOutputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpPayloadWithXmlNamespaceInputOutput deserialize( Serializers serializers, @@ -157,6 +159,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer @override Iterable get types => const [PayloadWithXmlNamespace]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -164,6 +167,7 @@ class PayloadWithXmlNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override PayloadWithXmlNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart index 076b54c804..dde46c819e 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_prefix_headers_operation_test.dart @@ -198,6 +198,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer @override Iterable get types => const [HttpPrefixHeadersInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -205,6 +206,7 @@ class HttpPrefixHeadersInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpPrefixHeadersInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart index 5ecabccc5b..24a3fc8f46 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_float_labels_operation_test.dart @@ -150,6 +150,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer @override Iterable get types => const [HttpRequestWithFloatLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -157,6 +158,7 @@ class HttpRequestWithFloatLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithFloatLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart index ecb3032c7b..3a34d633dd 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_greedy_label_in_path_operation_test.dart @@ -64,6 +64,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpRequestWithGreedyLabelInPathInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -71,6 +72,7 @@ class HttpRequestWithGreedyLabelInPathInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpRequestWithGreedyLabelInPathInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart index 121d23de30..b16402d3e0 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_and_timestamp_format_operation_test.dart @@ -71,6 +71,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i3 @override Iterable get types => const [HttpRequestWithLabelsAndTimestampFormatInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -78,6 +79,7 @@ class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override HttpRequestWithLabelsAndTimestampFormatInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart index 8b1bd476ea..997408b617 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_request_with_labels_operation_test.dart @@ -118,6 +118,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer @override Iterable get types => const [HttpRequestWithLabelsInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -125,6 +126,7 @@ class HttpRequestWithLabelsInputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpRequestWithLabelsInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart index 3d4a3c4215..d852edafb3 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/http_response_code_operation_test.dart @@ -53,6 +53,7 @@ class HttpResponseCodeOutputRestXmlSerializer @override Iterable get types => const [HttpResponseCodeOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -60,6 +61,7 @@ class HttpResponseCodeOutputRestXmlSerializer shape: 'restXml', ) ]; + @override HttpResponseCodeOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart index 742c0bd08a..1f61715712 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/ignore_query_params_in_response_operation_test.dart @@ -57,6 +57,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer @override Iterable get types => const [IgnoreQueryParamsInResponseOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -64,6 +65,7 @@ class IgnoreQueryParamsInResponseOutputRestXmlSerializer shape: 'restXml', ) ]; + @override IgnoreQueryParamsInResponseOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart index 050a4c6972..74ea156c92 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/input_and_output_with_headers_operation_test.dart @@ -784,6 +784,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer @override Iterable get types => const [InputAndOutputWithHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -791,6 +792,7 @@ class InputAndOutputWithHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override InputAndOutputWithHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart index 97091ae764..c9c9f3c0ea 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/nested_xml_maps_operation_test.dart @@ -185,6 +185,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [NestedXmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -192,6 +193,7 @@ class NestedXmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NestedXmlMapsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart index 4113ab9f1b..4f56a124b6 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/no_input_and_output_operation_test.dart @@ -91,6 +91,7 @@ class NoInputAndOutputOutputRestXmlSerializer @override Iterable get types => const [NoInputAndOutputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -98,6 +99,7 @@ class NoInputAndOutputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override NoInputAndOutputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart index fade829b02..51f1b2479a 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/null_and_empty_headers_client_operation_test.dart @@ -69,6 +69,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer @override Iterable get types => const [NullAndEmptyHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -76,6 +77,7 @@ class NullAndEmptyHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override NullAndEmptyHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart index f233692d8d..170abc359b 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/omits_null_serializes_empty_string_operation_test.dart @@ -101,6 +101,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i3 @override Iterable get types => const [OmitsNullSerializesEmptyStringInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -108,6 +109,7 @@ class OmitsNullSerializesEmptyStringInputRestXmlSerializer extends _i3 shape: 'restXml', ) ]; + @override OmitsNullSerializesEmptyStringInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart index 89f98dc1d5..e49af6e569 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/put_with_content_encoding_operation_test.dart @@ -100,6 +100,7 @@ class PutWithContentEncodingInputRestXmlSerializer @override Iterable get types => const [PutWithContentEncodingInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -107,6 +108,7 @@ class PutWithContentEncodingInputRestXmlSerializer shape: 'restXml', ) ]; + @override PutWithContentEncodingInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart index 5361a42c54..8ead098915 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_idempotency_token_auto_fill_operation_test.dart @@ -98,6 +98,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer @override Iterable get types => const [QueryIdempotencyTokenAutoFillInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -105,6 +106,7 @@ class QueryIdempotencyTokenAutoFillInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryIdempotencyTokenAutoFillInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart index 5bccfd1acf..0e9fb1cc46 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_params_as_string_list_map_operation_test.dart @@ -74,6 +74,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer @override Iterable get types => const [QueryParamsAsStringListMapInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -81,6 +82,7 @@ class QueryParamsAsStringListMapInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryParamsAsStringListMapInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart index a7dc41a74d..9c47df28a6 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/query_precedence_operation_test.dart @@ -68,6 +68,7 @@ class QueryPrecedenceInputRestXmlSerializer @override Iterable get types => const [QueryPrecedenceInput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -75,6 +76,7 @@ class QueryPrecedenceInputRestXmlSerializer shape: 'restXml', ) ]; + @override QueryPrecedenceInput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart index 258de37764..221d9078a3 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/recursive_shapes_operation_test.dart @@ -125,6 +125,7 @@ class RecursiveShapesInputOutputRestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -132,6 +133,7 @@ class RecursiveShapesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutput deserialize( Serializers serializers, @@ -176,6 +178,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutputNested1]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -183,6 +186,7 @@ class RecursiveShapesInputOutputNested1RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested1 deserialize( Serializers serializers, @@ -232,6 +236,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer @override Iterable get types => const [RecursiveShapesInputOutputNested2]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -239,6 +244,7 @@ class RecursiveShapesInputOutputNested2RestXmlSerializer shape: 'restXml', ) ]; + @override RecursiveShapesInputOutputNested2 deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart index 12023bea57..52e1d83087 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/simple_scalar_properties_operation_test.dart @@ -720,6 +720,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -727,6 +728,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart index 25621c3f6a..82b348f897 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/timestamp_format_headers_operation_test.dart @@ -123,6 +123,7 @@ class TimestampFormatHeadersIoRestXmlSerializer @override Iterable get types => const [TimestampFormatHeadersIo]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -130,6 +131,7 @@ class TimestampFormatHeadersIoRestXmlSerializer shape: 'restXml', ) ]; + @override TimestampFormatHeadersIo deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart index fe3167a4d8..b94db91c7d 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_on_payload_operation_test.dart @@ -111,6 +111,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesOnPayloadInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class XmlAttributesOnPayloadInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesOnPayloadInputOutput deserialize( Serializers serializers, @@ -162,6 +164,7 @@ class XmlAttributesInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -169,6 +172,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart index d19707c80f..d20172c57a 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_attributes_operation_test.dart @@ -143,6 +143,7 @@ class XmlAttributesInputOutputRestXmlSerializer @override Iterable get types => const [XmlAttributesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -150,6 +151,7 @@ class XmlAttributesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlAttributesInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart index cd109284e1..b3c718d3fd 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_blobs_operation_test.dart @@ -94,6 +94,7 @@ class XmlBlobsInputOutputRestXmlSerializer @override Iterable get types => const [XmlBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -101,6 +102,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart index 7f753f0ded..7975a104dc 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_blobs_operation_test.dart @@ -88,6 +88,7 @@ class XmlBlobsInputOutputRestXmlSerializer @override Iterable get types => const [XmlBlobsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -95,6 +96,7 @@ class XmlBlobsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlBlobsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart index 9f8e0f9e33..0aff061fdf 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_lists_operation_test.dart @@ -108,6 +108,7 @@ class XmlListsInputOutputRestXmlSerializer @override Iterable get types => const [XmlListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -115,6 +116,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -279,6 +281,7 @@ class StructureListMemberRestXmlSerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -286,6 +289,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart index dab0a7e648..5f15bcd3db 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_maps_operation_test.dart @@ -135,6 +135,7 @@ class XmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -142,6 +143,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -191,6 +193,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -198,6 +201,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart index 03ca87a9ce..0faa9ef22a 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_empty_strings_operation_test.dart @@ -131,6 +131,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer @override Iterable get types => const [XmlEmptyStringsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -138,6 +139,7 @@ class XmlEmptyStringsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEmptyStringsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart index 284a63d15d..b6fad9cf94 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_enums_operation_test.dart @@ -126,6 +126,7 @@ class XmlEnumsInputOutputRestXmlSerializer @override Iterable get types => const [XmlEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -133,6 +134,7 @@ class XmlEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart index 3bf008a082..c2f3e7571a 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_int_enums_operation_test.dart @@ -127,6 +127,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer @override Iterable get types => const [XmlIntEnumsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -134,6 +135,7 @@ class XmlIntEnumsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlIntEnumsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart index e269e70258..fd7b44af17 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_lists_operation_test.dart @@ -252,6 +252,7 @@ class XmlListsInputOutputRestXmlSerializer @override Iterable get types => const [XmlListsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -259,6 +260,7 @@ class XmlListsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlListsInputOutput deserialize( Serializers serializers, @@ -423,6 +425,7 @@ class StructureListMemberRestXmlSerializer @override Iterable get types => const [StructureListMember]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -430,6 +433,7 @@ class StructureListMemberRestXmlSerializer shape: 'restXml', ) ]; + @override StructureListMember deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart index 1cc0813904..9009ed9f6b 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_operation_test.dart @@ -110,6 +110,7 @@ class XmlMapsInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -117,6 +118,7 @@ class XmlMapsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsInputOutput deserialize( Serializers serializers, @@ -166,6 +168,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -173,6 +176,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart index 7d1fe8ff12..872e2248d5 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_maps_xml_name_operation_test.dart @@ -111,6 +111,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer @override Iterable get types => const [XmlMapsXmlNameInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -118,6 +119,7 @@ class XmlMapsXmlNameInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlMapsXmlNameInputOutput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class GreetingStructRestXmlSerializer @override Iterable get types => const [GreetingStruct]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +177,7 @@ class GreetingStructRestXmlSerializer shape: 'restXml', ) ]; + @override GreetingStruct deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart index a303b3a20c..631c7c4afb 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_namespaces_operation_test.dart @@ -117,6 +117,7 @@ class XmlNamespacesInputOutputRestXmlSerializer @override Iterable get types => const [XmlNamespacesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -124,6 +125,7 @@ class XmlNamespacesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespacesInputOutput deserialize( Serializers serializers, @@ -167,6 +169,7 @@ class XmlNamespaceNestedRestXmlSerializer @override Iterable get types => const [XmlNamespaceNested]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -174,6 +177,7 @@ class XmlNamespaceNestedRestXmlSerializer shape: 'restXml', ) ]; + @override XmlNamespaceNested deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart index e5e221de88..ee85e0a988 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_timestamps_operation_test.dart @@ -535,6 +535,7 @@ class XmlTimestampsInputOutputRestXmlSerializer @override Iterable get types => const [XmlTimestampsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -542,6 +543,7 @@ class XmlTimestampsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlTimestampsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart index ede8a572e0..c221508ce5 100644 --- a/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/rest_xml_protocol/xml_unions_operation_test.dart @@ -351,6 +351,7 @@ class XmlUnionsInputOutputRestXmlSerializer @override Iterable get types => const [XmlUnionsInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -358,6 +359,7 @@ class XmlUnionsInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override XmlUnionsInputOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/s3/delete_object_tagging_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/s3/delete_object_tagging_operation_test.dart index 63e628f1fb..0411af87e5 100644 --- a/packages/smithy/goldens/lib2/restXml/test/s3/delete_object_tagging_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/s3/delete_object_tagging_operation_test.dart @@ -210,6 +210,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer @override Iterable get types => const [DeleteObjectTaggingRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -217,6 +218,7 @@ class DeleteObjectTaggingRequestRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingRequest deserialize( Serializers serializers, @@ -276,6 +278,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer @override Iterable get types => const [DeleteObjectTaggingOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -283,6 +286,7 @@ class DeleteObjectTaggingOutputRestXmlSerializer shape: 'restXml', ) ]; + @override DeleteObjectTaggingOutput deserialize( Serializers serializers, @@ -325,6 +329,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [AwsConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -332,6 +337,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -380,6 +386,7 @@ class ScopedConfigSerializer @override Iterable get types => const [ScopedConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -387,6 +394,7 @@ class ScopedConfigSerializer shape: 'genericProtocol', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -462,6 +470,7 @@ class EnvironmentConfigSerializer @override Iterable get types => const [EnvironmentConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -469,6 +478,7 @@ class EnvironmentConfigSerializer shape: 'genericProtocol', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -537,6 +547,7 @@ class FileConfigSettingsSerializer @override Iterable get types => const [FileConfigSettings]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -544,6 +555,7 @@ class FileConfigSettingsSerializer shape: 'genericProtocol', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -616,6 +628,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Config]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -623,6 +636,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -676,6 +690,7 @@ class ClientConfigSerializer @override Iterable get types => const [ClientConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -683,6 +698,7 @@ class ClientConfigSerializer shape: 'genericProtocol', ) ]; + @override ClientConfig deserialize( Serializers serializers, @@ -756,6 +772,7 @@ class RetryConfigSerializer @override Iterable get types => const [RetryConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -763,6 +780,7 @@ class RetryConfigSerializer shape: 'genericProtocol', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -811,6 +829,7 @@ class OperationConfigSerializer @override Iterable get types => const [OperationConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -818,6 +837,7 @@ class OperationConfigSerializer shape: 'genericProtocol', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/s3/get_bucket_location_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/s3/get_bucket_location_operation_test.dart index bf047409f6..9ec64ac94e 100644 --- a/packages/smithy/goldens/lib2/restXml/test/s3/get_bucket_location_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/s3/get_bucket_location_operation_test.dart @@ -66,6 +66,7 @@ class GetBucketLocationRequestRestXmlSerializer @override Iterable get types => const [GetBucketLocationRequest]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -73,6 +74,7 @@ class GetBucketLocationRequestRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationRequest deserialize( Serializers serializers, @@ -117,6 +119,7 @@ class GetBucketLocationOutputRestXmlSerializer @override Iterable get types => const [GetBucketLocationOutput]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -124,6 +127,7 @@ class GetBucketLocationOutputRestXmlSerializer shape: 'restXml', ) ]; + @override GetBucketLocationOutput deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXml/test/s3/list_objects_v2_operation_test.dart b/packages/smithy/goldens/lib2/restXml/test/s3/list_objects_v2_operation_test.dart index f84c0944ab..d7485b0424 100644 --- a/packages/smithy/goldens/lib2/restXml/test/s3/list_objects_v2_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXml/test/s3/list_objects_v2_operation_test.dart @@ -660,6 +660,7 @@ class ListObjectsV2RequestRestXmlSerializer @override Iterable get types => const [ListObjectsV2Request]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -667,6 +668,7 @@ class ListObjectsV2RequestRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Request deserialize( Serializers serializers, @@ -755,6 +757,7 @@ class ListObjectsV2OutputRestXmlSerializer @override Iterable get types => const [ListObjectsV2Output]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -762,6 +765,7 @@ class ListObjectsV2OutputRestXmlSerializer shape: 'restXml', ) ]; + @override ListObjectsV2Output deserialize( Serializers serializers, @@ -865,6 +869,7 @@ class ObjectRestXmlSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Object]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -872,6 +877,7 @@ class ObjectRestXmlSerializer extends _i5.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override S3Object deserialize( Serializers serializers, @@ -940,6 +946,7 @@ class OwnerRestXmlSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [Owner]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -947,6 +954,7 @@ class OwnerRestXmlSerializer extends _i5.StructuredSmithySerializer { shape: 'restXml', ) ]; + @override Owner deserialize( Serializers serializers, @@ -995,6 +1003,7 @@ class CommonPrefixRestXmlSerializer @override Iterable get types => const [CommonPrefix]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1002,6 +1011,7 @@ class CommonPrefixRestXmlSerializer shape: 'restXml', ) ]; + @override CommonPrefix deserialize( Serializers serializers, @@ -1045,6 +1055,7 @@ class NoSuchBucketRestXmlSerializer @override Iterable get types => const [NoSuchBucket]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1052,6 +1063,7 @@ class NoSuchBucketRestXmlSerializer shape: 'restXml', ) ]; + @override NoSuchBucket deserialize( Serializers serializers, @@ -1076,6 +1088,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [AwsConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1083,6 +1096,7 @@ class AwsConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -1131,6 +1145,7 @@ class ScopedConfigSerializer @override Iterable get types => const [ScopedConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1138,6 +1153,7 @@ class ScopedConfigSerializer shape: 'genericProtocol', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -1213,6 +1229,7 @@ class EnvironmentConfigSerializer @override Iterable get types => const [EnvironmentConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1220,6 +1237,7 @@ class EnvironmentConfigSerializer shape: 'genericProtocol', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -1288,6 +1306,7 @@ class FileConfigSettingsSerializer @override Iterable get types => const [FileConfigSettings]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1295,6 +1314,7 @@ class FileConfigSettingsSerializer shape: 'genericProtocol', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -1367,6 +1387,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { @override Iterable get types => const [S3Config]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1374,6 +1395,7 @@ class S3ConfigSerializer extends _i5.StructuredSmithySerializer { shape: 'genericProtocol', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -1427,6 +1449,7 @@ class ClientConfigSerializer @override Iterable get types => const [ClientConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1434,6 +1457,7 @@ class ClientConfigSerializer shape: 'genericProtocol', ) ]; + @override ClientConfig deserialize( Serializers serializers, @@ -1507,6 +1531,7 @@ class RetryConfigSerializer @override Iterable get types => const [RetryConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1514,6 +1539,7 @@ class RetryConfigSerializer shape: 'genericProtocol', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -1562,6 +1588,7 @@ class OperationConfigSerializer @override Iterable get types => const [OperationConfig]; + @override Iterable<_i5.ShapeId> get supportedProtocols => const [ _i5.ShapeId( @@ -1569,6 +1596,7 @@ class OperationConfigSerializer shape: 'genericProtocol', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart index a4202e38fc..e87b15f874 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/aws_config.dart @@ -43,6 +43,7 @@ abstract class AwsConfig clockTime, scopedConfig, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('AwsConfig') @@ -67,6 +68,7 @@ class AwsConfigRestXmlSerializer AwsConfig, _$AwsConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -74,6 +76,7 @@ class AwsConfigRestXmlSerializer shape: 'restXml', ) ]; + @override AwsConfig deserialize( Serializers serializers, @@ -124,7 +127,7 @@ class AwsConfigRestXmlSerializer ..add(const _i2.XmlElementName('clockTime')) ..add(serializers.serialize( clockTime, - specifiedType: const FullType.nullable(DateTime), + specifiedType: const FullType(DateTime), )); } if (scopedConfig != null) { diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart index 941b1c6974..a4c279c357 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/client_config.dart @@ -68,6 +68,7 @@ abstract class ClientConfig retryConfig, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ClientConfig') @@ -112,6 +113,7 @@ class ClientConfigRestXmlSerializer ClientConfig, _$ClientConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -119,6 +121,7 @@ class ClientConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ClientConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart index df81c4de55..122a627805 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/environment_config.dart @@ -61,6 +61,7 @@ abstract class EnvironmentConfig awsSessionToken, awsProfile, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('EnvironmentConfig') @@ -101,6 +102,7 @@ class EnvironmentConfigRestXmlSerializer EnvironmentConfig, _$EnvironmentConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -108,6 +110,7 @@ class EnvironmentConfigRestXmlSerializer shape: 'restXml', ) ]; + @override EnvironmentConfig deserialize( Serializers serializers, @@ -209,7 +212,7 @@ class EnvironmentConfigRestXmlSerializer ..add(const _i2.XmlElementName('AWS_RETRY_MODE')) ..add(serializers.serialize( awsRetryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (awsSecretAccessKey != null) { diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart index f2577b83ed..f441540f2d 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/file_config_settings.dart @@ -69,6 +69,7 @@ abstract class FileConfigSettings retryMode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('FileConfigSettings') @@ -113,6 +114,7 @@ class FileConfigSettingsRestXmlSerializer FileConfigSettings, _$FileConfigSettings, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -120,6 +122,7 @@ class FileConfigSettingsRestXmlSerializer shape: 'restXml', ) ]; + @override FileConfigSettings deserialize( Serializers serializers, @@ -227,7 +230,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (region != null) { @@ -243,7 +246,7 @@ class FileConfigSettingsRestXmlSerializer ..add(const _i2.XmlElementName('retry_mode')) ..add(serializers.serialize( retryMode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } if (s3 != null) { diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart index acc0f66b83..c998e27b99 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/nested_with_namespace.dart @@ -31,6 +31,7 @@ abstract class NestedWithNamespace String? get attrField; @override List get props => [attrField]; + @override String toString() { final helper = newBuiltValueToStringHelper('NestedWithNamespace') @@ -51,6 +52,7 @@ class NestedWithNamespaceRestXmlSerializer NestedWithNamespace, _$NestedWithNamespace, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -58,6 +60,7 @@ class NestedWithNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override NestedWithNamespace deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart index 98144fbf54..b04c938456 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/operation_config.dart @@ -34,6 +34,7 @@ abstract class OperationConfig S3Config? get s3; @override List get props => [s3]; + @override String toString() { final helper = newBuiltValueToStringHelper('OperationConfig') @@ -54,6 +55,7 @@ class OperationConfigRestXmlSerializer OperationConfig, _$OperationConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -61,6 +63,7 @@ class OperationConfigRestXmlSerializer shape: 'restXml', ) ]; + @override OperationConfig deserialize( Serializers serializers, diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart index ea74005b37..2f1092ad25 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/retry_config.dart @@ -44,6 +44,7 @@ abstract class RetryConfig mode, maxAttempts, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('RetryConfig') @@ -68,6 +69,7 @@ class RetryConfigRestXmlSerializer RetryConfig, _$RetryConfig, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -75,6 +77,7 @@ class RetryConfigRestXmlSerializer shape: 'restXml', ) ]; + @override RetryConfig deserialize( Serializers serializers, @@ -125,7 +128,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('max_attempts')) ..add(serializers.serialize( maxAttempts, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (mode != null) { @@ -133,7 +136,7 @@ class RetryConfigRestXmlSerializer ..add(const _i2.XmlElementName('mode')) ..add(serializers.serialize( mode, - specifiedType: const FullType.nullable(RetryMode), + specifiedType: const FullType(RetryMode), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart index 122b1ffbaa..1888dc7a91 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/s3_config.dart @@ -47,6 +47,7 @@ abstract class S3Config useAccelerateEndpoint, useDualstackEndpoint, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('S3Config') @@ -75,6 +76,7 @@ class S3ConfigRestXmlSerializer S3Config, _$S3Config, ]; + @override Iterable<_i2.ShapeId> get supportedProtocols => const [ _i2.ShapeId( @@ -82,6 +84,7 @@ class S3ConfigRestXmlSerializer shape: 'restXml', ) ]; + @override S3Config deserialize( Serializers serializers, @@ -141,7 +144,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('addressing_style')) ..add(serializers.serialize( addressingStyle, - specifiedType: const FullType.nullable(S3AddressingStyle), + specifiedType: const FullType(S3AddressingStyle), )); } if (useAccelerateEndpoint != null) { @@ -149,7 +152,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_accelerate_endpoint')) ..add(serializers.serialize( useAccelerateEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (useDualstackEndpoint != null) { @@ -157,7 +160,7 @@ class S3ConfigRestXmlSerializer ..add(const _i2.XmlElementName('use_dualstack_endpoint')) ..add(serializers.serialize( useDualstackEndpoint, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart index f6e5f2f89c..d43fd8c6c6 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/scoped_config.dart @@ -69,6 +69,7 @@ abstract class ScopedConfig client, operation, ]; + @override String toString() { final helper = newBuiltValueToStringHelper('ScopedConfig') @@ -105,6 +106,7 @@ class ScopedConfigRestXmlSerializer ScopedConfig, _$ScopedConfig, ]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -112,6 +114,7 @@ class ScopedConfigRestXmlSerializer shape: 'restXml', ) ]; + @override ScopedConfig deserialize( Serializers serializers, @@ -208,7 +211,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, configFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), @@ -223,7 +226,7 @@ class ScopedConfigRestXmlSerializer ..add(const _i3.XmlBuiltMapSerializer().serialize( serializers, credentialsFile, - specifiedType: const FullType.nullable( + specifiedType: const FullType( _i2.BuiltMap, [ FullType(String), diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart index 5357331a37..041c041a11 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/model/simple_scalar_properties_input_output.dart @@ -132,6 +132,7 @@ abstract class SimpleScalarPropertiesInputOutput b.stringValue = stringValue; b.trueBooleanValue = trueBooleanValue; }); + @override List get props => [ foo, @@ -146,6 +147,7 @@ abstract class SimpleScalarPropertiesInputOutput nested, doubleValue, ]; + @override String toString() { final helper = @@ -234,6 +236,7 @@ abstract class SimpleScalarPropertiesInputOutputPayload stringValue, trueBooleanValue, ]; + @override String toString() { final helper = @@ -294,6 +297,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 SimpleScalarPropertiesInputOutputPayload, _$SimpleScalarPropertiesInputOutputPayload, ]; + @override Iterable<_i1.ShapeId> get supportedProtocols => const [ _i1.ShapeId( @@ -301,6 +305,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutputPayload deserialize( Serializers serializers, @@ -402,7 +407,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('byteValue')) ..add(serializers.serialize( byteValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (doubleValue != null) { @@ -410,7 +415,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('DoubleDribble')) ..add(serializers.serialize( doubleValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (falseBooleanValue != null) { @@ -418,7 +423,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('falseBooleanValue')) ..add(serializers.serialize( falseBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } if (floatValue != null) { @@ -426,7 +431,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('floatValue')) ..add(serializers.serialize( floatValue, - specifiedType: const FullType.nullable(double), + specifiedType: const FullType(double), )); } if (integerValue != null) { @@ -434,7 +439,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('integerValue')) ..add(serializers.serialize( integerValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (longValue != null) { @@ -442,7 +447,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('longValue')) ..add(serializers.serialize( longValue, - specifiedType: const FullType.nullable(_i3.Int64), + specifiedType: const FullType(_i3.Int64), )); } if (nested != null) { @@ -464,7 +469,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('shortValue')) ..add(serializers.serialize( shortValue, - specifiedType: const FullType.nullable(int), + specifiedType: const FullType(int), )); } if (stringValue != null) { @@ -480,7 +485,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer extends _i1 ..add(const _i1.XmlElementName('trueBooleanValue')) ..add(serializers.serialize( trueBooleanValue, - specifiedType: const FullType.nullable(bool), + specifiedType: const FullType(bool), )); } return result$; diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart index b5314dff2f..2e081d3793 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/lib/src/rest_xml_protocol_namespace/operation/simple_scalar_properties_operation.dart @@ -75,8 +75,10 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< } } }); + @override int successCode([SimpleScalarPropertiesInputOutput? output]) => 200; + @override SimpleScalarPropertiesInputOutput buildOutput( SimpleScalarPropertiesInputOutputPayload payload, @@ -86,16 +88,22 @@ class SimpleScalarPropertiesOperation extends _i1.HttpOperation< payload, response, ); + @override List<_i1.SmithyError> get errorTypes => const []; + @override String get runtimeTypeName => 'SimpleScalarProperties'; + @override _i2.AWSRetryer get retryer => _i2.AWSRetryer(); + @override Uri get baseUri => _baseUri ?? endpoint.uri; + @override _i1.Endpoint get endpoint => _awsEndpoint.endpoint; + @override _i1.SmithyOperation run( SimpleScalarPropertiesInputOutput input, { diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/pubspec.yaml b/packages/smithy/goldens/lib2/restXmlWithNamespace/pubspec.yaml index 7d1145ac7a..f00a3f0a3a 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/pubspec.yaml +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/pubspec.yaml @@ -13,8 +13,8 @@ dependencies: path: ../../../smithy_aws aws_common: path: ../../../../aws_common - built_value: ">=8.6.0 <8.9.0" - xml: ">=6.3.0 <=6.5.0" + built_value: ">=8.6.0 <8.7.0" + xml: 6.3.0 fixnum: ^1.0.0 meta: ^1.7.0 built_collection: ^5.0.0 @@ -41,6 +41,6 @@ dev_dependencies: build_runner: ^2.4.0 build_web_compilers: ^4.0.0 build_test: ^2.1.5 - built_value_generator: 8.8.1 + built_value_generator: 8.6.1 lints: ^2.1.0 test: ^1.22.1 diff --git a/packages/smithy/goldens/lib2/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart b/packages/smithy/goldens/lib2/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart index 5840066c6c..badd8eff62 100644 --- a/packages/smithy/goldens/lib2/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart +++ b/packages/smithy/goldens/lib2/restXmlWithNamespace/test/rest_xml_protocol_namespace/simple_scalar_properties_operation_test.dart @@ -131,6 +131,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer @override Iterable get types => const [SimpleScalarPropertiesInputOutput]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -138,6 +139,7 @@ class SimpleScalarPropertiesInputOutputRestXmlSerializer shape: 'restXml', ) ]; + @override SimpleScalarPropertiesInputOutput deserialize( Serializers serializers, @@ -231,6 +233,7 @@ class NestedWithNamespaceRestXmlSerializer @override Iterable get types => const [NestedWithNamespace]; + @override Iterable<_i3.ShapeId> get supportedProtocols => const [ _i3.ShapeId( @@ -238,6 +241,7 @@ class NestedWithNamespaceRestXmlSerializer shape: 'restXml', ) ]; + @override NestedWithNamespace deserialize( Serializers serializers,