capo-sagemaker-runtime-http2 0.3.0__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. {capo_sagemaker_runtime_http2-0.3.0/src/capo_sagemaker_runtime_http2.egg-info → capo_sagemaker_runtime_http2-0.5.0}/PKG-INFO +1 -1
  2. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/pyproject.toml +1 -1
  3. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_operations/amazon_sage_maker_runtime_http2/invoke_endpoint_with_bidirectional_stream.py +10 -2
  4. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_services/_pipeline.py +2 -0
  5. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_services/async_sage_maker_runtime_http2.py +6 -1
  6. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_services/sage_maker_runtime_http2.py +6 -1
  7. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/request_payload_part.py +2 -2
  8. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/response_payload_part.py +2 -2
  9. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0/src/capo_sagemaker_runtime_http2.egg-info}/PKG-INFO +1 -1
  10. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/LICENSE +0 -0
  11. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/README.md +0 -0
  12. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/setup.cfg +0 -0
  13. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/__init__.py +0 -0
  14. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_async.py +0 -0
  15. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_auth/_identity.py +0 -0
  16. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_auth/_providers.py +0 -0
  17. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_auth/_signers.py +0 -0
  18. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_auth/_sigv4.py +0 -0
  19. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_auth/_zapros_handler.py +0 -0
  20. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_body.py +0 -0
  21. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_iter.py +0 -0
  22. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_pagination.py +0 -0
  23. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_protocol/__init__.py +0 -0
  24. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_protocol/errors.py +0 -0
  25. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_protocol/eventstream.py +0 -0
  26. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_protocol/serialize.py +0 -0
  27. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_protocol/xml.py +0 -0
  28. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_rule_engine/__init__.py +0 -0
  29. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_rule_engine/_aws_partition.py +0 -0
  30. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_rule_engine/_endpoint_rule_set.py +0 -0
  31. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_rule_engine/_endpoint_runtime.py +0 -0
  32. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/_services/_aws_config.py +0 -0
  33. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/__init__.py +0 -0
  34. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/_base.py +0 -0
  35. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/input_validation_error.py +0 -0
  36. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/internal_server_error.py +0 -0
  37. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/internal_stream_failure.py +0 -0
  38. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/model_error.py +0 -0
  39. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/model_stream_error.py +0 -0
  40. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/errors/service_unavailable_error.py +0 -0
  41. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/py.typed +0 -0
  42. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/_prelude/blob.py +0 -0
  43. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/_prelude/timestamp.py +0 -0
  44. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_input.py +0 -0
  45. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/invoke_endpoint_with_bidirectional_stream_output.py +0 -0
  46. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/request_stream_event.py +0 -0
  47. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/response_stream_event.py +0 -0
  48. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2/types/sensitive_blob.py +0 -0
  49. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2.egg-info/SOURCES.txt +0 -0
  50. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2.egg-info/dependency_links.txt +0 -0
  51. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2.egg-info/requires.txt +0 -0
  52. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/src/capo_sagemaker_runtime_http2.egg-info/top_level.txt +0 -0
  53. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/tests/test_body.py +0 -0
  54. {capo_sagemaker_runtime_http2-0.3.0 → capo_sagemaker_runtime_http2-0.5.0}/tests/test_sigv4.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-sagemaker-runtime-http2
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Python SDK for AWS Sagemaker Runtime Http2.
5
5
  Classifier: Development Status :: 4 - Beta
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "capo-sagemaker-runtime-http2"
3
- version = "0.3.0"
3
+ version = "0.5.0"
4
4
  description = "Python SDK for AWS Sagemaker Runtime Http2."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -177,7 +177,11 @@ def build_request(
177
177
  )
178
178
 
179
179
  headers["content-type"] = "application/vnd.amazon-eventstream"
180
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
180
+ signer = (
181
+ None
182
+ if options.anonymous
183
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
184
+ )
181
185
  normalized_url = zapros.URL(url)
182
186
  for k, v in params:
183
187
  normalized_url.search_params.append(k, v)
@@ -220,7 +224,11 @@ def async_build_request(
220
224
  )
221
225
 
222
226
  headers["content-type"] = "application/vnd.amazon-eventstream"
223
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
227
+ signer = (
228
+ None
229
+ if options.anonymous
230
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
231
+ )
224
232
  normalized_url = zapros.URL(url)
225
233
  for k, v in params:
226
234
  normalized_url.search_params.append(k, v)
@@ -40,6 +40,7 @@ class OperationOptions:
40
40
  region: str | None = None
41
41
  retry_max_attempts: int | None = None
42
42
  credentials_provider: IdentityProvider[Credentials] | None = None
43
+ anonymous: bool | None = None
43
44
 
44
45
 
45
46
  @dataclass
@@ -51,6 +52,7 @@ class AsyncOperationOptions:
51
52
  region: str | None = None
52
53
  retry_max_attempts: int | None = None
53
54
  credentials_provider: IdentityProvider[Credentials] | None = None
55
+ anonymous: bool | None = None
54
56
 
55
57
 
56
58
  @dataclass
@@ -45,6 +45,7 @@ class AsyncSageMakerRuntimeHTTP2ClientConfig(TypedDict, total=False, closed=True
45
45
  endpoint: str | None
46
46
  region: str | None
47
47
  credentials_provider: IdentityProvider[Credentials] | None
48
+ anonymous: bool | None
48
49
 
49
50
 
50
51
  class AsyncSageMakerRuntimeHTTP2Client:
@@ -60,6 +61,7 @@ class AsyncSageMakerRuntimeHTTP2Client:
60
61
  region: The value of the ``AWS::Region`` endpoint parameter.
61
62
  credentials: AWS credentials for request signing.
62
63
  credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
64
+ anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
63
65
  """
64
66
 
65
67
  def __init__(
@@ -73,6 +75,7 @@ class AsyncSageMakerRuntimeHTTP2Client:
73
75
  region: str | None = None,
74
76
  credentials: Credentials | None = None,
75
77
  credentials_provider: CredentialsProvider | None = None,
78
+ anonymous: bool | None = None,
76
79
  ):
77
80
  self._client = AsyncClient(http_handler).wrap_with_middleware(
78
81
  lambda next: AuthMiddleware(next)
@@ -99,6 +102,7 @@ class AsyncSageMakerRuntimeHTTP2Client:
99
102
  "endpoint": endpoint,
100
103
  "region": region,
101
104
  "credentials_provider": resolved_credentials_provider,
105
+ "anonymous": anonymous,
102
106
  }
103
107
  )
104
108
 
@@ -127,6 +131,7 @@ class AsyncSageMakerRuntimeHTTP2Client:
127
131
  credentials_provider=overrides.get(
128
132
  "credentials_provider", self._config.get("credentials_provider")
129
133
  ),
134
+ anonymous=overrides.get("anonymous", self._config.get("anonymous")),
130
135
  )
131
136
  return interceptors_, options_
132
137
 
@@ -141,7 +146,7 @@ class AsyncSageMakerRuntimeHTTP2Client:
141
146
  model_invocation_path: Optional[str] = None,
142
147
  model_query_string: Optional[str] = None,
143
148
  ) -> "AsyncGenerator[capo_sagemaker_runtime_http2.types.invoke_endpoint_with_bidirectional_stream_output.InvokeEndpointWithBidirectionalStreamOutput]":
144
- r"""<p>Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.</p> <p>Bidirectional streaming is useful for interactive applications such as chatbots, real-time translation, or any scenario where you need to maintain a conversation-like interaction with the model. The connection remains open, allowing you to send additional input and receive responses without establishing a new connection for each request.</p> <p>For an overview of Amazon SageMaker AI, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html\">How It Works</a>.</p> <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. </p> <p>Calls to <code>InvokeEndpointWithBidirectionalStream</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html\">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.</p> <p>The bidirectional stream maintains the connection until either the client closes it or the model indicates completion. Each request and response in the stream is sent as an event with optional headers for data type and completion state.</p> <note> <p>Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker AI determines the account ID from the authentication token that is supplied by the caller.</p> </note>
149
+ """<p>Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.</p> <p>Bidirectional streaming is useful for interactive applications such as chatbots, real-time translation, or any scenario where you need to maintain a conversation-like interaction with the model. The connection remains open, allowing you to send additional input and receive responses without establishing a new connection for each request.</p> <p>For an overview of Amazon SageMaker AI, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>.</p> <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. </p> <p>Calls to <code>InvokeEndpointWithBidirectionalStream</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.</p> <p>The bidirectional stream maintains the connection until either the client closes it or the model indicates completion. Each request and response in the stream is sent as an event with optional headers for data type and completion state.</p> <note> <p>Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker AI determines the account ID from the authentication token that is supplied by the caller.</p> </note>
145
150
 
146
151
  Args:
147
152
  endpoint_name: <p>The name of the endpoint to invoke.</p>
@@ -45,6 +45,7 @@ class SageMakerRuntimeHTTP2ClientConfig(TypedDict, total=False, closed=True):
45
45
  endpoint: str | None
46
46
  region: str | None
47
47
  credentials_provider: IdentityProvider[Credentials] | None
48
+ anonymous: bool | None
48
49
 
49
50
 
50
51
  class SageMakerRuntimeHTTP2Client:
@@ -60,6 +61,7 @@ class SageMakerRuntimeHTTP2Client:
60
61
  region: The value of the ``AWS::Region`` endpoint parameter.
61
62
  credentials: AWS credentials for request signing.
62
63
  credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
64
+ anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
63
65
  """
64
66
 
65
67
  def __init__(
@@ -73,6 +75,7 @@ class SageMakerRuntimeHTTP2Client:
73
75
  region: str | None = None,
74
76
  credentials: Credentials | None = None,
75
77
  credentials_provider: CredentialsProvider | None = None,
78
+ anonymous: bool | None = None,
76
79
  ):
77
80
  self._client = Client(http_handler).wrap_with_middleware(
78
81
  lambda next: AuthMiddleware(next)
@@ -99,6 +102,7 @@ class SageMakerRuntimeHTTP2Client:
99
102
  "endpoint": endpoint,
100
103
  "region": region,
101
104
  "credentials_provider": resolved_credentials_provider,
105
+ "anonymous": anonymous,
102
106
  }
103
107
  )
104
108
 
@@ -127,6 +131,7 @@ class SageMakerRuntimeHTTP2Client:
127
131
  credentials_provider=overrides.get(
128
132
  "credentials_provider", self._config.get("credentials_provider")
129
133
  ),
134
+ anonymous=overrides.get("anonymous", self._config.get("anonymous")),
130
135
  )
131
136
  return interceptors_, options_
132
137
 
@@ -141,7 +146,7 @@ class SageMakerRuntimeHTTP2Client:
141
146
  model_invocation_path: Optional[str] = None,
142
147
  model_query_string: Optional[str] = None,
143
148
  ) -> "Generator[capo_sagemaker_runtime_http2.types.invoke_endpoint_with_bidirectional_stream_output.InvokeEndpointWithBidirectionalStreamOutput]":
144
- r"""<p>Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.</p> <p>Bidirectional streaming is useful for interactive applications such as chatbots, real-time translation, or any scenario where you need to maintain a conversation-like interaction with the model. The connection remains open, allowing you to send additional input and receive responses without establishing a new connection for each request.</p> <p>For an overview of Amazon SageMaker AI, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html\">How It Works</a>.</p> <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. </p> <p>Calls to <code>InvokeEndpointWithBidirectionalStream</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html\">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.</p> <p>The bidirectional stream maintains the connection until either the client closes it or the model indicates completion. Each request and response in the stream is sent as an event with optional headers for data type and completion state.</p> <note> <p>Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker AI determines the account ID from the authentication token that is supplied by the caller.</p> </note>
149
+ """<p>Invokes a model endpoint with bidirectional streaming capabilities. This operation establishes a persistent connection that allows you to send multiple requests and receive streaming responses from the model in real-time.</p> <p>Bidirectional streaming is useful for interactive applications such as chatbots, real-time translation, or any scenario where you need to maintain a conversation-like interaction with the model. The connection remains open, allowing you to send additional input and receive responses without establishing a new connection for each request.</p> <p>For an overview of Amazon SageMaker AI, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>.</p> <p>Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. </p> <p>Calls to <code>InvokeEndpointWithBidirectionalStream</code> are authenticated by using Amazon Web Services Signature Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.</p> <p>The bidirectional stream maintains the connection until either the client closes it or the model indicates completion. Each request and response in the stream is sent as an event with optional headers for data type and completion state.</p> <note> <p>Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker AI determines the account ID from the authentication token that is supplied by the caller.</p> </note>
145
150
 
146
151
  Args:
147
152
  endpoint_name: <p>The name of the endpoint to invoke.</p>
@@ -16,9 +16,9 @@ class RequestPayloadPart(TypedDict, closed=True):
16
16
  ]
17
17
  """<p>The payload bytes.</p>"""
18
18
  data_type: NotRequired["str"]
19
- r"""<p>Data type header. Can be one of these possible values: \"UTF8\", \"BINARY\".</p>"""
19
+ """<p>Data type header. Can be one of these possible values: "UTF8", "BINARY".</p>"""
20
20
  completion_state: NotRequired["str"]
21
- r"""<p>Completion state header. Can be one of these possible values: \"PARTIAL\", \"COMPLETE\".</p>"""
21
+ """<p>Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".</p>"""
22
22
  p: NotRequired["str"]
23
23
  """<p>Padding string for alignment.</p>"""
24
24
 
@@ -16,9 +16,9 @@ class ResponsePayloadPart(TypedDict, closed=True):
16
16
  ]
17
17
  """<p>The payload bytes.</p>"""
18
18
  data_type: NotRequired["str"]
19
- r"""<p>Data type header. Can be one of these possible values: \"UTF8\", \"BINARY\".</p>"""
19
+ """<p>Data type header. Can be one of these possible values: "UTF8", "BINARY".</p>"""
20
20
  completion_state: NotRequired["str"]
21
- r"""<p>Completion state header. Can be one of these possible values: \"PARTIAL\", \"COMPLETE\".</p>"""
21
+ """<p>Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".</p>"""
22
22
  p: NotRequired["str"]
23
23
  """<p>Padding string for alignment.</p>"""
24
24
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-sagemaker-runtime-http2
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Python SDK for AWS Sagemaker Runtime Http2.
5
5
  Classifier: Development Status :: 4 - Beta
6
6
  Classifier: Intended Audience :: Developers