@aws-sdk/client-proton 3.41.0 → 3.46.0

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 (161) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +46 -37
  3. package/dist-cjs/Proton.js +270 -0
  4. package/dist-cjs/commands/CreateRepositoryCommand.js +36 -0
  5. package/dist-cjs/commands/CreateTemplateSyncConfigCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteRepositoryCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteTemplateSyncConfigCommand.js +36 -0
  8. package/dist-cjs/commands/GetRepositoryCommand.js +36 -0
  9. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +36 -0
  10. package/dist-cjs/commands/GetTemplateSyncConfigCommand.js +36 -0
  11. package/dist-cjs/commands/GetTemplateSyncStatusCommand.js +36 -0
  12. package/dist-cjs/commands/ListEnvironmentOutputsCommand.js +36 -0
  13. package/dist-cjs/commands/ListEnvironmentProvisionedResourcesCommand.js +36 -0
  14. package/dist-cjs/commands/ListRepositoriesCommand.js +36 -0
  15. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +36 -0
  16. package/dist-cjs/commands/ListServiceInstanceOutputsCommand.js +36 -0
  17. package/dist-cjs/commands/ListServiceInstanceProvisionedResourcesCommand.js +36 -0
  18. package/dist-cjs/commands/ListServicePipelineOutputsCommand.js +36 -0
  19. package/dist-cjs/commands/ListServicePipelineProvisionedResourcesCommand.js +36 -0
  20. package/dist-cjs/commands/NotifyResourceDeploymentStatusChangeCommand.js +36 -0
  21. package/dist-cjs/commands/UpdateTemplateSyncConfigCommand.js +36 -0
  22. package/dist-cjs/commands/index.js +18 -0
  23. package/dist-cjs/endpoints.js +1 -0
  24. package/dist-cjs/models/models_0.js +348 -7
  25. package/dist-cjs/pagination/ListEnvironmentOutputsPaginator.js +34 -0
  26. package/dist-cjs/pagination/ListEnvironmentProvisionedResourcesPaginator.js +34 -0
  27. package/dist-cjs/pagination/ListRepositoriesPaginator.js +35 -0
  28. package/dist-cjs/pagination/ListRepositorySyncDefinitionsPaginator.js +34 -0
  29. package/dist-cjs/pagination/ListServiceInstanceOutputsPaginator.js +34 -0
  30. package/dist-cjs/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +34 -0
  31. package/dist-cjs/pagination/ListServicePipelineOutputsPaginator.js +34 -0
  32. package/dist-cjs/pagination/ListServicePipelineProvisionedResourcesPaginator.js +34 -0
  33. package/dist-cjs/pagination/index.js +8 -0
  34. package/dist-cjs/protocols/Aws_json1_0.js +2364 -220
  35. package/dist-cjs/runtimeConfig.js +0 -2
  36. package/dist-es/Proton.js +270 -0
  37. package/dist-es/commands/CreateRepositoryCommand.js +39 -0
  38. package/dist-es/commands/CreateTemplateSyncConfigCommand.js +39 -0
  39. package/dist-es/commands/DeleteRepositoryCommand.js +39 -0
  40. package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +39 -0
  41. package/dist-es/commands/GetRepositoryCommand.js +39 -0
  42. package/dist-es/commands/GetRepositorySyncStatusCommand.js +39 -0
  43. package/dist-es/commands/GetTemplateSyncConfigCommand.js +39 -0
  44. package/dist-es/commands/GetTemplateSyncStatusCommand.js +39 -0
  45. package/dist-es/commands/ListEnvironmentOutputsCommand.js +39 -0
  46. package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +39 -0
  47. package/dist-es/commands/ListRepositoriesCommand.js +39 -0
  48. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +39 -0
  49. package/dist-es/commands/ListServiceInstanceOutputsCommand.js +39 -0
  50. package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +39 -0
  51. package/dist-es/commands/ListServicePipelineOutputsCommand.js +39 -0
  52. package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +39 -0
  53. package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +39 -0
  54. package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +39 -0
  55. package/dist-es/commands/index.js +18 -0
  56. package/dist-es/endpoints.js +1 -0
  57. package/dist-es/models/models_0.js +241 -4
  58. package/dist-es/pagination/ListEnvironmentOutputsPaginator.js +73 -0
  59. package/dist-es/pagination/ListEnvironmentProvisionedResourcesPaginator.js +73 -0
  60. package/dist-es/pagination/ListRepositoriesPaginator.js +74 -0
  61. package/dist-es/pagination/ListRepositorySyncDefinitionsPaginator.js +73 -0
  62. package/dist-es/pagination/ListServiceInstanceOutputsPaginator.js +73 -0
  63. package/dist-es/pagination/ListServiceInstanceProvisionedResourcesPaginator.js +73 -0
  64. package/dist-es/pagination/ListServicePipelineOutputsPaginator.js +73 -0
  65. package/dist-es/pagination/ListServicePipelineProvisionedResourcesPaginator.js +73 -0
  66. package/dist-es/pagination/index.js +8 -0
  67. package/dist-es/protocols/Aws_json1_0.js +2529 -291
  68. package/dist-es/runtimeConfig.js +0 -2
  69. package/dist-types/Proton.d.ts +400 -248
  70. package/dist-types/ProtonClient.d.ts +108 -81
  71. package/dist-types/commands/AcceptEnvironmentAccountConnectionCommand.d.ts +4 -5
  72. package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +9 -8
  73. package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +7 -7
  74. package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +7 -7
  75. package/dist-types/commands/CreateEnvironmentAccountConnectionCommand.d.ts +5 -5
  76. package/dist-types/commands/CreateEnvironmentCommand.d.ts +16 -3
  77. package/dist-types/commands/CreateEnvironmentTemplateCommand.d.ts +9 -11
  78. package/dist-types/commands/CreateEnvironmentTemplateVersionCommand.d.ts +2 -2
  79. package/dist-types/commands/CreateRepositoryCommand.d.ts +37 -0
  80. package/dist-types/commands/CreateServiceCommand.d.ts +4 -3
  81. package/dist-types/commands/CreateServiceTemplateCommand.d.ts +5 -5
  82. package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +2 -3
  83. package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +38 -0
  84. package/dist-types/commands/DeleteEnvironmentAccountConnectionCommand.d.ts +5 -5
  85. package/dist-types/commands/DeleteEnvironmentTemplateVersionCommand.d.ts +5 -6
  86. package/dist-types/commands/DeleteRepositoryCommand.d.ts +35 -0
  87. package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +5 -6
  88. package/dist-types/commands/DeleteTemplateSyncConfigCommand.d.ts +35 -0
  89. package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
  90. package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +2 -2
  91. package/dist-types/commands/GetRepositoryCommand.d.ts +35 -0
  92. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +35 -0
  93. package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
  94. package/dist-types/commands/GetTemplateSyncConfigCommand.d.ts +35 -0
  95. package/dist-types/commands/GetTemplateSyncStatusCommand.d.ts +35 -0
  96. package/dist-types/commands/ListEnvironmentAccountConnectionsCommand.d.ts +2 -2
  97. package/dist-types/commands/ListEnvironmentOutputsCommand.d.ts +35 -0
  98. package/dist-types/commands/ListEnvironmentProvisionedResourcesCommand.d.ts +35 -0
  99. package/dist-types/commands/ListRepositoriesCommand.d.ts +35 -0
  100. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +35 -0
  101. package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +35 -0
  102. package/dist-types/commands/ListServiceInstanceProvisionedResourcesCommand.d.ts +35 -0
  103. package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +35 -0
  104. package/dist-types/commands/ListServicePipelineProvisionedResourcesCommand.d.ts +35 -0
  105. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  106. package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +41 -0
  107. package/dist-types/commands/RejectEnvironmentAccountConnectionCommand.d.ts +5 -5
  108. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  109. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  110. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateEnvironmentAccountConnectionCommand.d.ts +2 -2
  112. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +30 -28
  113. package/dist-types/commands/UpdateServiceCommand.d.ts +5 -6
  114. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +19 -21
  115. package/dist-types/commands/UpdateServicePipelineCommand.d.ts +19 -21
  116. package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +35 -0
  117. package/dist-types/commands/index.d.ts +18 -0
  118. package/dist-types/models/models_0.d.ts +1457 -330
  119. package/dist-types/pagination/ListEnvironmentOutputsPaginator.d.ts +4 -0
  120. package/dist-types/pagination/ListEnvironmentProvisionedResourcesPaginator.d.ts +4 -0
  121. package/dist-types/pagination/ListRepositoriesPaginator.d.ts +4 -0
  122. package/dist-types/pagination/ListRepositorySyncDefinitionsPaginator.d.ts +4 -0
  123. package/dist-types/pagination/ListServiceInstanceOutputsPaginator.d.ts +4 -0
  124. package/dist-types/pagination/ListServiceInstanceProvisionedResourcesPaginator.d.ts +4 -0
  125. package/dist-types/pagination/ListServicePipelineOutputsPaginator.d.ts +4 -0
  126. package/dist-types/pagination/ListServicePipelineProvisionedResourcesPaginator.d.ts +4 -0
  127. package/dist-types/pagination/index.d.ts +8 -0
  128. package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
  129. package/dist-types/ts3.4/Proton.d.ts +90 -0
  130. package/dist-types/ts3.4/ProtonClient.d.ts +20 -2
  131. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/CreateTemplateSyncConfigCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/DeleteTemplateSyncConfigCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/GetTemplateSyncConfigCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/GetTemplateSyncStatusCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/ListEnvironmentOutputsCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/ListEnvironmentProvisionedResourcesCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/ListServiceInstanceOutputsCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/ListServiceInstanceProvisionedResourcesCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/ListServicePipelineOutputsCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/ListServicePipelineProvisionedResourcesCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/UpdateTemplateSyncConfigCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  150. package/dist-types/ts3.4/models/models_0.d.ts +637 -5
  151. package/dist-types/ts3.4/pagination/ListEnvironmentOutputsPaginator.d.ts +4 -0
  152. package/dist-types/ts3.4/pagination/ListEnvironmentProvisionedResourcesPaginator.d.ts +4 -0
  153. package/dist-types/ts3.4/pagination/ListRepositoriesPaginator.d.ts +4 -0
  154. package/dist-types/ts3.4/pagination/ListRepositorySyncDefinitionsPaginator.d.ts +4 -0
  155. package/dist-types/ts3.4/pagination/ListServiceInstanceOutputsPaginator.d.ts +4 -0
  156. package/dist-types/ts3.4/pagination/ListServiceInstanceProvisionedResourcesPaginator.d.ts +4 -0
  157. package/dist-types/ts3.4/pagination/ListServicePipelineOutputsPaginator.d.ts +4 -0
  158. package/dist-types/ts3.4/pagination/ListServicePipelineProvisionedResourcesPaginator.d.ts +4 -0
  159. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  160. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +54 -0
  161. package/package.json +37 -44
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
46
+
47
+ **Note:** Version bump only for package @aws-sdk/client-proton
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
54
 
8
55
 
package/README.md CHANGED
@@ -7,49 +7,55 @@
7
7
 
8
8
  AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native.
9
9
 
10
- <p>This is the AWS Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Operations.html">actions</a> and <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Types.html">data types</a> for the AWS Proton service.</p>
10
+ <p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
11
+ <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Operations.html">actions</a> and <a href="https://docs.aws.amazon.com/proton/latest/APIReference/API_Types.html">data types</a> for the Proton
12
+ service.</p>
11
13
  <p>The documentation for each action shows the Query API request parameters and the XML response.</p>
12
- <p>Alternatively, you can use the AWS CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">AWS Command Line Interface User Guide</a>.</p>
13
- <p>The AWS Proton service is a two-pronged automation framework. Administrators create service templates to provide standardized
14
- infrastructure and deployment tooling for serverless and container based applications. Developers, in turn, select from the available
15
- service templates to automate their application or service deployments.</p>
16
- <p>Because administrators define the infrastructure and tooling that AWS Proton deploys and manages, they need permissions to use all of the
17
- listed API operations.</p>
18
- <p>When developers select a specific infrastructure and tooling set, AWS Proton deploys their applications. To monitor their applications
19
- that are running on AWS Proton, developers need permissions to the service <i>create</i>, <i>list</i>,
20
- <i>update</i> and <i>delete</i> API operations and the service instance <i>list</i> and
21
- <i>update</i> API operations.</p>
22
- <p>To learn more about AWS Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">AWS Proton
23
- Administrator Guide</a>.</p>
24
- <p>To learn more about deploying serverless and containerized applications on AWS Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">AWS Proton User Guide</a>.</p>
14
+ <p>Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">Amazon Web Services Command Line Interface User
15
+ Guide</a>.</p>
16
+ <p>The Proton service is a two-pronged automation framework. Administrators create service templates to provide
17
+ standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in
18
+ turn, select from the available service templates to automate their application or service deployments.</p>
19
+ <p>Because administrators define the infrastructure and tooling that Proton deploys and manages, they need
20
+ permissions to use all of the listed API operations.</p>
21
+ <p>When developers select a specific infrastructure and tooling set, Proton deploys their applications. To
22
+ monitor their applications that are running on Proton, developers need permissions to the service
23
+ <i>create</i>, <i>list</i>, <i>update</i> and <i>delete</i>
24
+ API operations and the service instance <i>list</i> and <i>update</i> API
25
+ operations.</p>
26
+ <p>To learn more about Proton administration, see the <a href="https://docs.aws.amazon.com/proton/latest/adminguide/Welcome.html">Proton Administrator Guide</a>.</p>
27
+ <p>To learn more about deploying serverless and containerized applications on Proton, see the <a href="https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html">Proton User Guide</a>.</p>
25
28
  <p>
26
29
  <b>Ensuring Idempotency</b>
27
30
  </p>
28
- <p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows of the operation are
29
- complete. Operations might also time out or encounter other server issues before they're complete, even if the request already returned a
30
- result. This might make it difficult to determine whether the request succeeded. Moreover, you might need to retry the request multiple
31
- times to ensure that the operation completes successfully. However, if the original request and the subsequent retries are successful, the
32
- operation occurs multiple times. This means that you might create more resources than you intended.</p>
31
+ <p>When you make a mutating API request, the request typically returns a result before the asynchronous workflows
32
+ of the operation are complete. Operations might also time out or encounter other server issues before they're
33
+ complete, even if the request already returned a result. This might make it difficult to determine whether the
34
+ request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation
35
+ completes successfully. However, if the original request and the subsequent retries are successful, the operation
36
+ occurs multiple times. This means that you might create more resources than you intended.</p>
33
37
  <p>
34
- <i>Idempotency</i> ensures that an API request action completes no more than one time. With an idempotent request, if the
35
- original request action completes successfully, any subsequent retries complete successfully without performing any further actions.
36
- However, the result might contain updated information, such as the current creation status.</p>
38
+ <i>Idempotency</i> ensures that an API request action completes no more than one time. With an
39
+ idempotent request, if the original request action completes successfully, any subsequent retries complete
40
+ successfully without performing any further actions. However, the result might contain updated information, such as
41
+ the current creation status.</p>
37
42
  <p>The following lists of APIs are grouped according to methods that ensure idempotency.</p>
38
43
  <p>
39
44
  <b>Idempotent create APIs with a client token</b>
40
45
  </p>
41
- <p>The API actions in this list support idempotency with the use of a <i>client token</i>. The corresponding AWS CLI
42
- commands also support idempotency using a client token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. To
43
- make an idempotent API request using one of these actions, specify a client token in the request. We recommend that you
44
- <i>don't</i> reuse the same client token for other API requests. If you dont provide a client token for these APIs, a
45
- default client token is automatically provided by SDKs.</p>
46
+ <p>The API actions in this list support idempotency with the use of a <i>client token</i>. The
47
+ corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique,
48
+ case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions,
49
+ specify a client token in the request. We recommend that you <i>don't</i> reuse the same client token
50
+ for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically
51
+ provided by SDKs.</p>
46
52
  <p>Given a request action that has succeeded:</p>
47
- <p>If you retry the request using the same client token and the same parameters, the retry succeeds without performing any further actions
48
- other than returning the original resource detail data in the response.</p>
49
- <p>If you retry the request using the same client token, but one or more of the parameters are different, the retry throws a
50
- <code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
51
- <p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new resource is
52
- created.</p>
53
+ <p>If you retry the request using the same client token and the same parameters, the retry succeeds without
54
+ performing any further actions other than returning the original resource detail data in the response.</p>
55
+ <p>If you retry the request using the same client token, but one or more of the parameters are different, the retry
56
+ throws a <code>ValidationException</code> with an <code>IdempotentParameterMismatch</code> error.</p>
57
+ <p>Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new
58
+ resource is created.</p>
53
59
  <p>If the original resource is deleted and you retry the request, a new resource is created.</p>
54
60
  <p>Idempotent create APIs with a client token:</p>
55
61
  <ul>
@@ -67,8 +73,9 @@ created.</p>
67
73
  <b>Idempotent create APIs</b>
68
74
  </p>
69
75
  <p>Given a request action that has succeeded:</p>
70
- <p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been modified, the retry
71
- succeeds without performing any further actions other than returning the original resource detail data in the response.</p>
76
+ <p>If you retry the request with an API from this group, and the original resource <i>hasn't</i> been
77
+ modified, the retry succeeds without performing any further actions other than returning the original resource detail
78
+ data in the response.</p>
72
79
  <p>If the original resource has been modified, the retry throws a <code>ConflictException</code>.</p>
73
80
  <p>If you retry with different input parameters, the retry throws a <code>ValidationException</code> with an
74
81
  <code>IdempotentParameterMismatch</code> error.</p>
@@ -91,7 +98,8 @@ succeeds without performing any further actions other than returning the origina
91
98
  <b>Idempotent delete APIs</b>
92
99
  </p>
93
100
  <p>Given a request action that has succeeded:</p>
94
- <p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in the response.</p>
101
+ <p>When you retry the request with an API from this group and the resource was deleted, its metadata is returned in
102
+ the response.</p>
95
103
  <p>If you retry and the resource doesn't exist, the response is empty.</p>
96
104
  <p>In both cases, the retry succeeds.</p>
97
105
  <p>Idempotent delete APIs:</p>
@@ -117,7 +125,8 @@ succeeds without performing any further actions other than returning the origina
117
125
  </p>
118
126
  <p>Given a request action that has succeeded:</p>
119
127
  <p>If you retry the request with an API from this group, if the original request delete operation status is
120
- <code>DELETE_IN_PROGRESS</code>, the retry returns the resource detail data in the response without performing any further actions.</p>
128
+ <code>DELETE_IN_PROGRESS</code>, the retry returns the resource detail data in the response without performing any
129
+ further actions.</p>
121
130
  <p>If the original request delete operation is complete, a retry returns an empty response.</p>
122
131
  <p>Asynchronous idempotent delete APIs:</p>
123
132
  <ul>
@@ -9,34 +9,51 @@ const CreateEnvironmentAccountConnectionCommand_1 = require("./commands/CreateEn
9
9
  const CreateEnvironmentCommand_1 = require("./commands/CreateEnvironmentCommand");
10
10
  const CreateEnvironmentTemplateCommand_1 = require("./commands/CreateEnvironmentTemplateCommand");
11
11
  const CreateEnvironmentTemplateVersionCommand_1 = require("./commands/CreateEnvironmentTemplateVersionCommand");
12
+ const CreateRepositoryCommand_1 = require("./commands/CreateRepositoryCommand");
12
13
  const CreateServiceCommand_1 = require("./commands/CreateServiceCommand");
13
14
  const CreateServiceTemplateCommand_1 = require("./commands/CreateServiceTemplateCommand");
14
15
  const CreateServiceTemplateVersionCommand_1 = require("./commands/CreateServiceTemplateVersionCommand");
16
+ const CreateTemplateSyncConfigCommand_1 = require("./commands/CreateTemplateSyncConfigCommand");
15
17
  const DeleteEnvironmentAccountConnectionCommand_1 = require("./commands/DeleteEnvironmentAccountConnectionCommand");
16
18
  const DeleteEnvironmentCommand_1 = require("./commands/DeleteEnvironmentCommand");
17
19
  const DeleteEnvironmentTemplateCommand_1 = require("./commands/DeleteEnvironmentTemplateCommand");
18
20
  const DeleteEnvironmentTemplateVersionCommand_1 = require("./commands/DeleteEnvironmentTemplateVersionCommand");
21
+ const DeleteRepositoryCommand_1 = require("./commands/DeleteRepositoryCommand");
19
22
  const DeleteServiceCommand_1 = require("./commands/DeleteServiceCommand");
20
23
  const DeleteServiceTemplateCommand_1 = require("./commands/DeleteServiceTemplateCommand");
21
24
  const DeleteServiceTemplateVersionCommand_1 = require("./commands/DeleteServiceTemplateVersionCommand");
25
+ const DeleteTemplateSyncConfigCommand_1 = require("./commands/DeleteTemplateSyncConfigCommand");
22
26
  const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
23
27
  const GetEnvironmentAccountConnectionCommand_1 = require("./commands/GetEnvironmentAccountConnectionCommand");
24
28
  const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
25
29
  const GetEnvironmentTemplateCommand_1 = require("./commands/GetEnvironmentTemplateCommand");
26
30
  const GetEnvironmentTemplateVersionCommand_1 = require("./commands/GetEnvironmentTemplateVersionCommand");
31
+ const GetRepositoryCommand_1 = require("./commands/GetRepositoryCommand");
32
+ const GetRepositorySyncStatusCommand_1 = require("./commands/GetRepositorySyncStatusCommand");
27
33
  const GetServiceCommand_1 = require("./commands/GetServiceCommand");
28
34
  const GetServiceInstanceCommand_1 = require("./commands/GetServiceInstanceCommand");
29
35
  const GetServiceTemplateCommand_1 = require("./commands/GetServiceTemplateCommand");
30
36
  const GetServiceTemplateVersionCommand_1 = require("./commands/GetServiceTemplateVersionCommand");
37
+ const GetTemplateSyncConfigCommand_1 = require("./commands/GetTemplateSyncConfigCommand");
38
+ const GetTemplateSyncStatusCommand_1 = require("./commands/GetTemplateSyncStatusCommand");
31
39
  const ListEnvironmentAccountConnectionsCommand_1 = require("./commands/ListEnvironmentAccountConnectionsCommand");
40
+ const ListEnvironmentOutputsCommand_1 = require("./commands/ListEnvironmentOutputsCommand");
41
+ const ListEnvironmentProvisionedResourcesCommand_1 = require("./commands/ListEnvironmentProvisionedResourcesCommand");
32
42
  const ListEnvironmentsCommand_1 = require("./commands/ListEnvironmentsCommand");
33
43
  const ListEnvironmentTemplatesCommand_1 = require("./commands/ListEnvironmentTemplatesCommand");
34
44
  const ListEnvironmentTemplateVersionsCommand_1 = require("./commands/ListEnvironmentTemplateVersionsCommand");
45
+ const ListRepositoriesCommand_1 = require("./commands/ListRepositoriesCommand");
46
+ const ListRepositorySyncDefinitionsCommand_1 = require("./commands/ListRepositorySyncDefinitionsCommand");
47
+ const ListServiceInstanceOutputsCommand_1 = require("./commands/ListServiceInstanceOutputsCommand");
48
+ const ListServiceInstanceProvisionedResourcesCommand_1 = require("./commands/ListServiceInstanceProvisionedResourcesCommand");
35
49
  const ListServiceInstancesCommand_1 = require("./commands/ListServiceInstancesCommand");
50
+ const ListServicePipelineOutputsCommand_1 = require("./commands/ListServicePipelineOutputsCommand");
51
+ const ListServicePipelineProvisionedResourcesCommand_1 = require("./commands/ListServicePipelineProvisionedResourcesCommand");
36
52
  const ListServicesCommand_1 = require("./commands/ListServicesCommand");
37
53
  const ListServiceTemplatesCommand_1 = require("./commands/ListServiceTemplatesCommand");
38
54
  const ListServiceTemplateVersionsCommand_1 = require("./commands/ListServiceTemplateVersionsCommand");
39
55
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
56
+ const NotifyResourceDeploymentStatusChangeCommand_1 = require("./commands/NotifyResourceDeploymentStatusChangeCommand");
40
57
  const RejectEnvironmentAccountConnectionCommand_1 = require("./commands/RejectEnvironmentAccountConnectionCommand");
41
58
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
42
59
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
@@ -50,6 +67,7 @@ const UpdateServiceInstanceCommand_1 = require("./commands/UpdateServiceInstance
50
67
  const UpdateServicePipelineCommand_1 = require("./commands/UpdateServicePipelineCommand");
51
68
  const UpdateServiceTemplateCommand_1 = require("./commands/UpdateServiceTemplateCommand");
52
69
  const UpdateServiceTemplateVersionCommand_1 = require("./commands/UpdateServiceTemplateVersionCommand");
70
+ const UpdateTemplateSyncConfigCommand_1 = require("./commands/UpdateTemplateSyncConfigCommand");
53
71
  const ProtonClient_1 = require("./ProtonClient");
54
72
  class Proton extends ProtonClient_1.ProtonClient {
55
73
  acceptEnvironmentAccountConnection(args, optionsOrCb, cb) {
@@ -164,6 +182,20 @@ class Proton extends ProtonClient_1.ProtonClient {
164
182
  return this.send(command, optionsOrCb);
165
183
  }
166
184
  }
185
+ createRepository(args, optionsOrCb, cb) {
186
+ const command = new CreateRepositoryCommand_1.CreateRepositoryCommand(args);
187
+ if (typeof optionsOrCb === "function") {
188
+ this.send(command, optionsOrCb);
189
+ }
190
+ else if (typeof cb === "function") {
191
+ if (typeof optionsOrCb !== "object")
192
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
193
+ this.send(command, optionsOrCb || {}, cb);
194
+ }
195
+ else {
196
+ return this.send(command, optionsOrCb);
197
+ }
198
+ }
167
199
  createService(args, optionsOrCb, cb) {
168
200
  const command = new CreateServiceCommand_1.CreateServiceCommand(args);
169
201
  if (typeof optionsOrCb === "function") {
@@ -206,6 +238,20 @@ class Proton extends ProtonClient_1.ProtonClient {
206
238
  return this.send(command, optionsOrCb);
207
239
  }
208
240
  }
241
+ createTemplateSyncConfig(args, optionsOrCb, cb) {
242
+ const command = new CreateTemplateSyncConfigCommand_1.CreateTemplateSyncConfigCommand(args);
243
+ if (typeof optionsOrCb === "function") {
244
+ this.send(command, optionsOrCb);
245
+ }
246
+ else if (typeof cb === "function") {
247
+ if (typeof optionsOrCb !== "object")
248
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
249
+ this.send(command, optionsOrCb || {}, cb);
250
+ }
251
+ else {
252
+ return this.send(command, optionsOrCb);
253
+ }
254
+ }
209
255
  deleteEnvironment(args, optionsOrCb, cb) {
210
256
  const command = new DeleteEnvironmentCommand_1.DeleteEnvironmentCommand(args);
211
257
  if (typeof optionsOrCb === "function") {
@@ -262,6 +308,20 @@ class Proton extends ProtonClient_1.ProtonClient {
262
308
  return this.send(command, optionsOrCb);
263
309
  }
264
310
  }
311
+ deleteRepository(args, optionsOrCb, cb) {
312
+ const command = new DeleteRepositoryCommand_1.DeleteRepositoryCommand(args);
313
+ if (typeof optionsOrCb === "function") {
314
+ this.send(command, optionsOrCb);
315
+ }
316
+ else if (typeof cb === "function") {
317
+ if (typeof optionsOrCb !== "object")
318
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
319
+ this.send(command, optionsOrCb || {}, cb);
320
+ }
321
+ else {
322
+ return this.send(command, optionsOrCb);
323
+ }
324
+ }
265
325
  deleteService(args, optionsOrCb, cb) {
266
326
  const command = new DeleteServiceCommand_1.DeleteServiceCommand(args);
267
327
  if (typeof optionsOrCb === "function") {
@@ -304,6 +364,20 @@ class Proton extends ProtonClient_1.ProtonClient {
304
364
  return this.send(command, optionsOrCb);
305
365
  }
306
366
  }
367
+ deleteTemplateSyncConfig(args, optionsOrCb, cb) {
368
+ const command = new DeleteTemplateSyncConfigCommand_1.DeleteTemplateSyncConfigCommand(args);
369
+ if (typeof optionsOrCb === "function") {
370
+ this.send(command, optionsOrCb);
371
+ }
372
+ else if (typeof cb === "function") {
373
+ if (typeof optionsOrCb !== "object")
374
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
375
+ this.send(command, optionsOrCb || {}, cb);
376
+ }
377
+ else {
378
+ return this.send(command, optionsOrCb);
379
+ }
380
+ }
307
381
  getAccountSettings(args, optionsOrCb, cb) {
308
382
  const command = new GetAccountSettingsCommand_1.GetAccountSettingsCommand(args);
309
383
  if (typeof optionsOrCb === "function") {
@@ -374,6 +448,34 @@ class Proton extends ProtonClient_1.ProtonClient {
374
448
  return this.send(command, optionsOrCb);
375
449
  }
376
450
  }
451
+ getRepository(args, optionsOrCb, cb) {
452
+ const command = new GetRepositoryCommand_1.GetRepositoryCommand(args);
453
+ if (typeof optionsOrCb === "function") {
454
+ this.send(command, optionsOrCb);
455
+ }
456
+ else if (typeof cb === "function") {
457
+ if (typeof optionsOrCb !== "object")
458
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
459
+ this.send(command, optionsOrCb || {}, cb);
460
+ }
461
+ else {
462
+ return this.send(command, optionsOrCb);
463
+ }
464
+ }
465
+ getRepositorySyncStatus(args, optionsOrCb, cb) {
466
+ const command = new GetRepositorySyncStatusCommand_1.GetRepositorySyncStatusCommand(args);
467
+ if (typeof optionsOrCb === "function") {
468
+ this.send(command, optionsOrCb);
469
+ }
470
+ else if (typeof cb === "function") {
471
+ if (typeof optionsOrCb !== "object")
472
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
473
+ this.send(command, optionsOrCb || {}, cb);
474
+ }
475
+ else {
476
+ return this.send(command, optionsOrCb);
477
+ }
478
+ }
377
479
  getService(args, optionsOrCb, cb) {
378
480
  const command = new GetServiceCommand_1.GetServiceCommand(args);
379
481
  if (typeof optionsOrCb === "function") {
@@ -430,6 +532,34 @@ class Proton extends ProtonClient_1.ProtonClient {
430
532
  return this.send(command, optionsOrCb);
431
533
  }
432
534
  }
535
+ getTemplateSyncConfig(args, optionsOrCb, cb) {
536
+ const command = new GetTemplateSyncConfigCommand_1.GetTemplateSyncConfigCommand(args);
537
+ if (typeof optionsOrCb === "function") {
538
+ this.send(command, optionsOrCb);
539
+ }
540
+ else if (typeof cb === "function") {
541
+ if (typeof optionsOrCb !== "object")
542
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
543
+ this.send(command, optionsOrCb || {}, cb);
544
+ }
545
+ else {
546
+ return this.send(command, optionsOrCb);
547
+ }
548
+ }
549
+ getTemplateSyncStatus(args, optionsOrCb, cb) {
550
+ const command = new GetTemplateSyncStatusCommand_1.GetTemplateSyncStatusCommand(args);
551
+ if (typeof optionsOrCb === "function") {
552
+ this.send(command, optionsOrCb);
553
+ }
554
+ else if (typeof cb === "function") {
555
+ if (typeof optionsOrCb !== "object")
556
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
557
+ this.send(command, optionsOrCb || {}, cb);
558
+ }
559
+ else {
560
+ return this.send(command, optionsOrCb);
561
+ }
562
+ }
433
563
  listEnvironmentAccountConnections(args, optionsOrCb, cb) {
434
564
  const command = new ListEnvironmentAccountConnectionsCommand_1.ListEnvironmentAccountConnectionsCommand(args);
435
565
  if (typeof optionsOrCb === "function") {
@@ -444,6 +574,34 @@ class Proton extends ProtonClient_1.ProtonClient {
444
574
  return this.send(command, optionsOrCb);
445
575
  }
446
576
  }
577
+ listEnvironmentOutputs(args, optionsOrCb, cb) {
578
+ const command = new ListEnvironmentOutputsCommand_1.ListEnvironmentOutputsCommand(args);
579
+ if (typeof optionsOrCb === "function") {
580
+ this.send(command, optionsOrCb);
581
+ }
582
+ else if (typeof cb === "function") {
583
+ if (typeof optionsOrCb !== "object")
584
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
585
+ this.send(command, optionsOrCb || {}, cb);
586
+ }
587
+ else {
588
+ return this.send(command, optionsOrCb);
589
+ }
590
+ }
591
+ listEnvironmentProvisionedResources(args, optionsOrCb, cb) {
592
+ const command = new ListEnvironmentProvisionedResourcesCommand_1.ListEnvironmentProvisionedResourcesCommand(args);
593
+ if (typeof optionsOrCb === "function") {
594
+ this.send(command, optionsOrCb);
595
+ }
596
+ else if (typeof cb === "function") {
597
+ if (typeof optionsOrCb !== "object")
598
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
599
+ this.send(command, optionsOrCb || {}, cb);
600
+ }
601
+ else {
602
+ return this.send(command, optionsOrCb);
603
+ }
604
+ }
447
605
  listEnvironments(args, optionsOrCb, cb) {
448
606
  const command = new ListEnvironmentsCommand_1.ListEnvironmentsCommand(args);
449
607
  if (typeof optionsOrCb === "function") {
@@ -486,6 +644,62 @@ class Proton extends ProtonClient_1.ProtonClient {
486
644
  return this.send(command, optionsOrCb);
487
645
  }
488
646
  }
647
+ listRepositories(args, optionsOrCb, cb) {
648
+ const command = new ListRepositoriesCommand_1.ListRepositoriesCommand(args);
649
+ if (typeof optionsOrCb === "function") {
650
+ this.send(command, optionsOrCb);
651
+ }
652
+ else if (typeof cb === "function") {
653
+ if (typeof optionsOrCb !== "object")
654
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
655
+ this.send(command, optionsOrCb || {}, cb);
656
+ }
657
+ else {
658
+ return this.send(command, optionsOrCb);
659
+ }
660
+ }
661
+ listRepositorySyncDefinitions(args, optionsOrCb, cb) {
662
+ const command = new ListRepositorySyncDefinitionsCommand_1.ListRepositorySyncDefinitionsCommand(args);
663
+ if (typeof optionsOrCb === "function") {
664
+ this.send(command, optionsOrCb);
665
+ }
666
+ else if (typeof cb === "function") {
667
+ if (typeof optionsOrCb !== "object")
668
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
669
+ this.send(command, optionsOrCb || {}, cb);
670
+ }
671
+ else {
672
+ return this.send(command, optionsOrCb);
673
+ }
674
+ }
675
+ listServiceInstanceOutputs(args, optionsOrCb, cb) {
676
+ const command = new ListServiceInstanceOutputsCommand_1.ListServiceInstanceOutputsCommand(args);
677
+ if (typeof optionsOrCb === "function") {
678
+ this.send(command, optionsOrCb);
679
+ }
680
+ else if (typeof cb === "function") {
681
+ if (typeof optionsOrCb !== "object")
682
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
683
+ this.send(command, optionsOrCb || {}, cb);
684
+ }
685
+ else {
686
+ return this.send(command, optionsOrCb);
687
+ }
688
+ }
689
+ listServiceInstanceProvisionedResources(args, optionsOrCb, cb) {
690
+ const command = new ListServiceInstanceProvisionedResourcesCommand_1.ListServiceInstanceProvisionedResourcesCommand(args);
691
+ if (typeof optionsOrCb === "function") {
692
+ this.send(command, optionsOrCb);
693
+ }
694
+ else if (typeof cb === "function") {
695
+ if (typeof optionsOrCb !== "object")
696
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
697
+ this.send(command, optionsOrCb || {}, cb);
698
+ }
699
+ else {
700
+ return this.send(command, optionsOrCb);
701
+ }
702
+ }
489
703
  listServiceInstances(args, optionsOrCb, cb) {
490
704
  const command = new ListServiceInstancesCommand_1.ListServiceInstancesCommand(args);
491
705
  if (typeof optionsOrCb === "function") {
@@ -500,6 +714,34 @@ class Proton extends ProtonClient_1.ProtonClient {
500
714
  return this.send(command, optionsOrCb);
501
715
  }
502
716
  }
717
+ listServicePipelineOutputs(args, optionsOrCb, cb) {
718
+ const command = new ListServicePipelineOutputsCommand_1.ListServicePipelineOutputsCommand(args);
719
+ if (typeof optionsOrCb === "function") {
720
+ this.send(command, optionsOrCb);
721
+ }
722
+ else if (typeof cb === "function") {
723
+ if (typeof optionsOrCb !== "object")
724
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
725
+ this.send(command, optionsOrCb || {}, cb);
726
+ }
727
+ else {
728
+ return this.send(command, optionsOrCb);
729
+ }
730
+ }
731
+ listServicePipelineProvisionedResources(args, optionsOrCb, cb) {
732
+ const command = new ListServicePipelineProvisionedResourcesCommand_1.ListServicePipelineProvisionedResourcesCommand(args);
733
+ if (typeof optionsOrCb === "function") {
734
+ this.send(command, optionsOrCb);
735
+ }
736
+ else if (typeof cb === "function") {
737
+ if (typeof optionsOrCb !== "object")
738
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
739
+ this.send(command, optionsOrCb || {}, cb);
740
+ }
741
+ else {
742
+ return this.send(command, optionsOrCb);
743
+ }
744
+ }
503
745
  listServices(args, optionsOrCb, cb) {
504
746
  const command = new ListServicesCommand_1.ListServicesCommand(args);
505
747
  if (typeof optionsOrCb === "function") {
@@ -556,6 +798,20 @@ class Proton extends ProtonClient_1.ProtonClient {
556
798
  return this.send(command, optionsOrCb);
557
799
  }
558
800
  }
801
+ notifyResourceDeploymentStatusChange(args, optionsOrCb, cb) {
802
+ const command = new NotifyResourceDeploymentStatusChangeCommand_1.NotifyResourceDeploymentStatusChangeCommand(args);
803
+ if (typeof optionsOrCb === "function") {
804
+ this.send(command, optionsOrCb);
805
+ }
806
+ else if (typeof cb === "function") {
807
+ if (typeof optionsOrCb !== "object")
808
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
809
+ this.send(command, optionsOrCb || {}, cb);
810
+ }
811
+ else {
812
+ return this.send(command, optionsOrCb);
813
+ }
814
+ }
559
815
  rejectEnvironmentAccountConnection(args, optionsOrCb, cb) {
560
816
  const command = new RejectEnvironmentAccountConnectionCommand_1.RejectEnvironmentAccountConnectionCommand(args);
561
817
  if (typeof optionsOrCb === "function") {
@@ -738,5 +994,19 @@ class Proton extends ProtonClient_1.ProtonClient {
738
994
  return this.send(command, optionsOrCb);
739
995
  }
740
996
  }
997
+ updateTemplateSyncConfig(args, optionsOrCb, cb) {
998
+ const command = new UpdateTemplateSyncConfigCommand_1.UpdateTemplateSyncConfigCommand(args);
999
+ if (typeof optionsOrCb === "function") {
1000
+ this.send(command, optionsOrCb);
1001
+ }
1002
+ else if (typeof cb === "function") {
1003
+ if (typeof optionsOrCb !== "object")
1004
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1005
+ this.send(command, optionsOrCb || {}, cb);
1006
+ }
1007
+ else {
1008
+ return this.send(command, optionsOrCb);
1009
+ }
1010
+ }
741
1011
  }
742
1012
  exports.Proton = Proton;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRepositoryCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateRepositoryCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "CreateRepositoryCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateRepositoryInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateRepositoryOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0CreateRepositoryCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0CreateRepositoryCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateRepositoryCommand = CreateRepositoryCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTemplateSyncConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateTemplateSyncConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ProtonClient";
18
+ const commandName = "CreateTemplateSyncConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateTemplateSyncConfigInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateTemplateSyncConfigOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0CreateTemplateSyncConfigCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0CreateTemplateSyncConfigCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateTemplateSyncConfigCommand = CreateTemplateSyncConfigCommand;