@aws-sdk/client-proton 3.1037.0 → 3.1039.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 (32) hide show
  1. package/dist-cjs/index.js +2 -2
  2. package/dist-es/waiters/waitForComponentDeleted.js +2 -2
  3. package/dist-es/waiters/waitForComponentDeployed.js +1 -1
  4. package/dist-es/waiters/waitForEnvironmentDeployed.js +1 -1
  5. package/dist-es/waiters/waitForServiceCreated.js +1 -1
  6. package/dist-es/waiters/waitForServiceDeleted.js +2 -2
  7. package/dist-es/waiters/waitForServiceInstanceDeployed.js +1 -1
  8. package/dist-es/waiters/waitForServicePipelineDeployed.js +1 -1
  9. package/dist-es/waiters/waitForServiceUpdated.js +1 -1
  10. package/dist-types/Proton.d.ts +11 -10
  11. package/dist-types/ts3.4/Proton.d.ts +11 -10
  12. package/dist-types/ts3.4/waiters/waitForComponentDeleted.d.ts +8 -3
  13. package/dist-types/ts3.4/waiters/waitForComponentDeployed.d.ts +7 -3
  14. package/dist-types/ts3.4/waiters/waitForEnvironmentDeployed.d.ts +9 -3
  15. package/dist-types/ts3.4/waiters/waitForEnvironmentTemplateVersionRegistered.d.ts +11 -3
  16. package/dist-types/ts3.4/waiters/waitForServiceCreated.d.ts +7 -3
  17. package/dist-types/ts3.4/waiters/waitForServiceDeleted.d.ts +8 -3
  18. package/dist-types/ts3.4/waiters/waitForServiceInstanceDeployed.d.ts +9 -3
  19. package/dist-types/ts3.4/waiters/waitForServicePipelineDeployed.d.ts +7 -3
  20. package/dist-types/ts3.4/waiters/waitForServiceTemplateVersionRegistered.d.ts +9 -3
  21. package/dist-types/ts3.4/waiters/waitForServiceUpdated.d.ts +7 -3
  22. package/dist-types/waiters/waitForComponentDeleted.d.ts +5 -3
  23. package/dist-types/waiters/waitForComponentDeployed.d.ts +4 -3
  24. package/dist-types/waiters/waitForEnvironmentDeployed.d.ts +4 -3
  25. package/dist-types/waiters/waitForEnvironmentTemplateVersionRegistered.d.ts +4 -3
  26. package/dist-types/waiters/waitForServiceCreated.d.ts +4 -3
  27. package/dist-types/waiters/waitForServiceDeleted.d.ts +5 -3
  28. package/dist-types/waiters/waitForServiceInstanceDeployed.d.ts +4 -3
  29. package/dist-types/waiters/waitForServicePipelineDeployed.d.ts +4 -3
  30. package/dist-types/waiters/waitForServiceTemplateVersionRegistered.d.ts +4 -3
  31. package/dist-types/waiters/waitForServiceUpdated.d.ts +4 -3
  32. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1217,7 +1217,7 @@ const checkState$9 = async (client, input) => {
1217
1217
  }
1218
1218
  catch (exception) {
1219
1219
  reason = exception;
1220
- if (exception.name && exception.name == "ResourceNotFoundException") {
1220
+ if (exception.name === "ResourceNotFoundException") {
1221
1221
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1222
1222
  }
1223
1223
  }
@@ -1433,7 +1433,7 @@ const checkState$4 = async (client, input) => {
1433
1433
  }
1434
1434
  catch (exception) {
1435
1435
  reason = exception;
1436
- if (exception.name && exception.name == "ResourceNotFoundException") {
1436
+ if (exception.name === "ResourceNotFoundException") {
1437
1437
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1438
1438
  }
1439
1439
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetComponentCommand } from "../commands/GetComponentCommand";
2
+ import { GetComponentCommand, } from "../commands/GetComponentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetComponentCommand } from "../commands/GetComponentCommand";
2
+ import { GetComponentCommand, } from "../commands/GetComponentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetEnvironmentCommand } from "../commands/GetEnvironmentCommand";
2
+ import { GetEnvironmentCommand, } from "../commands/GetEnvironmentCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetServiceCommand } from "../commands/GetServiceCommand";
2
+ import { GetServiceCommand, } from "../commands/GetServiceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetServiceCommand } from "../commands/GetServiceCommand";
2
+ import { GetServiceCommand, } from "../commands/GetServiceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetServiceInstanceCommand } from "../commands/GetServiceInstanceCommand";
2
+ import { GetServiceInstanceCommand, } from "../commands/GetServiceInstanceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetServiceCommand } from "../commands/GetServiceCommand";
2
+ import { GetServiceCommand, } from "../commands/GetServiceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetServiceCommand } from "../commands/GetServiceCommand";
2
+ import { GetServiceCommand, } from "../commands/GetServiceCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -87,6 +87,7 @@ import { type UpdateServiceSyncConfigCommandInput, type UpdateServiceSyncConfigC
87
87
  import { type UpdateServiceTemplateCommandInput, type UpdateServiceTemplateCommandOutput } from "./commands/UpdateServiceTemplateCommand";
88
88
  import { type UpdateServiceTemplateVersionCommandInput, type UpdateServiceTemplateVersionCommandOutput } from "./commands/UpdateServiceTemplateVersionCommand";
89
89
  import { type UpdateTemplateSyncConfigCommandInput, type UpdateTemplateSyncConfigCommandOutput } from "./commands/UpdateTemplateSyncConfigCommand";
90
+ import type { ResourceNotFoundException } from "./models/errors";
90
91
  import { ProtonClient } from "./ProtonClient";
91
92
  export interface Proton {
92
93
  /**
@@ -774,61 +775,61 @@ export interface Proton {
774
775
  * @param args - command input.
775
776
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
776
777
  */
777
- waitUntilComponentDeployed(args: GetComponentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
778
+ waitUntilComponentDeployed(args: GetComponentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetComponentCommandOutput>>;
778
779
  /**
779
780
  * @see {@link GetComponentCommand}
780
781
  * @param args - command input.
781
782
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
782
783
  */
783
- waitUntilComponentDeleted(args: GetComponentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
784
+ waitUntilComponentDeleted(args: GetComponentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
784
785
  /**
785
786
  * @see {@link GetEnvironmentCommand}
786
787
  * @param args - command input.
787
788
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
788
789
  */
789
- waitUntilEnvironmentDeployed(args: GetEnvironmentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
790
+ waitUntilEnvironmentDeployed(args: GetEnvironmentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetEnvironmentCommandOutput>>;
790
791
  /**
791
792
  * @see {@link GetEnvironmentTemplateVersionCommand}
792
793
  * @param args - command input.
793
794
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
794
795
  */
795
- waitUntilEnvironmentTemplateVersionRegistered(args: GetEnvironmentTemplateVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
796
+ waitUntilEnvironmentTemplateVersionRegistered(args: GetEnvironmentTemplateVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetEnvironmentTemplateVersionCommandOutput>>;
796
797
  /**
797
798
  * @see {@link GetServiceCommand}
798
799
  * @param args - command input.
799
800
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
800
801
  */
801
- waitUntilServiceCreated(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
802
+ waitUntilServiceCreated(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetServiceCommandOutput>>;
802
803
  /**
803
804
  * @see {@link GetServiceCommand}
804
805
  * @param args - command input.
805
806
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
806
807
  */
807
- waitUntilServiceUpdated(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
808
+ waitUntilServiceUpdated(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetServiceCommandOutput>>;
808
809
  /**
809
810
  * @see {@link GetServiceCommand}
810
811
  * @param args - command input.
811
812
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
812
813
  */
813
- waitUntilServiceDeleted(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
814
+ waitUntilServiceDeleted(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
814
815
  /**
815
816
  * @see {@link GetServiceCommand}
816
817
  * @param args - command input.
817
818
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
818
819
  */
819
- waitUntilServicePipelineDeployed(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
820
+ waitUntilServicePipelineDeployed(args: GetServiceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetServiceCommandOutput>>;
820
821
  /**
821
822
  * @see {@link GetServiceInstanceCommand}
822
823
  * @param args - command input.
823
824
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
824
825
  */
825
- waitUntilServiceInstanceDeployed(args: GetServiceInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
826
+ waitUntilServiceInstanceDeployed(args: GetServiceInstanceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetServiceInstanceCommandOutput>>;
826
827
  /**
827
828
  * @see {@link GetServiceTemplateVersionCommand}
828
829
  * @param args - command input.
829
830
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
830
831
  */
831
- waitUntilServiceTemplateVersionRegistered(args: GetServiceTemplateVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult>;
832
+ waitUntilServiceTemplateVersionRegistered(args: GetServiceTemplateVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Proton>, "client">): Promise<WaiterResult<GetServiceTemplateVersionCommandOutput>>;
832
833
  }
833
834
  /**
834
835
  * <p>This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the
@@ -353,6 +353,7 @@ import {
353
353
  UpdateTemplateSyncConfigCommandInput,
354
354
  UpdateTemplateSyncConfigCommandOutput,
355
355
  } from "./commands/UpdateTemplateSyncConfigCommand";
356
+ import { ResourceNotFoundException } from "./models/errors";
356
357
  import { ProtonClient } from "./ProtonClient";
357
358
  export interface Proton {
358
359
  acceptEnvironmentAccountConnection(
@@ -1718,7 +1719,7 @@ export interface Proton {
1718
1719
  WaiterConfiguration<Proton>,
1719
1720
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1720
1721
  >
1721
- ): Promise<WaiterResult>;
1722
+ ): Promise<WaiterResult<GetComponentCommandOutput>>;
1722
1723
  waitUntilComponentDeleted(
1723
1724
  args: GetComponentCommandInput,
1724
1725
  waiterConfig:
@@ -1727,7 +1728,7 @@ export interface Proton {
1727
1728
  WaiterConfiguration<Proton>,
1728
1729
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1729
1730
  >
1730
- ): Promise<WaiterResult>;
1731
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1731
1732
  waitUntilEnvironmentDeployed(
1732
1733
  args: GetEnvironmentCommandInput,
1733
1734
  waiterConfig:
@@ -1736,7 +1737,7 @@ export interface Proton {
1736
1737
  WaiterConfiguration<Proton>,
1737
1738
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1738
1739
  >
1739
- ): Promise<WaiterResult>;
1740
+ ): Promise<WaiterResult<GetEnvironmentCommandOutput>>;
1740
1741
  waitUntilEnvironmentTemplateVersionRegistered(
1741
1742
  args: GetEnvironmentTemplateVersionCommandInput,
1742
1743
  waiterConfig:
@@ -1745,7 +1746,7 @@ export interface Proton {
1745
1746
  WaiterConfiguration<Proton>,
1746
1747
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1747
1748
  >
1748
- ): Promise<WaiterResult>;
1749
+ ): Promise<WaiterResult<GetEnvironmentTemplateVersionCommandOutput>>;
1749
1750
  waitUntilServiceCreated(
1750
1751
  args: GetServiceCommandInput,
1751
1752
  waiterConfig:
@@ -1754,7 +1755,7 @@ export interface Proton {
1754
1755
  WaiterConfiguration<Proton>,
1755
1756
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1756
1757
  >
1757
- ): Promise<WaiterResult>;
1758
+ ): Promise<WaiterResult<GetServiceCommandOutput>>;
1758
1759
  waitUntilServiceUpdated(
1759
1760
  args: GetServiceCommandInput,
1760
1761
  waiterConfig:
@@ -1763,7 +1764,7 @@ export interface Proton {
1763
1764
  WaiterConfiguration<Proton>,
1764
1765
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1765
1766
  >
1766
- ): Promise<WaiterResult>;
1767
+ ): Promise<WaiterResult<GetServiceCommandOutput>>;
1767
1768
  waitUntilServiceDeleted(
1768
1769
  args: GetServiceCommandInput,
1769
1770
  waiterConfig:
@@ -1772,7 +1773,7 @@ export interface Proton {
1772
1773
  WaiterConfiguration<Proton>,
1773
1774
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1774
1775
  >
1775
- ): Promise<WaiterResult>;
1776
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
1776
1777
  waitUntilServicePipelineDeployed(
1777
1778
  args: GetServiceCommandInput,
1778
1779
  waiterConfig:
@@ -1781,7 +1782,7 @@ export interface Proton {
1781
1782
  WaiterConfiguration<Proton>,
1782
1783
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1783
1784
  >
1784
- ): Promise<WaiterResult>;
1785
+ ): Promise<WaiterResult<GetServiceCommandOutput>>;
1785
1786
  waitUntilServiceInstanceDeployed(
1786
1787
  args: GetServiceInstanceCommandInput,
1787
1788
  waiterConfig:
@@ -1790,7 +1791,7 @@ export interface Proton {
1790
1791
  WaiterConfiguration<Proton>,
1791
1792
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1792
1793
  >
1793
- ): Promise<WaiterResult>;
1794
+ ): Promise<WaiterResult<GetServiceInstanceCommandOutput>>;
1794
1795
  waitUntilServiceTemplateVersionRegistered(
1795
1796
  args: GetServiceTemplateVersionCommandInput,
1796
1797
  waiterConfig:
@@ -1799,6 +1800,6 @@ export interface Proton {
1799
1800
  WaiterConfiguration<Proton>,
1800
1801
  Exclude<keyof WaiterConfiguration<Proton>, "client">
1801
1802
  >
1802
- ): Promise<WaiterResult>;
1803
+ ): Promise<WaiterResult<GetServiceTemplateVersionCommandOutput>>;
1803
1804
  }
1804
1805
  export declare class Proton extends ProtonClient implements Proton {}
@@ -1,11 +1,16 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetComponentCommandInput } from "../commands/GetComponentCommand";
2
+ import {
3
+ GetComponentCommandInput,
4
+ GetComponentCommandOutput,
5
+ } from "../commands/GetComponentCommand";
6
+ import { ResourceNotFoundException } from "../models/errors";
7
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
8
  import { ProtonClient } from "../ProtonClient";
4
9
  export declare const waitForComponentDeleted: (
5
10
  params: WaiterConfiguration<ProtonClient>,
6
11
  input: GetComponentCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<WaiterResult<GetComponentCommandOutput | ProtonServiceException>>;
8
13
  export declare const waitUntilComponentDeleted: (
9
14
  params: WaiterConfiguration<ProtonClient>,
10
15
  input: GetComponentCommandInput
11
- ) => Promise<WaiterResult>;
16
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetComponentCommandInput } from "../commands/GetComponentCommand";
2
+ import {
3
+ GetComponentCommandInput,
4
+ GetComponentCommandOutput,
5
+ } from "../commands/GetComponentCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForComponentDeployed: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetComponentCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<GetComponentCommandOutput | ProtonServiceException>>;
8
12
  export declare const waitUntilComponentDeployed: (
9
13
  params: WaiterConfiguration<ProtonClient>,
10
14
  input: GetComponentCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<GetComponentCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetEnvironmentCommandInput } from "../commands/GetEnvironmentCommand";
2
+ import {
3
+ GetEnvironmentCommandInput,
4
+ GetEnvironmentCommandOutput,
5
+ } from "../commands/GetEnvironmentCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForEnvironmentDeployed: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetEnvironmentCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetEnvironmentCommandOutput | ProtonServiceException>
13
+ >;
8
14
  export declare const waitUntilEnvironmentDeployed: (
9
15
  params: WaiterConfiguration<ProtonClient>,
10
16
  input: GetEnvironmentCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetEnvironmentCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetEnvironmentTemplateVersionCommandInput } from "../commands/GetEnvironmentTemplateVersionCommand";
2
+ import {
3
+ GetEnvironmentTemplateVersionCommandInput,
4
+ GetEnvironmentTemplateVersionCommandOutput,
5
+ } from "../commands/GetEnvironmentTemplateVersionCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForEnvironmentTemplateVersionRegistered: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetEnvironmentTemplateVersionCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ GetEnvironmentTemplateVersionCommandOutput | ProtonServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilEnvironmentTemplateVersionRegistered: (
9
17
  params: WaiterConfiguration<ProtonClient>,
10
18
  input: GetEnvironmentTemplateVersionCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<GetEnvironmentTemplateVersionCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import {
3
+ GetServiceCommandInput,
4
+ GetServiceCommandOutput,
5
+ } from "../commands/GetServiceCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForServiceCreated: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetServiceCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
8
12
  export declare const waitUntilServiceCreated: (
9
13
  params: WaiterConfiguration<ProtonClient>,
10
14
  input: GetServiceCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<GetServiceCommandOutput>>;
@@ -1,11 +1,16 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import {
3
+ GetServiceCommandInput,
4
+ GetServiceCommandOutput,
5
+ } from "../commands/GetServiceCommand";
6
+ import { ResourceNotFoundException } from "../models/errors";
7
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
8
  import { ProtonClient } from "../ProtonClient";
4
9
  export declare const waitForServiceDeleted: (
5
10
  params: WaiterConfiguration<ProtonClient>,
6
11
  input: GetServiceCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
8
13
  export declare const waitUntilServiceDeleted: (
9
14
  params: WaiterConfiguration<ProtonClient>,
10
15
  input: GetServiceCommandInput
11
- ) => Promise<WaiterResult>;
16
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceInstanceCommandInput } from "../commands/GetServiceInstanceCommand";
2
+ import {
3
+ GetServiceInstanceCommandInput,
4
+ GetServiceInstanceCommandOutput,
5
+ } from "../commands/GetServiceInstanceCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForServiceInstanceDeployed: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetServiceInstanceCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetServiceInstanceCommandOutput | ProtonServiceException>
13
+ >;
8
14
  export declare const waitUntilServiceInstanceDeployed: (
9
15
  params: WaiterConfiguration<ProtonClient>,
10
16
  input: GetServiceInstanceCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetServiceInstanceCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import {
3
+ GetServiceCommandInput,
4
+ GetServiceCommandOutput,
5
+ } from "../commands/GetServiceCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForServicePipelineDeployed: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetServiceCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
8
12
  export declare const waitUntilServicePipelineDeployed: (
9
13
  params: WaiterConfiguration<ProtonClient>,
10
14
  input: GetServiceCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<GetServiceCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceTemplateVersionCommandInput } from "../commands/GetServiceTemplateVersionCommand";
2
+ import {
3
+ GetServiceTemplateVersionCommandInput,
4
+ GetServiceTemplateVersionCommandOutput,
5
+ } from "../commands/GetServiceTemplateVersionCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForServiceTemplateVersionRegistered: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetServiceTemplateVersionCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetServiceTemplateVersionCommandOutput | ProtonServiceException>
13
+ >;
8
14
  export declare const waitUntilServiceTemplateVersionRegistered: (
9
15
  params: WaiterConfiguration<ProtonClient>,
10
16
  input: GetServiceTemplateVersionCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetServiceTemplateVersionCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import {
3
+ GetServiceCommandInput,
4
+ GetServiceCommandOutput,
5
+ } from "../commands/GetServiceCommand";
6
+ import { ProtonServiceException } from "../models/ProtonServiceException";
3
7
  import { ProtonClient } from "../ProtonClient";
4
8
  export declare const waitForServiceUpdated: (
5
9
  params: WaiterConfiguration<ProtonClient>,
6
10
  input: GetServiceCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
8
12
  export declare const waitUntilServiceUpdated: (
9
13
  params: WaiterConfiguration<ProtonClient>,
10
14
  input: GetServiceCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<GetServiceCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetComponentCommandInput } from "../commands/GetComponentCommand";
2
+ import { type GetComponentCommandInput, type GetComponentCommandOutput } from "../commands/GetComponentCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
5
  import type { ProtonClient } from "../ProtonClient";
4
6
  /**
5
7
  * Wait until a Component is deleted. Use this after invoking DeleteComponent
6
8
  * @deprecated Use waitUntilComponentDeleted instead. waitForComponentDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult<GetComponentCommandOutput | ProtonServiceException>>;
9
11
  /**
10
12
  * Wait until a Component is deleted. Use this after invoking DeleteComponent
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetComponentCommand for polling.
13
15
  */
14
- export declare const waitUntilComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilComponentDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetComponentCommandInput } from "../commands/GetComponentCommand";
2
+ import { type GetComponentCommandInput, type GetComponentCommandOutput } from "../commands/GetComponentCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent
6
7
  * @deprecated Use waitUntilComponentDeployed instead. waitForComponentDeployed does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult<GetComponentCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until a Component is deployed. Use this after invoking CreateComponent or UpdateComponent
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetComponentCommand for polling.
13
14
  */
14
- export declare const waitUntilComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilComponentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetComponentCommandInput) => Promise<WaiterResult<GetComponentCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetEnvironmentCommandInput } from "../commands/GetEnvironmentCommand";
2
+ import { type GetEnvironmentCommandInput, type GetEnvironmentCommandOutput } from "../commands/GetEnvironmentCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until an Environment is deployed. Use this after invoking CreateEnvironment or UpdateEnvironment
6
7
  * @deprecated Use waitUntilEnvironmentDeployed instead. waitForEnvironmentDeployed does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForEnvironmentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForEnvironmentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentCommandInput) => Promise<WaiterResult<GetEnvironmentCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until an Environment is deployed. Use this after invoking CreateEnvironment or UpdateEnvironment
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetEnvironmentCommand for polling.
13
14
  */
14
- export declare const waitUntilEnvironmentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilEnvironmentDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentCommandInput) => Promise<WaiterResult<GetEnvironmentCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetEnvironmentTemplateVersionCommandInput } from "../commands/GetEnvironmentTemplateVersionCommand";
2
+ import { type GetEnvironmentTemplateVersionCommandInput, type GetEnvironmentTemplateVersionCommandOutput } from "../commands/GetEnvironmentTemplateVersionCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until an EnvironmentTemplateVersion is registered. Use this after invoking CreateEnvironmentTemplateVersion
6
7
  * @deprecated Use waitUntilEnvironmentTemplateVersionRegistered instead. waitForEnvironmentTemplateVersionRegistered does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForEnvironmentTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentTemplateVersionCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForEnvironmentTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentTemplateVersionCommandInput) => Promise<WaiterResult<GetEnvironmentTemplateVersionCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until an EnvironmentTemplateVersion is registered. Use this after invoking CreateEnvironmentTemplateVersion
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetEnvironmentTemplateVersionCommand for polling.
13
14
  */
14
- export declare const waitUntilEnvironmentTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentTemplateVersionCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilEnvironmentTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetEnvironmentTemplateVersionCommandInput) => Promise<WaiterResult<GetEnvironmentTemplateVersionCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import { type GetServiceCommandInput, type GetServiceCommandOutput } from "../commands/GetServiceCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until an Service has deployed its instances and possibly pipeline. Use this after invoking CreateService
6
7
  * @deprecated Use waitUntilServiceCreated instead. waitForServiceCreated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServiceCreated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServiceCreated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until an Service has deployed its instances and possibly pipeline. Use this after invoking CreateService
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetServiceCommand for polling.
13
14
  */
14
- export declare const waitUntilServiceCreated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServiceCreated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import { type GetServiceCommandInput, type GetServiceCommandOutput } from "../commands/GetServiceCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
5
  import type { ProtonClient } from "../ProtonClient";
4
6
  /**
5
7
  * Wait until a Service, its instances, and possibly pipeline have been deleted after DeleteService is invoked
6
8
  * @deprecated Use waitUntilServiceDeleted instead. waitForServiceDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForServiceDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForServiceDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
9
11
  /**
10
12
  * Wait until a Service, its instances, and possibly pipeline have been deleted after DeleteService is invoked
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetServiceCommand for polling.
13
15
  */
14
- export declare const waitUntilServiceDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilServiceDeleted: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceInstanceCommandInput } from "../commands/GetServiceInstanceCommand";
2
+ import { type GetServiceInstanceCommandInput, type GetServiceInstanceCommandOutput } from "../commands/GetServiceInstanceCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until a ServiceInstance is deployed. Use this after invoking CreateService or UpdateServiceInstance
6
7
  * @deprecated Use waitUntilServiceInstanceDeployed instead. waitForServiceInstanceDeployed does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServiceInstanceDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceInstanceCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServiceInstanceDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceInstanceCommandInput) => Promise<WaiterResult<GetServiceInstanceCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until a ServiceInstance is deployed. Use this after invoking CreateService or UpdateServiceInstance
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetServiceInstanceCommand for polling.
13
14
  */
14
- export declare const waitUntilServiceInstanceDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceInstanceCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServiceInstanceDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceInstanceCommandInput) => Promise<WaiterResult<GetServiceInstanceCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import { type GetServiceCommandInput, type GetServiceCommandOutput } from "../commands/GetServiceCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline
6
7
  * @deprecated Use waitUntilServicePipelineDeployed instead. waitForServicePipelineDeployed does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServicePipelineDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServicePipelineDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until an ServicePipeline is deployed. Use this after invoking CreateService or UpdateServicePipeline
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetServiceCommand for polling.
13
14
  */
14
- export declare const waitUntilServicePipelineDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServicePipelineDeployed: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceTemplateVersionCommandInput } from "../commands/GetServiceTemplateVersionCommand";
2
+ import { type GetServiceTemplateVersionCommandInput, type GetServiceTemplateVersionCommandOutput } from "../commands/GetServiceTemplateVersionCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until a ServiceTemplateVersion is registered. Use this after invoking CreateServiceTemplateVersion
6
7
  * @deprecated Use waitUntilServiceTemplateVersionRegistered instead. waitForServiceTemplateVersionRegistered does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServiceTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetServiceTemplateVersionCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServiceTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetServiceTemplateVersionCommandInput) => Promise<WaiterResult<GetServiceTemplateVersionCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until a ServiceTemplateVersion is registered. Use this after invoking CreateServiceTemplateVersion
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetServiceTemplateVersionCommand for polling.
13
14
  */
14
- export declare const waitUntilServiceTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetServiceTemplateVersionCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServiceTemplateVersionRegistered: (params: WaiterConfiguration<ProtonClient>, input: GetServiceTemplateVersionCommandInput) => Promise<WaiterResult<GetServiceTemplateVersionCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetServiceCommandInput } from "../commands/GetServiceCommand";
2
+ import { type GetServiceCommandInput, type GetServiceCommandOutput } from "../commands/GetServiceCommand";
3
+ import type { ProtonServiceException } from "../models/ProtonServiceException";
3
4
  import type { ProtonClient } from "../ProtonClient";
4
5
  /**
5
6
  * Wait until a Service, its instances, and possibly pipeline have been deployed after UpdateService is invoked
6
7
  * @deprecated Use waitUntilServiceUpdated instead. waitForServiceUpdated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServiceUpdated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServiceUpdated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput | ProtonServiceException>>;
9
10
  /**
10
11
  * Wait until a Service, its instances, and possibly pipeline have been deployed after UpdateService is invoked
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetServiceCommand for polling.
13
14
  */
14
- export declare const waitUntilServiceUpdated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServiceUpdated: (params: WaiterConfiguration<ProtonClient>, input: GetServiceCommandInput) => Promise<WaiterResult<GetServiceCommandOutput>>;
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.1037.0",
4
+ "version": "3.1039.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-proton",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.7",
25
+ "@aws-sdk/credential-provider-node": "^3.972.38",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.37",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.23",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.7",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,9 +55,9 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.6",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {