capo-cloudcontrol 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 (118) hide show
  1. {capo_cloudcontrol-0.3.0/src/capo_cloudcontrol.egg-info → capo_cloudcontrol-0.5.0}/PKG-INFO +2 -2
  2. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/pyproject.toml +2 -2
  3. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/cancel_resource_request.py +3 -2
  4. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/create_resource.py +3 -2
  5. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/delete_resource.py +3 -2
  6. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/get_resource.py +3 -2
  7. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/get_resource_request_status.py +3 -2
  8. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/list_resource_requests.py +3 -2
  9. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/list_resources.py +3 -2
  10. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_operations/cloud_api_service/update_resource.py +3 -2
  11. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_services/_pipeline.py +17 -0
  12. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_services/async_cloud_control.py +21 -21
  13. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_services/cloud_control.py +21 -21
  14. capo_cloudcontrol-0.5.0/src/capo_cloudcontrol/types/create_resource_input.py +62 -0
  15. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/create_resource_output.py +1 -1
  16. capo_cloudcontrol-0.5.0/src/capo_cloudcontrol/types/delete_resource_input.py +62 -0
  17. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/delete_resource_output.py +1 -1
  18. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/get_resource_input.py +2 -2
  19. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/list_resources_input.py +1 -1
  20. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/progress_event.py +2 -2
  21. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/resource_description.py +1 -1
  22. capo_cloudcontrol-0.5.0/src/capo_cloudcontrol/types/update_resource_input.py +70 -0
  23. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/update_resource_output.py +1 -1
  24. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0/src/capo_cloudcontrol.egg-info}/PKG-INFO +2 -2
  25. capo_cloudcontrol-0.3.0/src/capo_cloudcontrol/types/create_resource_input.py +0 -62
  26. capo_cloudcontrol-0.3.0/src/capo_cloudcontrol/types/delete_resource_input.py +0 -62
  27. capo_cloudcontrol-0.3.0/src/capo_cloudcontrol/types/update_resource_input.py +0 -70
  28. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/LICENSE +0 -0
  29. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/README.md +0 -0
  30. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/setup.cfg +0 -0
  31. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/__init__.py +0 -0
  32. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_async.py +0 -0
  33. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_auth/_identity.py +0 -0
  34. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_auth/_providers.py +0 -0
  35. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_auth/_signers.py +0 -0
  36. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_auth/_sigv4.py +0 -0
  37. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_auth/_zapros_handler.py +0 -0
  38. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_body.py +0 -0
  39. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_iter.py +0 -0
  40. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_pagination.py +0 -0
  41. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_protocol/__init__.py +0 -0
  42. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_protocol/errors.py +0 -0
  43. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_protocol/eventstream.py +0 -0
  44. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_protocol/serialize.py +0 -0
  45. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_protocol/xml.py +0 -0
  46. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_rule_engine/__init__.py +0 -0
  47. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_rule_engine/_aws_partition.py +0 -0
  48. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_rule_engine/_endpoint_rule_set.py +0 -0
  49. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_rule_engine/_endpoint_runtime.py +0 -0
  50. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/_services/_aws_config.py +0 -0
  51. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/__init__.py +0 -0
  52. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/_base.py +0 -0
  53. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/already_exists_exception.py +0 -0
  54. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/client_token_conflict_exception.py +0 -0
  55. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/concurrent_modification_exception.py +0 -0
  56. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/concurrent_operation_exception.py +0 -0
  57. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/general_service_exception.py +0 -0
  58. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/handler_failure_exception.py +0 -0
  59. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/handler_internal_failure_exception.py +0 -0
  60. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/invalid_credentials_exception.py +0 -0
  61. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/invalid_request_exception.py +0 -0
  62. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/network_failure_exception.py +0 -0
  63. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/not_stabilized_exception.py +0 -0
  64. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/not_updatable_exception.py +0 -0
  65. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/private_type_exception.py +0 -0
  66. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/request_token_not_found_exception.py +0 -0
  67. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/resource_conflict_exception.py +0 -0
  68. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/resource_not_found_exception.py +0 -0
  69. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/service_internal_error_exception.py +0 -0
  70. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/service_limit_exceeded_exception.py +0 -0
  71. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/throttling_exception.py +0 -0
  72. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/type_not_found_exception.py +0 -0
  73. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/errors/unsupported_action_exception.py +0 -0
  74. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/py.typed +0 -0
  75. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/_prelude/blob.py +0 -0
  76. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/_prelude/timestamp.py +0 -0
  77. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/cancel_resource_request_input.py +0 -0
  78. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/cancel_resource_request_output.py +0 -0
  79. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/client_token.py +0 -0
  80. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/error_message.py +0 -0
  81. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/get_resource_output.py +0 -0
  82. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/get_resource_request_status_input.py +0 -0
  83. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/get_resource_request_status_output.py +0 -0
  84. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/handler_error_code.py +0 -0
  85. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/handler_next_token.py +0 -0
  86. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hook_failure_mode.py +0 -0
  87. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hook_invocation_point.py +0 -0
  88. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hook_progress_event.py +0 -0
  89. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hook_status.py +0 -0
  90. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hook_type_arn.py +0 -0
  91. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/hooks_progress_event.py +0 -0
  92. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/identifier.py +0 -0
  93. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/list_resource_requests_input.py +0 -0
  94. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/list_resource_requests_output.py +0 -0
  95. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/list_resources_output.py +0 -0
  96. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/max_results.py +0 -0
  97. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/next_token.py +0 -0
  98. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/operation.py +0 -0
  99. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/operation_status.py +0 -0
  100. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/operation_statuses.py +0 -0
  101. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/operations.py +0 -0
  102. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/patch_document.py +0 -0
  103. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/properties.py +0 -0
  104. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/request_token.py +0 -0
  105. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/resource_descriptions.py +0 -0
  106. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/resource_request_status_filter.py +0 -0
  107. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/resource_request_status_summaries.py +0 -0
  108. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/role_arn.py +0 -0
  109. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/status_message.py +0 -0
  110. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/timestamp.py +0 -0
  111. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/type_name.py +0 -0
  112. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol/types/type_version_id.py +0 -0
  113. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol.egg-info/SOURCES.txt +0 -0
  114. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol.egg-info/dependency_links.txt +0 -0
  115. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol.egg-info/requires.txt +0 -0
  116. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/src/capo_cloudcontrol.egg-info/top_level.txt +0 -0
  117. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/tests/test_body.py +0 -0
  118. {capo_cloudcontrol-0.3.0 → capo_cloudcontrol-0.5.0}/tests/test_sigv4.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-cloudcontrol
3
- Version: 0.3.0
4
- Summary: Python SDK for Cloudcontrol.
3
+ Version: 0.5.0
4
+ Summary: Python SDK for AWS Cloudcontrol.
5
5
  Classifier: Development Status :: 4 - Beta
6
6
  Classifier: Intended Audience :: Developers
7
7
  Classifier: License :: OSI Approved :: MIT License
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "capo-cloudcontrol"
3
- version = "0.3.0"
4
- description = "Python SDK for Cloudcontrol."
3
+ version = "0.5.0"
4
+ description = "Python SDK for AWS Cloudcontrol."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
7
7
  classifiers = [
@@ -21,6 +21,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
21
21
  from capo_cloudcontrol._services._pipeline import (
22
22
  AsyncOperationOptions,
23
23
  OperationOptions,
24
+ raise_error,
24
25
  )
25
26
  from capo_cloudcontrol.errors import UnknownServiceError
26
27
 
@@ -130,7 +131,7 @@ def cancel_resource_request(
130
131
  try:
131
132
  if response.status >= 300:
132
133
  response.read()
133
- handle_error(response)
134
+ raise_error(response, handle_error)
134
135
  return handle_response(response), response
135
136
  except BaseException:
136
137
  response.close()
@@ -148,7 +149,7 @@ async def async_cancel_resource_request(
148
149
  try:
149
150
  if response.status >= 300:
150
151
  await response.aread()
151
- handle_error(response)
152
+ raise_error(response, handle_error)
152
153
  return await async_handle_response(response), response
153
154
  except BaseException:
154
155
  await response.aclose()
@@ -38,6 +38,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
38
38
  from capo_cloudcontrol._services._pipeline import (
39
39
  AsyncOperationOptions,
40
40
  OperationOptions,
41
+ raise_error,
41
42
  )
42
43
  from capo_cloudcontrol.errors import UnknownServiceError
43
44
 
@@ -216,7 +217,7 @@ def create_resource(
216
217
  try:
217
218
  if response.status >= 300:
218
219
  response.read()
219
- handle_error(response)
220
+ raise_error(response, handle_error)
220
221
  return handle_response(response), response
221
222
  except BaseException:
222
223
  response.close()
@@ -233,7 +234,7 @@ async def async_create_resource(
233
234
  try:
234
235
  if response.status >= 300:
235
236
  await response.aread()
236
- handle_error(response)
237
+ raise_error(response, handle_error)
237
238
  return await async_handle_response(response), response
238
239
  except BaseException:
239
240
  await response.aclose()
@@ -38,6 +38,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
38
38
  from capo_cloudcontrol._services._pipeline import (
39
39
  AsyncOperationOptions,
40
40
  OperationOptions,
41
+ raise_error,
41
42
  )
42
43
  from capo_cloudcontrol.errors import UnknownServiceError
43
44
 
@@ -216,7 +217,7 @@ def delete_resource(
216
217
  try:
217
218
  if response.status >= 300:
218
219
  response.read()
219
- handle_error(response)
220
+ raise_error(response, handle_error)
220
221
  return handle_response(response), response
221
222
  except BaseException:
222
223
  response.close()
@@ -233,7 +234,7 @@ async def async_delete_resource(
233
234
  try:
234
235
  if response.status >= 300:
235
236
  await response.aread()
236
- handle_error(response)
237
+ raise_error(response, handle_error)
237
238
  return await async_handle_response(response), response
238
239
  except BaseException:
239
240
  await response.aclose()
@@ -36,6 +36,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
36
36
  from capo_cloudcontrol._services._pipeline import (
37
37
  AsyncOperationOptions,
38
38
  OperationOptions,
39
+ raise_error,
39
40
  )
40
41
  from capo_cloudcontrol.errors import UnknownServiceError
41
42
 
@@ -206,7 +207,7 @@ def get_resource(
206
207
  try:
207
208
  if response.status >= 300:
208
209
  response.read()
209
- handle_error(response)
210
+ raise_error(response, handle_error)
210
211
  return handle_response(response), response
211
212
  except BaseException:
212
213
  response.close()
@@ -223,7 +224,7 @@ async def async_get_resource(
223
224
  try:
224
225
  if response.status >= 300:
225
226
  await response.aread()
226
- handle_error(response)
227
+ raise_error(response, handle_error)
227
228
  return await async_handle_response(response), response
228
229
  except BaseException:
229
230
  await response.aclose()
@@ -21,6 +21,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
21
21
  from capo_cloudcontrol._services._pipeline import (
22
22
  AsyncOperationOptions,
23
23
  OperationOptions,
24
+ raise_error,
24
25
  )
25
26
  from capo_cloudcontrol.errors import UnknownServiceError
26
27
 
@@ -126,7 +127,7 @@ def get_resource_request_status(
126
127
  try:
127
128
  if response.status >= 300:
128
129
  response.read()
129
- handle_error(response)
130
+ raise_error(response, handle_error)
130
131
  return handle_response(response), response
131
132
  except BaseException:
132
133
  response.close()
@@ -144,7 +145,7 @@ async def async_get_resource_request_status(
144
145
  try:
145
146
  if response.status >= 300:
146
147
  await response.aread()
147
- handle_error(response)
148
+ raise_error(response, handle_error)
148
149
  return await async_handle_response(response), response
149
150
  except BaseException:
150
151
  await response.aclose()
@@ -20,6 +20,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
20
20
  from capo_cloudcontrol._services._pipeline import (
21
21
  AsyncOperationOptions,
22
22
  OperationOptions,
23
+ raise_error,
23
24
  )
24
25
  from capo_cloudcontrol.errors import UnknownServiceError
25
26
 
@@ -121,7 +122,7 @@ def list_resource_requests(
121
122
  try:
122
123
  if response.status >= 300:
123
124
  response.read()
124
- handle_error(response)
125
+ raise_error(response, handle_error)
125
126
  return handle_response(response), response
126
127
  except BaseException:
127
128
  response.close()
@@ -139,7 +140,7 @@ async def async_list_resource_requests(
139
140
  try:
140
141
  if response.status >= 300:
141
142
  await response.aread()
142
- handle_error(response)
143
+ raise_error(response, handle_error)
143
144
  return await async_handle_response(response), response
144
145
  except BaseException:
145
146
  await response.aclose()
@@ -36,6 +36,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
36
36
  from capo_cloudcontrol._services._pipeline import (
37
37
  AsyncOperationOptions,
38
38
  OperationOptions,
39
+ raise_error,
39
40
  )
40
41
  from capo_cloudcontrol.errors import UnknownServiceError
41
42
 
@@ -206,7 +207,7 @@ def list_resources(
206
207
  try:
207
208
  if response.status >= 300:
208
209
  response.read()
209
- handle_error(response)
210
+ raise_error(response, handle_error)
210
211
  return handle_response(response), response
211
212
  except BaseException:
212
213
  response.close()
@@ -223,7 +224,7 @@ async def async_list_resources(
223
224
  try:
224
225
  if response.status >= 300:
225
226
  await response.aread()
226
- handle_error(response)
227
+ raise_error(response, handle_error)
227
228
  return await async_handle_response(response), response
228
229
  except BaseException:
229
230
  await response.aclose()
@@ -38,6 +38,7 @@ from capo_cloudcontrol._rule_engine._endpoint_rule_set import EndpointParams, re
38
38
  from capo_cloudcontrol._services._pipeline import (
39
39
  AsyncOperationOptions,
40
40
  OperationOptions,
41
+ raise_error,
41
42
  )
42
43
  from capo_cloudcontrol.errors import UnknownServiceError
43
44
 
@@ -216,7 +217,7 @@ def update_resource(
216
217
  try:
217
218
  if response.status >= 300:
218
219
  response.read()
219
- handle_error(response)
220
+ raise_error(response, handle_error)
220
221
  return handle_response(response), response
221
222
  except BaseException:
222
223
  response.close()
@@ -233,7 +234,7 @@ async def async_update_resource(
233
234
  try:
234
235
  if response.status >= 300:
235
236
  await response.aread()
236
- handle_error(response)
237
+ raise_error(response, handle_error)
237
238
  return await async_handle_response(response), response
238
239
  except BaseException:
239
240
  await response.aclose()
@@ -6,6 +6,7 @@ from collections.abc import AsyncIterator, Iterator, Sequence
6
6
  from dataclasses import dataclass
7
7
  from typing import TYPE_CHECKING, Awaitable, Callable, Generic, TypeVar, cast
8
8
 
9
+ from typing_extensions import Never
9
10
  from zapros import (
10
11
  AsyncClient,
11
12
  Client,
@@ -135,6 +136,22 @@ async def aexecute_pipeline(
135
136
  return await make_chain(0)(request)
136
137
 
137
138
 
139
+ def raise_error(response: Response, handle_error: Callable[[Response], Never]) -> Never:
140
+ try:
141
+ handle_error(response)
142
+ except ServiceError as exc:
143
+ # The response itself can say a retry is safe, even when the error is
144
+ # not marked @retryable: a 429, a transient 5xx or a Retry-After header.
145
+ if response.status == 429:
146
+ exc.is_throttling_error = True
147
+ if (
148
+ response.status in (429, 500, 502, 503, 504)
149
+ or "retry-after" in response.headers
150
+ ):
151
+ exc.is_retryable = True
152
+ raise
153
+
154
+
138
155
  def _is_retryable(exc: Exception) -> bool:
139
156
  if isinstance(exc, ServiceError):
140
157
  return exc.is_retryable
@@ -161,7 +161,7 @@ class AsyncCloudControlClient:
161
161
  *,
162
162
  config_overrides: Optional[AsyncCloudControlClientConfig] = None,
163
163
  ) -> "capo_cloudcontrol.types.cancel_resource_request_output.CancelResourceRequestOutput":
164
- r"""<p>Cancels the specified resource operation request. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel\">Canceling resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>Only resource operations requests with a status of <code>PENDING</code> or <code>IN_PROGRESS</code> can be canceled.</p>
164
+ """<p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>Only resource operations requests with a status of <code>PENDING</code> or <code>IN_PROGRESS</code> can be canceled.</p>
165
165
 
166
166
  Args:
167
167
  request_token: <p>The <code>RequestToken</code> of the <code>ProgressEvent</code> object returned by the resource operation request.</p>
@@ -214,14 +214,14 @@ class AsyncCloudControlClient:
214
214
  "capo_cloudcontrol.types.client_token.ClientToken"
215
215
  ] = None,
216
216
  ) -> "capo_cloudcontrol.types.create_resource_output.CreateResourceOutput":
217
- r"""<p>Creates the specified resource. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html\">Creating a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource creation request, you can monitor the progress of your request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> type returned by <code>CreateResource</code>.</p>
217
+ """<p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource creation request, you can monitor the progress of your request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> type returned by <code>CreateResource</code>.</p>
218
218
 
219
219
  Args:
220
220
  type_name: <p>The name of the resource type.</p>
221
221
  type_version_id: <p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>
222
- role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a> </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
223
- client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency\">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
224
- desired_state: <p>Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.</p> <note> <p>Cloud Control API currently supports JSON as a structured data format.</p> </note> <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate\">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
222
+ role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers">handlers</a> </code> section of the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
223
+ client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
224
+ desired_state: <p>Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.</p> <note> <p>Cloud Control API currently supports JSON as a structured data format.</p> </note> <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
225
225
 
226
226
  Raises:
227
227
  capo_cloudcontrol.errors.already_exists_exception.AlreadyExistsException: <p>The resource with the name requested already exists.</p>
@@ -296,14 +296,14 @@ class AsyncCloudControlClient:
296
296
  "capo_cloudcontrol.types.client_token.ClientToken"
297
297
  ] = None,
298
298
  ) -> "capo_cloudcontrol.types.delete_resource_output.DeleteResourceOutput":
299
- r"""<p>Deletes the specified resource. For details, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html\">Deleting a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource deletion request, you can monitor the progress of your request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>
299
+ """<p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource deletion request, you can monitor the progress of your request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>
300
300
 
301
301
  Args:
302
302
  type_name: <p>The name of the resource type.</p>
303
303
  type_version_id: <p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>
304
- role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a> </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
305
- client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency\">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
306
- identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html\">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
304
+ role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers">handlers</a> </code> section of the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
305
+ client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
306
+ identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
307
307
 
308
308
  Raises:
309
309
  capo_cloudcontrol.errors.already_exists_exception.AlreadyExistsException: <p>The resource with the name requested already exists.</p>
@@ -375,13 +375,13 @@ class AsyncCloudControlClient:
375
375
  ] = None,
376
376
  role_arn: Optional["capo_cloudcontrol.types.role_arn.RoleArn"] = None,
377
377
  ) -> "capo_cloudcontrol.types.get_resource_output.GetResourceOutput":
378
- r"""<p>Returns information about the current state of the specified resource. For details, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html\">Reading a resource's current state</a>.</p> <p>You can use this action to return information about an existing resource in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
378
+ """<p>Returns information about the current state of the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html">Reading a resource's current state</a>.</p> <p>You can use this action to return information about an existing resource in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
379
379
 
380
380
  Args:
381
381
  type_name: <p>The name of the resource type.</p>
382
382
  type_version_id: <p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>
383
- role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a> </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
384
- identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html\">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
383
+ role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers">handlers</a> </code> section of the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
384
+ identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
385
385
 
386
386
  Raises:
387
387
  capo_cloudcontrol.errors.already_exists_exception.AlreadyExistsException: <p>The resource with the name requested already exists.</p>
@@ -443,7 +443,7 @@ class AsyncCloudControlClient:
443
443
  *,
444
444
  config_overrides: Optional[AsyncCloudControlClientConfig] = None,
445
445
  ) -> "capo_cloudcontrol.types.get_resource_request_status_output.GetResourceRequestStatusOutput":
446
- r"""<p>Returns the current status of a resource operation request. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track\">Tracking the progress of resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
446
+ """<p>Returns the current status of a resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track">Tracking the progress of resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
447
447
 
448
448
  Args:
449
449
  request_token: <p>A unique token used to track the progress of the resource operation request.</p> <p>Request tokens are included in the <code>ProgressEvent</code> type returned by a resource operation request.</p>
@@ -491,7 +491,7 @@ class AsyncCloudControlClient:
491
491
  "capo_cloudcontrol.types.resource_request_status_filter.ResourceRequestStatusFilter"
492
492
  ] = None,
493
493
  ) -> "capo_cloudcontrol.types.list_resource_requests_output.ListResourceRequestsOutput":
494
- r"""<p>Returns existing resource operation requests. This includes requests of all status types. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list\">Listing active resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <note> <p>Resource operation requests expire after 7 days.</p> </note>
494
+ """<p>Returns existing resource operation requests. This includes requests of all status types. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list">Listing active resource operation requests</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <note> <p>Resource operation requests expire after 7 days.</p> </note>
495
495
 
496
496
  Args:
497
497
  max_results: <p>The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a <code>NextToken</code> value that you can assign to the <code>NextToken</code> request parameter to get the next set of results.</p> <p>The default is <code>20</code>.</p>
@@ -576,12 +576,12 @@ class AsyncCloudControlClient:
576
576
  "capo_cloudcontrol.types.properties.Properties"
577
577
  ] = None,
578
578
  ) -> "capo_cloudcontrol.types.list_resources_output.ListResourcesOutput":
579
- r"""<p>Returns information about the specified resources. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html\">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>You can use this action to return information about existing resources in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
579
+ """<p>Returns information about the specified resources. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>You can use this action to return information about existing resources in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
580
580
 
581
581
  Args:
582
582
  type_name: <p>The name of the resource type.</p>
583
583
  type_version_id: <p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>
584
- role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a> </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
584
+ role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers">handlers</a> </code> section of the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
585
585
  next_token: <p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p>
586
586
  max_results: <p>Reserved.</p>
587
587
  resource_model: <p>The resource model to use to select the resources to return.</p>
@@ -695,15 +695,15 @@ class AsyncCloudControlClient:
695
695
  "capo_cloudcontrol.types.client_token.ClientToken"
696
696
  ] = None,
697
697
  ) -> "capo_cloudcontrol.types.update_resource_output.UpdateResourceOutput":
698
- r"""<p>Updates the specified property values in the resource.</p> <p>You specify your resource property updates as a list of patch operations contained in a JSON patch document that adheres to the <a href=\"https://datatracker.ietf.org/doc/html/rfc6902\"> <i>RFC 6902 - JavaScript Object Notation (JSON) Patch</i> </a> standard.</p> <p>For details on how Cloud Control API performs resource update operations, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-update.html\">Updating a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource update request, you can monitor the progress of your request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> returned by <code>UpdateResource</code>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
698
+ """<p>Updates the specified property values in the resource.</p> <p>You specify your resource property updates as a list of patch operations contained in a JSON patch document that adheres to the <a href="https://datatracker.ietf.org/doc/html/rfc6902"> <i>RFC 6902 - JavaScript Object Notation (JSON) Patch</i> </a> standard.</p> <p>For details on how Cloud Control API performs resource update operations, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-update.html">Updating a resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>After you have initiated a resource update request, you can monitor the progress of your request by calling <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the <code>ProgressEvent</code> returned by <code>UpdateResource</code>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
699
699
 
700
700
  Args:
701
701
  type_name: <p>The name of the resource type.</p>
702
702
  type_version_id: <p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>
703
- role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a> </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
704
- client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency\">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
705
- identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html\">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
706
- patch_document: <p>A JavaScript Object Notation (JSON) document listing the patch operations that represent the updates to apply to the current resource properties. For details, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-update.html#resource-operations-update-patch\">Composing the patch document</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
703
+ role_arn: <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code> <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers">handlers</a> </code> section of the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">resource type definition schema</a>.</p> <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
704
+ client_token: <p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p> <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p> <p>If you do not specify a client token, one is generated for inclusion in the request.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
705
+ identifier: <p>The identifier for the resource.</p> <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p> <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
706
+ patch_document: <p>A JavaScript Object Notation (JSON) document listing the patch operations that represent the updates to apply to the current resource properties. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-update.html#resource-operations-update-patch">Composing the patch document</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
707
707
 
708
708
  Raises:
709
709
  capo_cloudcontrol.errors.already_exists_exception.AlreadyExistsException: <p>The resource with the name requested already exists.</p>