@aws-sdk/client-proton 3.99.0 → 3.105.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 (96) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/Proton.js +120 -0
  3. package/dist-cjs/ProtonClient.js +2 -0
  4. package/dist-cjs/commands/CancelComponentDeploymentCommand.js +36 -0
  5. package/dist-cjs/commands/CreateComponentCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
  7. package/dist-cjs/commands/GetComponentCommand.js +36 -0
  8. package/dist-cjs/commands/ListComponentOutputsCommand.js +36 -0
  9. package/dist-cjs/commands/ListComponentProvisionedResourcesCommand.js +36 -0
  10. package/dist-cjs/commands/ListComponentsCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/models/models_0.js +169 -33
  14. package/dist-cjs/pagination/ListComponentOutputsPaginator.js +35 -0
  15. package/dist-cjs/pagination/ListComponentProvisionedResourcesPaginator.js +35 -0
  16. package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_json1_0.js +741 -34
  19. package/dist-cjs/waiters/index.js +2 -0
  20. package/dist-cjs/waiters/waitForComponentDeleted.js +39 -0
  21. package/dist-cjs/waiters/waitForComponentDeployed.js +45 -0
  22. package/dist-es/Proton.js +120 -0
  23. package/dist-es/ProtonClient.js +2 -0
  24. package/dist-es/commands/CancelComponentDeploymentCommand.js +39 -0
  25. package/dist-es/commands/CreateComponentCommand.js +39 -0
  26. package/dist-es/commands/DeleteComponentCommand.js +39 -0
  27. package/dist-es/commands/GetComponentCommand.js +39 -0
  28. package/dist-es/commands/ListComponentOutputsCommand.js +39 -0
  29. package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +39 -0
  30. package/dist-es/commands/ListComponentsCommand.js +39 -0
  31. package/dist-es/commands/UpdateComponentCommand.js +39 -0
  32. package/dist-es/commands/index.js +8 -0
  33. package/dist-es/models/models_0.js +106 -25
  34. package/dist-es/pagination/ListComponentOutputsPaginator.js +74 -0
  35. package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +74 -0
  36. package/dist-es/pagination/ListComponentsPaginator.js +75 -0
  37. package/dist-es/pagination/index.js +3 -0
  38. package/dist-es/protocols/Aws_json1_0.js +899 -77
  39. package/dist-es/waiters/index.js +2 -0
  40. package/dist-es/waiters/waitForComponentDeleted.js +54 -0
  41. package/dist-es/waiters/waitForComponentDeployed.js +60 -0
  42. package/dist-types/Proton.d.ts +117 -46
  43. package/dist-types/ProtonClient.d.ts +10 -2
  44. package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +38 -0
  45. package/dist-types/commands/CreateComponentCommand.d.ts +38 -0
  46. package/dist-types/commands/DeleteComponentCommand.d.ts +38 -0
  47. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -1
  48. package/dist-types/commands/GetComponentCommand.d.ts +38 -0
  49. package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnvironmentTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/GetEnvironmentTemplateVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/GetServiceCommand.d.ts +1 -1
  54. package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
  55. package/dist-types/commands/GetServiceTemplateCommand.d.ts +1 -1
  56. package/dist-types/commands/GetServiceTemplateVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/ListComponentOutputsCommand.d.ts +38 -0
  58. package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +38 -0
  59. package/dist-types/commands/ListComponentsCommand.d.ts +38 -0
  60. package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListServiceInstancesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -1
  63. package/dist-types/commands/UpdateComponentCommand.d.ts +43 -0
  64. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -0
  65. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +8 -34
  66. package/dist-types/commands/index.d.ts +8 -0
  67. package/dist-types/models/models_0.d.ts +683 -124
  68. package/dist-types/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  69. package/dist-types/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  70. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
  73. package/dist-types/ts3.4/Proton.d.ts +40 -0
  74. package/dist-types/ts3.4/ProtonClient.d.ts +10 -2
  75. package/dist-types/ts3.4/commands/CancelComponentDeploymentCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListComponentOutputsCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListComponentProvisionedResourcesCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +305 -40
  85. package/dist-types/ts3.4/pagination/ListComponentOutputsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  90. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  91. package/dist-types/ts3.4/waiters/waitForComponentDeleted.d.ts +7 -0
  92. package/dist-types/ts3.4/waiters/waitForComponentDeployed.d.ts +7 -0
  93. package/dist-types/waiters/index.d.ts +2 -0
  94. package/dist-types/waiters/waitForComponentDeleted.d.ts +14 -0
  95. package/dist-types/waiters/waitForComponentDeployed.d.ts +14 -0
  96. package/package.json +4 -3
@@ -1,3 +1,5 @@
1
+ export * from "./waitForComponentDeleted";
2
+ export * from "./waitForComponentDeployed";
1
3
  export * from "./waitForEnvironmentDeployed";
2
4
  export * from "./waitForEnvironmentTemplateVersionRegistered";
3
5
  export * from "./waitForServiceCreated";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
+ import { GetComponentCommandInput } from "../commands/GetComponentCommand";
3
+ import { ProtonClient } from "../ProtonClient";
4
+ /**
5
+ * Wait until a Component is deleted. Use this after invoking DeleteComponent
6
+ * @deprecated Use waitUntilComponentDeleted instead. waitForComponentDeleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a Component is deleted. Use this after invoking DeleteComponent
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetComponentCommand for polling.
13
+ */
14
+ export declare const waitUntilComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
+ import { GetComponentCommandInput } from "../commands/GetComponentCommand";
3
+ import { ProtonClient } from "../ProtonClient";
4
+ /**
5
+ * Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent
6
+ * @deprecated Use waitUntilComponentDeployed instead. waitForComponentDeployed does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetComponentCommand for polling.
13
+ */
14
+ export declare const waitUntilComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-proton",
3
3
  "description": "AWS SDK for JavaScript Proton Client for Node.js, Browser and React Native",
4
- "version": "3.99.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.99.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",