@aws-sdk/client-groundstation 3.1036.0 → 3.1038.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.
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeContactCommand } from "../commands/DescribeContactCommand";
2
+ import { DescribeContactCommand, } from "../commands/DescribeContactCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -362,13 +362,13 @@ export interface GroundStation {
362
362
  * @param args - command input.
363
363
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
364
364
  */
365
- waitUntilContactScheduled(args: DescribeContactCommandInput, waiterConfig: number | Omit<WaiterConfiguration<GroundStation>, "client">): Promise<WaiterResult>;
365
+ waitUntilContactScheduled(args: DescribeContactCommandInput, waiterConfig: number | Omit<WaiterConfiguration<GroundStation>, "client">): Promise<WaiterResult<DescribeContactCommandOutput>>;
366
366
  /**
367
367
  * @see {@link DescribeContactVersionCommand}
368
368
  * @param args - command input.
369
369
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
370
370
  */
371
- waitUntilContactUpdated(args: DescribeContactVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<GroundStation>, "client">): Promise<WaiterResult>;
371
+ waitUntilContactUpdated(args: DescribeContactVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<GroundStation>, "client">): Promise<WaiterResult<DescribeContactVersionCommandOutput>>;
372
372
  }
373
373
  /**
374
374
  * <p>Welcome to the AWS Ground Station API Reference. AWS Ground Station is a fully managed service that enables you to control satellite communications, downlink and process satellite data, and scale your satellite operations efficiently and cost-effectively without having to build or manage your own ground station infrastructure.</p>
@@ -770,7 +770,7 @@ export interface GroundStation {
770
770
  WaiterConfiguration<GroundStation>,
771
771
  Exclude<keyof WaiterConfiguration<GroundStation>, "client">
772
772
  >
773
- ): Promise<WaiterResult>;
773
+ ): Promise<WaiterResult<DescribeContactCommandOutput>>;
774
774
  waitUntilContactUpdated(
775
775
  args: DescribeContactVersionCommandInput,
776
776
  waiterConfig:
@@ -779,7 +779,7 @@ export interface GroundStation {
779
779
  WaiterConfiguration<GroundStation>,
780
780
  Exclude<keyof WaiterConfiguration<GroundStation>, "client">
781
781
  >
782
- ): Promise<WaiterResult>;
782
+ ): Promise<WaiterResult<DescribeContactVersionCommandOutput>>;
783
783
  }
784
784
  export declare class GroundStation
785
785
  extends GroundStationClient
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeContactCommandInput } from "../commands/DescribeContactCommand";
2
+ import {
3
+ DescribeContactCommandInput,
4
+ DescribeContactCommandOutput,
5
+ } from "../commands/DescribeContactCommand";
3
6
  import { GroundStationClient } from "../GroundStationClient";
7
+ import { GroundStationServiceException } from "../models/GroundStationServiceException";
4
8
  export declare const waitForContactScheduled: (
5
9
  params: WaiterConfiguration<GroundStationClient>,
6
10
  input: DescribeContactCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeContactCommandOutput | GroundStationServiceException>
13
+ >;
8
14
  export declare const waitUntilContactScheduled: (
9
15
  params: WaiterConfiguration<GroundStationClient>,
10
16
  input: DescribeContactCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeContactCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeContactVersionCommandInput } from "../commands/DescribeContactVersionCommand";
2
+ import {
3
+ DescribeContactVersionCommandInput,
4
+ DescribeContactVersionCommandOutput,
5
+ } from "../commands/DescribeContactVersionCommand";
3
6
  import { GroundStationClient } from "../GroundStationClient";
7
+ import { GroundStationServiceException } from "../models/GroundStationServiceException";
4
8
  export declare const waitForContactUpdated: (
5
9
  params: WaiterConfiguration<GroundStationClient>,
6
10
  input: DescribeContactVersionCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ DescribeContactVersionCommandOutput | GroundStationServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilContactUpdated: (
9
17
  params: WaiterConfiguration<GroundStationClient>,
10
18
  input: DescribeContactVersionCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<DescribeContactVersionCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeContactCommandInput } from "../commands/DescribeContactCommand";
2
+ import { type DescribeContactCommandInput, type DescribeContactCommandOutput } from "../commands/DescribeContactCommand";
3
3
  import type { GroundStationClient } from "../GroundStationClient";
4
+ import type { GroundStationServiceException } from "../models/GroundStationServiceException";
4
5
  /**
5
6
  * Waits until a contact has been scheduled
6
7
  * @deprecated Use waitUntilContactScheduled instead. waitForContactScheduled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult<DescribeContactCommandOutput | GroundStationServiceException>>;
9
10
  /**
10
11
  * Waits until a contact has been scheduled
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeContactCommand for polling.
13
14
  */
14
- export declare const waitUntilContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult<DescribeContactCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeContactVersionCommandInput } from "../commands/DescribeContactVersionCommand";
2
+ import { type DescribeContactVersionCommandInput, type DescribeContactVersionCommandOutput } from "../commands/DescribeContactVersionCommand";
3
3
  import type { GroundStationClient } from "../GroundStationClient";
4
+ import type { GroundStationServiceException } from "../models/GroundStationServiceException";
4
5
  /**
5
6
  * Waits until a contact has been updated
6
7
  * @deprecated Use waitUntilContactUpdated instead. waitForContactUpdated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForContactUpdated: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactVersionCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForContactUpdated: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactVersionCommandInput) => Promise<WaiterResult<DescribeContactVersionCommandOutput | GroundStationServiceException>>;
9
10
  /**
10
11
  * Waits until a contact has been updated
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeContactVersionCommand for polling.
13
14
  */
14
- export declare const waitUntilContactUpdated: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactVersionCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilContactUpdated: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactVersionCommandInput) => Promise<WaiterResult<DescribeContactVersionCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-groundstation",
3
3
  "description": "AWS SDK for JavaScript Groundstation Client for Node.js, Browser and React Native",
4
- "version": "3.1036.0",
4
+ "version": "3.1038.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-groundstation",
@@ -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.6",
25
+ "@aws-sdk/credential-provider-node": "^3.972.37",
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.36",
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.22",
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.6",
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.5",
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": {