Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"src/awsjson10_client/client.py": "11a93375acec68f90242a5230c4f0b41bd38fe99a3e58e8ff116c56c7aa613b3",
"src/awsjson10_client/config.py": "61faff2b618079bb89719d418f14bac84981983d65fbc9fa587cb61a4779ff41",
"src/awsjson10_client/models.py": "d184b6f8288bd787f23c6f119a0a1259e1a468fb487c3d9c2c710825d390636a",
"src/awsjson10_client/models.pyi": "fc5bc36883b8b0851132826edfa5b51dbf7a2023e94b357dccac383878ff9d02",
"src/awsjson10_client/models.pyi": "d816fc9ed3932d6420c929a5baf3c1a5bb406aa66cb001f24c7089d36eaef7e0",
"src/awsjson10_client/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/awsjson10_client/user_agent.py": "9cc5406633815f0a196c979e9e362e335772e47f6f56071770c8b59e83f6e199"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from typing import Required, Self, TypedDict
from smithy_core.deserializers import ShapeDeserializer
from smithy_core.documents import Document
from smithy_core.exceptions import ModeledError
from smithy_core.response import ResponseMetadata
from smithy_core.response import ErrorResponseMetadata, ResponseMetadata
from smithy_core.schemas import APIOperation
from smithy_core.serializers import ShapeSerializer
from smithy_core.types import UnknownEnumMixin
Expand Down Expand Up @@ -123,13 +123,13 @@ class ComplexError(ServiceError, _SerdeShape):

top_level: str | None = ...
nested: ComplexNestedErrorData | None = ...
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -292,13 +292,13 @@ class FooError(ServiceError, _SerdeShape):
framework history. It should only be implemented by clients.
"""

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -330,13 +330,13 @@ class GreetingWithErrorsOutput(_SerdeShape):
class InvalidGreeting(ServiceError, _SerdeShape):
"This error is thrown when an invalid greeting value is provided."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"src/awsjson10/_private/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/awsjson10/_private/schemas.py": "80a90081368257ec9ab1f1518ac786c6b68191b08bdd591de11899e5510aaeae",
"src/awsjson10/models.py": "bab8e32bb4d8e30eea86ae4ae6edb727934e11209506353bc3c4baeef1d79b6d",
"src/awsjson10/models.pyi": "4484730b2e0464045ab86690fb55ebeb2c6469de6e545b5772b6b425ec54e65d",
"src/awsjson10/models.pyi": "a4c38a8434bba4ade18fa780300aaf9ddfcaa7ab30db8e007cb9ce667a3f21f1",
"src/awsjson10/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"version": 1
Expand Down
32 changes: 16 additions & 16 deletions codegen-output-py/aws-json-1-0/src/awsjson10/models.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from typing import Self
from smithy_core.deserializers import ShapeDeserializer
from smithy_core.documents import Document
from smithy_core.exceptions import ModeledError
from smithy_core.response import ResponseMetadata
from smithy_core.response import ErrorResponseMetadata, ResponseMetadata
from smithy_core.serializers import ShapeSerializer
from smithy_core.types import UnknownEnumMixin

Expand Down Expand Up @@ -87,13 +87,13 @@ class ComplexError(ServiceError, _SerdeShape):

top_level: str | None = ...
nested: ComplexNestedErrorData | None = ...
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -199,13 +199,13 @@ class FooError(ServiceError, _SerdeShape):
framework history. It should only be implemented by clients.
"""

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand All @@ -232,13 +232,13 @@ class GreetingWithErrorsOutput(_SerdeShape):
class InvalidGreeting(ServiceError, _SerdeShape):
"This error is thrown when an invalid greeting value is provided."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"src/awsjson11_client/client.py": "7d5d9bad6a5deae31ac8cc3382a8c3156adf3684227ff1374efb4dd3a8fde54a",
"src/awsjson11_client/config.py": "c02462cacf45deaaa602692fe7157d1c8136ca016b850dbac9e77b7368e1b503",
"src/awsjson11_client/models.py": "3e666b01d5b536476b4d0b990b8f39a73bd9479484bc931e08f684fbeae68f73",
"src/awsjson11_client/models.pyi": "a018f0bbb86538b80a7a59a84ebba899a773a18a3a38a905d1a14501a76ae736",
"src/awsjson11_client/models.pyi": "9eeaea9007d0430814b71684a912b0fcc3a4a6d8854d6623f17ef3ae72f0502e",
"src/awsjson11_client/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/awsjson11_client/user_agent.py": "3fafc1cefcb0969e6d2b41177a445247455ca6ddf0a7f6bbcfd89511611329b1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from typing import Required, Self, TypedDict
from smithy_core.deserializers import ShapeDeserializer
from smithy_core.documents import Document
from smithy_core.exceptions import ModeledError
from smithy_core.response import ResponseMetadata
from smithy_core.response import ErrorResponseMetadata, ResponseMetadata
from smithy_core.schemas import APIOperation
from smithy_core.serializers import ShapeSerializer
from smithy_core.types import UnknownEnumMixin
Expand Down Expand Up @@ -114,13 +114,13 @@ class ComplexError(ServiceError, _SerdeShape):

top_level: str | None = ...
nested: ComplexNestedErrorData | None = ...
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -185,26 +185,26 @@ class ErrorWithMembers(ServiceError, _SerdeShape):
map_field: dict[str, str] | None = ...
string_field: str | None = ...
"abc"
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
class ErrorWithoutMembers(ServiceError, _SerdeShape):
"Dataclass for ErrorWithoutMembers structure."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand All @@ -215,13 +215,13 @@ class FooError(ServiceError, _SerdeShape):
framework history. It should only be implemented by clients.
"""

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -256,13 +256,13 @@ class GreetingWithErrorsOutput(_SerdeShape):
class InvalidGreeting(ServiceError, _SerdeShape):
"This error is thrown when an invalid greeting value is provided."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"src/awsjson11/_private/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/awsjson11/_private/schemas.py": "9e4916f6f66be35ae119fad66e5fdbaa277a2d4f4c6b70b29f2b22065636273d",
"src/awsjson11/models.py": "c44bb35dc4c85f06d814a3b38f1f802024c3c24d54c1534c06f10a64f95f2c3a",
"src/awsjson11/models.pyi": "de83945be2db0a56f63c5e1beaeebb56ea27300ea463288bf7a626a6bc21b4c8",
"src/awsjson11/models.pyi": "dca0ae775625d5bfa9d765880547afcd153456adc0d7a91c7bc4e77887d74d7d",
"src/awsjson11/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"version": 1
Expand Down
52 changes: 26 additions & 26 deletions codegen-output-py/aws-json-1-1/src/awsjson11/models.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from typing import Self
from smithy_core.deserializers import ShapeDeserializer
from smithy_core.documents import Document
from smithy_core.exceptions import ModeledError
from smithy_core.response import ResponseMetadata
from smithy_core.response import ErrorResponseMetadata, ResponseMetadata
from smithy_core.serializers import ShapeSerializer
from smithy_core.types import UnknownEnumMixin

Expand Down Expand Up @@ -74,13 +74,13 @@ class ComplexError(ServiceError, _SerdeShape):

top_level: str | None = ...
nested: ComplexNestedErrorData | None = ...
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -137,26 +137,26 @@ class ErrorWithMembers(ServiceError, _SerdeShape):
map_field: dict[str, str] | None = ...
string_field: str | None = ...
"abc"
response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
class ErrorWithoutMembers(ServiceError, _SerdeShape):
"Dataclass for ErrorWithoutMembers structure."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand All @@ -167,13 +167,13 @@ class FooError(ServiceError, _SerdeShape):
framework history. It should only be implemented by clients.
"""

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down Expand Up @@ -214,13 +214,13 @@ class HostLabelInput(_SerdeShape):
class InvalidGreeting(ServiceError, _SerdeShape):
"This error is thrown when an invalid greeting value is provided."

response_metadata: ResponseMetadata = ...
response_metadata: ErrorResponseMetadata = ...
"""
Metadata about the response that produced this output.
Metadata about the response that produced this error.

Use this to recover the request identifiers a service's support team
needs in order to investigate a call. Members of the metadata are
individually optional.
Use this to read the error code or to recover the request identifiers a
service's support team needs in order to investigate a call. Members of
the metadata are individually optional.
"""

@dataclass(kw_only=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"src/awsquery_client/client.py": "863af7ca0d9d23acf801674eff74c3d79a6c7ddd733a3981913063f1b2366177",
"src/awsquery_client/config.py": "eeaeb33b4efc999d912a1bf4ecc856d9f1acf38fc43098e6e3eae4c2c93f2345",
"src/awsquery_client/models.py": "ba8d5724acbbfa51527fe38b734a9fe445374669c6e5bc45b68ef42729992e7a",
"src/awsquery_client/models.pyi": "8fc34c50f68078076864f73385f35c82e005bd2547c1bae448a4ed618cfa04ec",
"src/awsquery_client/models.pyi": "dc568df2126d1559b22c15ba6da65cfc3ddfdff8e708f61d5a8f47c138862b4f",
"src/awsquery_client/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/awsquery_client/user_agent.py": "519126177f5fcbef76dac9721912639178540ab8c31d2abbd7ec106557ecea2e"
},
Expand Down
Loading
Loading